JP2006254492A - Digital device and method of controlling the same - Google Patents

Digital device and method of controlling the same Download PDF

Info

Publication number
JP2006254492A
JP2006254492A JP2006118385A JP2006118385A JP2006254492A JP 2006254492 A JP2006254492 A JP 2006254492A JP 2006118385 A JP2006118385 A JP 2006118385A JP 2006118385 A JP2006118385 A JP 2006118385A JP 2006254492 A JP2006254492 A JP 2006254492A
Authority
JP
Japan
Prior art keywords
control
node
data
digital
digital device
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2006118385A
Other languages
Japanese (ja)
Other versions
JP4217727B2 (en
Inventor
Katahide Hirasawa
方秀 平沢
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Canon Inc
Original Assignee
Canon Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Canon Inc filed Critical Canon Inc
Priority to JP2006118385A priority Critical patent/JP4217727B2/en
Publication of JP2006254492A publication Critical patent/JP2006254492A/en
Application granted granted Critical
Publication of JP4217727B2 publication Critical patent/JP4217727B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Closed-Circuit Television Systems (AREA)
  • Studio Devices (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a communications system, capable of conducting efficient data communication with a plurality of digital devices for individually conducting optimum operation control for each of the digital devices from the outside. <P>SOLUTION: The communications system is constituted, such that an external terminal apparatus (personal computer) 103 is capable of individually conducting remote operations of the digital devices (video cameras) 600a-600c, conducting operations different from those conducted by the control methods (control conditions) by the control means, already provided inside the digital devices 600a-600c, or applying limitations to the operations, by outputting commands for operation control from the outside terminal apparatus 103, or by directing changes of the control methods (control conditions) by the control means, to the control means inside the digital devices 600a-600c. <P>COPYRIGHT: (C)2006,JPO&NCIPI

Description

本発明は、撮影機能を有し外部機器と通信可能なディジタル機器に関するものである。   The present invention relates to a digital device having a photographing function and capable of communicating with an external device.

従来、パーソナルコンピュータ(以下、単に「パソコン」又は「PC」と言う)の周辺機器としては、ハードディスクやプリンタが多く用いられている。これらの機器は、ディジタルインターフェイス(以下、「ディジタルI/F」と言う)であるSCSI等に代表される小型コンピュータ用汎用型インタフェースをもって、PC間との接続がなされてデータ通信が行われる。   Conventionally, hard disks and printers are often used as peripheral devices of personal computers (hereinafter simply referred to as “personal computers” or “PCs”). These devices have a general-purpose interface for small computers represented by SCSI or the like, which is a digital interface (hereinafter referred to as “digital I / F”), and are connected to PCs for data communication.

また、近年では、ディジタルカメラやディジタルビデオカメラ等もPCへのデータ入力手段としての周辺機器の1つに掲げられている。例えば、ディジタルカメラやディジタルビデオカメラで撮影して得られた静止画や動画等の映像と、それに伴う音声とをPC内へ取り込み、ハードディスクに記憶したり、PC内で編集した後にプリンタでカラープリントする、という技術分野が進んできている。そして、これに伴ってユーザも増えてきている。   In recent years, digital cameras, digital video cameras, and the like are also listed as one of peripheral devices as data input means to a PC. For example, images such as still images and moving images taken with a digital camera or digital video camera and the accompanying audio are captured in a PC and stored in a hard disk or edited in a PC and then color-printed by a printer. The technical field of doing is progressing. Along with this, the number of users is also increasing.

具体的には例えば、図29に示すように、ディジタルカメラ910とプリンタ930がPC920に接続されてなるシステム100がある。
ディジタルカメラ910には、記録部であるメモリ911、画像データの復号化部912、画像処理部913、及びD/A変換部(ディジタル/アナログコンバータ)914が設けられている。更に、表示部であるEVF915、及びPC920とのディジタル入出力(I/O)部916が設けられている。
プリンタ930は、PC920とSCSIケーブルで接続されたSCSIインタフェース(I/F)部931、メモリ932、プリンタヘッド933、プリンタ制御部であるプリンタコントローラ934、及びドライバ935を備えている。
PC920は、ディジタルカメラ910とのディジタルI/O部929、キーボードやマウス等の操作部921、画像データの復号化部922、ディスプレイ923、ハードディスク924、RAM等のメモリ925、及び演算処理部のMPU926を備えている。PC920は、更に、プリンタ930とのディジタルI/FとしてのSCSII/F(ボード)928、及びこれらを接続するPCIバス927を備えている。
Specifically, for example, as shown in FIG. 29, there is a system 100 in which a digital camera 910 and a printer 930 are connected to a PC 920.
The digital camera 910 includes a memory 911 serving as a recording unit, an image data decoding unit 912, an image processing unit 913, and a D / A conversion unit (digital / analog converter) 914. In addition, a digital input / output (I / O) unit 916 with the EVF 915 serving as a display unit and the PC 920 is provided.
The printer 930 includes a SCSI interface (I / F) unit 931, a memory 932, a printer head 933, a printer controller 934 as a printer control unit, and a driver 935 connected to the PC 920 through a SCSI cable.
The PC 920 includes a digital I / O unit 929 with the digital camera 910, an operation unit 921 such as a keyboard and a mouse, an image data decoding unit 922, a display 923, a hard disk 924, a memory 925 such as a RAM, and an MPU 926 serving as an arithmetic processing unit. It has. The PC 920 further includes an SCSII / F (board) 928 as a digital I / F with the printer 930 and a PCI bus 927 for connecting them.

このようなシステム900では、ディジタルカメラ910で撮像して得られた画像データをPC920に取り込み、該画像データをPC920からプリンタ930ヘ出力する場合、先ず、該画像データはメモリ911に記憶される。この画像データがメモリ911から読み出され、復号化部912及びディジタルI/O部916へ各々供給される。
復号化部912へ供給された画像データは、ここで復号化され、画像処理部913で表示のための画像処理が行われ、D/A変換部914を介して、EVF915で表示される。
一方、ディジタルI/O部916へ供給された画像データは、ケーブルを介してPC920に対して外部出力される。
In such a system 900, when image data obtained by imaging with the digital camera 910 is taken into the PC 920 and the image data is output from the PC 920 to the printer 930, the image data is first stored in the memory 911. This image data is read from the memory 911 and supplied to the decoding unit 912 and the digital I / O unit 916, respectively.
The image data supplied to the decoding unit 912 is decoded here, is subjected to image processing for display by the image processing unit 913, and is displayed by the EVF 915 via the D / A conversion unit 914.
On the other hand, the image data supplied to the digital I / O unit 916 is output to the PC 920 via a cable.

PC920では、ディジタルカメラ910からの上記の画像データが、ディジタルI/O部929で受信される。この受信された画像データは、PCIバス927(相互伝送のバス)を介して、ハードディスク924に記憶される。或いは、復号化部922で復号化された後、メモリ925で表示用画像データとして記憶され、ディスプレイ923でアナログ化されてから表示される。
このとき、編集時等の操作入力が操作部921で行われた場合には、MPU926により、その操作に従った編集処理等のためのPC920全体の動作制御が行われる。
また、ディジタルカメラ910からの上記の画像データをプリント出力する際は、該画像データがSCSII/F部928を介してプリンタ930に対して出力される。したがって、プリンタ930には、該画像データがSCSIケーブルを介して供給されることになる。
In the PC 920, the image data from the digital camera 910 is received by the digital I / O unit 929. The received image data is stored in the hard disk 924 via the PCI bus 927 (mutual transmission bus). Alternatively, after being decoded by the decoding unit 922, it is stored as display image data in the memory 925, converted to analog on the display 923, and then displayed.
At this time, when an operation input at the time of editing or the like is performed by the operation unit 921, the MPU 926 performs operation control of the entire PC 920 for editing processing or the like according to the operation.
When the image data from the digital camera 910 is printed out, the image data is output to the printer 930 via the SCSII / F unit 928. Therefore, the image data is supplied to the printer 930 via the SCSI cable.

プリンタ930では、PC920からの上記の画像データが、SCSII/F931で受信される。この受信された画像データは、メモリ932でプリント画像データとして形成され、プリンタコントローラ934の制御に従ってプリンタヘッド933及びドライバ935が動作することで、メモリ932のプリント画像データが読み出されプリント出力される。   In the printer 930, the image data from the PC 920 is received by the SCSII / F931. The received image data is formed as print image data in the memory 932, and the printer head 933 and the driver 935 operate according to the control of the printer controller 934, whereby the print image data in the memory 932 is read and printed out. .

特開平9−93573号公報Japanese Patent Laid-Open No. 9-93573 特開平8−265742号公報JP-A-8-265742

しかしながら、上述したような従来のシステムでは、ディジタルカメラ910は、PC920側からの指示に応じて画像の送信範囲を制御できても、撮影機能の制御可能範囲を変更することができなかった。特に、カメラの焦点距離範囲や露光時間範囲等の情報に応じた最適な動作制御ができなかった。
本発明は上述した問題点を解決するためのものであり、ディジタルカメラ等のディジタル機器の撮影機能動作をその焦点距離範囲や露光時間範囲等の情報に応じて最適に制御することを目的とする。
However, in the conventional system as described above, the digital camera 910 cannot change the controllable range of the photographing function even if the digital camera 910 can control the transmission range of the image in accordance with an instruction from the PC 920 side. In particular, optimal operation control according to information such as the focal length range and exposure time range of the camera could not be performed.
The present invention is intended to solve the above-described problems, and an object thereof is to optimally control the photographing function operation of a digital device such as a digital camera according to information such as a focal length range and an exposure time range. .

本発明に係る第1のディジタル機器は、撮影機能を有し、他のディジタル機器と相互に通信可能なディジタル機器であって、前記撮影機能の焦点距離範囲情報を前記他のディジタル機器に対して送信する送信手段と、前記焦点距離範囲情報の送信の応答として受信した制御条件変更命令に基づき、前記撮影機能の制御可能範囲を変更する変更手段と、前記撮影機能の制御命令を受け付けた場合、前記変更手段により変更された制御可能範囲内で動作するように撮影機能を制御する制御手段と、を備えることを特徴とする。   A first digital device according to the present invention is a digital device having a photographing function and capable of communicating with another digital device, and the focal length range information of the photographing function is transmitted to the other digital device. When receiving a transmission means for transmitting, a change means for changing the controllable range of the photographing function based on a control condition change instruction received as a response to transmission of the focal length range information, and a control instruction for the photographing function, Control means for controlling the photographing function so as to operate within the controllable range changed by the changing means.

本発明に係る第2のディジタル機器は、撮影機能を有し、他のディジタル機器と相互に通信可能なディジタル機器であって、前記撮影機能の露光時間範囲情報を前記他のディジタル機器に対して送信する送信手段と、前記露光時間範囲情報の送信の応答として受信した制御条件変更命令に基づき、前記撮影機能の制御可能範囲を変更する変更手段と、前記撮影機能の制御命令を受け付けた場合、前記変更手段により変更された制御可能範囲内で動作するように撮影機能を制御する制御手段と、を備えることを特徴とする。   A second digital device according to the present invention is a digital device having a photographing function and capable of communicating with other digital devices, and provides exposure time range information of the photographing function to the other digital devices. When receiving a transmission means for transmitting, a changing means for changing a controllable range of the photographing function based on a control condition changing instruction received as a response to the transmission of the exposure time range information, and a control instruction for the photographing function, Control means for controlling the photographing function so as to operate within the controllable range changed by the changing means.

本発明に係るディジタル機器の第1の制御方法は、撮影機能を有し、他のディジタル機器と相互に通信可能なディジタル機器の制御方法であって、前記撮影機能の焦点距離範囲情報を前記他のディジタル機器に対して送信する送信ステップと、前記焦点距離範囲情報の送信の応答として受信した制御条件変更命令に基づき、前記撮影機能の制御命令を受け付けた場合に前記撮影機能がその範囲内で動作するよう制御するために前記撮影機能の制御可能範囲を変更する変更ステップと、を備えることを特徴とする。   A first control method for a digital device according to the present invention is a method for controlling a digital device having a photographing function and capable of mutual communication with other digital devices, the focal length range information of the photographing function being set to the other A transmission step of transmitting to the digital device and a control condition change command received as a response to the transmission of the focal length range information, when the control function command is received, the imaging function is within the range. And a changing step for changing a controllable range of the photographing function to control the operation.

本発明に係る第2のディジタル機器の制御方法は、撮影機能を有し、他のディジタル機器と相互に通信可能なディジタル機器の制御方法であって、前記撮影機能の露光時間範囲情報を前記他のディジタル機器に対して送信する送信ステップと、前記露光時間範囲情報の送信の応答として受信した制御条件変更命令に基づき、前記撮影機能の制御命令を受け付けた場合に前記撮影機能がその範囲内で動作するよう制御するために前記撮影機能の制御可能範囲を変更する変更ステップと、を備えることを特徴とする。   A second digital device control method according to the present invention is a digital device control method having a photographing function and capable of mutual communication with other digital devices, wherein the exposure time range information of the photographing function is stored in the other digital device. A transmission step of transmitting to the digital device and a control condition change command received as a response to the transmission of the exposure time range information. And a changing step for changing a controllable range of the photographing function to control the operation.

本発明によれば、ディジタルカメラ等のディジタル機器の撮影機能動作を、その焦点距離範囲や露光時間範囲等の情報に応じて最適に制御することができる。   According to the present invention, the photographing function operation of a digital device such as a digital camera can be optimally controlled according to information such as a focal length range and an exposure time range.

以下、本発明の実施の形態について図面を用いて説明する。   Hereinafter, embodiments of the present invention will be described with reference to the drawings.

本実施の形態では、種々のディジタル機器間を接続する汎用型ディジタルI/Fとして、例えば、IEEE1394−1995(High Performance Serial Bus)を用いる。そこで、先ず、予め“IEEE1394”について説明する。なお、IEEE1394−1995を、以下、単に「IEEE1394」又は「1394シリアルバス」とも言う。   In the present embodiment, for example, IEEE 1394-1995 (High Performance Serial Bus) is used as a general-purpose digital I / F that connects various digital devices. First, “IEEE1394” will be described in advance. Hereinafter, IEEE 1394-1995 is also simply referred to as “IEEE 1394” or “1394 serial bus”.

図1は、IEEE1394によるネットワークシステムの構成の一例を示したものである。
本システム100には、TVモニタ装置101、AVアンプ102、PC103、プリンタ104、並びに2台のディジタルビデオテープレコーダ(VTR)105及び106が設けられている。更に、ディジタルビデオディスク(DVD)プレーヤ107、及びコンパクトディスク(CD)プレーヤ108が設けられている。そして、これらの機器がIEEE1394によって接続されている。
FIG. 1 shows an example of the configuration of a network system based on IEEE1394.
The system 100 includes a TV monitor device 101, an AV amplifier 102, a PC 103, a printer 104, and two digital video tape recorders (VTRs) 105 and 106. Further, a digital video disc (DVD) player 107 and a compact disc (CD) player 108 are provided. These devices are connected by IEEE1394.

IEEE1394は、SCSI等での上述した問題点を極力解消し、PCとその周辺機器間の通信に限らず、あらゆるディジタル機器間の通信に、各機器に統一されて搭載することができるようになされたものである。
このIEEE1394の幾つかの大きな特長点としては、次のような事項が挙げられる。例えば、高速シリアル通信を用いるためにケーブルが比較的細くフレキシビリティに富み、且つコネクタもSCSIケーブルに比べ極端に小さい。更には、画像データのような大容量データを、機器制御データと共に高速で転送できる。
即ち、IEEE1394を用いたデータ通信によれば、移動式や携帯式のディジタルカメラやディジタルビデオのような、通常は据え置きしない機器をPCに接続するときにも、SCSI等に比べて煩わしさが飛躍的に低減される。そして、画像データのPCへの転送も円滑に行うことが可能になるという大きな利点がある。
IEEE 1394 solves the above-mentioned problems in SCSI and the like as much as possible, and can be integrated and installed in each device not only for communication between a PC and its peripheral devices but also for communication between all digital devices. It is a thing.
Some major features of IEEE 1394 include the following. For example, since high-speed serial communication is used, the cable is relatively thin and flexible, and the connector is extremely small compared to the SCSI cable. Furthermore, large-capacity data such as image data can be transferred at high speed together with device control data.
That is, according to data communication using IEEE 1394, when a device that is not normally stationary, such as a mobile or portable digital camera or digital video, is connected to a PC, the troublesomeness is greatly increased compared to SCSI or the like. Reduced. Then, there is a great advantage that the image data can be smoothly transferred to the PC.

[1394シリアルバスの概要] [Outline of 1394 Serial Bus]

家庭用ディジタルVTRやディジタルビデオディスク(DVD)プレーヤの登場に伴なって、ビデオデータやオーディオデータ(以下、これらをまとめて「AVデータ」と言う)等、リアルタイムで且つ高情報量のデータを転送する必要が生じている。このようなAVデータをリアルタイムでPCや、その他のディジタル機器に転送して取り込ませるには、必要な転送機能を備えた高速なデータ転送が可能なインタフェースが必要となる。そういった観点から開発されたインタフェースが、このIEEE1394(1394シリアルバス)である。   With the advent of home digital VTRs and digital video disc (DVD) players, video data and audio data (hereinafter collectively referred to as “AV data”) are transferred in real time and with a large amount of information. There is a need to do that. In order to transfer such AV data to a PC or other digital device in real time, an interface capable of high-speed data transfer with a necessary transfer function is required. An interface developed from such a viewpoint is the IEEE 1394 (1394 serial bus).

図2は、1394シリアルバスを用いて構成されるネットワークシステムの一例を示した図である。
このシステムは、機器A、B、C、D、E、F、G、Hを備えており、A−B間、A−C間、B−D間、D−E間、C−F間、C−G間、及びC−H間が、各々1394シリアルバス用のツイスト・ペア・ケーブルで接続された構成としている。
これらの機器A〜Hの一例としては、PC、ディジタルVTR、DVDプレーヤ、ディジタルカメラ、ハードディスク、モニタ等がある。
FIG. 2 is a diagram illustrating an example of a network system configured using a 1394 serial bus.
This system is equipped with devices A, B, C, D, E, F, G, and H, between A and B, between A and C, between B and D, between D and E, between C and F, The CG and CH are connected by a twisted pair cable for 1394 serial bus.
Examples of these devices A to H include a PC, a digital VTR, a DVD player, a digital camera, a hard disk, and a monitor.

各機器間の接続は、ディジーチェーン方式とノード分岐方式との混在が可能であり、自由度の高い接続を行うことができるようになされている。また、各機器は各自固有のIDを有し、互いにIDを認識し合うことによって、1394シリアルバスで接続された範囲にて、1つのネットワークを構成している。
例えば、各機器間を各々1本の1394シリアルバス用ケーブルで順次接続(ディジーチェーン接続)するだけで、各々の機器が中継の役割を担うため、全体として1つのネットワークを構成することができる。
The connections between the devices can be mixed with the daisy chain method and the node branching method, so that a connection with a high degree of freedom can be performed. In addition, each device has its own unique ID, and by recognizing each other, one network is configured in a range connected by a 1394 serial bus.
For example, since each device plays a role of relay only by sequentially connecting each device with a single 1394 serial bus cable (daisy chain connection), one network can be configured as a whole.

また、1394シリアルバスは、Plug and Play 機能に対応しており、ケーブルを機器に接続するだけで自動的に機器を認識し、接続状況を認識する機能を有している。
このため、上記図2のシステムにおいて、ネットワークから任意の機器が外されたり、或いは、新たに加えられたとき等には、自動的にバスがリセット、即ちそれまでのネットワークの構成情報がリセットされ、新たなネットワークが再構築される。このような機能によって、その時々のネットワークの構成を常時設定、認識することができる。
The 1394 serial bus is compatible with the Plug and Play function, and has a function of automatically recognizing a device and recognizing a connection state only by connecting a cable to the device.
Therefore, in the system shown in FIG. 2, when an arbitrary device is removed from the network or newly added, the bus is automatically reset, that is, the configuration information of the network up to that point is reset. A new network will be rebuilt. With such a function, it is possible to always set and recognize the network configuration at that time.

1394シリアルバスのデータ転送速度は、100/200/400Mbpsが定義されており、上位の転送速度を持つ機器が下位の転送速度をサポートすることで、互換性を保つようになされている。   The data transfer rate of the 1394 serial bus is defined as 100/200/400 Mbps, and the device having the higher transfer rate supports the lower transfer rate, so that compatibility is maintained.

データ転送モードとしては、コントロール信号等の非同期データ(Asynchronousデータ)を転送するAsynchronous転送モードと、リアルタイムなAVデータの同期データ(Isochronousデータ)を転送するIsochronous転送モードがある。以下、非同期データ(Asynchronousデータ)をAsyncデータと言い、同期データ(Isochronousデータ)を「Isoデータ」と言う。
これらの転送モードにより、AsyncデータとIsoデータは、各サイクル(通常125μS/サイクル)の中で、サイクル開始を示すサイクル・スタート・パケット(CSP)の転送に続き、Isoデータの転送を優先しつつサイクル内で混在して転送される。
The data transfer mode includes an asynchronous transfer mode for transferring asynchronous data (Asynchronous data) such as a control signal, and an isochronous transfer mode for transferring real-time AV data synchronous data (Isochronous data). Hereinafter, asynchronous data (Asynchronous data) is referred to as Async data, and synchronous data (Isochronous data) is referred to as “Iso data”.
With these transfer modes, Async data and Iso data are given priority to the transfer of Iso data following the transfer of the cycle start packet (CSP) indicating the start of the cycle in each cycle (usually 125 μS / cycle). Transfers are mixed in the cycle.

図3は、1394シリアルバスの構成要素を示す図である。
この図3に示すように、1394シリアルバスは、レイヤ構造で構成されている。
FIG. 3 shows the components of the 1394 serial bus.
As shown in FIG. 3, the 1394 serial bus has a layer structure.

上記図3に示すように、最もハード的なのが1394シリアルバス用のケーブルであり、そのケーブルの先端のコネクタには、1394コネクタポートが接続される。
1394コネクタポートの上位には、フィジカルレイヤ及びリンクレイヤ812を含むハードウェア部(hardware)が位置づけられている。
ハードウェア部は、実質的なインタフェース用チップで構成され、そのうちフィジカルレイヤは、符号化やコネクタ関連の制御等を行い、リンクレイヤは、パケット転送やサイクルタイムの制御等を行う。
As shown in FIG. 3, the most hardware is a 1394 serial bus cable, and a 1394 connector port is connected to the connector at the end of the cable.
A hardware part (hardware) including a physical layer and a link layer 812 is positioned above the 1394 connector port.
The hardware part is composed of a substantial interface chip, of which the physical layer performs encoding, connector-related control, and the like, and the link layer performs packet transfer, cycle time control, and the like.

ハードウェア部の上位には、トランザクションレイヤ及びマネージメントレイヤを含むファームウェア部(firmware)が位置づけられている。
そのトランザクションレイヤは、転送(トランザクション)すべきデータの管理を行い、Read、Write、Lock等の命令を出す。また、マネージメントレイヤは、1394シリアルバスに接続されている各機器の接続状況やIDの管理を行い、ネットワークの構成を管理する。
A firmware part (firmware) including a transaction layer and a management layer is positioned above the hardware part.
The transaction layer manages data to be transferred (transaction) and issues commands such as Read, Write, and Lock. The management layer manages the connection status and ID of each device connected to the 1394 serial bus, and manages the network configuration.

これらのハードウェア部及びファームウェア部までが、1394シリアルバスの実質上の構成である。   The hardware part and the firmware part are the actual configuration of the 1394 serial bus.

ファームウェア部の上位には、アプリケーションレイヤを含むソフトウェア部(software)が位置づけられている。
そのアプリケーションレイヤは、利用されるソフトによって異なり、インタフェース上でどのようにしてデータを転送するかは、AVプロトコル等のプロトコルによって規定されている。
A software part (software) including an application layer is positioned above the firmware part.
The application layer differs depending on the software used, and how data is transferred on the interface is defined by a protocol such as AV protocol.

図4は、1394シリアルバスにおけるアドレス空間の図を示す図である。
1394シリアルバスに接続された各機器(ノード)には必ず、上記図4に示すような、各ノード固有の64ビットアドレスを持たせておく。このアドレスはノードのメモリに格納されており、これにより自分や相手のノードアドレスを常時認識することができ、通信相手を指定したデータ通信も行える。
FIG. 4 is a diagram showing a diagram of the address space in the 1394 serial bus.
Each device (node) connected to the 1394 serial bus always has a 64-bit address unique to each node as shown in FIG. This address is stored in the memory of the node, so that the node address of itself or the other party can be recognized at all times, and data communication specifying the communication partner can also be performed.

1394シリアルバスのアドレッシングは、IEEE1212規格に準じた方式で行われ、アドレス設定については、最初の10ビットがバスの番号(バスNo.)の指定用に、次の6ビットがノードID(ノードNo.)の指定用に使用される。そして、残りの48ビットが、ノードに与えられたアドレス幅になる。この48ビット領域は、各々固有のアドレス空間として使用できる。そのうちの最後の28ビットについては、ノードに固有のデータの領域(固有データ領域)であり、各ノードの識別や使用条件の指定の情報等が格納される。   The addressing of the 1394 serial bus is performed according to a method in conformity with the IEEE1212 standard. For address setting, the first 10 bits are used to specify the bus number (bus No.), and the next 6 bits are used to specify the node ID (node No.). .) Used for designation. The remaining 48 bits become the address width given to the node. Each 48-bit area can be used as a unique address space. The last 28 bits are a data area unique to the node (unique data area), in which information for identifying each node, specifying usage conditions, and the like are stored.

以上が、1394シリアルバスについての概要である。
つぎに、1394シリアルバスの特徴をより詳細に説明する。
The above is the outline of the 1394 serial bus.
Next, features of the 1394 serial bus will be described in more detail.

[1394シリアルバスの電気的仕様] [Electric specifications of 1394 serial bus]

図5は、1394シリアルバス用のケーブルの断面を示す図である。
この図5に示すように、1394シリアルバス用のケーブルでは、2組のツイストペア信号線の他に、電源ラインが設けられている。このような構成によって、電源を持たないノードや、故障等により電圧低下したノード等にも、電力の供給が可能となる。
また、電源線により供給される直流電力の電圧は、8〜40V、その電流は、最大電流DC1.5Aに規定されている。
尚、簡易型の接続ケーブルでは、接続先の機器を限定した上で、電源ラインを設けていないものもある。
FIG. 5 is a diagram showing a cross section of a cable for a 1394 serial bus.
As shown in FIG. 5, the 1394 serial bus cable is provided with a power supply line in addition to the two twisted pair signal lines. With such a configuration, power can be supplied to a node that does not have a power supply, a node whose voltage has dropped due to a failure, or the like.
Further, the voltage of the DC power supplied from the power line is defined as 8 to 40V, and the current is defined as the maximum current DC1.5A.
Note that some simple connection cables do not have a power supply line after limiting the connection destination devices.

[DS−Link方式] [DS-Link method]

図6は、1394シリアルバスでデータ転送方式として採用されている、DS−Link(Data/Strobe Link)符号化方式を説明するための図である。
DS−Link符号化方式は、高速なシリアルデータ通信に適し、2組の信号線を必要とする。即ち、2組の対線のうち一方の信号線で主となるデータ信号(Data)を送り、他方の信号線でストローブ信号(Strobe)を送る構成となっている。したがって、受信側は、このデータ信号とストローブ信号を受信して排他的論理和をとることによって、クロック(Clock)を再現することができる。
このように、DS−Link符号化方式では、データ信号中にクロック信号を混入させる必要がない。したがって、DS−Link符号化方式では、他のシリアルデータ転送方式に比べ転送効率が高い。また、位相ロックドループ(PLL)回路が不要になるため、その分コントローラLSIの回路規模を小さくすることができる。更に、転送すべきデータが無いときに、アイドル状態であることを示す情報を送る必要が無いため、各ノードのトランシーバ回路をスリープ状態にすることができ、消費電力の低減が図れる。
FIG. 6 is a diagram for explaining a DS-Link (Data / Strobe Link) encoding method adopted as a data transfer method in the 1394 serial bus.
The DS-Link encoding method is suitable for high-speed serial data communication and requires two sets of signal lines. That is, the main data signal (Data) is sent on one signal line of the two pairs, and the strobe signal (Strobe) is sent on the other signal line. Therefore, the receiving side can reproduce the clock (Clock) by receiving the data signal and the strobe signal and taking the exclusive OR.
Thus, in the DS-Link encoding method, there is no need to mix a clock signal in a data signal. Therefore, the DS-Link encoding method has higher transfer efficiency than other serial data transfer methods. Further, since a phase locked loop (PLL) circuit is not required, the circuit scale of the controller LSI can be reduced accordingly. In addition, when there is no data to be transferred, there is no need to send information indicating that it is in an idle state, so that the transceiver circuit of each node can be put in a sleep state, and power consumption can be reduced.

[バスリセットのシーケンス] [Bus reset sequence]

1394シリアルバスに接続されている各ノードには、ノードIDが与えられ、ネットワークを構成するノードとして認識される。   Each node connected to the 1394 serial bus is given a node ID and is recognized as a node constituting the network.

ネットワーク構成内での変化が生じ、新たなネットワーク構成を認識する必要があるとき、その変化を検知した各ノードは、バス上にバスリセット信号を送信して、新たなネットワーク構成を認識するモードに入る。ネットワーク構成内での変化の例としては、例えば、ネットワーク機器の接続分離や、電源のON/OFF等によるノード数の増減が挙げられる。
このときのネットワーク構成の変化の検知は、1394コネクタポート(上記図3参照、以下、単に「コネクタポート」と言う)基盤上において、バイアス電圧の変化を検知することによって行われる。
When a change occurs in the network configuration and it is necessary to recognize the new network configuration, each node that detects the change transmits a bus reset signal on the bus to enter a mode for recognizing the new network configuration. enter. Examples of changes in the network configuration include, for example, connection / separation of network devices, increase / decrease in the number of nodes due to power ON / OFF and the like.
The change in the network configuration at this time is detected by detecting the change in the bias voltage on the base of the 1394 connector port (see FIG. 3 above, hereinafter simply referred to as “connector port”).

そこで、あるノードからバスリセット信号が送信されると、各ノードのフィジカルレイヤ(上記図3参照)は、送信されてきたバスリセット信号を受信する。また、これと同時に、リンクレイヤ(上記図3参照)にバスリセット信号の発生を伝達し、且つ他のノードに対してバスリセット信号を送信する。そして、最終的に全てのノードがバスリセット信号を受信した後、バスリセットのシーケンスが起動される。   Therefore, when a bus reset signal is transmitted from a certain node, the physical layer (see FIG. 3) of each node receives the transmitted bus reset signal. At the same time, the generation of the bus reset signal is transmitted to the link layer (see FIG. 3 above), and the bus reset signal is transmitted to other nodes. Then, after all nodes finally receive the bus reset signal, the bus reset sequence is activated.

尚、バスリセットのシーケンスは、ケーブルが抜き挿しされた場合や、ネットワークの異常等をハードウェアが検出した場合に起動されると共に、プロトコルによるホスト制御等、フィジカルレイヤ(上記図3参照)に直接命令を与えることによっても起動される。また、バスリセットのシーケンスが起動されると、データ転送は一時中断され、そのシーケンスの起動間は待機状態となり、バスリセット終了後、新しいネットワーク構成のもとで再開される。   The bus reset sequence is activated when a cable is inserted or removed, or when a hardware abnormality is detected by the network, and is directly connected to the physical layer (see FIG. 3 above) such as host control by protocol. It is also activated by giving a command. Further, when the bus reset sequence is activated, the data transfer is temporarily interrupted, and a standby state is entered during the activation of the sequence. After the bus reset is completed, the data transfer is resumed under a new network configuration.

[ノードID決定のシーケンス] [Node ID determination sequence]

上述のようにして、バスリセットのシーケンスが起動され、バスリセットが終了した後、各ノードは、新しいネットワーク構成を構築するために、各ノードにIDを与える動作に入る。このときの、バスリセットからノードID決定までの一般的なシーケンスについて、図7〜図9の各フローチャートを用いて説明する。   As described above, after the bus reset sequence is activated and the bus reset is completed, each node enters an operation of giving an ID to each node in order to construct a new network configuration. A general sequence from bus reset to node ID determination at this time will be described with reference to the flowcharts of FIGS.

上記図7は、バスリセット信号の発生から、ノードIDが決定してデータ転送が行えるようになるまでの、一連のシーケンスを示すフローチャートである。
この図7において、先ず、各ノードは、バスリセット信号を常時監視し(ステップS101)、バスリセット信号が発生したことを検知すると、互いに直結されている各ノード間で親子関係を宣言する(ステップS102)。この結果、ネットワーク構成がリセットされた状態において新たなネットワーク構成が得られる。
このステップS102の処理は、ステップS103の判定により、全てのノード間で親子関係が決定されたと判定されるまで繰り返される。そして、全てのノード間で親子関係が決定されると、次に、ルートを決定する(ステップS104)。
FIG. 7 is a flowchart showing a series of sequences from the generation of the bus reset signal until the node ID is determined and data transfer can be performed.
In FIG. 7, first, each node constantly monitors the bus reset signal (step S101), and when detecting that the bus reset signal has been generated, declares a parent-child relationship between the nodes directly connected to each other (step S101). S102). As a result, a new network configuration can be obtained in a state where the network configuration is reset.
The process in step S102 is repeated until it is determined in step S103 that the parent-child relationship has been determined among all the nodes. When the parent-child relationship is determined among all the nodes, next, a route is determined (step S104).

ステップS104にてルートが決定されると、次に、各ノードにIDを与えるノードIDの設定作業を行う(ステップS105)。
このステップS105の処理は、ルートから所定のノード順にノードIDの設定を行う処理であり、ステップS106の判定により、全てのノードにIDが与えられたと判定されるまで繰り返される。
そして、全てのノードへのノードIDの設定が終了すると、新しいネットワーク構成が全てのノードにおいて認識され、ノード間のデータ転送が行える状態となる。この状態にて、各ノードは、データ転送を開始し(ステップS107)、これと同時にステップS101へと戻り、再びバスリセット信号の発生を監視する。
When the route is determined in step S104, a node ID setting operation for giving an ID to each node is performed (step S105).
The process of step S105 is a process of setting node IDs in the order of a predetermined node from the root, and is repeated until it is determined in step S106 that all nodes have been given IDs.
When the node IDs have been set for all the nodes, the new network configuration is recognized by all the nodes, and the data can be transferred between the nodes. In this state, each node starts data transfer (step S107), and at the same time, returns to step S101 to monitor the generation of the bus reset signal again.

上記図8は、上述のバスリセット信号の監視(ステップS101)からルート決定(ステップS104)までの処理の詳細を示すフローチャートであり、上記図9は、上述のID設定(ステップS105、S106)の処理の詳細を示すフローチャートである。   FIG. 8 is a flowchart showing details of the processing from the monitoring of the bus reset signal (step S101) to the route determination (step S104), and FIG. 9 is a flowchart of the ID setting (steps S105 and S106). It is a flowchart which shows the detail of a process.

先ず、上記図8において、各ノードは、バスリセット信号の発生を監視し(ステップS201)、バスリセット信号が発生したこと検知する。これにより、ネットワーク構成は、一旦リセットされる。   First, in FIG. 8, each node monitors the generation of the bus reset signal (step S201) and detects that the bus reset signal has been generated. Thereby, the network configuration is once reset.

次に、リセットされたネットワーク構成を再認識する作業の第一段階として、各ノードは、フラグFLをリーフ(ノード)であることを示すデータでリセットする(ステップS202)。
その後、各ノードは、ポート数、即ち自分に接続されている他ノードの数を調べ(ステップS203)、その結果に応じて、これから親子関係の宣言を始めるために、未定義(親子関係が決定されていない)ポートの数を調べる(ステップS204)。
尚、ステップS204で検知される未定義ポート数は、バスリセットの直後はポート数に等しいが、親子関係が決定されていくに従って減少する。
Next, as a first step of re-recognizing the reset network configuration, each node resets the flag FL with data indicating a leaf (node) (step S202).
After that, each node checks the number of ports, that is, the number of other nodes connected to itself (step S203), and in accordance with the result, in order to start the declaration of the parent-child relationship from now on, the undefined (parent-child relationship is determined) The number of ports that have not been checked is checked (step S204).
Note that the number of undefined ports detected in step S204 is equal to the number of ports immediately after the bus reset, but decreases as the parent-child relationship is determined.

ここで、バスリセットの直後、親子関係の宣言を行えるのは、実際のリーフに限られている。リーフであるか否かは、ステップS203のポート数の確認結果から知ることができ、即ちこのポート数が“1”であればリーフである。したがって、ステップS204で検知される未定義ポート数が“1”であった場合、リーフは、接続相手のノードに対して親子関係の宣言「自分は子、相手は親」を行い(ステップS205)、本シーケンスを終了する。   Here, immediately after the bus reset, the parent-child relationship can be declared only in an actual leaf. Whether or not it is a leaf can be known from the confirmation result of the number of ports in step S203, that is, if this port number is “1”, it is a leaf. Therefore, when the number of undefined ports detected in step S204 is “1”, the leaf makes a declaration of parent-child relationship to the connection partner node “I am a child and the partner is a parent” (step S205). This sequence is finished.

また、ステップS203のポート数の確認結果が“2”以上であったノード、即ちブランチ(ノード)は、バスリセットの直後はステップS204で検知される未定義ポート数が“未定義ポート数>1”となる。このため、フラグFLにブランチを示すデータをセットして(ステップS206)、他ノードから親子関係が宣言されるのを待つ(ステップS207)。
そして、他ノードから親子関係が宣言され、それを受けたブランチは、ステップS204に戻って未定義ポート数を確認する。このとき、もし未定義ポート数が“1”になっていれば、残ポートに接続されている他ノードに対して、ステップS205で「自分は子、相手は親」の親子関係を宣言することができる。また、まだ未定義ポート数が“2”以上あるブランチは、再度ステップS207で再び他ノードから「親子関係」が宣言されるのを待つことになる。
In addition, the node in which the confirmation result of the number of ports in step S203 is “2” or more, that is, the branch (node), is the number of undefined ports detected in step S204 immediately after the bus reset is “number of undefined ports> 1”. " Therefore, data indicating a branch is set in the flag FL (step S206), and the process waits for a parent-child relationship to be declared from another node (step S207).
Then, a parent-child relationship is declared from another node, and the branch receiving it returns to step S204 and confirms the number of undefined ports. At this time, if the number of undefined ports is “1”, declare a parent-child relationship of “I am a child and the other is a parent” to other nodes connected to the remaining ports in step S205. Can do. Further, the branch whose number of undefined ports is “2” or more still waits for the “parent-child relationship” to be declared again from another node in step S207.

また、何れか1つのブランチ、又は、例外的に子宣言を行えるのにもかかわらずすばやく動作しなかったリーフの未定義ポート数が“0”になると、ネットワーク全体の親子関係の宣言が終了したことになる。このため、未定義ポート数が“0”になった唯一のノード、即ち全てノードの親に決まったノードは、フラグFLにルート(ノード)を示すデータをセットする(ステップS208)。これにより、このノードは、ルートとして認識されることになり(ステップS209)、その後、本シーケンス終了となる。   Also, when the number of undefined ports in any branch or leaf that did not operate quickly despite being able to declare a child exceptionally becomes “0”, the declaration of the parent-child relationship of the entire network is completed. It will be. For this reason, the only node for which the number of undefined ports is “0”, that is, the node determined to be the parent of all nodes, sets data indicating the root (node) in the flag FL (step S208). As a result, this node is recognized as a route (step S209), and then this sequence ends.

上述のようにして、バスリセットから、ネットワーク内のノード間における親子関係の宣言までの処理が終了する。
次に、各ノードにIDを与える処理を行うが、ここで、最初にIDの設定を行うことができるのは、リーフである。したがって、ここでは、リーフ→ブランチ→ルートの順に若い番号(ノード番号:0)からIDを設定する。
As described above, the processing from the bus reset to the declaration of the parent-child relationship between the nodes in the network is completed.
Next, a process of giving an ID to each node is performed. Here, it is a leaf that can first set an ID. Therefore, here, IDs are set from a smaller number (node number: 0) in the order of leaf → branch → root.

即ち、上記図9において、先ず、フラグFLに設定されたデータを基に、ノードの種類、即ちリーフ、ブランチ、及びルートに応じた処理に分岐する(ステップS301)。   That is, in FIG. 9, first, based on the data set in the flag FL, the process branches to a process corresponding to the node type, that is, leaf, branch, and route (step S301).

ステップS301の結果が“リーフ”であった場合、ネットワーク内に存在するリーフの数(自然数)が変数Nに設定される(ステップS302)。その後、リーフは、ルートに対してノード番号を要求する(ステップS303)。この要求が複数ある場合、これを受けたルートは、アービトレーションを行い(ステップS304)、ある1つのノードにノード番号を与え、他のノードにはノード番号の取得失敗を示す結果を通知する(ステップS305)。   When the result of step S301 is “leaf”, the number of leaves (natural number) existing in the network is set to the variable N (step S302). Thereafter, the leaf requests a node number from the root (step S303). If there are a plurality of requests, the route that has received the request performs arbitration (step S304), gives a node number to a certain node, and notifies the other nodes of the result indicating the node number acquisition failure (step S304). S305).

ステップS306の判定により、ノード番号を取得できなかったリーフは、再びステップS303でノード番号の要求を繰り返す。   The leaf for which the node number could not be acquired by the determination in step S306 repeats the node number request again in step S303.

一方、ステップS306の判定により、ノード番号を取得できたリーフは、取得したノード番号を含むID情報(セルフIDパケット)をブロードキャストすることで、全ノードに通知する(ステップS307)。   On the other hand, as a result of the determination in step S306, the leaf that has acquired the node number broadcasts ID information (self ID packet) including the acquired node number to notify all nodes (step S307).

ここで、セルフIDパケットには、そのノードのID情報や、そのノードのポート数、既接続ポート数、その各ポートが親であるか子であるか、そのノードがバスマネージャになり得る能力の有無情報等が載せられている。能力の有無情報に関しては、バスマネージャになり得る能力があれば、セルフIDパケット内のコンテンダビットが“1”に、バスマネージャになり得る能力が無ければコンテンダビットが“0”に設定される。
バスマネージャになる能力とは、例えば、
(1)バスの電源管理
上記図2に示したように構成されたネットワーク上の各機器それぞれが、接続ケーブル内の電源ラインを用いて電源供給を必要とする機器か、電源供給可能な機器か、いつ電源を供給するか等の管理。
(2)速度マップの維持
ネットワーク上の各機器の通信速度情報の維持。
(3)ネットワーク構造(トポロジ・マップ)の維持
後述するネットワークのツリー構造情報の維持(図10参照)
(4)トポロジ・マップから取得した情報に基づくバスの最適化
、というバス管理が可能であることを意味し、後述する手順によってバスマネージャとなったノードが、ネットワーク全体のバス管理を行うことになる。
また、バスマネージャになり得る能力のあるノード、即ちセルフIDパケットのコンテンダビットを“1”に設定してブロードキャストするノードは、各ノードからブロードキャストで転送されるセルフIDパケットの各情報、通信速度等の情報を蓄えておく。そして、バスマネージャとなったときに、蓄えておいた情報をもとに、速度マップやトポロジ・マップを構成する。
Here, the self ID packet includes the ID information of the node, the number of ports of the node, the number of connected ports, whether each port is a parent or a child, and the ability of the node to be a bus manager. Presence / absence information and the like are posted. Regarding the capability presence / absence information, if there is a capability capable of becoming a bus manager, the contender bit in the self ID packet is set to “1”, and if there is no capability capable of becoming a bus manager, the contender bit is set to “0”.
The ability to become a bus manager is, for example,
(1) Bus power management Whether each device on the network configured as shown in FIG. 2 is a device that requires power supply or a device that can supply power using the power line in the connection cable. Management of when to supply power.
(2) Maintaining the speed map Maintain the communication speed information of each device on the network.
(3) Maintenance of network structure (topology map) Maintenance of network tree structure information described later (see FIG. 10)
(4) This means that bus management such as bus optimization based on information acquired from the topology map is possible, and a node that has become a bus manager by the procedure described later performs bus management for the entire network. Become.
Also, a node capable of becoming a bus manager, that is, a node that broadcasts by setting the contender bit of the self ID packet to “1”, each information of the self ID packet transferred by broadcast from each node, communication speed, etc. Store the information. And when it becomes a bus manager, a speed map and a topology map are constructed based on the information stored.

上述のステップS307にてID情報のブロードキャストが終了すると、リーフの数を表す変数Nがデクリメントされる(ステップS308)。
その後、ステップS309の判定により、変数Nが“0”になるまで、ステップS303〜ステップS308の処理が繰り返される。全てのリーフのID情報がブロードキャストされると、次のブランチのID設定処理(ステップS310〜S317)に移る。
When the broadcast of the ID information is completed in step S307 described above, the variable N representing the number of leaves is decremented (step S308).
Thereafter, the processes in steps S303 to S308 are repeated until the variable N becomes “0” by the determination in step S309. When the ID information of all the leaves is broadcast, the process proceeds to the ID setting process (steps S310 to S317) for the next branch.

このブランチのID設定処理は、ステップS301の結果がブランチであった場合にも実行される処理であり、上述のリーフのID設定時と同様に、先ず、ネットワーク内に存在するブランチの数(自然数)が変数Mに設定される(ステップS310)。その後、ブランチは、ルートに対してノード番号を要求する(ステップS311)。
この要求に対してルートは、アービトレーションを行い(ステップS312)、ある1つのブランチにはリーフに続く若い番号を与え、ノード番号を取得できなかったブランチには取得失敗を示す結果を通知する(ステップS313)。
This branch ID setting process is executed even when the result of step S301 is a branch. Similar to the above-described leaf ID setting, first, the number of branches existing in the network (natural number). ) Is set to the variable M (step S310). Thereafter, the branch requests a node number from the root (step S311).
In response to this request, the route performs arbitration (step S312), gives a certain branch a young number following the leaf, and notifies the branch that could not acquire the node number of the result indicating acquisition failure (step S312). S313).

ステップS314の判定により、ノード番号の取得できなかったブランチは、再びステップS311でノード番号の要求を繰り返す。   The branch whose node number could not be acquired by the determination in step S314 repeats the node number request again in step S311.

一方、ノード番号を取得できたブランチは、取得したノード番号を含むID情報をブロードキャストすることで、全ノードに通知する(ステップS315)。このID情報のブロードキャストが終了すると、ブランチ数を示す変数Mがデクリメントされる(ステップS316)。
その後、ステップS317の判定により、変数Mが“0”になるまで、ステップS311〜ステップS316の処理が繰り返され、全てのブランチのID情報がブロードキャストされると、次のルートのID設定処理(ステップS318、S319)に移る。
On the other hand, the branch that has acquired the node number broadcasts ID information including the acquired node number to notify all nodes (step S315). When the broadcast of the ID information ends, the variable M indicating the number of branches is decremented (step S316).
Thereafter, until the variable M becomes “0” according to the determination in step S317, the processes in steps S311 to S316 are repeated. When the ID information of all branches is broadcast, the ID setting process for the next route (step The process proceeds to S318 and S319).

ここまでの処理が終了すると、最終的にID情報を取得していないノードはルートのみである。そこで、次のルートのID設定処理では、ルートは、他のノードに与えていない最も若い番号を自分のノード番号に設定し(ステップS318)、そのノード番号を含むID情報をブロードキャストする(ステップS319)。
尚、このルートのID設定処理は、ステップS301の結果がルートの場合にも実行される処理である。
When the processing so far is completed, the only node that has not finally obtained ID information is the root. Therefore, in the ID setting process for the next route, the route sets the smallest number not given to other nodes as its own node number (step S318), and broadcasts ID information including the node number (step S319). ).
This route ID setting process is a process executed even when the result of step S301 is a route.

上述のような処理によって、親子関係が決定した後から、全てのノードに対してIDが決定され、各ノードについてバスマネージャになり得る能力の有無も明らかになる。最終的に複数のノードがバスマネージャになり得る能力を有する場合、ID番号の最も大きいノードがバスマネージャとなる。また、ルートがバスマネージャになり得る能力を有している場合、ルートのID番号がネットワーク内で最大であるからルートがバスマネージャとなる。一方、ルートがバスマネージャになり得る能力を有していない場合には、ルートの次に大きいID番号を有し、且つセルフIDパケット内のコンテンダビットが“1”に設定されているノードがバスマネージャとなる。更に、どのノードがバスマネージャとなったかについては、各ノードがIDを取得した時点でセルフIDパケットをブロードキャストしており(図9参照)、このブロードキャスト情報を各ノードが把握しておけば、各ノード共通の認識として把握することができる。   Through the above-described processing, after the parent-child relationship is determined, IDs are determined for all the nodes, and it becomes clear whether each node has the ability to become a bus manager. When a plurality of nodes finally have the ability to become a bus manager, the node with the largest ID number becomes the bus manager. If the route has the ability to become a bus manager, the route becomes the bus manager because the route ID number is the largest in the network. On the other hand, if the route does not have the ability to become a bus manager, the node having the next highest ID number after the route and the contender bit in the self ID packet is set to “1” Become a manager. Further, as to which node has become the bus manager, each node broadcasts a self ID packet when the ID is acquired (see FIG. 9). This can be grasped as common recognition among nodes.

そこで、その一例として、実際のネットワークでの具体的な手順を、図10を用いて説明する。   Therefore, as an example, a specific procedure in an actual network will be described with reference to FIG.

この図10に示すネットワークは、ルートであるノードBの下位にはノードAとノードCが直接接続され、ノードCの下位にはノードDが直接接続され、ノードDの下位にはノードEとノードFが直接接続された階層構造を有する。このようなネットワークでの階層構造やルートノード、ノードIDを決定する手順は、以下のようになる。   In the network shown in FIG. 10, node A and node C are directly connected below node B, which is the root, node D is directly connected below node C, and node E and node are connected below node D. F has a hierarchical structure in which F are directly connected. The procedure for determining the hierarchical structure, root node, and node ID in such a network is as follows.

バスリセット信号が発生した後、各ノードの接続状況を認識するために、先ず、各ノードの直接接続されているポート間において親子関係の宣言がなされる。ここでいう「親子」とは、階層構造の上位が「親」、下位が「子」という意味である。   After the bus reset signal is generated, in order to recognize the connection status of each node, first, a parent-child relationship is declared between directly connected ports of each node. “Parent and child” as used herein means that “parent” is higher in the hierarchical structure and “child” is lower.

上記図10では、バスリセットの後、最初に親子関係を宣言したのはノードAである。
ここで、上述したように、1つのポートだけが接続されたノード(リーフ)から親子関係の宣言を開始することができる。これは、ポート数が“1”であれば、ネットワークの末端、即ちリーフであるためである。これが認識されると、それらのリーフ中で最も早く動作を行ったノードから親子関係が決定されていくことになる。このようにして、親子関係の宣言を行ったノードのポートが互いに接続された2つのノードの「子」と設定され、相手ノードのポートが「親」と設定される。したがって、上記図10では、ノードA−B間、ノードE−D間、ノードF−D間で「子−親」と設定されることになる。
In FIG. 10, after the bus reset, the node A first declared the parent-child relationship.
Here, as described above, the declaration of the parent-child relationship can be started from a node (leaf) to which only one port is connected. This is because if the number of ports is “1”, it is the end of the network, that is, the leaf. When this is recognized, the parent-child relationship is determined from the node that performed the earliest operation among those leaves. In this way, the port of the node that declared the parent-child relationship is set as “child” of the two nodes connected to each other, and the port of the partner node is set as “parent”. Therefore, in FIG. 10 described above, “child-parent” is set between nodes A and B, between nodes E and D, and between nodes FD.

次に、階層が1つ上がって、複数のポートを持つノード、即ちブランチのうち、他ノードから親子関係の宣言を受けたノードから順次、上位のノードに対して親子関係の宣言がなされる。   Next, the hierarchy is increased by one, and among the nodes having a plurality of ports, that is, the nodes that have received the declaration of the parent-child relationship from the other nodes, the parent-child relationship declaration is sequentially made for the upper nodes.

上記図10では、先ず、ノードD−E間、D−F間の親子関係が決定された後、ノードDがノードCに対して親子関係を宣言し、その結果、ノードD−C間で「子−親」の関係が設定される。
ノードDからの親子関係の宣言を受けたノードCは、もう1つのポートに接続されているノードBに対して親子関係を宣言し、これによってノードC−B間で「子−親」の関係が設定される。
In FIG. 10, first, after the parent-child relationship between the nodes DE and DF is determined, the node D declares the parent-child relationship to the node C. As a result, the node D-C A “child-parent” relationship is set.
The node C that has received the declaration of the parent-child relationship from the node D declares the parent-child relationship to the node B connected to the other port, and thereby the “child-parent” relationship between the nodes C-B. Is set.

このようにして、上記図10に示すような階層構造が構成され、最終的に接続されている全てのポートにおいて親となったノードがルートと決定される(上記図10では、ノードBがルートとなる)。
尚、ルートは、1つのネットワーク構成中に1つしか存在しない。また、ノードAから親子関係を宣言されたノードBが他のノードに対して早いタイミングで親子関係を宣言した場合は、例えば、ノードC等の他のノードがルートになる可能性もあり得る。即ち、親子関係の宣言が伝達されるタイミングによっては、どのノードもルートとなる可能性があり、ネットワーク構成が同一であっても、特定のノードがルートになるとは限らない。
In this way, the hierarchical structure as shown in FIG. 10 is configured, and the node that becomes the parent in all the finally connected ports is determined as the root (in FIG. 10, node B is the root). Become).
Note that there is only one route in one network configuration. In addition, when the node B in which the parent-child relationship is declared from the node A declares the parent-child relationship with respect to other nodes at an early timing, there is a possibility that another node such as the node C becomes the root. In other words, depending on the timing at which the declaration of the parent-child relationship is transmitted, any node may be the root, and even if the network configuration is the same, a specific node is not necessarily the root.

ルートが決定されると、各ノードIDの決定モードに入る。ここでは、全てのノードは、決定した自分のID情報を他の全てのノードに通知するブロードキャスト機能を持っている。
尚、ID情報は、ノード番号、接続されている位置の情報、持っているポートの数、接続のあるポートの数、各ポートの親子関係の情報等を含んでいる。
When the route is determined, a determination mode for each node ID is entered. Here, all nodes have a broadcast function for notifying all other nodes of their determined ID information.
The ID information includes a node number, information on connected positions, the number of ports possessed, the number of connected ports, parent-child relationship information of each port, and the like.

ノード番号の割当としては、上述したようにリーフから開始され、順に、ノード番号=0、1、2、・・・が割り当てられる。そして、ノード番号を手にしたノードは、ノード番号を含むID情報をブロードキャストによって各ノードに送信する。これにより、そのノード番号は「割り当て済み」であることが認識される。
全てのリーフがノード番号を取得し終ると、次はブランチへ移り、リーフに続くノード番号が割り当てられる。リーフと同様に、ノード番号が割り当てられたブランチから順にID情報がブロードキャストされ、最後にルートが自己のID情報をブロードキャストする。したがって、ルートは常に最大のノード番号を所有することになる。
As described above, the node numbers are allocated from the leaf as described above, and node numbers = 0, 1, 2,. The node having the node number transmits ID information including the node number to each node by broadcasting. Thereby, it is recognized that the node number is “allocated”.
When all the leaves have obtained the node number, the next step is to branch and the node number following the leaf is assigned. Similar to the leaf, ID information is broadcast in order from the branch to which the node number is assigned, and finally the route broadcasts its own ID information. Therefore, the root will always have the highest node number.

以上のようにして、階層構造全体のID設定が終了し、ネットワーク構成が再構築され、バスの初期化作業が完了することになる。   As described above, the ID setting for the entire hierarchical structure is completed, the network configuration is reconstructed, and the bus initialization operation is completed.

[バスアービトレーション] [Bus arbitration]

1394シリアルバスは、データ転送に先立って必ずバスの使用権のアービトレーション(調停)を行う。1394シリアルバスに接続された各ノードは、ネットワーク上で転送されるデータを各々中継することによって、ネットワーク内の全ての機器に同データを伝える論理的なバス型ネットワークを構成する。このため、パケットの衝突を防ぐ意味でバスアービトレーションが必要である。これによって、ある時間には、1つの機器だけがデータ転送を行うことができる。   Prior to data transfer, the 1394 serial bus always arbitrates for the right to use the bus. Each node connected to the 1394 serial bus configures a logical bus type network that relays the data transferred on the network to transmit all the data to all devices in the network. For this reason, bus arbitration is necessary to prevent packet collision. This allows only one device to transfer data at a certain time.

図11(a)及び(b)は、アービトレーションを説明するための図であり、上記図11(a)は、バス使用権を要求する動作を示し、上記図11(b)は、バスの使用を許可する動作を示している。   11 (a) and 11 (b) are diagrams for explaining arbitration. FIG. 11 (a) shows an operation for requesting the right to use the bus, and FIG. 11 (b) shows the use of the bus. The operation to allow is shown.

バスアービトレーションが始まると、1つ若しくは複数のノードが親ノードに対して、各々バス使用権を要求する。上記図11(a)では、ノードCが、その親ノードであるノードBに対して、ノードFが、その親ノードであるノードAに対して、各々バス使用権を要求している。
この要求を受けた親ノードは、更に親ノードに対して、バス使用権を要求することで、子ノードによるバス使用権の要求を中継する。この要求は最終的に調停を行うルートに届けられる。上記図11(a)では、ノードFからの要求を受けたノードAが、その親ノードであるノードFに対してバス使用権を要求している。即ち、ノードAがノードFによるバス使用権の要求を中継している。
When the bus arbitration starts, one or more nodes each request a bus use right from the parent node. In FIG. 11A, the node C requests the node B, which is the parent node, and the node F requests the bus usage right to the node A, which is the parent node.
Upon receiving this request, the parent node further requests the bus usage right from the parent node, thereby relaying the bus usage right request from the child node. This request is finally delivered to the mediation route. In FIG. 11A, the node A that has received the request from the node F requests the right to use the bus to the node F that is the parent node. That is, the node A relays the bus use right request from the node F.

バス使用権の要求を受けたルートは、どのノードにバス使用権を与えるかを決定する。この調停作業はルートのみが行えるものであり、調停に勝ったノードには、バス使用の許可が与えられる。上記図11(b)は、ノードCにバス使用許可が与えられ、ノードFのバス使用権の要求は拒否された状態を示している。
このとき、ルートは、バスアービトレーションに負けたノードに対してDP(data prefix)パケットを送り、そのバス使用権の要求が拒否されたことを知らせる。バスアービトレーションに負けたノードのバス使用権の要求は、次回のバスアービトレーションまで待たされることになる。
一方、バスアービトレーションに勝ち、バス使用許可を得たノードは、以降、データ転送を開始することができる。
The route that has received the request for the right to use the bus determines which node is given the right to use the bus. This arbitration work can be performed only by the route, and a node that wins the arbitration is given permission to use the bus. FIG. 11B shows a state in which the bus use permission is given to the node C and the bus use right request of the node F is rejected.
At this time, the route sends a DP (data prefix) packet to the node that lost the bus arbitration to inform that the request for the right to use the bus has been rejected. The request for the right to use the bus of the node that lost the bus arbitration is kept waiting until the next bus arbitration.
On the other hand, the node that has won the bus arbitration and obtained the bus use permission can subsequently start data transfer.

ここで、バスアービトレーションの一連の流れのフローチャートを、図12に示して説明する。   Here, a flowchart of a series of bus arbitration flows will be described with reference to FIG.

まず、ノードがデータ転送を開始できる為には、バスがアイドル状態であることが必要である。先に行われていたデータ転送が終了して、現在、バスがアイドル状態にあることを認識するためには、各転送モードで個別に設定されている所定のアイドル時間のギャップ長(例えば、サブアクション・ギャップ)の経過を検出すればよい。   First, in order for a node to be able to start data transfer, the bus must be in an idle state. In order to recognize that the previous data transfer has been completed and the bus is currently in an idle state, a gap length of a predetermined idle time set individually in each transfer mode (for example, sub It is only necessary to detect the progress of the action gap.

そこで、先ず、各ノードは、転送するAsyncデータ又はIsoデータに応じた所定のギャップ長が得られたか否かを判定する(ステップS401)。この所定のギャップ長が得られない限り、各ノードは、転送を開始するために必要なバス使用権を要求することはできない。したがって、各ノードは、所定のギャップ長が得られるまで待ち状態となる。   First, each node determines whether or not a predetermined gap length corresponding to the transferred Async data or Iso data is obtained (step S401). Unless this predetermined gap length is obtained, each node cannot request the right to use the bus necessary to start the transfer. Therefore, each node waits until a predetermined gap length is obtained.

ステップS401により、所定のギャップ長が得られると、そのノードは、転送すべきデータがあるか判定し(ステップS402)、転送データ有りの場合には、バス使用権を要求する信号をルートに対して送信する(ステップS403)。このバス使用権の要求を示す信号は、上記図11(a)に示したように、ネットワーク内の各ノードに中継されながら、最終的にルートに届けられる。
尚、ステップS402において、転送データ無しと判定された場合、そのノードは、そのまま待機状態となる。
When a predetermined gap length is obtained in step S401, the node determines whether there is data to be transferred (step S402). If there is transfer data, the node sends a signal requesting the right to use the bus to the route. (Step S403). As shown in FIG. 11A, the signal indicating the request for the right to use the bus is finally delivered to the route while being relayed to each node in the network.
If it is determined in step S402 that there is no transfer data, the node is in a standby state as it is.

ルートは、バス使用権を要求する信号を1つ以上受信すると(ステップS404)、そのバス使用権を要求したノードの数を調べる(ステップS405)。
このステップS405の結果、バス使用権を要求したノードが1つであった場合、ルートは、そのノードに直後のバス使用許可を与える(ステップS408)。
When the route receives one or more signals requesting the bus use right (step S404), the route checks the number of nodes that have requested the bus use right (step S405).
If the result of step S405 is that there is one node that has requested the right to use the bus, the route grants the right to use the bus immediately after that node (step S408).

一方、ステップS405の結果、バス使用権を要求したノードが複数であった場合、ルートは、直後のバス使用許可を与えるノードを1つに絞る調停作業を行う(ステップS406)。この調停作業は、毎回同じノードのみにバスの使用許可が与えられるという様なことはなく、平等にバス使用権が与えられるようにするための作業である(フェア・アービトレーション)。   On the other hand, if the result of step S405 is that there are a plurality of nodes that have requested the bus use right, the route performs an arbitration operation to narrow down the node that grants the right to use the bus immediately to one (step S406). This arbitration work is an operation for giving the right to use the bus equally (fair arbitration) without giving permission to use the bus only to the same node each time.

その結果、調停に勝った1つのノードと、敗れたその他のノードとに応じて、処理が分岐する(ステップS407)。
これにより、調停に勝った1つのノードには、直後のバス使用許可を示す許可信号が送られる(ステップS408)。したがって、この許可信号を受信したノードは、直後に転送すべきデータ(パケット)の転送を開始する。そして、そのデータ転送完了後、ステップS401へと戻る。
また、調停に敗れたノードには、バス使用権の要求が拒否されたことを示すDP(data prefix)パケットが送られる(ステップS409)。したがって、DPパケットを受け取ったノードは、再度バス使用権を要求するために、ステップS401へと戻る。
As a result, the process branches according to one node that has won the arbitration and the other nodes that have lost (step S407).
As a result, a permission signal indicating permission to use the bus immediately after is sent to one node that has won the arbitration (step S408). Therefore, the node that has received this permission signal starts transferring data (packets) to be transferred immediately after. Then, after the data transfer is completed, the process returns to step S401.
Further, a DP (data prefix) packet indicating that the request for the right to use the bus has been rejected is sent to the node that has lost the arbitration (step S409). Therefore, the node that has received the DP packet returns to step S401 to request the bus use right again.

[非同期(アシンクロナス:Asynchronous)転送] [Asynchronous transfer]

図13は、アシンクロナス転送における時間的な遷移状態を示した図である。
この図13において、最初の“subaction gap”(サブアクションギャップ)は、バスのアイドル状態を示すものである。このアイドル状態の時間が所定値になった時点で、データ転送を希望するノードがバス使用権を要求できると判定し、したがって、上記図12で説明したようなバスアービトレーションが実行されることになる。
FIG. 13 is a diagram showing temporal transition states in asynchronous transfer.
In FIG. 13, the first “subaction gap” indicates the idle state of the bus. When the idle state time reaches a predetermined value, it is determined that the node desiring data transfer can request the right to use the bus, and accordingly, the bus arbitration as described in FIG. 12 is executed. .

バスアービトレーションによりバスの使用が許可されると、データ転送がパケットされる。このデータを受信したノードは、“ask gap”という短いギャップの後、受信確認用返送コード“ack”を返して応答する(又は、応答パケットを送る)ことによってデータ転送が完了する。この“ack”は、4ビットの情報と4ビットのチェックサムからなり、成功、ビジー状態、又は、ペンディング状態を示す情報を含み、すぐにデータ送信元のノードに返される情報である。   When the bus arbitration permits the use of the bus, the data transfer is packetized. The node that has received this data returns a reception confirmation return code “ack” after a short gap of “ask gap” and responds (or sends a response packet) to complete the data transfer. The “ack” is information including 4-bit information and a 4-bit checksum, including information indicating success, busy state, or pending state, and immediately returned to the data transmission source node.

図14は、アシンクロナス転送用のパケットフォーマットを示す図である。
パケットには、データ部及び誤り訂正用のデータCRCの他にヘッダ部があり、そのヘッダ部には、目的ノードID、ソースノードID、転送データ長や各種コード等が書き込まれている。
ここで、アシンクロナス転送は、自己ノードから相手ノードへの1対1の通信である。したがって、転送元ノードから送り出されたパケットは、ネットワーク中の各ノードに行き渡るが、各ノードは自分宛てのパケット以外は無視するので、宛先に指定されたノードのみがそのパケットを受け取ることになる。
FIG. 14 is a diagram showing a packet format for asynchronous transfer.
The packet has a header portion in addition to the data portion and the error correction data CRC, and the target node ID, source node ID, transfer data length, various codes, and the like are written in the header portion.
Here, asynchronous transfer is one-to-one communication from the self node to the partner node. Therefore, the packet sent out from the transfer source node is distributed to each node in the network, but each node ignores packets other than those addressed to itself, so that only the node designated as the destination receives the packet.

[同期(アイソクロナス:Isochronous)転送] [Synchronous (Isochronous) transfer]

1394シリアルバスの最大の特徴であるともいえるこのアイソクロナス転送は、特に、ビデオ映像データや音声データのようなマルチメディアデータ等、リアルタイム転送を必要とするデータの転送に適した転送モードである。
また、アシンクロナス転送が1対1の転送であったのに対し、このアイソクロナス転送は、ブロードキャスト機能によって、1つの転送元ノードから他の全てのノードへ一様にデータを転送することができる。
This isochronous transfer, which can be said to be the greatest feature of the 1394 serial bus, is a transfer mode particularly suitable for transferring data that requires real-time transfer, such as multimedia data such as video image data and audio data.
Asynchronous transfer is a one-to-one transfer, whereas this isochronous transfer can uniformly transfer data from one transfer source node to all other nodes by a broadcast function.

図15は、アイソクロナス転送における時間的な遷移状態を示す図である。
アイソクロナス転送は、バス上で一定時間毎に実行される。この時間間隔は、アイソクロナスサイクルと呼ばれ、125μSとしている。この各サイクルの開始時間を示し、各ノードの時間調整を行う役割を担っているのが、サイクル・スタート・パケット(CSP)である。CSPを送信するのは、サイクル・マスタと呼ばれるノードであり、1つ前のサイクル内の転送終了し、所定のアイドル期間(サブアクションギャップ)を経た後、本サイクルの開始を告げるCSPを送信する。即ち、CSPの送信される時間間隔が125μSとなる。
FIG. 15 is a diagram illustrating a temporal transition state in isochronous transfer.
Isochronous transfer is executed at regular intervals on the bus. This time interval is called an isochronous cycle and is set to 125 μS. The cycle start packet (CSP) plays a role of indicating the start time of each cycle and adjusting the time of each node. The node that transmits the CSP is a node called a cycle master. After the transfer in the previous cycle is completed and a predetermined idle period (subaction gap) is passed, the CSP that notifies the start of this cycle is transmitted. . That is, the time interval for transmitting CSP is 125 μS.

また、上記図15に“チャネルA”、“チャネルB”、及び“チャネルC”と示すように、1つの同期サイクル内において、複数種のパケットにチャネルIDを各々与えることによって、それらのパケットを区別して転送することができる。これによって、複数のノード間で、同時に、リアルタイム転送が可能となり、また、受信ノードは、自分が望むチャネルIDのデータのみを受信すればよい。
尚、チャネルIDは、送信先のノードのアドレスを表すものではなく、データに対する論理的な番号を与えているに過ぎないものである。したがって、送信されたパケットは、1つの送信元ノードから他の全てのノードに行き渡る、即ちブロードキャストで転送されることになる。
Further, as shown in FIG. 15 as “channel A”, “channel B”, and “channel C”, by assigning channel IDs to a plurality of types of packets in one synchronization cycle, It can be transferred separately. This enables real-time transfer between a plurality of nodes at the same time, and the receiving node only needs to receive data of the channel ID desired by itself.
The channel ID does not represent the address of the destination node, but merely gives a logical number to the data. Therefore, the transmitted packet is transmitted from one transmission source node to all other nodes, that is, transferred by broadcast.

アイソクロナス転送では、そのパケット送信に先立って、上述のアシンクロナス転送と同様にバスアービトレーションが行われる。しかしながら、アイソクロナス転送はアシンクロナス転送のように1対1の通信ではないため、上記図15に示すように、アイソクロナス転送には、受信確認用の返送コードである“ask”(受信確認用返信コード)は存在しない。
また、上記図15に示す“iso gap”(アイソクロナスギャップ)は、アイソクロナス転送を行う前にバスがアイドル状態であることを認識するために必要なアイドル期間を表している。この所定のアイドル期間を経過すると、アイソクロナス転送を行いたいノードは、バスが空いていると判断し、転送前のアービトレーションを行うことができる。
In isochronous transfer, prior to the packet transmission, bus arbitration is performed as in the above-described asynchronous transfer. However, since isochronous transfer is not one-to-one communication like asynchronous transfer, as shown in FIG. 15, “ask” (reception code for reception confirmation) is a return code for reception confirmation. Does not exist.
Further, “iso gap” (isochronous gap) shown in FIG. 15 represents an idle period necessary for recognizing that the bus is in an idle state before performing isochronous transfer. When this predetermined idle period elapses, a node that wishes to perform isochronous transfer determines that the bus is free and can perform arbitration before transfer.

図16は、アイソクロナス転送用のパケットフォーマットを示す図である。
各チャネルに分けられた各種のパケットには、各々データ部及び誤り訂正用のデータCRCの他にヘッダ部があり、そのヘッダ部には、転送データ長やチャネルNo.、その他各種コード及び誤り訂正用のヘッダCRC等が書き込まれ、これが転送される。
FIG. 16 is a diagram showing a packet format for isochronous transfer.
Each packet divided into each channel has a header portion in addition to the data portion and the error correction data CRC, and the header portion includes a transfer data length and a channel number. Various other codes, error correction header CRC, and the like are written and transferred.

[バスサイクル] [Bus cycle]

実際に、1394シリアルバスにおいては、アイソクロナス転送とアシンクロナス転送が混在できる。その時のバス上の転送状態の時間的な遷移の様子を、図17に示す。
アイソクロナス転送は、アシンクロナス転送より優先して実行される。これは、CSPの後、アシンクロナス転送を起動するために必要なアイドル期間のギャップ長(“subaction gap”サブアクションギャップ)よりも短いギャップ長(“ack gap”アイソクロナスギャップ)で、アイソクロナス転送を起動できるからである。したがって、アシンクロナス転送よりアイソクロナス転送が、優先して実行されることとなる。
Actually, isochronous transfer and asynchronous transfer can be mixed in the 1394 serial bus. FIG. 17 shows the temporal transition of the transfer state on the bus at that time.
Isochronous transfer is executed with priority over asynchronous transfer. This means that after CSP, isochronous transfer can be started with a gap length (“ack gap” isochronous gap) shorter than the gap length of the idle period (“subaction gap”) required to start asynchronous transfer. Because. Therefore, isochronous transfer is executed with priority over asynchronous transfer.

上記図17示す一般的なバスサイクルでは、サイクル#mのスタート時にCSPがサイクル・マスタから各ノードに転送される。このCSPによって、各ノードで時間調整を行い、所定のアイドル期間(アイソクロナスギャップ)を待ってからアイソクロナス転送を行うべきノードは、アービトレーションを行い、パケット転送に入る。上記図17では、“チャネルe”、“チャネルs”、“チャネルk”が順にアイソクロナス転送されている。
このバスアービトレーションからパケット転送までの動作を、与えられているチャネル分繰り返し行った後、サイクル#mにおけるアイソクロナス転送が全て終了すると、アシンクロナス転送を行うことができるようになる。
In the general bus cycle shown in FIG. 17, the CSP is transferred from the cycle master to each node at the start of cycle #m. With this CSP, each node adjusts time, waits for a predetermined idle period (isochronous gap), and then a node that should perform isochronous transfer performs arbitration and enters packet transfer. In FIG. 17, “channel e”, “channel s”, and “channel k” are isochronously transferred in order.
After the operations from the bus arbitration to the packet transfer are repeated for the given channel, the isochronous transfer can be performed when all the isochronous transfers in the cycle #m are completed.

即ち、アイドル時間が、アシンクロナス転送が可能なサブアクションギャップに達することによって、アシンクロナス転送を行いたいノードは、アービトレーションの実行に移れると判断する。
尚、アシンクロナス転送が行えるのは、アイソクロナス転送終了後から、次のCSPを転送すべき時間(cycle synch)までの間に、アシンクロナス転送を起動するためのサブアクションギャップが得られた場合に限られる。
That is, when the idle time reaches the subaction gap where asynchronous transfer is possible, it is determined that a node that wishes to perform asynchronous transfer can move to execution of arbitration.
Asynchronous transfer can be performed only when a sub-action gap for starting asynchronous transfer is obtained between the end of isochronous transfer and the time to transfer the next CSP (cycle synch). .

上記図17のサイクル#mでは、3つのチャネル分のアイソクロナス転送の後、その後のアシンクロナス転送(“ack”を含む)で2つのパケット(パケット1、パケット2)が転送されている。この2つのパケット転送後は、サイクル#(m+1)をスタートすべき時間(cycle synch)に至るので、サイクル#mでの転送はこれ終了する。
このとき、アシンクロナス転送又はアイソクロナス転送動作中に、次のCSPを送信すべき時間(cycle synch)に至った場合、転送を無理に中断せず、その転送が終了した後に、アイドル期間を経て、次サイクルのCSPを送信する。即ち、1つのサイクルが125μS以上続いた場合は、その延長分、次サイクルが基準の125μSより短縮される。このように、アイソクロナスサイクルは、125μSを基準に超過或いは短縮し得るものである。
尚、アイソクロナス転送は、リアルタイム転送を維持するために、必要であれば毎サイクル実行され、アシンクロナス転送は、サイクル時間が短縮されたことによって、次以降のサイクルに延期されることもある。こういった遅延情報も、サイクル・マスタによって管理される。
In the cycle #m in FIG. 17, after isochronous transfer for three channels, two packets (packet 1 and packet 2) are transferred in the subsequent asynchronous transfer (including “ack”). After the transfer of these two packets, it reaches the time (cycle synch) at which cycle # (m + 1) should be started, and thus the transfer in cycle #m ends.
At this time, when the time to transmit the next CSP (cycle synch) is reached during the asynchronous transfer or isochronous transfer operation, the transfer is not forcibly interrupted, and after the transfer is completed, the next period is passed through the idle period. Cycle CSP is sent. That is, when one cycle continues for 125 μS or more, the next cycle is shortened from the reference 125 μS by the extension. As described above, the isochronous cycle can be exceeded or shortened on the basis of 125 μS.
The isochronous transfer is executed every cycle if necessary to maintain the real-time transfer, and the asynchronous transfer may be postponed to the next and subsequent cycles due to a reduction in the cycle time. Such delay information is also managed by the cycle master.

以上説明したように、IEEE1394は、SCSI等のディジタルI/Fによるデータ通信の煩わしさを払拭する種々の利便性を持ったものである。特に画像データのような大容量データを、機器制御データと共に高速で転送可能であり、且つ、ケーブルが比較的細く引き回しに便利である。更に、複数の接続機器に対しても、直列的にケーブルを接続すれば良いため、PCに代表されるような主たる制御装置には、1本のケーブルが接続されていれば良い。   As described above, IEEE 1394 has various conveniences to eliminate the inconvenience of data communication by digital I / F such as SCSI. In particular, large-capacity data such as image data can be transferred together with the device control data at high speed, and the cable is relatively thin and convenient for routing. Furthermore, since it is only necessary to connect cables in series to a plurality of connected devices, it is only necessary that one cable be connected to a main control device such as a PC.

そこで、上記図1に示した、IEEE1394により種々のディジタル機器が接続されてなるシステム100について、具体的に説明する。   Thus, the system 100 shown in FIG. 1 in which various digital devices are connected by IEEE 1394 will be specifically described.

システム100では、TVモニタ装置101とAVアンプ102がIEEE1394(1394シリアルバス)で接続されており、1394シリアルバスに接続されている他の機器の中から特定の機器が選択される。他の機器とは、例えばディジタルVTR105,106等の映像音声機器である。そして、その選択された特定の機器から出力される映像音声データが、TVモニタ装置101に転送されるようになされている。
また、PC103は、法律等で許可されている範囲内に於いて、1394シリアルバスで接続された種々の映像機器からの画像を取り込み、それをプリンタ104でプリント出力することも可能なようになされている。種々の映像機器とは、例えばディジタルVTR105,106等の映像音声機器である。なお、PC103は、AVアンプ102に1394シリアルバスを介して接続されている。
In the system 100, the TV monitor device 101 and the AV amplifier 102 are connected by IEEE 1394 (1394 serial bus), and a specific device is selected from other devices connected to the 1394 serial bus. The other devices are video / audio devices such as digital VTRs 105 and 106, for example. Then, video / audio data output from the selected specific device is transferred to the TV monitor device 101.
In addition, the PC 103 can capture images from various video devices connected by a 1394 serial bus and print them out by the printer 104 within a range permitted by law. ing. The various video devices are video / audio devices such as digital VTRs 105 and 106, for example. The PC 103 is connected to the AV amplifier 102 via a 1394 serial bus.

尚、上記図1に示したネットワークシステムは、機器群からなるシステムの一例であって、TVモニタ装置101やCDプレーヤ108より先に、他の機器が接続された構成であっても構わない。
また、システムを構成する機器についても、上記図1中に示した機器に限らず、例えば、ハードディスク等の外部記憶装置や、第2のCDプレーヤ、第2のDVDプレーヤ等であってもよい。即ち、394シリアルバスでネットワークが構成できる機器であるならばよい。
The network system shown in FIG. 1 is an example of a system including a group of devices, and may be configured such that other devices are connected before the TV monitor device 101 and the CD player 108.
Also, the devices constituting the system are not limited to the devices shown in FIG. 1, and may be, for example, an external storage device such as a hard disk, a second CD player, a second DVD player, or the like. That is, any device capable of configuring a network with a 394 serial bus may be used.

そこで、上述のようなシステム100において、ここでは説明の簡単のために、プリンタ104とディジタルVTR105の1394シリアルバスによる接続を一例にとり、その接続での情報伝達経路等について説明する。   Therefore, in the system 100 as described above, here, for the sake of simplicity of explanation, the connection of the printer 104 and the digital VTR 105 using the 1394 serial bus will be described as an example, and the information transmission path and the like in the connection will be described.

図18は、プリンタ104とディジタルVTR105の内部構成を示したものである。
尚、上記図18では、ディジタルVTR105の内部構成については、説明の簡単のため、再生系のみを示している。
FIG. 18 shows the internal configuration of the printer 104 and the digital VTR 105.
In FIG. 18, only the reproduction system is shown for the sake of simplicity of the internal configuration of the digital VTR 105.

プリンタ104には、ディジタルVTR105とPC103との1394I/F部521、プリント出力する画像データを形成処理等する画像処理部522、該形成処理等のためのメモリ523、及びプリンタヘッド524が設けられている。更に、プリンタヘッド524や紙送り等を行うドライバ525、ユーザがプリンタ104に対して種々の指示入力を行うための操作部526、及びプリンタ104全体の動作制御を司るプリンタコントローラ527が設けられている。更に、1394I/F521を介してプリンタ104の状況をプリンタ情報として生成するプリンタ情報生成部528、及びデータセレクタ529が設けられている。
ディジタルVTR105には、磁気テープ501に対するデータの記録や再生を行うための記録/再生ヘッド502、再生処理部503、映像復号化部504、D/Aコンバータ505、及び外部出力端子506が設けられている。更に、ユーザがディジタルVTR105に対して種々の指示入力を行うための操作部507、ディジタルVTR105全体の動作制御を司るシステムコントローラ508、及びフレームメモリ509が設けられている。更に、プリンタ104とPC103との1394I/F部510、及び複数種データのセレクタ511が設けられている。
そして、データセレクタ511及びデータセレクタ529は、入力又は出力する各データのセレクトを行うものであり、これにより、順次各データがデータ種毎に区別されて所定のブロックに入出力されるようになされている。
The printer 104 is provided with a 1394 I / F unit 521 between the digital VTR 105 and the PC 103, an image processing unit 522 for forming image data to be printed out, a memory 523 for the forming processing, and a printer head 524. Yes. Further, a printer head 524, a driver 525 for feeding paper, and the like, an operation unit 526 for a user to input various instructions to the printer 104, and a printer controller 527 for controlling the operation of the entire printer 104 are provided. . Further, a printer information generation unit 528 and a data selector 529 that generate the status of the printer 104 as printer information via the 1394 I / F 521 are provided.
The digital VTR 105 is provided with a recording / reproducing head 502, a reproduction processing unit 503, a video decoding unit 504, a D / A converter 505, and an external output terminal 506 for recording and reproducing data on the magnetic tape 501. Yes. Furthermore, an operation unit 507 for a user to input various instructions to the digital VTR 105, a system controller 508 that controls the operation of the entire digital VTR 105, and a frame memory 509 are provided. Further, a 1394 I / F unit 510 between the printer 104 and the PC 103 and a selector 511 for plural types of data are provided.
The data selector 511 and the data selector 529 select each data to be input or output. As a result, each data is sequentially distinguished for each data type and input / output to / from a predetermined block. ing.

上述のようなプリンタ104とディジタルVTR105との間では、次のような動作がなされる。   The following operation is performed between the printer 104 and the digital VTR 105 as described above.

先ず、ディジタルVTR105において、記録/再生ヘッド502は、磁気テープ501に記録されている映像データを読み取り、これを再生処理部503へ供給する。このときの該映像データは、家庭用ディジタルビデオの帯域圧縮方法としてのDCT(離散コサイン変換)及びVLC(可変長符号化)に基づいた所定の圧縮方式で符号化されたものとする。
再生処理部503は、記録/再生ヘッド502からの映像データに所定の再生形式の処理を行う。
復号化部504は、再生処理部503を介した該映像データに対して、上記の符号化方式に対応した所定の復号化処理を行う。
D/Aコンバータ505は、復号化部504による復号化後の映像データをアナログ化して、外部出力端子506を介して図示していない外部装置等に対して出力する。
First, in the digital VTR 105, the recording / reproducing head 502 reads video data recorded on the magnetic tape 501 and supplies it to the reproduction processing unit 503. It is assumed that the video data at this time is encoded by a predetermined compression method based on DCT (discrete cosine transform) and VLC (variable length encoding) as band compression methods for home digital video.
The playback processing unit 503 performs processing of a predetermined playback format on the video data from the recording / playback head 502.
The decoding unit 504 performs a predetermined decoding process corresponding to the above encoding method on the video data via the reproduction processing unit 503.
The D / A converter 505 converts the video data decoded by the decoding unit 504 into analog, and outputs it to an external device (not shown) via the external output terminal 506.

このとき、1394シリアルバスを用いて、所望の映像データ等を他の機器(ノード)に転送する場合は、復号化部504は、復号化後の映像データを、フレームメモリ509に一時的に蓄える。その後、この蓄えられた映像データは、後述するデータセレクタ511を介して13941/F部510に供給され、ここから例えば、プリンタ104やPC103に転送する。   At this time, when desired video data or the like is transferred to another device (node) using the 1394 serial bus, the decoding unit 504 temporarily stores the decoded video data in the frame memory 509. . Thereafter, the stored video data is supplied to the 13941 / F unit 510 via the data selector 511 described later, and is transferred to the printer 104 or the PC 103, for example.

データセレクタ511は、フレームメモリ509からの映像データに加え、システムコントローラ508からの各種制御データも与えられており、これらを選択的に1394I/F部510に転送する。   The data selector 511 is supplied with various control data from the system controller 508 in addition to the video data from the frame memory 509, and selectively transfers them to the 1394 I / F unit 510.

プリンタ104に転送された映像データが、例えば、プリンタ104でのダイレクトプリント用のデータである場合、プリンタ104においては、この映像データを1394I/F部521を介してプリンタ104内部に取り込む。このとき、該映像データがプリンタ104以外の他の機器(PC103等)ヘの転送であるときは、該映像データは、1394I/F部521を素通りして、目的の機器(ノード)ヘ転送されることになる。   For example, when the video data transferred to the printer 104 is data for direct printing in the printer 104, the printer 104 captures the video data into the printer 104 via the 1394 I / F unit 521. At this time, when the video data is transferred to a device other than the printer 104 (such as the PC 103), the video data passes through the 1394 I / F unit 521 and is transferred to the target device (node). Will be.

ここで、ディジタルVTR105の再生動作等、ディジタルVTR105へ指示は、操作部507から行われるものである。従って、システムコントローラ508は、操作部507からの指示入力に基づいて、ディジタルVTR105の再生処理部503の制御を始めとする各部の動作制御を行うことになる。このとき、所定の指示入力がなされた場合等、操作部507からの指示入力によっては、例えば、プリンタ104に対する制御コマンドを発生し、これをコマンドデータとしてデータセレクタ511を介して1394I/F部510からプリンタ105ヘと転送する。   Here, an instruction to the digital VTR 105 such as a reproduction operation of the digital VTR 105 is performed from the operation unit 507. Therefore, the system controller 508 controls the operation of each unit including the control of the reproduction processing unit 503 of the digital VTR 105 based on the instruction input from the operation unit 507. At this time, for example, when a predetermined instruction is input, depending on the instruction input from the operation unit 507, for example, a control command for the printer 104 is generated, and this is used as command data via the data selector 511 to the 1394 I / F unit 510. To the printer 105.

また、プリンタ104からの後述するプリンタ104の動作状況等のプリンタ情報データは、1394I/F部510からデータセレクタ511を介して、システムコントローラ508内に取り込むことが可能なようになされている。上記プリンタ情報データは、1394I/F部510を介して入力される。但し、上記プリンタ情報データが、ディジタルVTR105にとって不要なものである場合には、1394I/F部510を素通りして、もう一方のディジタルVTR106へと転送される。また、上記プリンタ情報データは、1394I/F部510を介してPC103へ転送することも可能なようになされている。   In addition, printer information data such as an operation status of the printer 104 described later from the printer 104 can be taken into the system controller 508 from the 1394 I / F unit 510 via the data selector 511. The printer information data is input via the 1394 I / F unit 510. However, if the printer information data is unnecessary for the digital VTR 105, it passes through the 1394 I / F unit 510 and is transferred to the other digital VTR 106. The printer information data can also be transferred to the PC 103 via the 1394 I / F unit 510.

一方、プリンタ104においては、先ず、1394I/F部521に対して入力されたデータは、データセレクタ521により各データの種類毎に分類される。これにより、プリント出力すべきデータが画像処理部522に供給される。
画像処理部522は、データセレクタ529により供給されたデータに対して、プリント出力に適した画像処理を行い、これをメモリ523へプリント画像データとして形成する。
メモリ523に形成されたプリント画像データは、プリンタコントローラ527からの書込及び読出制御に従って、プリンタヘッド524へ供給され、ここでプリント出力される。このときのプリンタヘッド524の駆動や紙送り等の駆動は、ドライバ525により行われ、該ドライバ525やプリンタヘッド524の動作制御は、プリンタコントローラ527によって行われる。
On the other hand, in the printer 104, first, data input to the 1394 I / F unit 521 is classified by data type by the data selector 521. As a result, data to be printed out is supplied to the image processing unit 522.
The image processing unit 522 performs image processing suitable for print output on the data supplied from the data selector 529, and forms this as print image data in the memory 523.
The print image data formed in the memory 523 is supplied to the printer head 524 according to writing and reading control from the printer controller 527, and is printed out here. At this time, driving of the printer head 524 and driving such as paper feeding are performed by the driver 525, and operation control of the driver 525 and the printer head 524 is performed by the printer controller 527.

ここで、操作部526は、紙送りや、リセット、インクチェック、プリンタ動作のスタンバイ/停止等の動作を指示入力するためのものであり、その指示入力に基づいて、プリンタコントローラ527は各部の動作制御を行うようになされている。   Here, the operation unit 526 is used to input instructions for operations such as paper feeding, reset, ink check, and standby / stop of the printer operation. Based on the input instructions, the printer controller 527 operates each unit. Control is made to be done.

また、1394I/F部521に対して入力されたデータが、PC103やディジタルVTR105等から発せられたプリンタ104に対するコマンドを示すデータであった場合には、次の動作が行われる。即ち、該データは、データセレクタ529からプリンタコントローラ527に対して制御コマンドとして伝達され、プリンタコントローラ527によってプリンタ104の各部の動作制御がなされる。   When the data input to the 1394 I / F unit 521 is data indicating a command for the printer 104 issued from the PC 103 or the digital VTR 105, the following operation is performed. That is, the data is transmitted as a control command from the data selector 529 to the printer controller 527, and the operation of each unit of the printer 104 is controlled by the printer controller 527.

更に、プリンタ情報生成部528は、プリンタ104の動作状況、プリント出力の終了や開始可能な状態であるかを示すメッセージ、警告メッセージ及びプリント出力する画像データの情報等をプリンタ情報として生成し、これをデータセレクタ529へ供給する。警告メッセージとしては、紙づまり、動作不良、及びインクの有無等を示すものが挙げられる。その後、データセレクタ529により、1394I/F部521を介して外部へ出力される。したがって、この出力されたプリンタ情報を元にして、PC103やディジタルVTR105において、プリンタ状況に応じた表示や処理等が行われることになる。
例えば、PC103において(或いは、ディジタルVTR105がダイレクトプリント機能を有していれば、このディジタルVTR105において)、プリンタ104からのプリンタ情報に基づいたメッセージやプリント画像を表示する。ユーザは、この表示されたメッセージやプリント画像を確認することによって、適切な対処をすべく、PC103(及びディジタルVTR105)からプリンタ104に対するコマンドの入力を行う。このコマンド入力は、制御コマンドデータとして1394シリアルバスを介してプリンタ104へ与えられる。これを受けたプリンタ104は、プリンタコントローラ527により、該制御コマンドデータに従ったプリンタ104の各部の動作制御や、画像処理部522でのプリント画像形成の動作制御を行う。
Further, the printer information generation unit 528 generates, as printer information, the operation status of the printer 104, a message indicating whether the print output can be completed or started, a warning message, information on image data to be printed, and the like. Is supplied to the data selector 529. Examples of warning messages include paper jams, malfunctions, and presence / absence of ink. Thereafter, the data is output to the outside via the 1394 I / F unit 521 by the data selector 529. Therefore, on the basis of the output printer information, the PC 103 and the digital VTR 105 perform display and processing according to the printer status.
For example, a message or print image based on printer information from the printer 104 is displayed on the PC 103 (or on the digital VTR 105 if the digital VTR 105 has a direct print function). The user inputs a command to the printer 104 from the PC 103 (and the digital VTR 105) in order to take an appropriate action by checking the displayed message and print image. This command input is given as control command data to the printer 104 via the 1394 serial bus. In response to this, the printer 104 uses the printer controller 527 to control the operation of each unit of the printer 104 in accordance with the control command data and the print image forming operation in the image processing unit 522.

上述のように、PC103やディジタルVTR105とプリンタ104間を接続した1394シリアルバスには、映像データや各種のコマンドデータなどが適宜転送されることになる。
ディジタルVTR105での各データの転送形式は、先に述べた1394シリアルバスの仕様に基づいたものとしている。即ち、主として映像データ(及び音声データ)は、ISoデータとしてアイソグロナス転送方式で転送し、コマンドデータは、Asyncデータとしてアジングロナス転送方式で転送する。
このとき、ある種のデータによっては、アイソグロナス転送方式よりアジングロナス転送方式で転送した方が都合が良いこともあるため、そのようなときはアジングロナス転送方式を用いる。また、プリンタ104から転送されるプリンタ情報のデータは、Asyncデータとしてアジングロナス転送方式で転送する。更に、情報量が多いプリント画像データ等を転送するときは、ISOデータとしてアイソグロナス転送方式で転送するようにしてもよい。
As described above, video data, various command data, and the like are appropriately transferred to the 1394 serial bus connecting the PC 103 or digital VTR 105 and the printer 104.
The transfer format of each data in the digital VTR 105 is based on the specification of the 1394 serial bus described above. In other words, video data (and audio data) are mainly transferred as ISo data by the isochronous transfer method, and command data is transferred as async data by the amorphous transfer method.
At this time, depending on certain types of data, it may be more convenient to transfer the data using the azimuth transfer method than the iso-gloss transfer method. In such a case, the azine transfer method is used. Also, the printer information data transferred from the printer 104 is transferred as an async data by the asynchronous transfer method. Further, when print image data having a large amount of information is transferred, it may be transferred as ISO data by an isochronous transfer method.

尚、上記図1において、上述したプリンタ104とディジタルVTR105以外の他の機器間のデータ通信についても、1394シリアルバスの仕様に基づいて、それぞれのデータの双方向転送が可能である。つまり、PC103、ディジタルVTR106、DVDプレーヤ107、CDプレーヤ108、AVアンプ102、及びTVモニタ101間のデータ通信についても双方向転送が可能である。
また、TVモニタ101、AVアンプ102、PC103、ディジタルVTR106、DVDプレーヤ107、及びCDプレーヤ108は、各々の機器に特有の機能制御部を搭載している。但し、1394I/Fによる情報通信に必要な部分は、ディジタルVTR105やプリンタ104の構成と同様である。1394I/Fによる情報通信に必要な部分とは、即ち機器内の各ブロックから送信すべきデータが入力され、受信したデータを適宜機器内の各ブロックに振り分けるデータセレクタ、及び13941/F部である。
In FIG. 1, the data communication between the devices other than the printer 104 and the digital VTR 105 described above can also be bidirectionally transferred based on the specifications of the 1394 serial bus. That is, bidirectional transfer is also possible for data communication among the PC 103, the digital VTR 106, the DVD player 107, the CD player 108, the AV amplifier 102, and the TV monitor 101.
Further, the TV monitor 101, AV amplifier 102, PC 103, digital VTR 106, DVD player 107, and CD player 108 are equipped with a function control unit specific to each device. However, the parts necessary for information communication by the 1394 I / F are the same as those of the digital VTR 105 and the printer 104. The parts necessary for information communication by 1394 I / F are a data selector that receives data to be transmitted from each block in the device, and distributes the received data to each block in the device, and a 13941 / F unit. .

以上が、本実施の形態で用いる“IEEE1394”についての説明である。
つぎに、本発明の実施の形態について説明する。
The above is the description of “IEEE1394” used in the present embodiment.
Next, an embodiment of the present invention will be described.

(第1の実施の形態)
本発明は、例えば、図19に示すようなディジタルビデオカメラ600に適用される。
このディジタルビデオカメラ600は、上述したようなIEEE1394I/F267を有するものであり、該IEEE1394I/F267は、IEEE1394ケーブル628によって、上記図1に示したようなPC103に接続されている。以下、ディジタルビデオカメラを、単に「ビデオカメラ」と言う。
また、ビデオカメラ600は、電子ズーム機能等に用いられる後述する画像メモリブロックと接続可能なようにもなされている。
(First embodiment)
The present invention is applied to, for example, a digital video camera 600 as shown in FIG.
The digital video camera 600 has the IEEE 1394 I / F 267 as described above, and the IEEE 1394 I / F 267 is connected to the PC 103 as shown in FIG. 1 by an IEEE 1394 cable 628. Hereinafter, the digital video camera is simply referred to as “video camera”.
Further, the video camera 600 can be connected to an image memory block, which will be described later, used for an electronic zoom function or the like.

即ち、ビデオカメラ600には、上記図19に示すように、撮像部、ディジタル信号処理部601、及びカメラシステム制御部602が設けられている。
上記撮像部には、光学レンズ部(図示せず)、絞り603、撮像素子(ここでは“CCD”とする)604、AGC605、A/D変換器606、絞り駆動部607、CCDドライバ608、及びタイミングジェネレータ609が含まれている。
ディジタル信号処理部601には、色分離マトリクス610、レベルコントロール回路611,612、色差マトリクス613、信号処理ブロック614、絞り制御用参照信号生成回路615、及びR−Yレベル制御用参照信号生成回路616が設けられている。更に、B−Yレベル制御用参照信号生成回路617、カメラシステム制御部602とのI/F回路618、及びAGCゲイン制御用参照信号生成回路630が設けられている。
カメラシステム制御部602には、標準制御データ記憶領域621及び調整用制御データ記憶領域622を有するRAM、制御データ記憶領域623を有するRAM、及びディジタル信号処理部601とのI/F回路625が設けられている。更に、CPU626、ROM629、PC103とのIEEE1394I/F部627、及び上記の画像メモリブロック等との通信ライン631が設けられている。
That is, the video camera 600 is provided with an imaging unit, a digital signal processing unit 601, and a camera system control unit 602 as shown in FIG.
The imaging unit includes an optical lens unit (not shown), an aperture 603, an imaging element (herein referred to as “CCD”) 604, an AGC 605, an A / D converter 606, an aperture drive unit 607, a CCD driver 608, and A timing generator 609 is included.
The digital signal processing unit 601 includes a color separation matrix 610, level control circuits 611 and 612, a color difference matrix 613, a signal processing block 614, an aperture control reference signal generation circuit 615, and an RY level control reference signal generation circuit 616. Is provided. Further, a BY level control reference signal generation circuit 617, an I / F circuit 618 with the camera system control unit 602, and an AGC gain control reference signal generation circuit 630 are provided.
The camera system control unit 602 includes a RAM having a standard control data storage area 621 and an adjustment control data storage area 622, a RAM having a control data storage area 623, and an I / F circuit 625 with the digital signal processing unit 601. It has been. Further, a CPU 626, a ROM 629, an IEEE 1394 I / F unit 627 with the PC 103, and a communication line 631 with the image memory block and the like are provided.

上述のようなビデオカメラ600においては、先ず、光学レンズ部(図示せず)及び絞り603を介してCCD604の撮像面に結像された撮像光は、CCD604にて光電変換され、AGC605でゲインコントロールされる。その後、A/D変換器606でディジタル化される。これにより得られたディジタル画像信号は、ディジタル信号処理部601に供給される。   In the video camera 600 as described above, first, the imaging light imaged on the imaging surface of the CCD 604 via the optical lens unit (not shown) and the diaphragm 603 is photoelectrically converted by the CCD 604 and gain controlled by the AGC 605. Is done. Thereafter, it is digitized by an A / D converter 606. The digital image signal thus obtained is supplied to the digital signal processing unit 601.

ディジタル信号処理部601において、A/D変換器606からのディジタル画像信号のうち輝度成分Yは、信号処理ブロック614にて、絞り制御用参照信号生成回路615によって生成される参照信号とレベル比較がなされる。その比較結果は、絞り駆動部617に供給され、これにより、撮像光に対して常に適切な絞り値が得られるような自動的な絞り制御が行われることになる。   In the digital signal processing unit 601, the level of the luminance component Y of the digital image signal from the A / D converter 606 is compared with the reference signal generated by the aperture control reference signal generation circuit 615 in the signal processing block 614. Made. The comparison result is supplied to the aperture driving unit 617, whereby automatic aperture control is performed so that an appropriate aperture value is always obtained for the imaging light.

また、上記のディジタル画像信号の色信号成分は、色分離マトリクス610に供給され、ここでR,G,Bの三色の色成分に分離される。特に、RとBの色成分については各々、レベルコントロール回路611,612によってそのレベルが制御される。他のGの色成分、及びレベルコントロール回路611,612の出力であるところのRとBの色成分は、色差マトリクス613によってR−YとB−Yの色差信号に変換される。
色成分のレベルの制御については、絞り値の制御と同様に、信号処理ブロック614で、色差マトリクス613の出力信号であるところのR−Yの色差信号レベルが、R−Yレベル制御用参照信号生成回路616によって生成される参照信号とレベル比較される。また、信号処理ブロック614で、色差マトリクス613の出力信号であるところのB−Yの色差信号レベルが、B−Yレベル制御用参照信号生成回路617によって生成される参照信号とレベル比較される。そして、その比較結果がレベルコントロール回路611,612に供給されることで、常に適切なホワイトバランスが得られるような自動的なRとBの色成分のレベル制御が行われることになる。
Further, the color signal component of the digital image signal is supplied to the color separation matrix 610, where it is separated into R, G, B color components. In particular, the levels of the R and B color components are controlled by level control circuits 611 and 612, respectively. The other G color components and the R and B color components which are the outputs of the level control circuits 611 and 612 are converted into RY and BY color difference signals by the color difference matrix 613.
As for the control of the color component level, the RY color difference signal level, which is the output signal of the color difference matrix 613, is converted into the RY level control reference signal in the signal processing block 614, as in the aperture value control. The level is compared with the reference signal generated by the generation circuit 616. The signal processing block 614 compares the level of the BY color difference signal, which is the output signal of the color difference matrix 613, with the reference signal generated by the BY level control reference signal generation circuit 617. The comparison result is supplied to the level control circuits 611 and 612, so that automatic level control of the R and B color components is performed so that an appropriate white balance is always obtained.

一方、CCD604の撮像面に結像される撮像光の光量に対応する電荷をCCD604内のセルに蓄積する時間、即ちシャッタスピードについては、CCD駆動信号によって制御される。なお、CCD駆動信号は、タイミングジェネレータ609からCCDドライバ608を介してCCD604に供給される。
タイミングジェネレータ609は、カメラシステム制御部602内のI/F625に接続されており、カメラシステム制御部602内のCPU626からの制御命令に従って、CCD604の上記の蓄積時間を制御する。
On the other hand, the time for accumulating charges corresponding to the amount of imaging light imaged on the imaging surface of the CCD 604 in the cells in the CCD 604, that is, the shutter speed, is controlled by the CCD drive signal. The CCD drive signal is supplied from the timing generator 609 to the CCD 604 via the CCD driver 608.
The timing generator 609 is connected to the I / F 625 in the camera system control unit 602, and controls the above accumulation time of the CCD 604 in accordance with a control command from the CPU 626 in the camera system control unit 602.

また、絞り制御用参照信号生成回路615、R−Yレベル制御用参照信号生成回路616、B−Yレベル制御用参照信号生成回路617、及びAGCゲイン制御用参照信号生成回路630の各出力レベルも、変更可能なようになされている。即ち、これらの各出力レベルは、I/F回路618を介してカメラシステム制御部602から送られてくる制御信号によって変更可能である。   The output levels of the aperture control reference signal generation circuit 615, the RY level control reference signal generation circuit 616, the BY level control reference signal generation circuit 617, and the AGC gain control reference signal generation circuit 630 are also shown. It has been made changeable. That is, each of these output levels can be changed by a control signal sent from the camera system control unit 602 via the I / F circuit 618.

カメラシステム制御部602は、ビデオカメラ600の外部に設けられているPC103と、IEEE1394ケーブル628及びIEEE1394I/F部627を介して通信可能なようになされている。カメラシステム制御部602からは、PC103からのカメラ制御命令に従って、絞り値、R−Y、B−Y、及びAGCゲインの制御の基準値を変更するための信号が出力される。即ち、CPU626から絞り制御用参照信号生成回路615、R−Yレベル制御用参照信号生成回路616、B−Yレベル制御用参照信号生成回路617、及びAGCゲイン制御用参照信号生成回路630の出力レベルを変更すべく信号が出力される。これにより、ビデオカメラ600での絞り値や色合い、色の濃さといった撮像部の制御対象を、ビデオカメラ600外部のPC103からコントロールすることが可能となる。   The camera system control unit 602 can communicate with the PC 103 provided outside the video camera 600 via the IEEE 1394 cable 628 and the IEEE 1394 I / F unit 627. The camera system control unit 602 outputs a signal for changing the aperture value, the RY, BY, and AGC gain control reference values in accordance with the camera control command from the PC 103. That is, the output levels of the aperture control reference signal generation circuit 615, the RY level control reference signal generation circuit 616, the BY level control reference signal generation circuit 617, and the AGC gain control reference signal generation circuit 630 from the CPU 626. A signal is output to change. This makes it possible to control the control target of the imaging unit such as the aperture value, hue, and color density of the video camera 600 from the PC 103 outside the video camera 600.

絞り制御用参照信号生成回路615、R−Yレベル制御用参照信号生成回路616、B−Yレベル制御用参照信号生成回路617及びAGCゲイン制御用参照信号生成回路630の出力レベルの基準値は、RAMの標準制御データ記憶領域621に蓄えられている。通常は標準制御データ記憶領域621のデータ(基準値)が、RAMの制御データ記憶領域623に転送される。制御データ記憶領域623のデータ(基準値)は、絞り制御用参照信号生成回路615、R−Yレベル制御用参照信号生成回路616、及びB−Yレベル制御用参照信号生成回路617にも伝達される。同様に、制御データ記憶領域623のデータ(基準値)は、AGCゲイン制御用参照信号生成回路630、及びタイミングジェネレータ609にも伝達される。これらの伝達では、制御データ記憶領域623のデータ(基準値)は、CPU626を介して制御条件として伝達される。これにより、自動的に適切な撮影条件が設定されるようになされている。   The reference values of the output levels of the aperture control reference signal generation circuit 615, the RY level control reference signal generation circuit 616, the BY level control reference signal generation circuit 617, and the AGC gain control reference signal generation circuit 630 are: It is stored in the standard control data storage area 621 of the RAM. Normally, the data (reference value) in the standard control data storage area 621 is transferred to the control data storage area 623 of the RAM. The data (reference value) in the control data storage area 623 is also transmitted to the aperture control reference signal generation circuit 615, the RY level control reference signal generation circuit 616, and the BY level control reference signal generation circuit 617. The Similarly, the data (reference value) in the control data storage area 623 is also transmitted to the AGC gain control reference signal generation circuit 630 and the timing generator 609. In these transmissions, the data (reference value) in the control data storage area 623 is transmitted as a control condition via the CPU 626. Thereby, appropriate photographing conditions are automatically set.

図20は、上記図19のビデオカメラ600に付随する画像メモリブロック660を示したものである。
画像メモリブロック660は、例えば、上記図19のディジタル信号処理部601で取り込んだディジタル画像信号(画像データ)の一部を切り出して拡大する電子ズーム機能等に用いられるものである。
このため、画像メモリブロック660は、ディジタル信号処理部601とのI/F回路661、ディジタル信号処理回路662,664、フィールド/フレームメモリ(画像メモリ)663、及びメモリコントローラ665を備えている。そして、メモリコントローラ665は、通信ライン631により上記図19のカメラシステム制御部602と接続されている。
FIG. 20 shows an image memory block 660 associated with the video camera 600 of FIG.
The image memory block 660 is used, for example, for an electronic zoom function for cutting out and enlarging a part of the digital image signal (image data) captured by the digital signal processing unit 601 in FIG.
Therefore, the image memory block 660 includes an I / F circuit 661 with the digital signal processing unit 601, digital signal processing circuits 662 and 664, a field / frame memory (image memory) 663, and a memory controller 665. The memory controller 665 is connected to the camera system control unit 602 shown in FIG.

このような画像メモリブロック660では、先ず、ディジタル601にて得られた輝度成分(輝度信号)Y、色差信号R−Y,B−Yは、I/F回路661を介して画像メモリブロック660内に取り込まれる。そして、ディジタル信号処理回路662により圧縮等のディジタル信号処理が行われる。その後、一旦画像メモリ663に記憶される。
画像メモリ663に記憶されたデータが読み出される場合には、その読み出されたデータが、ディジタル信号処理回路664で伸長等のディジタル信号処理が行われる。この結果、元の輝度信号Y、色差信号R−Y,B−Yに戻され、これらの信号が出力されることになる。
In such an image memory block 660, first, the luminance component (luminance signal) Y and the color difference signals RY and BY obtained by the digital 601 are stored in the image memory block 660 via the I / F circuit 661. Is taken in. Then, digital signal processing such as compression is performed by the digital signal processing circuit 662. Thereafter, it is temporarily stored in the image memory 663.
When the data stored in the image memory 663 is read, the read data is subjected to digital signal processing such as decompression by the digital signal processing circuit 664. As a result, the original luminance signal Y and color difference signals RY and BY are restored, and these signals are output.

ディジタル信号処理回路662、画像メモリ663、及びディジタル信号処理回路664は、メモリコントローラ(メモリ制御回路)665からの制御を受けている。また、メモリコントローラ665は、上記図19に示したカメラシステム制御部602のCPU626と通信ライン631を介して接続されている。即ち、メモリコントローラ665は、CPU626から制御されるようになされている。   The digital signal processing circuit 662, the image memory 663, and the digital signal processing circuit 664 are controlled by a memory controller (memory control circuit) 665. The memory controller 665 is connected to the CPU 626 of the camera system control unit 602 shown in FIG. That is, the memory controller 665 is controlled by the CPU 626.

上述のようなビデオカメラ600の制御対象を、その外部のPC103から制御する場合について、以下具体的に説明する。   The case where the control target of the video camera 600 as described above is controlled from the external PC 103 will be specifically described below.

IEEE1394I/F部627にPC103から伝達されたカメラ制御命令は、CPU626において適宜このカメラ制御命令に対応するデータに置換され、I/F625を介してディジタル信号処理部601に対して出力される。
これと同時に、I/F625を介してディジタル信号処理部601に対して出力されたデータに対応する制御情報は、RAMの調整用制御データ記憶領域622にも蓄えられ、必要に応じてRAMの制御データ記憶領域623を介してCPU626に読み出される。
このように構成することにより、一旦PC103から伝達されたカメラ制御命令は、ビデオカメラ600内に記憶され、必要な時にその設定を呼び出すことが可能となる。
The camera control command transmitted from the PC 103 to the IEEE 1394 I / F unit 627 is appropriately replaced with data corresponding to the camera control command in the CPU 626 and output to the digital signal processing unit 601 through the I / F 625.
At the same time, control information corresponding to data output to the digital signal processing unit 601 via the I / F 625 is also stored in the adjustment control data storage area 622 of the RAM, and the RAM control is performed as necessary. The data is read out to the CPU 626 through the data storage area 623.
With this configuration, the camera control command once transmitted from the PC 103 is stored in the video camera 600, and the setting can be recalled when necessary.

CPU626は、上記の各々のRAMに対して操作するアドレスと、読み出し/書き込み制御とをアドレス及びR/W指定部620,624を介して実行している。これにより、PC103によって設定された撮影条件にビデオカメラ600を設定する場合には、調整用制御データ記憶領域622のデータが制御データ記憶領域623に書き込まれる。一方、標準状態にビデオカメラ600を設定する場合には、標準制御データ記憶領域621のデータが制御データ記憶領域623に書き込まれる。   The CPU 626 executes an address for operating each of the above RAMs and read / write control via the address and R / W designation units 620 and 624. Thus, when the video camera 600 is set to the shooting conditions set by the PC 103, the data in the adjustment control data storage area 622 is written in the control data storage area 623. On the other hand, when the video camera 600 is set in the standard state, data in the standard control data storage area 621 is written in the control data storage area 623.

ビデオカメラ600及びPC103は各々、IEEE1394ケーブルが接続されると、それを認識してモード設定動作に入るか否かの判別を行う。   When the IEEE 1394 cable is connected to each of the video camera 600 and the PC 103, the video camera 600 and the PC 103 recognize each of them and determine whether to enter the mode setting operation.

具体的には例えば、PC103側は、図21に示すように、先ず、IEEE1394ケーブルが接続されたか否かを、バスリセットが発生したか否かを検出することによって判別する(ステップS701)。
この判別の結果、バスリセットが発生していなければ、何ら処理を実行することなくそのまま待機する。
Specifically, for example, as shown in FIG. 21, first, the PC 103 side determines whether or not an IEEE 1394 cable is connected by detecting whether or not a bus reset has occurred (step S701).
If no bus reset has occurred as a result of this determination, the process stands by without executing any processing.

ステップS701での判別の結果、バスリセットが発生していれば、ビデオカメラ600が接続されたか否かを判別する(ステップS702)。このときの判別方法については、例えば、上記図4に示したような1394シリアルバスにおけるアドレス空間の64ビットアドレスを読み出して、制御対象とするビデオカメラかどうかを識別する方法等を用いる。
この判別の結果、制御対象とするビデオカメラ600が接続されていないと判断した場合には、ステップS701に戻る。
If the result of determination in step S701 is that a bus reset has occurred, it is determined whether or not the video camera 600 is connected (step S702). As a determination method at this time, for example, a method of reading out a 64-bit address in the address space in the 1394 serial bus as shown in FIG.
As a result of the determination, if it is determined that the video camera 600 to be controlled is not connected, the process returns to step S701.

ステップS702での判別の結果、制御対象とするビデオカメラ600が接続されていると判断した場合には、ビデオカメラ600側がPC103側からのモード設定命令を受け付ける状態であるか否かを判別する(ステップS703)。このモード設定命令を受け付ける状態とは、モード変更が可能で、命令受信待機状態であるかどうか等、ビデオカメラ600本体の状態によるものである。
この判別の結果、モード設定命令を受け付ける状態でない場合、ステップS702に戻り、制御対象であるビデオカメラ600が依然接続されているかどうかを確認した上で、次のステップS703の処理を再実行する。
If it is determined in step S702 that the video camera 600 to be controlled is connected, it is determined whether or not the video camera 600 is in a state of accepting a mode setting command from the PC 103 ( Step S703). The state in which the mode setting command is received depends on the state of the video camera 600 main body, such as whether the mode can be changed and the command reception standby state is set.
If it is determined that the mode setting command is not accepted as a result of the determination, the process returns to step S702, and it is confirmed whether or not the video camera 600 to be controlled is still connected, and then the process of the next step S703 is performed again.

ステップS703の判別の結果、ビデオカメラ600がモード設定命令を受け付ける状態であると認識した場合、ビデオカメラ600に対してモード設定命令を伝達し、ビデオカメラ600の動作制御を行う。   If it is determined in step S703 that the video camera 600 is in a state of accepting a mode setting command, the mode setting command is transmitted to the video camera 600 to control the operation of the video camera 600.

一方のビデオカメラ600側は、図22に示すように、先ず、通常のカメラ動作を実行する(ステップS711)。ここでの通常のカメラ動作とは、図19に示したRAMの制御データ記憶領域623に、RAMの標準制御データ記憶領域621のデータ(標準制御データ)が書き込まれている状態の動作である。   On the one video camera 600 side, as shown in FIG. 22, first, a normal camera operation is executed (step S711). The normal camera operation here is an operation in a state where data (standard control data) in the standard control data storage area 621 of the RAM is written in the control data storage area 623 of the RAM shown in FIG.

このような通常のカメラ動作を実行しながら、CPU626は、IEEE1394ケーブルが接続されたか否かを常に監視している(ステップS712)。このときのIEEE1394ケーブルの接続を検出する方法としては、例えば、ポートのバイアス電圧の変化を検出する方法等を用いる。
この監視の結果、IEEE1394ケーブルの接続が確認されなければ、ステップS711に戻る。
While executing such a normal camera operation, the CPU 626 always monitors whether or not the IEEE1394 cable is connected (step S712). As a method for detecting the connection of the IEEE 1394 cable at this time, for example, a method for detecting a change in the bias voltage of the port is used.
As a result of this monitoring, if the connection of the IEEE 1394 cable is not confirmed, the process returns to step S711.

ステップS712の監視の結果、ケーブル接続が確認されれば、バスリセットの完了を待ってから(ステップS713)、PC103が接続されたか否かを判別する(ステップS714)。接続対象がPC103であるか否かの確認については、PC103側と同様に、例えば、上記図4に示したビデオカメラ600の1394シリアルバスにおけるアドレス空間の64ビットアドレスを読み出して、PC103か否かを識別する方法等を用いる。   As a result of the monitoring in step S712, if the cable connection is confirmed, after completion of the bus reset (step S713), it is determined whether or not the PC 103 is connected (step S714). As to whether or not the connection target is the PC 103, as in the PC 103 side, for example, the 64-bit address of the address space in the 1394 serial bus of the video camera 600 shown in FIG. A method for identifying the above is used.

ステップS714の判別の結果、接続対象がPC103である場合、PC103側がモード設定プログラム(上記図21のフローチャートに従った処理プログラム)を実行しているか否かを判別する(ステップS715)。この判別方法については、例えば、上記図3に示したアプリケーションレイアの情報を読み取ったり、或いは、相互通信におけるAsyncデータを認識する方法等を用いる。   As a result of the determination in step S714, if the connection target is the PC 103, it is determined whether or not the PC 103 side is executing the mode setting program (the processing program according to the flowchart of FIG. 21) (step S715). As the determination method, for example, a method of reading the information of the application layer shown in FIG. 3 or a method of recognizing Async data in mutual communication is used.

ステップS715の判別の結果、PC103側がモード設定プログラムを実行していることを確認できた場合、PC103側からのモード設定命令を受け付けられる状態である旨をPC103側に対して送信する。その後、PC103側からの命令に従って、上述の如く制御の基準値やシャッタスピードを変更し、又、RAMの内容を書き換えることにより、ビデオカメラ600のモード設定動作を実行する。   As a result of the determination in step S715, when it is confirmed that the PC 103 side is executing the mode setting program, a message indicating that the mode setting command from the PC 103 side can be received is transmitted to the PC 103 side. Thereafter, in accordance with a command from the PC 103 side, the control reference value and shutter speed are changed as described above, and the mode setting operation of the video camera 600 is executed by rewriting the contents of the RAM.

尚、ビデオカメラ600側は、ステップS712、S713、S714、S715の各判別を順次実行することにより、PC103からの命令に従ってモード設定動作を実行するか否かを識別する。従って、上記各判別のいずれかの過程で条件が整わなかった場合には、PC103からの命令に従わない動作、即ち上述の通常のカメラ動作を繰り返すことになる。   Note that the video camera 600 side identifies whether or not to execute the mode setting operation in accordance with a command from the PC 103 by sequentially executing the determinations of steps S712, S713, S714, and S715. Therefore, if the condition is not satisfied in any of the above determinations, the operation not following the command from the PC 103, that is, the normal camera operation described above is repeated.

また、上記図22の処理プログラムや、その他カメラ制御に用いる処理プログラムは、図19に示したROM629に記憶され、CPU626により、逐次ROM629から制御命令が読み出され実行されることで、上述の動作が実施される。   The processing program of FIG. 22 and other processing programs used for camera control are stored in the ROM 629 shown in FIG. 19, and the CPU 626 sequentially reads out and executes control commands from the ROM 629. Is implemented.

上述のようにして、デオカメラ600の制御対象を、その外部のPC103から制御する。
また、図23に示すように、ビデオカメラ600と同様の機能を有する複数のビデオカメラ600a,600b,600cの制御対象を、その外部の1台のPC103から各々独立して制御する場合、次のような動作がなされる。
As described above, the control target of the video camera 600 is controlled from the external PC 103.
Further, as shown in FIG. 23, when the control targets of a plurality of video cameras 600a, 600b, and 600c having the same function as the video camera 600 are controlled independently from one external PC 103, the following Such an operation is performed.

上記図23に示す構成は、例えば、監視カメラシステムに適用されるものである。即ち、本システムは、主たる制御装置であるところのPC103に対して、第1の監視カメラ600a、第2の監視カメラ600b、及び第3の監視カメラ600cが、IEEE1394I/F部627a、627b、627cを介して直列的に接続されている。   The configuration shown in FIG. 23 is applied to, for example, a surveillance camera system. That is, in this system, the first monitoring camera 600a, the second monitoring camera 600b, and the third monitoring camera 600c are connected to the PC 103, which is a main control device, and the IEEE 1394 I / F units 627a, 627b, 627c. Are connected in series.

第1の監視カメラ600aのレンズは、焦点距離が3.3〜10mmである。
ここで、カメラの撮像面上のレンズの有効像円径に比して、CCDの有効撮像面積が小さければ小さいほど、望遠側の画像がCCDに取り込まれる。CCDの有効撮像面積は、カメラによってまちまちである。このため、どの程度広角の(望遠の)画像を撮影出来るのかが、レンズの焦点距離値からだけでは把握しにくい場合、35mm銀塩フィルム用カメラに取り付けられるレンズの焦点距離値に換算し、その換算値で撮像可能法画角を議論するのが一般的である。
ここでは、第1の監視カメラ600aの場合、35mm銀塩フィルム用カメラに取り付けられるレンズの焦点距離に換算した値を、24〜72mmとしている。
The lens of the first monitoring camera 600a has a focal length of 3.3 to 10 mm.
Here, as the effective image area of the CCD is smaller than the effective image circle diameter of the lens on the imaging surface of the camera, the image on the telephoto side is taken into the CCD. The effective imaging area of the CCD varies depending on the camera. For this reason, if it is difficult to grasp how wide-angle (telephoto) images can be taken from the focal length value of the lens, it is converted to the focal length value of the lens attached to the 35 mm silver salt film camera. It is common to discuss the viewable angle of view with a converted value.
Here, in the case of the 1st monitoring camera 600a, the value converted into the focal length of the lens attached to the 35 mm silver salt film camera is set to 24-72 mm.

第2の監視カメラ600b及び第3の監視カメラ600cは各々、焦点距離が3.9〜39mm(35mm銀塩フィルム換算で44〜440mm)のレンズが搭載されたものである。特に、第2の監視カメラ600bは、雲台の向きによって高速移動物体を監視すべく設置されたものであり、カメラ、第3の監視カメラ600cは、同じく雲台の向きによって暗部を監視すべく設置されたものである。   The second monitoring camera 600b and the third monitoring camera 600c are each mounted with a lens having a focal length of 3.9 to 39 mm (44 to 440 mm in terms of 35 mm silver salt film). In particular, the second monitoring camera 600b is installed to monitor a high-speed moving object according to the direction of the camera platform, and the camera and the third monitoring camera 600c are also used to monitor a dark part according to the direction of the camera platform. It is installed.

PC103からは、第1〜第3の監視カメラ600a〜600cの各々のカメラ動作制御について、図24に示されるような項目の変更命令が出力される。また、これを受ける第1〜第3の監視カメラ600a〜600c側も、該変更命令に従って、当該制御部の制御条件を変更するようになされている。
このときの制御条件の変更方法は、上記図19及び図20を用いて説明した通りである。即ち、
(1)劇場舞台に代表される如く、背景が暗く、特定の人物にスポットライトが当たっているようなものが撮影対象である場合、背景の暗さでアイリスが開き気味になり、人物の顔が白く飛んでしまうのを防ぐため、絞りを閉じ気味に制御する。
(2)カメラから至近距離にある物が撮影対象である場合、焦点距離を短く設定してマクロ撮影可能な光学条件とする。
(3)高照度下の物が撮影対象である場合、極端なアイリスの絞り過ぎによる光線の回折を防ぐ為にアイリス絞り量を所定の値に抑え、シャッタスピードを高速化する。
(4)照度が不足している環境に於ける輝点の色を識別する必要がある場合、輝点の色を良好に撮影できるように、絞り、シャッタスピード、及びホワイトバランスを適正値に設定する。
等、それぞれの撮影条件に適したカメラモード設定を行うことが可能となっている。
From the PC 103, an item change command as shown in FIG. 24 is output for each camera operation control of the first to third surveillance cameras 600a to 600c. In addition, the first to third monitoring cameras 600a to 600c that receive this change the control conditions of the control unit in accordance with the change command.
The method of changing the control condition at this time is as described with reference to FIGS. That is,
(1) As represented by the theater stage, when the subject is a subject with a dark background and a spotlight on a specific person, the iris opens in the darkness of the background and the person's face appears In order to prevent the white from flying white, the aperture is closed and controlled slightly.
(2) When an object at a close distance from the camera is an object to be photographed, the focal length is set short and the optical condition is set so that macro photography is possible.
(3) When an object under high illuminance is an object to be photographed, the iris diaphragm amount is suppressed to a predetermined value and the shutter speed is increased in order to prevent diffraction of light due to excessive iris diaphragm.
(4) When it is necessary to identify the color of a bright spot in an environment where illumination is insufficient, the aperture, shutter speed, and white balance are set to appropriate values so that the bright spot color can be photographed well. To do.
Thus, it is possible to perform camera mode setting suitable for each shooting condition.

ここで、一般に電子ズームは、CCDで撮像された画面の一部を切り出して拡大することにより拡大画面を得る仕組みとなっている。
上記図20に示したように、ディジタル画像処理部601から出力された輝度信号Y及び色差信号R−Y,B−Yという画像信号は、画像メモリブロック660にI/F回路661を介して入力される。この画像メモリブロック660内において、該画像信号は、ディジタル信号処理回路662で圧縮等のディジタル信号処理が行われ、画像メモリ(フィールド又はフレームメモリ)663に記憶可能な形態に加工される。画像メモリ663に記憶された画像データは、必要に応じてディジタル信号処理回路664に対して読み出され、ここで伸長等のディジタル信号処理が行われ、元の輝度信号Y及び色差信号R−Y,B−Yという画像信号が形成される。このとき、ディジタル信号処理回路662、画像メモリ663、及びディジタル信号処理回路664は各々、メモリコントローラ631によって制御されている。特に、メモリコントローラ665は、通信ライン631を介して、カメラシステム制御部602のCPU626からの動作命令を受けている。
Here, in general, the electronic zoom has a mechanism for obtaining an enlarged screen by cutting out and enlarging a part of the screen imaged by the CCD.
As shown in FIG. 20, the luminance signal Y and the color difference signals RY and BY output from the digital image processing unit 601 are input to the image memory block 660 via the I / F circuit 661. Is done. In the image memory block 660, the image signal is subjected to digital signal processing such as compression by a digital signal processing circuit 662 and processed into a form that can be stored in an image memory (field or frame memory) 663. The image data stored in the image memory 663 is read out to the digital signal processing circuit 664 as necessary, where digital signal processing such as decompression is performed, and the original luminance signal Y and color difference signal RY. , BY is formed. At this time, the digital signal processing circuit 662, the image memory 663, and the digital signal processing circuit 664 are each controlled by the memory controller 631. In particular, the memory controller 665 receives an operation command from the CPU 626 of the camera system control unit 602 via the communication line 631.

例えば、画像メモリ663から画像情報を読み出す際に、画面の水平方向、垂直方向共に、読み出し開始位置と終了位置を元の画面の内側に設定すれば、読み出し完了後の画像メモリ663からの画像情報は、画面の一部分を切り出したものとなる。これを、ディジタル信号処理回路664で水平方向、垂直方向共に拡大して適当な補間を加えれば、元の画像に比して情報量が低下している分画質は劣化するものの、拡大された電子ズーム画像(拡大画像)を得ることが可能となる。
したがって、切り出し範囲に関する情報をCPU626から得ることにより、任意の倍率の電子ズームを行うことができる。
For example, when reading image information from the image memory 663, if the reading start position and end position are set inside the original screen in both the horizontal and vertical directions of the screen, the image information from the image memory 663 after the reading is completed. Is a part of the screen. If this is expanded in both the horizontal and vertical directions by the digital signal processing circuit 664 and appropriate interpolation is applied, the amount of information is lower than that of the original image, but the image quality deteriorates. A zoom image (enlarged image) can be obtained.
Therefore, by obtaining information relating to the cutout range from the CPU 626, it is possible to perform electronic zoom at an arbitrary magnification.

尚、上述したようにして、メモリコントローラ665により、読み出し開始位置と終了位置を設定し、電子ズームを実行することによって、拡大画像を得ることが可能であるが、拡大画像は、情報量が低下しており、画質が劣化した状態である。元の撮像画面に細かい被写体が撮像されていればいる程、上記の画質の劣化は目立ちやすく、又、拡大後の画像も詳細が判別し難くなるので、拡大する意義が乏しくなる。したがって、細かい被写体については、レンズの焦点距離が短ければ短い程撮像されやすいので、第1の監視カメラ600aのようなワイド寄りのレンズを搭載したカメラでは、電子ズームを行わせない方が好ましい。   As described above, it is possible to obtain a magnified image by setting the reading start position and end position by the memory controller 665 and executing electronic zoom, but the magnified image has a reduced amount of information. The image quality is deteriorated. The more a fine subject is imaged on the original imaging screen, the more noticeable the deterioration of the image quality is, and the details of the enlarged image are difficult to discriminate. Accordingly, a fine subject is more easily captured as the focal length of the lens is shorter. Therefore, it is preferable not to perform the electronic zoom in a camera equipped with a lens closer to the wide such as the first monitoring camera 600a.

そこで、図25は、PC103が、焦点距離の比較的短いレンズを搭載している第1の監視カメラ600aを選択し、第1の監視カメラ600aにより得られた映像をモニタ等に出力する場合の、PC103内の処理の流れを示したものである。   Thus, FIG. 25 shows a case where the PC 103 selects the first monitoring camera 600a equipped with a lens having a relatively short focal length, and outputs the video obtained by the first monitoring camera 600a to a monitor or the like. , Shows the flow of processing in the PC 103.

先ず、第1〜第3の監視カメラ600a〜600cでのカメラの種類選択が、操作者によってなされる迄待機する(ステップS721)。
そして、カメラの種類選択がなされたことを検出すると、その選択された監視カメラ(ここでは第1の監視カメラ600a)の映像を取り込むべく、PC103での通信対象を変更する(ステップS722)。
尚、通信対象を変更して、選択された監視カメラに動作命令を出力する場合、上述したように、Asyncデータで通信を行う。また、選択された監視カメラからの映像は、IsoデータとしてPC103のIEEE13941/F部に供給されるため、それが第1の監視カメラ600aからの映像であるかどうかを識別した後に、モニタ上に映し出すことになる。
First, the process waits until the operator selects the camera type in the first to third monitoring cameras 600a to 600c (step S721).
When it is detected that the camera type has been selected, the communication target in the PC 103 is changed to capture the video of the selected monitoring camera (here, the first monitoring camera 600a) (step S722).
Note that, when the communication target is changed and an operation command is output to the selected surveillance camera, communication is performed using the async data as described above. Further, since the video from the selected surveillance camera is supplied to the IEEE 13941 / F unit of the PC 103 as Iso data, it is identified on the monitor after identifying whether the video is from the first surveillance camera 600a. It will be projected.

次に、第1の監視カメラ600aのカメラ情報を読み込む(ステップS723)。
ここでのカメラ情報とは、例えば、図26に示されるような情報であり、第1の監視カメラ600a内部のROM629(上記図19参照)等に記憶されているものを、CPU626及びIEEE1394I/F部627を介して、PC103内に取り込む。
上記のカメラ情報のうち、“最短焦点距離(35mm換算最短焦点距離)”、“最長焦点距離(35mm換算最長焦点距離)”、及び“電子ズーム機能有無”の情報が、本実施の形態に於いて必要な情報となる。
Next, the camera information of the first monitoring camera 600a is read (step S723).
The camera information here is, for example, information as shown in FIG. 26, and information stored in the ROM 629 (see FIG. 19) or the like inside the first monitoring camera 600a is used as the CPU 626 and the IEEE 1394 I / F. The data is taken into the PC 103 via the unit 627.
Among the camera information described above, information on “shortest focal length (35 mm equivalent shortest focal length)”, “longest focal length (35 mm equivalent longest focal length)”, and “electronic zoom function presence / absence” is used in the present embodiment. It becomes necessary information.

次に、ステップS723にて得られたカメラ情報から、その“最短焦点距離”と“最長焦点距離”の差が第1の所定値以下で、且つ“最短焦点距離”が第2の所定値以下であるか否かを判別することで、ワイドレンズであるか否かを判別する(ステップS724)。   Next, from the camera information obtained in step S723, the difference between the “shortest focal length” and the “longest focal length” is equal to or smaller than a first predetermined value, and the “shortest focal length” is equal to or smaller than a second predetermined value. By determining whether or not the lens is a wide lens, it is determined whether or not it is a wide lens (step S724).

ステップS724の判別の結果、第1のカメラ600aがワイドレンズを搭載しており、且つ電子ズーム機能をも搭載したカメラである場合には、次の動作を行う。即ち、仮に操作者がPC103を介して第1の監視カメラ600aに対してワイドからテレヘのズーム命令を下したとしても、光学テレ端でズームを停止し、その後電子ズームを実行しないような、電子ズーム禁止命令を出力する(ステップS726)。   If the result of determination in step S724 is that the first camera 600a is a camera equipped with a wide lens and also equipped with an electronic zoom function, the following operation is performed. In other words, even if the operator issues a zoom command from wide to telehe to the first monitoring camera 600a via the PC 103, the electronic zoom is such that the zoom is stopped at the optical tele end and the electronic zoom is not executed thereafter. A zoom prohibition command is output (step S726).

一方、ステップS724の判別の結果、例えば、操作者が第2の監視カメラ600bや第3の監視カメラ600cを選択し、それらが非ワイドズームを搭載しており、且つ電子ズーム機能をも搭載したカメラである場合には、次の動作を行う。即ち、光学テレ端から先の電子ズームを許可する電子ズーム許可命令を出力する(ステップS725)。   On the other hand, as a result of the determination in step S724, for example, the operator selects the second monitoring camera 600b or the third monitoring camera 600c, which is equipped with a non-wide zoom and also equipped with an electronic zoom function. If it is a camera, the following operation is performed. That is, an electronic zoom permission command for permitting electronic zoom ahead from the optical telephoto end is output (step S725).

上述のような処理を実行することにより、ワイドレンズが搭載された監視カメラにおいては、電子ズームが実行されず、良好な画像を捉えることが可能になる。また、非ワイドレンズが搭載された監視カメラにおいては、光学テレ端で得られる画像を更に電子ズームで拡大して、被監視物体を詳細に確認すること等が可能となる。   By executing the processing as described above, in a surveillance camera equipped with a wide lens, electronic zoom is not executed, and a good image can be captured. In addition, in a surveillance camera equipped with a non-wide lens, an image obtained at the optical telephoto end can be further magnified with an electronic zoom to confirm a monitored object in detail.

(第2の実施の形態)
本実施の形態では、上述した第1の実施の形態における、上記図25に示したPC103内の処理を、例えば、図27のフローチャートに従った処理とする。
尚、ここでは説明の簡単のために、第1の実施の形態と異なる点についてのみ、具体的に説明する。
(Second Embodiment)
In the present embodiment, the processing in the PC 103 shown in FIG. 25 in the first embodiment described above is, for example, processing according to the flowchart of FIG.
Here, only the points different from the first embodiment will be described specifically for the sake of simplicity.

先ず、上述した第1の実施の形態と同様にして、カメラの種類選択が操作者によってなされる迄待機する(ステップS731)。
そして、カメラの種類選択がなされたことを検出すると、その選択されたカメラ(ここでは、第2の監視カメラ600bとする)の映像を取り込むべく、PC103での通信対象を変更する(ステップS732)。
First, as in the first embodiment described above, the process waits until the operator selects a camera type (step S731).
When it is detected that the camera type has been selected, the communication target in the PC 103 is changed to capture the video of the selected camera (here, the second monitoring camera 600b) (step S732). .

次に、第2の監視カメラ600bのカメラ情報を読み込む(ステップS733)。このカメラ情報も、上記図26に示したような情報である。   Next, the camera information of the second monitoring camera 600b is read (step S733). This camera information is also information as shown in FIG.

ここで、本実施の形態では、上記のカメラ情報のうち、“最短露光時間”と“雲台位置”が必要な情報となる。
また、第2の監視カメラ600b、即ち高速移動物体も撮影可能なカメラであることは、例えば、本監視カメラシステムを初期設定する際に、その旨がPC103内のメモリに記憶されている。
そこで、上記メモリの内容により、操作者から選択されたカメラ(第2の監視カメラ600b)が、高速移動物体も撮影可能なカメラであるか否かを判別する(ステップS734)。
Here, in the present embodiment, among the above camera information, “shortest exposure time” and “head position” are necessary information.
Further, the fact that the second monitoring camera 600b, that is, a camera capable of shooting a high-speed moving object, is stored in the memory in the PC 103 when the monitoring camera system is initially set, for example.
Therefore, it is determined based on the contents of the memory whether the camera selected by the operator (second monitoring camera 600b) is a camera that can also photograph a high-speed moving object (step S734).

ステップS734の判別の結果、高速移動物体も撮影可能なカメラであった場合、第2の監視カメラ600bの雲台の位置が、高速移動物体撮影位置であるか否かを判別する(ステップS735)。
この判別の結果、高速移動物体撮影位置であった場合、第2の監視カメラ600bに対して、最短露光時間となるような制御変更命令を出力する。
一方、高速移動物体撮影位置でなかった場合(雲台の位置が非高速移動物体撮影位置であった場合)、第2の監視カメラ600bに対して、露光時間を1/60の標準値に設定すべく制御変更命令を出力する。
If the result of the determination in step S734 is that the camera can also shoot a high-speed moving object, it is determined whether or not the pan head position of the second monitoring camera 600b is the high-speed moving object shooting position (step S735). .
As a result of the determination, if it is the high-speed moving object shooting position, a control change command is output to the second monitoring camera 600b so that the shortest exposure time is reached.
On the other hand, when it is not the high-speed moving object photographing position (when the pan head is the non-high-speed moving object photographing position), the exposure time is set to a standard value of 1/60 for the second monitoring camera 600b. A control change command is output as much as possible.

尚、ステップS734の判別にて、高速移動物体を撮影可能なカメラでなかった場合、即ちステップS731にて第2の監視カメラ600bではなく他の監視カメラ(高速移動物体を撮影できないカメラ)が選択された場合には、次の動作を行う。即ち、上記図25のステップS724からの処理に移行し、ワイドレンズ搭載のカメラであるか否かの判別からの処理が実行される。   If it is determined in step S734 that the camera is not capable of capturing a high-speed moving object, that is, another monitoring camera (a camera that cannot capture a high-speed moving object) is selected instead of the second monitoring camera 600b in step S731. If so, the following operation is performed. That is, the process proceeds from step S724 in FIG. 25, and the process from the determination as to whether the camera is equipped with a wide lens is executed.

(第3の実施の形態)
本実施の形態では、上述した第1の実施の形態における、上記図25に示したPC103内の処理を、例えば、図28のフローチャートに従った処理とする。
尚、ここでは説明の簡単のために、第1の実施の形態と異なる点についてのみ、具体的に説明する。
(Third embodiment)
In the present embodiment, the processing in the PC 103 shown in FIG. 25 in the first embodiment described above is, for example, processing according to the flowchart of FIG.
Here, only the points different from the first embodiment will be described specifically for the sake of simplicity.

先ず、上述した第1の実施の形態と同様にして、カメラの種類選択が操作者によってなされる迄待機する(ステップS741)。
そして、カメラの種類選択がなされたことを検出すると、その選択されたカメラ(ここでは、第3の監視カメラ600cとする)の映像を取り込むべく、PC103での通信対象を変更する(ステップS742)。
First, in the same manner as in the first embodiment described above, the process waits until the camera type is selected by the operator (step S741).
When it is detected that the camera type has been selected, the communication target in the PC 103 is changed in order to capture the video of the selected camera (here, the third monitoring camera 600c) (step S742). .

次に、第3の監視カメラ600cのカメラ情報を読み込む(ステップS743)。このカメラ情報も、上記図26に示したような情報である。   Next, the camera information of the third monitoring camera 600c is read (step S743). This camera information is also information as shown in FIG.

ここで、本実施の形態では、上記のカメラ情報のうち、“最長露光時間”と“雲台位置”が必要な情報となる。
また、第3の監視カメラ600c、即ち暗部も撮影可能なカメラであることは、例えば、本監視カメラシステムを初期設定する際に、その旨がPC103内のメモリに記憶されている。
そこで、上記メモリの内容により、操作者から選択されたカメラ(第3の監視カメラ600c)が、暗部も撮影可能なカメラであるか否かを判別する(ステップS744)。
Here, in the present embodiment, among the above camera information, “longest exposure time” and “head position” are necessary information.
In addition, the fact that the third monitoring camera 600c, that is, a camera capable of photographing a dark part, is stored in the memory in the PC 103 when, for example, the monitoring camera system is initially set.
Therefore, it is determined based on the contents of the memory whether the camera (third monitoring camera 600c) selected by the operator is a camera that can also shoot a dark part (step S744).

ステップS744の判別の結果、暗部も撮影可能なカメラであった場合、第3の監視カメラ600cの雲台の位置が、暗部撮影位置であるか否かを判別する(ステップS745)。
この判別の結果、暗部撮影位置であった場合、第3の監視カメラ600cに対して、AGCゲインを上げる、即ち上記図19に示したAGC参照電圧生成回路630の出力をAGCゲインが上がる方向に操作する。更に最長露光時間となるような制御変更命令を出力する(ステップS746,S747)。
一方、暗部撮影位置でなかった場合、第3の監視カメラ600cに対して、AGCゲインを第3の監視カメラ600cの自動調整に委ね、更に露光時間を1/60の標準値に設定すべく制御変更命令を出力する(ステップS748,S749)。つまり、雲台の位置が非暗部体撮影位置であった場合、露光時間を1/60の標準値に設定すべく制御変更命令を出力する。
If the result of the determination in step S744 is that the camera can also shoot a dark part, it is determined whether or not the pan head position of the third monitoring camera 600c is the dark part shooting position (step S745).
If the result of this determination is that it is a dark part shooting position, the AGC gain is increased with respect to the third monitoring camera 600c, that is, the output of the AGC reference voltage generation circuit 630 shown in FIG. Manipulate. Further, a control change command is output so that the longest exposure time is reached (steps S746 and S747).
On the other hand, when the position is not the dark part photographing position, the AGC gain is left to automatic adjustment of the third monitoring camera 600c for the third monitoring camera 600c, and the exposure time is controlled to be set to a standard value of 1/60. A change command is output (steps S748 and S749). That is, when the pan head position is a non-dark part photographing position, a control change command is output to set the exposure time to a standard value of 1/60.

尚、ステップS744の判別にて、暗部を撮影可能なカメラでなかった場合、即ちステップS741にて第3の監視カメラ600cではなく他の監視カメラ(暗部を撮影できないカメラ)が選択された場合には、次の動作を行う。即ち、上記図27のステップS734からの処理に移行し、高速移動物体を撮影可能なカメラであるか否かの判別を行い、この結果そうでない場合には、更に上記図25のステップS724からの処理に移行する。そして、ワイドレンズ搭載のカメラであるか否かの判別を行い、その判別結果に従った以降の処理を実行する。   If it is determined in step S744 that the camera is not capable of capturing a dark part, that is, if another monitoring camera (camera that cannot capture a dark part) is selected instead of the third monitoring camera 600c in step S741. Performs the following operations: That is, the process proceeds from step S734 in FIG. 27 to determine whether or not the camera is capable of photographing a high-speed moving object. If this is not the case, the process from step S724 in FIG. Transition to processing. And it is discriminate | determined whether it is a camera mounted with a wide lens, and the subsequent process according to the discrimination | determination result is performed.

以上が、第1〜第3の実施の形態についての説明であるが、本発明はこれらの実施の形態に限られることはない。例えば、第2及び第3の実施の形態では、何れも雲台位置で撮影対象を識別していたが、操作者がモニタを見ながら、その撮像画面が最適なものとなるように、逐次監視カメラの制御内容を変更すべく、PC103を介してマニュアル操作しても構わない。   The above is the description of the first to third embodiments, but the present invention is not limited to these embodiments. For example, in both the second and third embodiments, the subject to be photographed is identified by the pan head position, but monitoring is performed sequentially so that the operator can view the optimum photographing screen while looking at the monitor. Manual operation may be performed via the PC 103 to change the control content of the camera.

また、本発明の目的は、前述した実施形態で示したフローチャートの手順を実現するプログラムコードを記憶した記憶媒体を、コンピュータ(又はCPUやMPU)が記憶媒体に格納されたプログラムコードを読み出し実行することによっても達成される。
この場合、記憶媒体から読み出されたプログラムコード自体が前述した実施形態の機能を実現することになり、そのプログラムコードを記憶した記憶媒体は本発明を構成することになる。
プログラムコードを供給するための記憶媒体としては、例えば、フレキシブルディスク、ハードディスク、光ディスク、光磁気ディスク、CD−ROM、CD−R、磁気テープ、不揮発性のメモリカード、ROMなどを用いることができる。
また、コンピュータが読み出したプログラムコードの指示に基づき、コンピュータ上で稼動しているオペレーションシステム(OS)等が実際の処理の一部又は全部を行い、その処理によって前述した実施形態の機能が実現される場合も含まれる。
更に、記憶媒体から読み出されたプログラムコードの指示に基づき、機能拡張ボードや機能拡張ユニットに備わるCPU等が実際の処理の一部又は全部を行い、その処理によって前述した実施形態の機能が実現される場合も含まれる。ここで、機能拡張ボードは、例えばコンピュータに挿入されたものであり、機能拡張ユニットはコンピュータに接続されたものである。また、プログラムコードは、例えば、読み出された後、一旦機能拡張ボードや機能拡張ユニットに備わるメモリに書き込まれる。
即ち、本発明の実施形態は、例えばコンピュータがプログラムを実行することによって実現することができる。また、プログラムをコンピュータに供給するための手段、例えばかかるプログラムを記録したCD−ROM等のコンピュータ読み取り可能な記録媒体又はかかるプログラムを伝送するインタネット等の伝送媒体も本発明の実施形態として適用することができる。また、上記のプログラムも本発明の実施形態として適用することができる。上記のプログラム、記録媒体、伝送媒体及びプログラムプロダクトは、本発明の範疇に含まれる。
Another object of the present invention is to read and execute the program code stored in the storage medium by the computer (or CPU or MPU) from the storage medium storing the program code that realizes the procedure of the flowchart shown in the above-described embodiment. Can also be achieved.
In this case, the program code itself read from the storage medium realizes the functions of the above-described embodiment, and the storage medium storing the program code constitutes the present invention.
As a storage medium for supplying the program code, for example, a flexible disk, a hard disk, an optical disk, a magneto-optical disk, a CD-ROM, a CD-R, a magnetic tape, a nonvolatile memory card, a ROM, or the like can be used.
Further, based on the instruction of the program code read by the computer, an operation system (OS) or the like running on the computer performs part or all of the actual processing, and the functions of the above-described embodiments are realized by the processing. This is also included.
Further, based on the instruction of the program code read from the storage medium, the CPU of the function expansion board or function expansion unit performs part or all of the actual processing, and the functions of the above-described embodiments are realized by the processing. This is also included. Here, the function expansion board is inserted into a computer, for example, and the function expansion unit is connected to the computer. Further, for example, after being read, the program code is once written in a memory provided in the function expansion board or function expansion unit.
That is, the embodiment of the present invention can be realized by, for example, a computer executing a program. Also, means for supplying a program to a computer, for example, a computer-readable recording medium such as a CD-ROM in which such a program is recorded, or a transmission medium such as the Internet for transmitting such a program is also applied as an embodiment of the present invention. Can do. The above program can also be applied as an embodiment of the present invention. The above program, recording medium, transmission medium, and program product are included in the scope of the present invention.

IEEE1394の説明において、IEEE1394によりディジタル機器が接続されてなるシステムの一例を説明するための図である。In description of IEEE1394, it is a figure for demonstrating an example of the system by which a digital apparatus is connected by IEEE1394. 上記IEEE1394シリアルバスを用いて構成されるネットワークシステムの一例を説明するための図である。It is a figure for demonstrating an example of the network system comprised using the said IEEE1394 serial bus. 上記IEEE1394シリアルバスの構成要素を説明するための図である。It is a figure for demonstrating the component of the said IEEE1394 serial bus. 上記IEEE1394シリアルバスにおけるアドレス空間を説明するための図である。It is a figure for demonstrating the address space in the said IEEE1394 serial bus. 上記IEEE1394シリアルバス・ケーブルの断面図である。It is sectional drawing of the said IEEE1394 serial bus cable. 上記IEEE1394によるデータ通信でのデータ転送フォーマットのDS−Link符号化方式を説明するための図である。It is a figure for demonstrating the DS-Link encoding system of the data transfer format in the data communication by said IEEE1394. 上記ネットワークシステムにおけるバスリセットからノードID決定までの処理を説明するためのフローチャートである。It is a flowchart for demonstrating the process from the bus reset to node ID determination in the said network system. 上記バスリセットの監視からルート決定までの処理の詳細を説明するためのフローチャートである。It is a flowchart for demonstrating the detail of the process from the said bus reset monitoring to route determination. 上記ノードID決定の処理の詳細を説明するためのフローチャートである。It is a flowchart for demonstrating the detail of the process of the said node ID determination. 上記ネットワークシステム構成を有する実際のネットワークを説明するための図である。It is a figure for demonstrating the actual network which has the said network system structure. 上記ネットワークでのバス使用要求及びバス使用許可を説明するための図である。It is a figure for demonstrating the bus use request and bus use permission in the said network. 上記バス使用許可でのバスアービトレーションを説明するためのフローチャートである。It is a flowchart for demonstrating the bus arbitration in the said bus use permission. 上記IEEE1394でのアシンクロナス転送における時間的な遷移状態を説明するための図である。It is a figure for demonstrating the temporal transition state in the asynchronous transfer by the said IEEE1394. 上記アシンクロナス転送のパケットフォーマットを説明するための図である。It is a figure for demonstrating the packet format of the said asynchronous transfer. 上記IEEE1394でのアイソクロナス転送における時間的な遷移状態を説明するための図である。It is a figure for demonstrating the temporal transition state in the isochronous transfer by the said IEEE1394. 上記アイソクロナス転送のパケットフォーマットを説明するための図である。It is a figure for demonstrating the packet format of the said isochronous transfer. 上記アイソクロナス転送とアシンクロナス転送が混在した、バス上の転送状態の時間的な遷移の様子を説明するための図である。It is a figure for demonstrating the mode of the temporal transition of the transfer state on a bus | bath where the said isochronous transfer and asynchronous transfer were mixed. 上記IEEE1394によりディジタル機器が接続されてなるシステムにおいて、情報伝達経路を説明するための図である。It is a figure for demonstrating an information transmission path | route in the system by which a digital apparatus is connected by the said IEEE1394. 第1の実施の形態において、本発明を適用したビデオカメラの構成を示すブロック図である。1 is a block diagram showing a configuration of a video camera to which the present invention is applied in a first embodiment. 上記ビデオカメラに付随する画像メモリブロックの構成を示すブロック図である。It is a block diagram which shows the structure of the image memory block accompanying the said video camera. 上記ビデオカメラに上記IEEE1394により接続されたPC内での、モード設定開始までの処理を説明するためのフローチャートである。4 is a flowchart for explaining processing up to start of mode setting in a PC connected to the video camera by the IEEE1394. 上記ビデオカメラPC内での、モード設定動作開始までの処理を説明するためのフローチャートである。It is a flowchart for demonstrating the process until the mode setting operation | movement start in the said video camera PC. 上記ビデオカメラを複数備える監視カメラシステムを説明するための図である。It is a figure for demonstrating the surveillance camera system provided with two or more said video cameras. 上記PCから上記ビデオカメラへのカメラ制御コマンドの種類を説明するための図である。It is a figure for demonstrating the kind of camera control command from the said PC to the said video camera. 上記PC内の処理を説明するためのフローチャートである。It is a flowchart for demonstrating the process in the said PC. 上記ビデオカメラ内に記憶されているカメラ仕様の一例を説明するための図である。It is a figure for demonstrating an example of the camera specification memorize | stored in the said video camera. 第2の実施の形態における上記PC内の処理を説明するためのフローチャートである。It is a flowchart for demonstrating the process in said PC in 2nd Embodiment. 第3の実施の形態における上記PC内の処理を説明するためのフローチャートである。It is a flowchart for demonstrating the process in said PC in 3rd Embodiment. SCSIを使用した従来のシステムの構成を示すブロック図である。It is a block diagram which shows the structure of the conventional system which uses SCSI.

符号の説明Explanation of symbols

103 パーソナルコンピュータ(PC)
600a〜600c ビデオカメラ
627a〜627c IEEE1394I/F部
103 Personal computer (PC)
600a to 600c video camera 627a to 627c IEEE1394 I / F section

Claims (11)

撮影機能を有し、他のディジタル機器と相互に通信可能なディジタル機器であって、
前記撮影機能の焦点距離範囲情報を前記他のディジタル機器に対して送信する送信手段と、
前記焦点距離範囲情報の送信の応答として受信した制御条件変更命令に基づき、前記撮影機能の制御可能範囲を変更する変更手段と、
前記撮影機能の制御命令を受け付けた場合、前記変更手段により変更された制御可能範囲内で動作するように撮影機能を制御する制御手段と、
を備えることを特徴とするディジタル機器。
A digital device having a photographing function and capable of communicating with other digital devices,
Transmitting means for transmitting focal length range information of the photographing function to the other digital device;
Based on a control condition change command received as a response to the transmission of the focal length range information, changing means for changing the controllable range of the imaging function;
Control means for controlling the photographing function to operate within the controllable range changed by the changing means when receiving the control command for the photographing function;
A digital device comprising:
前記制御手段は、前記変更された制御可能範囲外の制御命令を受け付けた場合、前記受け付けた制御命令による前記撮影機能の動作を禁止するよう制御することを特徴とする請求項1に記載のディジタル機器。   The digital control according to claim 1, wherein when the control command outside the changed controllable range is received, the control unit performs control so as to prohibit the operation of the photographing function according to the received control command. machine. 前記焦点距離範囲情報は、最短焦点距離、最長焦点距離のうち少なくとも1つを含むことを特徴とする請求項1又は2に記載のディジタル機器。   The digital apparatus according to claim 1, wherein the focal length range information includes at least one of a shortest focal length and a longest focal length. 前記制御手段は、前記撮影機能として光学ズーム及び電子ズーム機能を制御することを特徴とする請求項1乃至3のいずれか1項に記載のディジタル機器。   The digital device according to claim 1, wherein the control unit controls an optical zoom function and an electronic zoom function as the photographing function. IEEE1394規格のシステムバスを介して前記他のディジタル機器と通信することを特徴とする請求項1乃至4のいずれか1項に記載のディジタル機器。   5. The digital device according to claim 1, wherein the digital device communicates with the other digital device via an IEEE 1394 standard system bus. 6. 撮影機能を有し、他のディジタル機器と相互に通信可能なディジタル機器であって、
前記撮影機能の露光時間範囲情報を前記他のディジタル機器に対して送信する送信手段と、
前記露光時間範囲情報の送信の応答として受信した制御条件変更命令に基づき、前記撮影機能の制御可能範囲を変更する変更手段と、
前記撮影機能の制御命令を受け付けた場合、前記変更手段により変更された制御可能範囲内で動作するように撮影機能を制御する制御手段と、
を備えることを特徴とするディジタル機器。
A digital device having a photographing function and capable of communicating with other digital devices,
Transmitting means for transmitting exposure time range information of the photographing function to the other digital device;
Based on a control condition change command received as a response to the transmission of the exposure time range information, changing means for changing the controllable range of the photographing function;
Control means for controlling the photographing function to operate within the controllable range changed by the changing means when receiving the control command for the photographing function;
A digital device comprising:
前記変更手段は、前記受信した制御条件変更命令に基づき、前記撮影機能の露光時間の制御可能範囲を変更することを特徴とする請求項6に記載のディジタル機器。   The digital device according to claim 6, wherein the changing unit changes a controllable range of an exposure time of the photographing function based on the received control condition change command. 前記露光時間範囲情報は最短露光時間を含み、前記ディジタル機器が高速移動物体撮影機能を有している場合、前記撮影機能の露光時間を最短露光時間に変更する制御条件変更命令を受信することを特徴とする請求項7に記載のディジタル機器。   The exposure time range information includes a shortest exposure time, and when the digital device has a high-speed moving object photographing function, receiving a control condition change command for changing the exposure time of the photographing function to the shortest exposure time. 8. The digital device according to claim 7, wherein 前記露光時間範囲情報は最長露光時間を含み、前記ディジタル機器が暗部撮影機能を有している場合、前記撮影機能の露光時間を最長露光時間に変更する制御条件変更命令を受信することを特徴とする請求項7に記載のディジタル機器。   The exposure time range information includes a longest exposure time, and when the digital device has a dark part photographing function, a control condition change command for changing the exposure time of the photographing function to the longest exposure time is received. The digital device according to claim 7. 撮影機能を有し、他のディジタル機器と相互に通信可能なディジタル機器の制御方法であって、
前記撮影機能の焦点距離範囲情報を前記他のディジタル機器に対して送信する送信ステップと、
前記焦点距離範囲情報の送信の応答として受信した制御条件変更命令に基づき、前記撮影機能の制御命令を受け付けた場合に前記撮影機能がその範囲内で動作するよう制御するために前記撮影機能の制御可能範囲を変更する変更ステップと、
を備えることを特徴とするディジタル機器の制御方法。
A method for controlling a digital device having a photographing function and capable of communicating with other digital devices,
A transmission step of transmitting focal length range information of the photographing function to the other digital device;
Based on the control condition change command received as a response to the transmission of the focal distance range information, the control of the shooting function is performed to control the shooting function to operate within the range when the control command for the shooting function is received. A change step to change the possible range;
A method for controlling a digital device, comprising:
撮影機能を有し、他のディジタル機器と相互に通信可能なディジタル機器の制御方法であって、
前記撮影機能の露光時間範囲情報を前記他のディジタル機器に対して送信する送信ステップと、
前記露光時間範囲情報の送信の応答として受信した制御条件変更命令に基づき、前記撮影機能の制御命令を受け付けた場合に前記撮影機能がその範囲内で動作するよう制御するために前記撮影機能の制御可能範囲を変更する変更ステップと、
を備えることを特徴とするディジタル機器の制御方法。
A method for controlling a digital device having a photographing function and capable of communicating with other digital devices,
A transmission step of transmitting exposure time range information of the photographing function to the other digital device;
Based on the control condition change command received as a response to the transmission of the exposure time range information, the control of the shooting function is performed to control the shooting function to operate within the range when the control command for the shooting function is received. A change step to change the possible range;
A method for controlling a digital device, comprising:
JP2006118385A 2006-04-21 2006-04-21 Digital device and control method thereof Expired - Fee Related JP4217727B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2006118385A JP4217727B2 (en) 2006-04-21 2006-04-21 Digital device and control method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2006118385A JP4217727B2 (en) 2006-04-21 2006-04-21 Digital device and control method thereof

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP31132898A Division JP3814428B2 (en) 1998-10-30 1998-10-30 Camera control method for terminal device

Publications (2)

Publication Number Publication Date
JP2006254492A true JP2006254492A (en) 2006-09-21
JP4217727B2 JP4217727B2 (en) 2009-02-04

Family

ID=37094389

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006118385A Expired - Fee Related JP4217727B2 (en) 2006-04-21 2006-04-21 Digital device and control method thereof

Country Status (1)

Country Link
JP (1) JP4217727B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009075068A1 (en) * 2007-12-13 2009-06-18 Mitsubishi Electric Corporation Train communication system, communication device, and relay device
WO2010092957A1 (en) * 2009-02-16 2010-08-19 東芝テリー株式会社 Camera system

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009075068A1 (en) * 2007-12-13 2009-06-18 Mitsubishi Electric Corporation Train communication system, communication device, and relay device
JP4592817B2 (en) * 2007-12-13 2010-12-08 三菱電機株式会社 Train communication system
JPWO2009075068A1 (en) * 2007-12-13 2011-04-28 三菱電機株式会社 Train communication system
KR101143672B1 (en) 2007-12-13 2012-05-09 미쓰비시덴키 가부시키가이샤 Train communication system, communication device, and relay device
US8260855B2 (en) 2007-12-13 2012-09-04 Mitsubishi Electric Corporation Train communication system, communication device and relay device
CN101801713B (en) * 2007-12-13 2012-09-26 三菱电机株式会社 Train communication system, communication device, and relay device
WO2010092957A1 (en) * 2009-02-16 2010-08-19 東芝テリー株式会社 Camera system
JP2010193005A (en) * 2009-02-16 2010-09-02 Toshiba Teli Corp Camera system
JP4564093B2 (en) * 2009-02-16 2010-10-20 東芝テリー株式会社 Camera system

Also Published As

Publication number Publication date
JP4217727B2 (en) 2009-02-04

Similar Documents

Publication Publication Date Title
JP3652125B2 (en) Imaging control apparatus, imaging control method, imaging control system, and storage medium
US6498598B2 (en) Imaging device system, control method for the system, imaging device, control device, control method for the imaging device, control method for the control device, and storage medium
US7936381B2 (en) Management and setting of photographing condition of image sensing apparatus
US6453071B2 (en) Data communication apparatus, method and system and programs for data communication process stored in computer readable storage medium
US20010047443A1 (en) Data communication apparatus, method and system and programs for data communication process stored in computer readable storage medium
JP2000358033A (en) Data communication system and data communication method
JP4217727B2 (en) Digital device and control method thereof
JP3814428B2 (en) Camera control method for terminal device
JP3599581B2 (en) Electronic device and computer-readable storage medium
JP2000165736A (en) Photographic condition managing device, image pickup device, photographic condition managing system and computer readable storage medium
JPH10285240A (en) Data communication equipment and its method, data communication system and storage medium
JP3501613B2 (en) Data communication system, print system and data communication device
JP2000138860A (en) Image pickup device, controller for image pickup device and computer-readable storage medium
JP4401446B2 (en) Digital camera and control method thereof
JP4653955B2 (en) Electronic device and control method thereof
JP3890124B2 (en) Data communication system, data communication method, data communication node, and recording medium
JP2004260857A (en) Imaging control apparatus, imaging control method, imaging control system, and storage medium
JP2006050653A (en) Data communication apparatus, method, and system, and storage medium
JP2006042395A (en) Imaging apparatus, control method thereof, and storage medium
JP3919718B2 (en) Image forming system and image forming apparatus
JP2004357309A (en) Image pickup device and image output apparatus
JP2003345538A (en) Printing system, image pickup unit, printing device, method for controlling image pickup unit, method for controlling printing device, and storage medium
JP2007300653A (en) Imaging apparatus and control method thereof
JP2005176281A (en) Control device, control method, and control program

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20080722

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20080918

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20081021

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20081110

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20111114

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20121114

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20131114

Year of fee payment: 5

LAPS Cancellation because of no payment of annual fees