JPH04149532A - Tracing type camera - Google Patents

Tracing type camera

Info

Publication number
JPH04149532A
JPH04149532A JP27474890A JP27474890A JPH04149532A JP H04149532 A JPH04149532 A JP H04149532A JP 27474890 A JP27474890 A JP 27474890A JP 27474890 A JP27474890 A JP 27474890A JP H04149532 A JPH04149532 A JP H04149532A
Authority
JP
Japan
Prior art keywords
signal
subject
camera
variable
routine
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
JP27474890A
Other languages
Japanese (ja)
Other versions
JP2866183B2 (en
Inventor
Toshiki Fujisawa
敏喜 藤沢
Satoshi Nakamoto
中本 聡
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.)
Konica Minolta Inc
Original Assignee
Konica Minolta 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 Konica Minolta Inc filed Critical Konica Minolta Inc
Priority to JP27474890A priority Critical patent/JP2866183B2/en
Publication of JPH04149532A publication Critical patent/JPH04149532A/en
Application granted granted Critical
Publication of JP2866183B2 publication Critical patent/JP2866183B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Abstract

PURPOSE:To speedily and accurately trace the motion of an object with simple circuit constitution by detecting the position of the object while receiving a remote control signal emitted from the object and controlling the rotational direction and rotational speed of a camera main body so that the object is at a specific position in a photographing screen. CONSTITUTION:The camera main body 100 is fixed on an up/down rocking plate 101. A light receiving window 102a for receiving the remote control signal from an infrared-light emission unit 3 and four red LEDs 8a - 8d for displaying the position of the object are provided in the front of a main body box 102. While KEYs 1 - 9 of the infrared-light emission unit 3 except a downward key KEY 5 are depressed, the camera main body 100 is moved in directions corresponding to the depressed keys. When the KEY 5 is depressed, the camera enters a tracing mode to detect the position of the object and traces the object. When the position of the object crosses the center of the photographing screen, the rotational direction of the camera main body is reversed and the rotational speed is reduced to make the camera main body face the object speedily and accurately.

Description

【発明の詳細な説明】 (産業上の利用分野) 本発明は被写体からの信号を受けてカメラを被写体の方
に向けるように追尾する追尾型カメラに関する。
DETAILED DESCRIPTION OF THE INVENTION (Field of Industrial Application) The present invention relates to a tracking camera that receives a signal from a subject and tracks the subject by directing the camera toward the subject.

(従来技術) カメラの歴史は古く、スチルカメラに限ってみると、こ
れまでのカメラは撮影者が被写体に向ってカメラを構え
て構図をとり撮影するものであり、現在でも多くのカメ
ラはそのような使い方をしている。しかし、最近になっ
て、カメラを三脚などに固足しておき、被写体である人
物がカメラ前方の撮影可能な範囲(画角)内に立ち、自
分が携帯するリモコン送信器からレリーズ信号を送って
レリーズ動作を行なわせて写真撮影を行なういわゆる「
リモコン付きカメラ」が開発され、実用化されている。
(Prior art) Cameras have a long history, and if we look only at still cameras, until now the photographer held the camera facing the subject to compose the photograph and take the picture, and even today, many cameras still use this method. I'm using it like this. However, recently, the camera has been fixed on a tripod, the subject is standing in front of the camera within the shooting range (angle of view), and the remote control transmitter that the person carries sends the release signal. The so-called "
A camera with a remote control has been developed and put into practical use.

ところがこのリモコン付きカメラでは、被写体がカメラ
の画角内に完全に入っているか否かが被写体側には正確
にわからないまま写真撮影を行なうために、満足のいく
写真か取れないことかある。
However, with this camera equipped with a remote control, the photograph is taken without the subject knowing exactly whether or not the subject is completely within the angle of view of the camera, so it may not be possible to take a satisfactory photograph.

そこで、リモコン付きカメラのように被写体である人物
が送信器を携帯し、この送信器からの信号をカメラ側で
受信し、その受信した信号から被写体の位置を検出し、
被写体か画角のほぼ中央にくるようにカメラを自動的に
動かすいわゆる追尾型カメラが考えられる。
Therefore, like a camera with a remote control, the person who is the subject carries a transmitter, the camera receives the signal from this transmitter, and the position of the subject is detected from the received signal.
A so-called tracking camera is considered, which automatically moves the camera so that the camera is approximately in the center of the subject or angle of view.

スチルカメラの分野ではこの種の追尾型カメラはこれま
で知られていないが、ビデオカメラや工業用テレビカメ
ラなどの分野では追尾型が知られている。これらの分野
で被写体や標的を追尾するには、CCDを用いた画像認
識技術か利用されているか、CCDは、ビデオカメラの
画像情報の取込みのために必要不可欠なもので、すてに
装備されているか、取込まれた画像情報を演算処理する
技術は技術的に高度なため回路構成が複雑で且つ広いス
ペースを必要とすることもあって安価でJ\型化するこ
とか困難てあり、新たにCCDを装備し画像情報を演算
処理する前記方式をスチルカメラにそのまま適用するこ
とは困難である。
Although this type of tracking type camera has not been known in the field of still cameras, tracking type cameras are known in the field of video cameras and industrial television cameras. In order to track objects and targets in these fields, image recognition technology using CCD is used. CCD is indispensable for capturing image information of video cameras, and many are equipped with it. However, since the technology for processing the captured image information is technically advanced, the circuit configuration is complex and requires a large space, making it difficult to make it into a J\ type at low cost. It is difficult to apply the above-described method of newly equipping a CCD and processing image information to still cameras as is.

そこて被写体が携帯する信号発生手段から発せられるパ
ターン信号を受けると被写体の位置に対応した位置信号
を発生させるとともに、パターン信号のパターンを検出
し、この検出した信号パターンに同期して位置信号を読
み込んで被写体の位置を検出するように構成した被写体
位置検出装置か考えられる。
When it receives a pattern signal emitted from a signal generating means carried by the subject, it generates a position signal corresponding to the position of the subject, detects the pattern of the pattern signal, and generates a position signal in synchronization with the detected signal pattern. It may be a subject position detection device configured to read the information and detect the position of the subject.

この提案に係る被写体位置検出装置を用いて追尾型カメ
ラを構成すれば、高度な画像認識技術を用いることなく
簡潔な回路構成で被写体位置を検出することかでき、小
型で安価な追尾型カメラが実現できるか、この種の追尾
型カメラは被写体の動きに対しでてきるた番プ迅速でし
かも確実に追従できるのか望ましい。
If a tracking camera is configured using the subject position detection device according to this proposal, the subject position can be detected with a simple circuit configuration without using advanced image recognition technology, and a small and inexpensive tracking camera can be created. It would be desirable if this kind of tracking camera could quickly and reliably follow the movements of the subject.

(発明の目的および構成) 本発明は上記の点にかんがみてなされたもので、追尾型
カメラにおいて被写体の追尾に要する詩間をできるだけ
短縮するとともに確実に被写体を追尾することを目的と
し、この目的を達成するために、被写体から発せられる
信号を受けて被写体の位置を検出し、検出した被写体の
位置がカメラの撮影画面の中心位置にくるようにカメラ
本体の回動方向と回動速度とを制御するように構成した
(Purpose and Structure of the Invention) The present invention has been made in view of the above points, and an object of the present invention is to shorten the time required for tracking a subject in a tracking camera as much as possible, and to track the subject reliably. In order to achieve this, the position of the subject is detected by receiving a signal emitted from the subject, and the direction and speed of rotation of the camera body is adjusted so that the detected position of the subject is at the center of the camera's shooting screen. Configured to control.

(実施例) 以下本発明を図面に基づいて説明する。(Example) The present invention will be explained below based on the drawings.

第1図は本発明を用いた追尾型カメラを三脚に取り付け
て使用している状態を示しており、lは追尾型カメラ、
2は三脚、3は被写体人物が携帯する赤外発光ユニット
である。
Figure 1 shows a tracking camera using the present invention attached to a tripod, where l is the tracking camera;
2 is a tripod, and 3 is an infrared light emitting unit carried by the subject.

追尾型カメラlは、通常のカメラ本体100と、その下
に設けられてカメラ本体100を追尾のために上下に揺
動させたり、水平面内で回動させたりするための駆動機
構を備えた雲台装置110とから成り、この雲台装置1
10は、カメラ本体lOOを上下動させるための上下揺
動板101と、さらにその下にあってカメラ本体100
を上下に揺動させたり水平面内で左右に回動させるため
の駆動機構が収納された本体ボックス102と、さらに
その下に三脚2にねし止めされた台座103とで構成さ
れている。
The tracking camera 1 includes a normal camera body 100 and a drive mechanism provided under the camera body 100 for vertically swinging the camera body 100 for tracking purposes or rotating it in a horizontal plane. and a platform device 110, this platform device 1
Reference numeral 10 denotes a vertical swing plate 101 for vertically moving the camera body lOO, and further below the vertical swing plate 101, the camera body 100
It is composed of a main body box 102 housing a drive mechanism for vertically swinging the camera and horizontally rotating it horizontally, and a pedestal 103 screwed to the tripod 2 below the main body box 102.

カメラ本体100は、撮影レンズ100a、ストロボ装
置100b、レリーズボタン1ooc、電源ボタン10
0dなどを備えた通常のカメラであり、雲台装置110
の上下揺動板101上に固定されている。上下揺動板l
otは下向きにコの字状に開口した樹脂部材で形成され
ており、その長子方向一端(図では左端)には被写体の
位置を検出するための位置検出ユニットが内蔵されてお
り、101aは受光窓である0本体ボックス102は中
央から両側にかけて傾斜した尾根状の上面の長手方向両
端で上下揺動板101を揺動自在に軸支しており、前面
中央には赤外発光ユニット3からのリモコン信号を受け
る受光窓102aと、左右両端の上下に被写体の位置を
表示するための4個の赤色LED8a〜8dが設けられ
ている。
The camera body 100 includes a photographic lens 100a, a flash device 100b, a release button 1ooc, and a power button 10.
It is a normal camera equipped with 0d, etc., and a pan head device 110.
is fixed on a vertically swinging plate 101. Vertical swing plate l
ot is formed of a resin member with a U-shaped opening facing downward, and a position detection unit for detecting the position of the subject is built in one end in the longitudinal direction (the left end in the figure), and 101a is a light receiving unit. The main body box 102, which is a window, has a vertically swinging plate 101 pivotably supported at both ends in the longitudinal direction of a ridge-shaped upper surface that slopes from the center to both sides. A light receiving window 102a for receiving a remote control signal and four red LEDs 8a to 8d for displaying the position of the subject are provided at the top and bottom of both left and right ends.

一方、赤外発光ユニット3は家庭用テレビや工アコンな
とて使用されている通常のリモコンと基本的に同じもの
であり、樹脂製ケース3aの上面に9個のキーKEY1
〜KEY9か設けられ、カメラ本体100の方に向ける
先端には赤外発光ダイオード3bか設けられている。各
キーはカメラ本体100を第2図てキー上に矢印で示し
た方向に動かす機能を有しており、たとえばKEYlを
押すと、カメラは被写体に向って右下の方向に動き、K
EY8を押すとカメラは被写体に向って下向きに動く、
このようにキーKEY5を除くKEY1〜KEY9 (
方向キー)はそれを押し続けている間はカメラ本体10
0がその押したキーに対応する方向に動くが、KEY5
 (以後「追尾キー」という)を押すとカメラは追尾モ
ードに入り、後述するプロセスで被写体の位置を検出し
被写体を追尾するように動く、いずれのキーを押しても
5赤外発光ダイオード3bから固有の発光パターンを有
する赤外光が発射される。ここで赤外発光ユニ・ント3
の各キーKEYl〜KEY9を押したときのカメラの動
きを以下に記述する。
On the other hand, the infrared emitting unit 3 is basically the same as a normal remote control used for home televisions and industrial air conditioners, and has nine keys KEY1 on the top surface of the resin case 3a.
-KEY 9 are provided, and an infrared light emitting diode 3b is provided at the tip facing toward the camera body 100. Each key has the function of moving the camera body 100 in the direction indicated by the arrow on the key in FIG.
When you press EY8, the camera moves downwards toward the subject.
In this way, KEY1 to KEY9 excluding key KEY5 (
direction key) is the camera body 10 while you hold it down.
0 moves in the direction corresponding to the key pressed, but KEY5
(hereinafter referred to as the "tracking key"), the camera enters tracking mode, detects the subject's position through the process described later, and moves to track the subject. Infrared light having a light emission pattern is emitted. Here, infrared emitting unit 3
The movements of the camera when each of the keys KEY1 to KEY9 are pressed are described below.

カメラを被写体側に向って右下 に動かす。Lower right with the camera facing the subject. move it to

カメラを被写体側に向って下向 きに動かす。Point the camera downwards toward the subject. move quickly.

カメラを被写体側に向って左下 に動かす。Lower left when facing the camera toward the subject. move it to

カメラを被写体側に向って右方 向に動かす。Turn the camera to the right when facing the subject. move it in the direction.

追尾動作によりカメラを被写体 の方向へ動かす。The camera becomes the subject by tracking operation. Move it in the direction of.

カメラを被写体側に向フて左方 向に動かす。Turn the camera toward the subject and look to the left. move it in the direction.

カメラを被写体側に向って右上 に動かす。Top right with the camera facing the subject. move it to

KEY8 :  カメラを被写体側に向って下向きに動
かす。
KEY8: Move the camera downward toward the subject.

KEY9 :  カメラを被写体側に向って左下に動か
す。
KEY9: Move the camera to the bottom left toward the subject.

KEY4  : KEY2  : にEYI: KEY3  : KEY7  : KEY5  : (追尾キー) KEY6 : 第2図は赤外発光ユニット3の赤外発光回路を示す。赤
外発光回路は、押されたキーに対応する赤外発光パター
ンのリモコン信号を出力するIC31と、このリモコン
信号によりON10 F Fするスイッチングトランジ
スタ32と、赤外発光ダイオード3bとを有し、このI
C31から出力するリモコン信号の赤外発光パターンは
第3図に示すように各キーごとに固有である。リモコン
信号は、38KHzで変調された長さ8 m s e 
cのリモコン信号とリモコン信号との間隔が短い(1,
5m5ec)場合を“L″、長い(2,5m5ec)場
合を“H”として、“L”のみから成る3ビツトのスタ
ート信号と、“H″のみまたは“L”のみあるいは“H
”とL”との組み合せから成る5ビツトのデータと、“
L”のみから成る2ビツトのストップ信号とで構成され
た10ビツトの信号(この一連の信号を1フレームと呼
ぶ)であり、キーに対応して信号間隔が異なる固有の発
光パターンを有する。キーが押され続けると同じ発光パ
ターンが何フレームも繰り返される。
KEY4: KEY2: EYI: KEY3: KEY7: KEY5: (Tracking key) KEY6: FIG. 2 shows the infrared light emitting circuit of the infrared light emitting unit 3. The infrared light emitting circuit includes an IC 31 that outputs a remote control signal with an infrared light emission pattern corresponding to a pressed key, a switching transistor 32 that turns ON10FF in response to this remote control signal, and an infrared light emitting diode 3b. I
The infrared emission pattern of the remote control signal output from C31 is unique for each key as shown in FIG. The remote control signal has a length of 8 msec modulated at 38 KHz.
The interval between the remote control signal of c and the remote control signal is short (1,
5m5ec) is set as "L", and long case (2,5m5ec) is set as "H", and a 3-bit start signal consisting of only "L" and only "H" or only "L" or "H"
5-bit data consisting of a combination of " and L" and "
It is a 10-bit signal (this series of signals is called one frame) consisting of a 2-bit stop signal consisting only of "L", and has a unique light emission pattern with different signal intervals depending on the key. If you keep pressing the button, the same flash pattern will repeat over and over again.

次にカメラ側の機構および回路構成について説明する。Next, the mechanism and circuit configuration on the camera side will be explained.

第4図はカメラ側に設けられた追尾回路であり、4は赤
外発光ユニット3から発光されるリモコン信号を受光す
るための赤外受光ユニットで、フォトダイオードおよび
信号処理回路(増幅器38KHzバンドパスフイルタ、
積分回路、比較器)などから成る回路構成であり、38
KHzの信号か受信されたときに“H(High)”レ
ベルの信号を出力し、受信されないときには“L(L 
o w )”レベルの信号を出力するものである。5は
二次元における被写体の位置を検出するために2次元位
置検出素子として4分割されたフォトダイオードを用い
た被写体位置検出ユニットである。赤外発光ユニット3
からの赤外光が受光窓101a (第1図参照)を通し
てカメラ本体内部の4分割フォトダイオード5d(第6
図参照)に当り、その光点の位置によって4分割フォト
ダイオード5dから異なる位置信号が出力する。
Figure 4 shows a tracking circuit provided on the camera side, and 4 is an infrared light receiving unit for receiving the remote control signal emitted from the infrared light emitting unit 3, which includes a photodiode and a signal processing circuit (amplifier 38KHz bandpass). filter,
It has a circuit configuration consisting of an integrator circuit, a comparator), etc.
When a KHz signal is received, it outputs an “H (High)” level signal, and when it is not received, it outputs an “L (L)” level signal.
o w )" level signal. 5 is a subject position detection unit that uses a photodiode divided into four as a two-dimensional position detection element to detect the position of the subject in two dimensions. Red External light unit 3
The infrared light from
(see figure), different position signals are output from the four-division photodiode 5d depending on the position of the light spot.

第5図はこの被写体位置検出ユニット5の一例を示して
おり、支持枠5aに可視光カット用のフィルタ5bと、
集光レンズ5Cと、4分割フォトダイオード5dとを光
軸上に並べて配置したものである。可視光カットフィル
タ5bと集光レンズ5cは一体にして形成してもよい。
FIG. 5 shows an example of this subject position detection unit 5, in which a support frame 5a is provided with a filter 5b for cutting visible light,
A condenser lens 5C and a four-part photodiode 5d are arranged side by side on the optical axis. The visible light cut filter 5b and the condensing lens 5c may be formed integrally.

4分割フォトダイオード5dは第6図に示すように1つ
の画面の中心を通り水平、垂直に分割したものて、4つ
の領域MM、PM、MP、PPを形成する。また、4分
割フォトダイオード5dの長辺、短辺は撮影画面と比例
し、この4分割フォトダイオード5dの検出する受光領
域と、カメラの撮影画面とがほぼ一致するようにしてい
る。また検出画面を変化てきるように集光レンズ5Cに
ズームレンズを用いることもできる。また集光レンズ5
Cと4分割フォトダイオード5dの距離はカメラと被写
体との距離によって調整し集光された光点の大きさを一
定に保つようにしてもよい、集光レンズ5cによって集
光された赤外光は前記フォトダイオ・−ド間の幅よりも
大きくして光点か隣接したフォトダイオードにまたがる
ようにしている。またFナンバーは収差などが大きくな
らない程度てなるべく明るい方かよい、被写体位置検出
ユニット5には、4分割フォトダイオードの代わりに分
割のない2次元位置検出素子(いわゆる2次元PSD)
を用いることもてきるが、これは素子自体か高価である
し、信号の処理回路かずっと複雑になるので好ましくな
い。
As shown in FIG. 6, the four-division photodiode 5d is divided horizontally and vertically through the center of one screen to form four regions MM, PM, MP, and PP. Further, the long and short sides of the four-division photodiode 5d are proportional to the photographing screen, so that the light receiving area detected by the four-division photodiode 5d and the photographing screen of the camera almost match. Furthermore, a zoom lens can be used as the condenser lens 5C so that the detection screen can be changed. Also, the condenser lens 5
The distance between C and the 4-split photodiode 5d may be adjusted depending on the distance between the camera and the subject to keep the size of the focused light spot constant.Infrared light focused by the focusing lens 5c is made larger than the width between the photodiodes so that the light spot straddles adjacent photodiodes. In addition, the F number should be as bright as possible without increasing aberrations, etc. The subject position detection unit 5 uses a two-dimensional position detection element without division (so-called two-dimensional PSD) instead of a four-division photodiode.
Although it is possible to use the device, this is not preferable because the element itself is expensive and the signal processing circuit becomes much more complicated.

再び第4図にもどって、6は、被写体位置検出ユニット
5の4分割フォトダイオード5dの4つの領域PM、P
P、MM、MPから出力する4つの位置信号のうち、対
角線上の2つの位置信号をそれぞれ入力して信号処理し
被写体の位置を検出する検出回路であり、その回路構成
は第7図に示すようになる。すなわち、検出回路6は、
4分割フォトダイオードの4つの領域PM、PP。
Returning to FIG. 4 again, reference numeral 6 indicates four areas PM and P of the four-division photodiode 5d of the subject position detection unit 5.
This is a detection circuit that inputs two diagonal position signals among the four position signals output from P, MM, and MP, processes the signals, and detects the position of the subject.The circuit configuration is shown in Figure 7. It becomes like this. That is, the detection circuit 6 is
Four areas PM and PP of the 4-division photodiode.

MM、MPから出力する4つの位置信号のうち対角線上
の2つの領域PMとMPから出力する位置信号PM信号
SよびMP@号の差をとって電流−電圧変換する差動増
幅回路6a、および領域PPとMMから出力する位置信
号PP信号およびMM倍信号差をとって電流−電圧変換
する差動増幅回路6a2と、差動増幅回路6a+ Eよ
び6a、の出力からそれぞれ38KHz以下の周波数成
分をカットするフィルタ回路s b 、gよび6b、と
、フィルタ回路6b、および6 b 2からの出力を基
準値と比較してそれより高いときはH(High)  
レベル、低いときは“L(L o w )”レベルの電
圧に変換する比較器6c、および6c2とにより構成さ
れている。
A differential amplifier circuit 6a that performs current-to-voltage conversion by taking the difference between the position signals PM signal S and MP@ signal output from two diagonal areas PM and MP among the four position signals output from MM and MP, and Frequency components of 38 KHz or less are obtained from the outputs of the differential amplifier circuit 6a2, which performs current-to-voltage conversion by taking the position signal PP signal output from the regions PP and MM and the MM-fold signal difference, and the differential amplifier circuits 6a+E and 6a, respectively. The outputs from the filter circuits s b , g and 6 b to be cut, and the filter circuits 6 b and 6 b 2 are compared with the reference value, and if the output is higher than the reference value, the output is H (High).
It is composed of a comparator 6c and 6c2, which converts the voltage to an "L (Low)" level when the level is low.

この検出回路6のざらに具体的な回路構成を第8図に示
す、この検出回路6はそれぞれ3債のオペアンプ61,
62,63;61’ 、62’63′を直列に接続した
2系列の回路から成り、信号をデジタル的に処理してい
るためにこれらのオペアンプは精度の低いものでよく、
し・かも回路調整が不要である。
The detailed circuit configuration of this detection circuit 6 is shown in FIG.
It consists of two circuits in which 62, 63; 61' and 62' and 63' are connected in series, and since the signals are processed digitally, these operational amplifiers do not need to be of low precision.
Moreover, no circuit adjustment is required.

!@4図において、CPU7は赤外受光ユニット4から
の信号に基づいてカメラの位置を制御したり、検出回路
6からの信号に基づいて被写体の位置を表示したり、被
写体を追尾したりするための判断および演算を行なう、
このCPU7は、赤外受光ユニット4からの信号(lビ
ウト)と被写体位置検出ユニット5からの位置信号(2
ビツト)とを受ける3ビツトのリモコン信号入力ボート
PXと、被写体位置表示ユニット8への点灯信号を出力
する4ビツトのLED出力ボートP2とカメラを赤外発
光ユニット3の方に向けさせるための信号を出力する4
ビツトのモータ出力ボートP3と、64psecごとに
デクリメントされる8ビツトのハードウェアカウンタ7
aと、10m5ecごとの割込み機能とを有する。
! @ In Figure 4, the CPU 7 controls the position of the camera based on the signal from the infrared light receiving unit 4, displays the position of the subject based on the signal from the detection circuit 6, and tracks the subject. make judgments and calculations,
This CPU 7 receives a signal (1) from the infrared light receiving unit 4 and a position signal (2) from the subject position detection unit 5.
a 3-bit remote control signal input port PX that receives a signal (bit), a 4-bit LED output port P2 that outputs a lighting signal to the subject position display unit 8, and a signal that directs the camera toward the infrared light emitting unit 3. Output 4
A bit motor output port P3 and an 8-bit hardware counter 7 that is decremented every 64 psec.
a, and an interrupt function every 10m5ec.

被写体位置表示ユニット8は本体ブロック102(1!
s1図参照)の前面左右に2(1ずっ配置した4個の赤
色LED8a〜8dから成り、被写体かカメラ側から見
て右上にある場合は右上位置にあるLED8aが、右下
にある場合は右下の位置にあるLED8bが、左上にあ
る場合は左上の位置にあるLED8cが、左下にある場
合は左下の位置にあるLED8dか点灯する。
The subject position display unit 8 is the main body block 102 (1!
It consists of four red LEDs 8a to 8d arranged 2 (1) on the front left and right of the camera (see figure s1).When viewed from the subject or camera side, the LED 8a is located at the upper right position, and when it is located at the lower right, the LED 8a is located at the right position. If the LED 8b located at the bottom position lights up, the LED 8c located at the upper left position lights up when it is located at the upper left position, and the LED 8d located at the lower left position lights up when the LED 8b located at the lower left position lights up.

9aおよび9bはカメラ本体100を水平面内で回転さ
せたり、上下に揺動させるための駆動機構を構成するモ
ータM、およびMYを駆動するためのxtlllモータ
ドライバおよびY軸モータトライバである。
Reference numerals 9a and 9b denote a motor M, which constitutes a drive mechanism for rotating the camera body 100 in a horizontal plane and swinging it up and down, and an xtll motor driver and a Y-axis motor driver for driving MY.

第9図はカメラ本体100を上下に揺動させたり、水平
面内で左右に回転するいわゆる追尾動作を受持つ雲台装
置110の駆動機構を示す。
FIG. 9 shows the drive mechanism of the pan head device 110, which is responsible for so-called tracking operations, such as swinging the camera body 100 up and down and rotating it left and right in a horizontal plane.

上下揺動板101のコの字状内面の長手方向両端の対向
面から内向きにビン101aと101bとが水平に伸び
ており、一方のビン101bの先端には扇形ギヤ101
cか固定されている。
Bins 101a and 101b extend horizontally inward from opposing surfaces at both longitudinal ends of the U-shaped inner surface of the vertically swinging plate 101, and one of the bins 101b has a sector-shaped gear 101 at its tip.
c or fixed.

また本体ボックス102の長手方向両端の頂面には、上
下揺動板101のビン101aと101bを受ける受け
1l102bと102cとが形成されて3つ、本体ボッ
クス102内には、カメラ本体100(上下揺動板10
1上に固定されているか、図示しない)を水平面内て左
右に回転するための駆動源となるモータMxと上下に揺
動するための駆動源となるモータMyとか内蔵されてい
る。モータMxの回転は、モータの回転軸に固定された
ギヤ104、このギヤ104に噛合するつオームギヤ1
05、このつオームギヤに噛合するつオームギヤ106
、このギヤ106に固定された軸107を介して本体ボ
ックス102の下側に配置された台座103に伝達され
る。
Furthermore, three receivers 11102b and 102c are formed on the top surface of both longitudinal ends of the main body box 102 to receive the bins 101a and 101b of the vertically swinging plate 101. Rocking plate 10
A motor Mx, which serves as a drive source for rotating the motor (not shown) fixed on the display panel 1 from side to side in a horizontal plane, and a motor My, which serves as a drive source for swinging it up and down, are built-in. The rotation of the motor Mx is caused by a gear 104 fixed to the rotating shaft of the motor, and a two-ohm gear 1 meshing with this gear 104.
05, ohm gear 106 that meshes with this ohm gear
, is transmitted to a pedestal 103 disposed below the main body box 102 via a shaft 107 fixed to this gear 106.

一方、モータMyの回転は、モータMYの回転軸に固定
されたギヤ10B、このギヤ108に噛合するつオーム
ギヤ109、上下揺動板101のビン1olbの先端に
固定されていてつオームギヤ109と噛合する扇形ギヤ
101cを介して上下揺動板101に伝達される。
On the other hand, the rotation of the motor My is controlled by a gear 10B fixed to the rotating shaft of the motor MY, a two-ohm gear 109 that meshes with this gear 108, and a two-ohm gear 109 that is fixed to the tip of the bottle 1olb of the vertically swinging plate 101. It is transmitted to the vertically swinging plate 101 via the sector-shaped gear 101c.

上記駆動機構のモータMxか回転すると、台座103は
三脚2(81図参照)に固定されているため回転てきず
、その反動としてカメラ本体100か水平面内で左右に
回動する。一方、モータMyか回転すると、扇形ギヤ1
01cか所定量たけ回転して上下揺動板101か上下に
揺動する。
When the motor Mx of the drive mechanism rotates, the pedestal 103 does not rotate because it is fixed to the tripod 2 (see FIG. 81), and as a reaction, the camera body 100 rotates left and right in the horizontal plane. On the other hand, when motor My rotates, sector gear 1
01c rotates by a predetermined amount, and the vertically swinging plate 101 swings up and down.

次に追尾型カメラの動作を説明するか2それに先立って
、本発明の基礎となる考え方を、(I)被写体位置の検
出および(n)追尾動作について説明する。
Next, the operation of the tracking camera will be explained.2Prior to that, the basic idea of the present invention will be explained with respect to (I) detection of the subject position and (n) tracking operation.

(I)被写体位置の検出 被写体位置検出ユニット5からの出力を用いて被写体位
置を検出する原理について第1O図を用いて説明する。
(I) Detection of subject position The principle of detecting the subject position using the output from the subject position detection unit 5 will be explained using FIG. 1O.

本実施例においては、上述したように、被写体位置検出
ユニット5の2次元位置検出素子として第6図に示した
ような4分割フォトダイオード5dか用いられており、
4分割フォトダイオード5dの4つの領域PM、PP、
MM、MPのうち、対角線上にある2つの領域PPとM
Mから出力する2つの位置信号の差と、領域PMとMP
から出力する2つの位置信号の差とから被写体の位置を
検出している。
In this embodiment, as described above, a four-segment photodiode 5d as shown in FIG. 6 is used as the two-dimensional position detection element of the subject position detection unit 5.
Four areas PM, PP, of the four-division photodiode 5d,
Among MM and MP, two areas PP and M on the diagonal line
The difference between the two position signals output from M and the areas PM and MP
The position of the subject is detected from the difference between two position signals output from the camera.

被写体の位置は4分割フォトダイオード5dの赤外光の
光点の位置に基づいて判別され、第1O図(イ)に示す
赤外光の光点の位置に対する4分割フォトダイオード5
dからの位置信号は同図(ロ)のように9通りとなるの
て、4分割フォトダイオード5dの出力から被写体がカ
メラの画角内の9位置のどこにあるかがわかる。この4
分割フォトダイオード5dの出力から赤外光の光点の位
置すなわち被写体の位置を判別する動作は後述する〈現
在位置の検出ルーチン〉で実行される。
The position of the subject is determined based on the position of the infrared light spot of the 4-split photodiode 5d, and the 4-split photodiode 5 is determined based on the position of the infrared light spot of the 4-split photodiode 5d.
Since there are nine position signals from d as shown in FIG. 5(b), it is possible to know where the subject is located among the nine positions within the camera's field of view from the output of the four-division photodiode 5d. This 4
The operation of determining the position of the infrared light spot, that is, the position of the subject, from the output of the divided photodiode 5d is executed in a <current position detection routine> to be described later.

ところで本発明においては被写体位置を検出するのに赤
外発光ユニット3からの赤外光を利用しているため、撮
影環境における外来光(たとえば蛍光灯の光や太陽)の
影響による誤検出を防止することが重要であり、そのた
めに4分割フォトダイオード5dから出力する位置信号
の読み込みタイミングを次のように定めている。
By the way, in the present invention, infrared light from the infrared light emitting unit 3 is used to detect the subject position, thus preventing false detection due to the influence of extraneous light (for example, fluorescent light or the sun) in the shooting environment. Therefore, the reading timing of the position signal output from the four-division photodiode 5d is determined as follows.

第11図は4分割フォトダイオード5dの4領域PM、
PP、MM、MPのうち領域MMに赤外光か当った場合
(左欄)(イ)(これは、カメラから見て画角の左下に
被写体かある場合に相当する)と、領域PPに赤外光か
当った場合(右欄(ロ)(これはカメラ見て画角の右上
に被写体がある場合に相当する)について第7図に示し
た検出回路6の各部における信号の波形を示したもので
ある。
FIG. 11 shows four areas PM of the four-division photodiode 5d,
When infrared light hits area MM among PP, MM, and MP (left column) (a) (this corresponds to the case where the subject is at the bottom left of the angle of view as seen from the camera), and when area PP hits The signal waveforms at each part of the detection circuit 6 shown in Fig. 7 are shown in the case of infrared light (right column (b) (this corresponds to the case where the subject is at the upper right of the angle of view when looking at the camera). It is something that

(イ)、(ロ)いずれの場合ても、信号AはAC電源の
誘導ノイズや蛍光灯などの外来光の影響を受けて大きく
うねっている。差動増幅回路6aIは4分割フォトタイ
オート5dの領域PP、MMの差をとっているため領域
PP、MMに等しく当る光の成分や誘導ノイズなどにつ
いてはキャンセルされる。この段階ては出力信号B。
In both cases (a) and (b), the signal A undulates significantly due to the influence of induced noise from the AC power supply and external light such as fluorescent lights. Since the differential amplifier circuit 6aI takes the difference between the regions PP and MM of the four-division phototire auto 5d, light components and induced noise that equally hit the regions PP and MM are canceled. At this stage, output signal B is output.

B′には、領域PP、MMに当った外来光の差の分たけ
基準レベルよりオフセットをともない、そこに38KH
zの信号かのっている。
B' is offset from the reference level by the difference between the external light hitting areas PP and MM, and there is 38KH.
The signal of z is on.

フィルタ6b、は38KHzの信号のみを通すように構
成されているのてこのオフセット(直流成分)を取り去
ることができる。また38KHzよりも周波数の高いノ
イズも取り去ることかてきる。ここで第8図のような回
路構成にすることにより信号Bのように38KHzの信
号が無信号時より高い信号かフィルタ回路6b、に入力
されると、38KHzの信号か途絶えてしばらくの間、
フィルタ回路6b、の出力信号Cは基準レベルより低い
信号になり、ある時間かたつとわずかに基準レベルを越
える。一方、信号B′のように38 K Hzの信号か
無信号時より低いときは、38KHzの信号か途絶えて
しばらくの開信号Cは基準レベルより高い信号になり、
ある時間かたつとわずかに基準レベルを越える。
The filter 6b is configured to pass only a 38 KHz signal and can remove the offset (DC component). It is also possible to remove noise with a frequency higher than 38 KHz. Here, by making the circuit configuration as shown in Fig. 8, when a 38KHz signal like signal B is input to the filter circuit 6b, which is higher than the signal when there is no signal, the 38KHz signal is interrupted and for a while,
The output signal C of the filter circuit 6b becomes a signal lower than the reference level and slightly exceeds the reference level after a certain period of time. On the other hand, when the 38 KHz signal is lower than when there is no signal like signal B', the open signal C becomes a signal higher than the reference level for a while after the 38 KHz signal is interrupted.
After a certain period of time, it slightly exceeds the standard level.

この信号c、c’をA/Dコンバータなどを用いて位置
を検出することか可能であるか、回路か複雑になるのと
処理に時間かかかるので、ここては単純に2値化する。
Is it possible to detect the position of these signals c and c' using an A/D converter or the like? Since the circuit would be complicated and the processing would take time, here, it is simply converted into two values.

すなわち信号c、c’を比較器6c、に入力すると基準
レベルより上か下かて分けられた信号りか出力される。
That is, when the signals c and c' are inputted to the comparator 6c, signals separated by whether they are above or below the reference level are output.

ところか前述したように38KHzの信号か途絶えてか
らしばらくすると信号Cの出力はわずかに基準レベルを
こえるため、フィルタ回路6b、の出力は信号りのαの
ように変化してしまう、ここて光が十分強い場合は、信
号りの立下がりから信号パターンの検出が可能であるか
、光か弱い場合、αの部分は少しのノイズでも影響を受
は信号りはノイズを含んだものとなってしまい、信号り
たけではパターンの検出ができなくなってしまう。一方
、赤外受光ユニット4は、かなり弱い光でも正しい信号
を出力できるので、信号Eの1..12のタイミングて
信号りを読み統計処理を施して位置検出を行なうことに
より前記問題点か解消される。
However, as mentioned above, the output of the signal C slightly exceeds the reference level after a while after the 38 KHz signal is discontinued, so the output of the filter circuit 6b changes like α of the signal. If the light is strong enough, it is possible to detect the signal pattern from the falling edge of the signal, or if the light is weak, the α part will be affected by even a small amount of noise, and the signal will contain noise. , the pattern cannot be detected with just the signal. On the other hand, the infrared light receiving unit 4 can output a correct signal even with fairly weak light, so 1. .. The above-mentioned problem can be solved by reading the signal at the timing of 12 and performing statistical processing to detect the position.

具体的には検出回路6の出力を読み込むタイミングを赤
外受光ユニット4からの出力信号Eを用いてその立下り
、立上りのタイミングtagよびt2に定めている。こ
のような2つのタイミングt1およびt2で検出回路6
の出力(@号D)を読み込むようにして、たとえばその
出力レベルが“H”から“L″に変化したときには第1
1図(インのように赤外光か領域PPの位置に当ってい
ると判断し、その出力レベルか“L”から“H″に変化
したときには第11図(ロ)のように赤外光が領域MM
の位置に当っていると判断することにより、赤外光の当
っている位置を検出することがてきる。
Specifically, the timing for reading the output of the detection circuit 6 is determined using the output signal E from the infrared light receiving unit 4 at its fall and rise timings tag and t2. At these two timings t1 and t2, the detection circuit 6
For example, when the output level changes from "H" to "L", the first
When it is determined that the infrared light is hitting the position of the area PP as shown in Figure 1 (in), and the output level changes from "L" to "H", the infrared light is detected as shown in Figure 11 (b). is the area MM
By determining that the infrared light is hitting the position, the position where the infrared light is hitting can be detected.

以上のように赤外受光ユニット4からの信号パターンに
同期して、4分割のフォトダイオードからの信号を検出
することにより、簡単な回路構成で、遠距離でも確実に
位置検出が行える。
As described above, by detecting the signals from the four-divided photodiodes in synchronization with the signal pattern from the infrared light receiving unit 4, position detection can be performed reliably even over long distances with a simple circuit configuration.

一方、赤外受光ユニット4からの出力にはたとえば蛍光
灯からのノイズのような外来ノイズか混入することかあ
るのて、本発明ではCPU7に内蔵されるハードウェア
カウンタ7aのカウント周期である647zsecを利
用してリモコン信号の間隔か64X2gsec=128
psecより短い信号はノイズとしてソフトウェアで処
理するようにしてノイズによる影響を排除するようにし
ている。
On the other hand, since the output from the infrared light receiving unit 4 may be contaminated with external noise such as noise from a fluorescent lamp, in the present invention, the count period of the hardware counter 7a built in the CPU 7 is set to 647 zsec. The interval between remote control signals is 64 x 2 gsec = 128
Signals shorter than psec are treated as noise by software to eliminate the influence of noise.

(II)追尾動作 次に追尾動作の基本的な考え方を説明する。(II) Tracking operation Next, the basic concept of tracking operation will be explained.

本実施例においては、カメラ本体を水平面内で左右に回
動するためのモータM、と上下に揺動させるためのモー
タMYとを用いてカメラの追尾動作を行なっているが、
追尾のためのモータ制御の考え方は両モータについて同
しであるので、ここてはモータM、についてのみ説明す
る。
In this embodiment, the camera tracking operation is performed using a motor M for rotating the camera body left and right in a horizontal plane and a motor MY for swinging it up and down.
Since the concept of motor control for tracking is the same for both motors, only motor M will be explained here.

(イ)追尾制御は赤外発光ユニット3の追尾キーKEY
5が押されて赤外受光ユニット4によりリモコン信号が
受信されたことにより始まり、4分割フォトダイオード
5d上の赤外光の光点の位置に基づいて光点の位置か中
心にくるようにカメラの追尾動作か行なわれる。本実施
例ては、リモコン信号を受信しなくなってから一定時間
(本実施例では50m5ec)経過するまではモータの
回転を停止しないようにする。これは、リモコン信号に
混入するノイズなどのために信号が短時間途絶えたとき
すぐにモータを停止するとカメラの動きがギクシャクし
たものになるので、これを避けてカメラの追尾動作をス
ムーズなものにするためである。以上の追尾制御は後述
する〈1フレームの受信ルーチン)で実行される。
(a) Tracking control is performed using the tracking key KEY of the infrared light emitting unit 3.
5 is pressed and the remote control signal is received by the infrared light receiving unit 4, and the camera is moved to the position or center of the light spot based on the position of the light spot of the infrared light on the 4-division photodiode 5d. A tracking operation is performed. In this embodiment, the rotation of the motor is not stopped until a certain period of time (50 m5ec in this embodiment) has elapsed since no remote control signal was received. This is to avoid jerky camera movements if you stop the motor immediately when the signal is interrupted for a short time due to noise mixed in with the remote control signal, etc., and to make the camera tracking movement smooth. This is to do so. The above-mentioned tracking control is executed in <one frame reception routine> which will be described later.

(ロ)被写体の位置検出素子として4分割フォトダイオ
ードを用いているので被写体すなわち赤外光の光点か4
領域のいずれにあるかしか検出できない。そこで、赤外
発光ユニットから連続して出力される赤外光を4分割フ
ォトダイオード5dて受光し、信号処理回路によって被
写体位置を検知し、位置情報をCPU7に順次記憶する
。現在検出した位置情報と過去に検出した位置情報とを
比較して追尾するべき方向を知るようにしている。
(b) Since a 4-split photodiode is used as the subject position detection element, the subject, that is, the infrared light spot,
It is only possible to detect which region it is in. Therefore, the infrared light continuously output from the infrared light emitting unit is received by the four-division photodiode 5d, the subject position is detected by the signal processing circuit, and the position information is sequentially stored in the CPU 7. The currently detected position information is compared with the previously detected position information to determine the direction in which the vehicle should be tracked.

4分割フォトダイオード5d上の赤外光の光点はX軸方
向に見ると、正、零、負の3つの位置のいずれかをとる
ので、前回の光点位置と現在の光点位置とから光点の移
動方向がわかり、次の5通りか考えられる。
The light spot of infrared light on the 4-division photodiode 5d takes one of three positions: positive, zero, or negative when viewed in the X-axis direction, so the position of the infrared light from the previous light spot position and the current light spot position is Now that we know the direction of movement of the light spot, we can think of the following five ways.

(1)零位置または正の位置から正の位置へ変った場合 (2)零位置または負の位置から負の位置へ変った場合 (3)零位置に留まっている場合 (4)負の位置から零位置または正の位置へ変った場合 (5)正の位置から零位置あるいは負の位置へ変った場
合 これら5通りの光点の移動に対して、(1)と(4)に
対してはモータMXを正転させ、(2)と(5)に対し
てはモータM、を逆転させ、(3)に対してはモータM
xを停止する。
(1) When changing from zero position or positive position to positive position (2) When changing from zero position or negative position to negative position (3) When remaining at zero position (4) Negative position (5) When the light point changes from a positive position to a zero position or a negative position For these five ways of movement of the light spot, for (1) and (4) For (2) and (5), motor M is rotated in the forward direction; for (3), motor M is rotated in the reverse direction;
Stop x.

モータM8はデユーティ−比を変えることにより速度制
御され、本実施例ではデユーティ−比を100%、50
%、30%、20%、10%の5段階に設定している。
The speed of the motor M8 is controlled by changing the duty ratio, and in this embodiment, the duty ratio is set to 100% and 50%.
It is set in 5 levels: %, 30%, 20%, and 10%.

光点か零位置を通過するごとにモータM、を逆転させる
と同時に速度テーブルを参照してデユーティ−比を1段
階ずつ下げて速度を低下させていく、これは次の理由に
よる。
Every time the light spot passes the zero position, the motor M is reversed and at the same time the duty ratio is lowered one step at a time by referring to the speed table, for the following reason.

すなわち、非常にゆっくりした速度で追尾すれば光点か
零位置にくるようにカメラ本体を確実に停止させること
はできるか、時間かかかりすぎる。一方、速い速度で追
尾するとカメラ本体の慣性と駆動機構のガタおよび検出
してから制御を行なうまでのタイムラグのため光点を零
位置に確実に停止させることができずハンチング(首振
り)現象を起す、そこで最初は速く動かし、光点が零点
を通過したら逆の方向にデユーティ−比を1段下げて速
度を落すことによりハンチング現象のない正確な追尾を
することができる。またY軸についてもX軸と同様の制
御が行なわれる0以上の追尾制御は後述する〈X軸の動
き決定ルーチン)および(Y軸の動き決定ルーチン〉て
実行される。
In other words, if the camera is tracked at a very slow speed, it is not possible to stop the camera body reliably so that the light point reaches the zero position, but it takes too much time. On the other hand, when tracking at high speeds, the light spot cannot be reliably stopped at the zero position due to the inertia of the camera body, the play of the drive mechanism, and the time lag between detection and control, resulting in a hunting phenomenon. At first, the light point is moved quickly, and when the light point passes the zero point, the duty ratio is lowered by one step in the opposite direction to reduce the speed. Accurate tracking without hunting can be achieved. Further, tracking control for zero or more in which the same control as that for the X-axis is performed for the Y-axis is executed as an <X-axis movement determination routine> and (Y-axis movement determination routine), which will be described later.

(ハ)追尾制御のもう1つの考え方として、追尾を始め
て光点か零位置を通過してから一定時間(本実施例では
1秒)経過しても再び零位置を通過しないときはデユー
ティ−比を1段上げて速度を増し、その後同じように増
速制御を行なうようにする。これは次の理由による。
(C) Another way of thinking about tracking control is that if the light point or zero position is not passed through after starting tracking and the zero position is not passed again even after a certain period of time (1 second in this example) has elapsed, the duty ratio is Increase the speed by one step, and then perform speed increase control in the same way. This is due to the following reason.

すなわち、赤外光の光点か1度零位置を通過した後はモ
ータを逆転させる制御を行なうので、やかて零位置を通
過する筈であるが、駆動機構のガタや被写体がカメラの
追尾方向と同じ方向に動いた場合は一定時間経過しても
再び零位置を通過しない場合かある。この場合は追尾速
度を上げるか、被写体が近くにある可能性があるため、
速度を急激に上げすぎると光点が零位置を通過して行き
過ぎてしまうため、デユーティ−比を1段ずつ上げて速
度を増していくことにより行き過ぎ現象を避けることが
できる0以上の追尾制御は後述するく追尾ルーチン〉で
実行される。
In other words, once the infrared light spot passes the zero position, the motor is controlled to reverse, so it should pass the zero position sooner or later, but if there is play in the drive mechanism or the subject is tracked by the camera. If it moves in the same direction, it may not pass through the zero position again even after a certain period of time. In this case, increase the tracking speed, or the subject may be nearby.
If the speed is increased too rapidly, the light spot will pass the zero position and go too far, so tracking control above zero can avoid overshooting by increasing the duty ratio one step at a time and increasing the speed. This is executed in the tracking routine described below.

さて、以下に追尾型カメラの動作を別表1〜13に示し
たフローチャートを用いて説明する。
Now, the operation of the tracking camera will be explained below using the flowcharts shown in Appended Tables 1 to 13.

追尾型カメラの動作は第4図に示した追尾回路のCPU
7により制御されるのて、まずそのアルゴリズムについ
て説明する。
The tracking camera operates by the tracking circuit CPU shown in Figure 4.
First, the algorithm will be explained.

プログラムは別表1に示すようないくつかのルーチンに
より実現されるが、このプログラムて用いる定数をその
解説とともに別表2に、また変数を別表3に示す、なお
、別表5〜13におけるアルゴリズムの記述法は別表4
のとおりである。
The program is realized by several routines as shown in Attached Table 1.The constants used in this program are shown in Attached Table 2 along with their explanations, and the variables are shown in Attached Table 3.Algorithm description methods in Attached Tables 5 to 13 is attached table 4
It is as follows.

追尾型カメラ1を第1図に示すように三脚2上に固定し
て電源スィッチ100dをONL、、被写体である人物
が赤外発光ユニット3を持ってカメラの前方に立つ。
As shown in FIG. 1, a tracking camera 1 is fixed on a tripod 2, a power switch 100d is turned ON, and a person, who is a subject, stands in front of the camera holding an infrared light emitting unit 3.

第12図は本発明を用いた追尾型カメラの動作のうち、
本発明に関係のある追尾動作のメインプロセスのフロー
チャートを示し、測距、測光、レンズ駆動、レリーズ、
フィルム巻上げなどの一連の撮影動作とは別個に独立し
て行なわれる。
Figure 12 shows the operation of the tracking camera using the present invention.
A flowchart of the main processes of tracking operation related to the present invention is shown, including distance measurement, photometry, lens drive, release,
This is performed separately and independently from a series of shooting operations such as film winding.

すぐに〈初期化ルーチン>(Sl)を実行する(F−1
)。このルーチンては別表3に示す各種変数の初期化を
行なう。初期化ルーチンが終了すると、次に〈lフレー
ムの受信ルーチン>  (S2)を実行する(F−2)
、このルーチンでは赤外発光ユニット3からのリモコン
信号の1フレームを受信するが、そのために〈リモコン
信号ボート入力ルーチン>(F−3)と、〈カウンタ値
読込みルーチン>(F−4)と、(発光間隔を求めるル
ーチン>(S3)(F−5)とを実行する。
Immediately execute <Initialization routine> (Sl) (F-1
). This routine initializes various variables shown in Attached Table 3. When the initialization routine is completed, the next <I frame reception routine> (S2) is executed (F-2).
In this routine, one frame of the remote control signal from the infrared light emitting unit 3 is received, and for this purpose, <remote control signal boat input routine> (F-3), <counter value reading routine> (F-4), (Routine for determining light emission interval> (S3) (F-5) is executed.

〈リモコン信号ボート入力ルーチン>(F−3)てはC
PU7のリモコン信号入力ボートPIから赤外受光ユニ
ット4からの信号と被写体位置の検出回路6からの位置
信号(PP/MM信号およびMP/PM@号)を読み込
んで変数(cur−port)にセットし、(カウンタ
値読込みルーチン>  (F−4)では64psecご
とに八−ドウエアカウンタ7aのカウント値が1ずつデ
クリメントされる8ビツトカウンタの値を読み込み、〈
発光間隔を求めるルーチン>  (F−5)では赤外受
光ユニット4て受光したリモコン信号時間間隔からどの
キーか押されたかを判別する。
<Remote control signal boat input routine> (F-3)
Read the signal from the infrared light receiving unit 4 and the position signal (PP/MM signal and MP/PM @ number) from the subject position detection circuit 6 from the remote control signal input port PI of PU7 and set it to the variable (cur-port). (Counter value reading routine> In (F-4), the value of the 8-bit counter is decremented by 1 every 64 psec and the value of the 8-bit counter is decremented by 1.
Routine for Determining Light Emission Interval> In (F-5), it is determined which key has been pressed from the time interval of the remote control signal received by the infrared light receiving unit 4.

これらのルーチンか終了してlフレームの受信が終了し
たか否かを判別しくF−6)、終了していれば、次にく
現在位置の検出ルーチン>  (S4)を実行する(F
−7)、このルーチンてはステップ(F−5)で求めら
れた各種変数から被写体の現在位置を求める。
After completing these routines, it is determined whether or not the reception of the 1 frame has been completed (F-6). If it has been completed, the next current position detection routine> (S4) is executed (F-6).
-7), this routine determines the current position of the subject from the various variables determined in step (F-5).

続いて、(LEDボート出カル−チン〉を実行しくF−
8)、変数(1ed−output−data)の内容
なCPU7のLED出力ボートP2に出力してカメラ本
体100の下部に設けられた本体ボウクス102の両側
に設けられた4個のLED8a〜8d(第1図参照)の
いずれかを点灯させる。
Next, execute (LED boat output calculation) and F-
8), the content of the variable (1ed-output-data) is output to the LED output port P2 of the CPU 7 and output to the four LEDs 8a to 8d (No. (See Figure 1).

次に、上記(lフレームの受信ルーチン)および〈発光
間隔を求めるルーチン〉の結果から赤外発光ユニット3
のキーが押されていないか否かを判別しくF−9)、押
されていなければ〈待機ルーチン>  (S5)を実行
する(F−10)、この〈待機ルーチン)ては、キーか
離された後LEDを消灯するとともに、モータMアおよ
びMyの制御用変数を停止に設定して(すなわちモータ
M、およびMYを停止し、速度の変数(cur++ x
 s p e e d )および(car  yspe
ed)を最高速度にする)次にキーか押されるまで待機
する。
Next, from the results of the above (l frame reception routine) and <routine for determining light emission interval>, the infrared light emitting unit 3
Determine whether or not the key is pressed (F-9), and if it is not pressed, execute the <standby routine> (S5) (F-10). After that, the LED is turned off, and the control variables for motors M and My are set to stop (that is, motors M and MY are stopped, and the speed variable (cur++ x
s p e e d ) and (car yspe
ed) to maximum speed) Waits until the next key press.

ステップ(F−9)でキーか押されていると判断された
ときまたはく待機ルーチン〉か終了したときは、追尾キ
ー(KEY5)が押されたか否かを判別しくF−11)
、押されていると判別されたときはく追尾ルーチン> 
 (S6)を実行する(F−12)。
When it is determined that a key has been pressed in step (F-9) or when the standby routine has ended, it is determined whether the tracking key (KEY5) has been pressed or not (F-11).
, tracking routine when it is determined that it is pressed>
(S6) is executed (F-12).

〈追尾ルーチン〉においては、〈現在位置の検出ルーチ
ンンで検出した被写体の現在位置および前の位置からモ
ータM、およびM、の動きを決定し被写体を追尾する。
In the <tracking routine>, the movements of the motors M and M are determined from the current position and previous position of the subject detected in the <current position detection routine, and the subject is tracked.

すなわち、〈待機ルーチン)を実行してLED8a〜8
dを消灯するとともにモータ制御用変数を停止に設定し
くF−13)、続いて〈X軸の動き決定ルーチン〉(F
−14)(S7)および〈Y軸の動き決定ルーチン> 
 (F−15)(S8)を実行する。
In other words, execute the <standby routine) and turn on the LEDs 8a to 8.
d and set the motor control variable to stop (F-13), then execute the <X-axis movement determination routine> (F-13).
-14) (S7) and <Y-axis movement determination routine>
(F-15) Execute (S8).

このルーチンでは、被写体の現在位置とその前の位置と
からカメラをX軸方向およびY軸方向にそれぞれ動かす
モータMxおよびMYの回転方向と速度を決定する。
In this routine, the rotation direction and speed of motors Mx and MY that move the camera in the X-axis direction and Y-axis direction are determined from the current position of the subject and its previous position.

ステップ(F−11)において追尾キー(KEY5)か
押されていないと判断されたときまたはくY軸の動き決
定ルーチン〉が終了したとき、追尾キー(KEY5)を
除く方向キー(KEY1〜9)が押されているか否かが
判別され(F−16)、押されていればモータ制御用変
数を各方向に設定しくF−17) 、押されていなけれ
ばステップ(F−2)にもどって〈lフレームの受信ル
ーチン〉を再び実行する。
When it is determined that the tracking key (KEY5) is not pressed in step (F-11) or when the Y-axis movement determination routine is completed, the direction keys (KEY1 to KEY9) except the tracking key (KEY5) It is determined whether or not is pressed (F-16), and if it is pressed, set the motor control variables in each direction (F-17), and if it is not pressed, return to step (F-2). Execute the <l frame reception routine> again.

第13図は上述したメインプロセスとは別に、10 m
 s e cごとに実行される〈タイマー割込みプロセ
ス〉を示す。タイマー割込みがなされたか否かが判別さ
れ(P−1)、割込みがなされたときはくモータlポー
ト出力ルーチン〉を実行しくP−2)、このルーチンて
モータ81B用の変数(a+otor move)の内
容をCPU7のモータ出カポ−4P、に出力する。タイ
マー割込みかないときはステップ(P−1)にもどる。
Figure 13 shows a 10 m
It shows a <timer interrupt process> that is executed every s e c. It is determined whether or not a timer interrupt has been made (P-1), and when the interrupt has been made, the motor l port output routine is executed (P-2), and this routine sets the variable (a+otor move) for the motor 81B. The contents are output to the motor output capo-4P of the CPU 7. If there is no timer interrupt, return to step (P-1).

次に上述したメインプロセスで実行される各ルーチンを
詳細に説明する。
Next, each routine executed in the above-mentioned main process will be explained in detail.

(初期化ルーチン) このルーチンは別表3に示す各種変数の初期化を行なう
ルーチンで、詳細は別表5に示されている。
(Initialization Routine) This routine initializes various variables shown in Attached Table 3, and the details are shown in Attached Table 5.

モータMxの移動方向を表わす変数(xduty−di
rec)に正転を指示する定数[MV−XP]を代入し
、モータM、の現在速度およびモータMyの現在速度に
最高速度を指示する定数[XDUTY−MAXIおよび
[YDUTY−MAXIを代入する(Sl−1)。
Variable (xduty-di) representing the moving direction of motor Mx
Assign the constant [MV-XP] that instructs normal rotation to the current speed of motor M and the current speed of motor My, and substitute the constants [XDUTY-MAXI and [YDUTY-MAXI] that instruct the maximum speed to the current speed of motor M and the current speed of motor My. Sl-1).

さらに、モータMxおよびMYの速度を徐々に遅くする
ためおよび徐々に速くするためにモータMxの速度制御
用テーブル(xtable) 。
Furthermore, a table (xtable) for controlling the speed of motor Mx in order to gradually slow down and gradually speed up the speed of motors Mx and MY.

(xtable r)およびモータM”tの速度制御用
テーブル(ytable)、(ytable r)の定
数を別表5に示すように設定する(Sl−2)。ここて
、変数(xtable[10])とはデユーティ−比が
100%、(xtable[5])とはデユーティ−比
か50%、(xtable[3])とはデユーティ−比
か30%、(xtable[2] )とはデユーティ−
比が20%、(xtable目1)とはデユーティ−比
が10%の意味である。
(xtable r) and the constants of the speed control table (ytable) and (ytable r) of the motor M"t are set as shown in Attached Table 5 (Sl-2). Here, the variables (xtable[10]) and means that the duty ratio is 100%, (xtable[5]) means that the duty ratio is 50%, (xtable[3]) means that the duty ratio is 30%, and (xtable[2]) means that the duty ratio is 30%.
The ratio is 20%, and (xtable 1) means that the duty ratio is 10%.

その他、赤外発光ユニット3のキーが押されているか否
かを示す変数(1s−key−push)に押されてい
ないことを示す定数[FALSE]を代入しく5l−3
)、1つ前の検出位置を示す変数(old−pos)、
現在の検出位置を示す変数(cur、pos)、ビット
のカウント数を示す変数(biLcnt) 、受信した
データを示す変数(key−result)、前回受信
したデータを示す変数(key−resu It−o 
1d)にそれぞれ0を代入しく5l−4)、現在の受信
データの状態を示す変数(1eve I)に1を代入し
く5l−5)、赤外信号が立下った時刻、赤外信号か確
実に立下っている時間間隔および確実に立上っている時
間間隔をそれぞれを表わす変数(td)、(to)。
In addition, a constant [FALSE] indicating that the key of the infrared light emitting unit 3 is not pressed should be substituted into the variable (1s-key-push) indicating whether the key of the infrared emitting unit 3 is pressed.5l-3
), a variable indicating the previous detection position (old-pos),
Variables indicating the current detection position (cur, pos), variables indicating the bit count (biLcnt), variables indicating the received data (key-result), variables indicating the previously received data (key-result)
Assign 0 to each of 1d), 5l-4), and 1 to the variable (1eve I) that indicates the current state of received data, 5l-5), the time when the infrared signal fell, and whether it is an infrared signal or not. Variables (td) and (to) representing the falling time interval and the definitely rising time interval, respectively.

(tu)、(t+)、(wo)、(wr)にそれぞれ8
ビツト変数の最大値を表わす定数[BYTE−MAXI
を代入する(Sl−6)。
8 each for (tu), (t+), (wo), (wr)
Constant representing the maximum value of the bit variable [BYTE-MAXI
(Sl-6).

また4分割フォトダイオード5dの4つの領域PM、P
P、MM、MPへの赤外光の当り方を判別するための変
数(dir−pp)、(dir−pm)、(dir−m
p)。
In addition, the four regions PM and P of the four-division photodiode 5d
Variables (dir-pp), (dir-pm), (dir-m) for determining how infrared light hits P, MM, and MP
p).

(dir−am)に0を代入する(S 1−7) 。Assign 0 to (dir-am) (S1-7).

さらに、赤外信号がポジティブエツジ時のボートの値を
示す変数(ρLdata)とネガティブエツジ時のボー
トの値を示す変数(pOJata)にOを代入する(S
l−8)。
Furthermore, O is assigned to the variable (ρLdata) that indicates the boat value when the infrared signal has a positive edge and the variable (pOJata) that indicates the boat value when the infrared signal has a negative edge (S
l-8).

(1フレームの受信ルーチン) このルーチンは赤外発光ユニット3から発光される赤外
信号の1フレームを受信するルーチンで、詳細か別表6
に示されている。
(One frame reception routine) This routine receives one frame of the infrared signal emitted from the infrared light emitting unit 3.
is shown.

まず、赤外発光ユニット3のキーか押されたか否かを表
わす変数(1s−key−push)にキーか押されて
いないことを示す定数[FALSE]を代入しくS2−
1)、次に赤外信号か到来しなくなってからの時間を計
測する変数(tiger−no−key)をすセットす
る(S2−2)。この変数は割り込みルーチンて10m
s e cごとに1ずつインクリメントされる。またキ
ーか押されたらリセットされるのて、キーか押されなく
なってからの時間を表わす。
First, assign a constant [FALSE] indicating that no key is pressed to the variable (1s-key-push) that indicates whether or not a key of the infrared emitting unit 3 is pressed.S2-
1) Next, a variable (tiger-no-key) that measures the time since infrared signals cease to arrive is set (S2-2). This variable is 10m in the interrupt routine.
It is incremented by 1 every s e c. It is also reset when a key is pressed, and represents the time since the key was no longer pressed.

次に〈赤外信号ボート入力ルーチン〉を実行する。すな
わちCPU7の赤外信号入力ボートP1の値を変数(p
ort)に代入する(S2−3)。
Next, execute the <infrared signal boat input routine>. That is, the value of the infrared signal input port P1 of the CPU 7 is set as a variable (p
ort) (S2-3).

続いて〈カウンタ値読込みルーチン〉を実行する。すな
わち64BsecごとにデクリメントされるCPU内蔵
のハードウェアカウンタ7aのカウント値を変数(co
unter)に読み込む(S2−4)。
Next, the <counter value reading routine> is executed. In other words, the count value of the CPU built-in hardware counter 7a, which is decremented every 64 Bsec, is expressed as a variable (co
(S2-4).

次いて、赤外発光ユニット3からの赤外信号が“HIG
H”か否かを判別しくS2−5)、HIGH”ならば“
HI GH”から“LOW″になったときのCPU7の
ハートウェアカランタフのカウント値を赤外信号が立下
った時刻を表わす変数(td)に読み込み(S2−6)
、もし赤外信号か“LOW”ならば、“LOW”から“
HIGHHになったときのハードウェアカウンタ7aの
カウント値を赤外信号か立上った時刻を表わす変数(t
u)に読み込む(S2−7)。以上の動作を赤外信号の
受信に対してハードウェアカウンタ7aのカウント値と
ともに例示すると1第14図(イ)のようになる。
Next, the infrared signal from the infrared light emitting unit 3 becomes “HIG”.
S2-5), if it is HIGH, then “
The count value of the hardware carantuff of the CPU 7 when it changes from "HIGH" to "LOW" is read into the variable (td) representing the time when the infrared signal falls (S2-6).
, if the infrared signal is “LOW”, from “LOW” to “
The count value of the hardware counter 7a when it becomes HIGHHH is expressed as a variable (t
u) (S2-7). An example of the above operation along with the count value of the hardware counter 7a for reception of an infrared signal is shown in FIG. 14(a).

次に、赤外信号のレベルか64psecx2=128p
sec以上にわたって“LOW”て(S2−8)且つ赤
外信号か立上ってから128ILsec以上が経過した
ときは(S2−9)、正しい赤外信号か到来したとして
現在の受信状態を表わす変数(level)に“1”を
代入する(S2−10)とともに、赤外信号か立下った
時刻を表わす変数(tl)にステップ(S2−7)て代
入した立上り時刻のデータ(tu)を代入する(S21
1)。こうすることにより赤外信号に混入するノイズを
除去することかできる。さらに、赤外信号の信号間隔を
求めるために、信号間隔を表わす変数(w2)に、赤外
信号か前々回“LOW”となっている時間間隔を表わす
変数(w、)と、前回“HIGHHとなっている時間間
隔を表わす変数(w、)と、前回“LOW”となってい
る時間間隔を表わす(to)−(tl)を代入する(S
2−12)、変数(w、)に、変数(to)から変数(
tl)を引いた時間差(to)−(t、)を代入しく5
2−13)、赤外信号が−HIGH″となっているとき
の赤外信号入力ボートPIの値を表わす変数(PIJa
ta)に赤外信号か立上ったときの赤外信号入力ボート
P1の値を代入して保存する(S2−14)。ステップ
(S2−8)において、赤外信号のレベルか128μs
ec以内にHIGH″となりすなわち変数(level
)か1となり且つ赤外信号か立下ってから128uLs
ec以上か経過したときは(S2−15)変数(lev
el)を0にセットし、変数(冑、)に変数(t□)か
ら変数(td)を引いた時間差(tl)−(td)を代
入し、変数(to)に変数(td)を代入し、赤外信号
“LOW”となっているときの赤外信号入力ボートP、
を表わす変数(POJata)に赤外信号入力ボートP
Iの値を代入する(S2−16)0以上の動作を具体的
に示すと第14図(ロ)のようになる。
Next, the level of the infrared signal is 64 psec x 2 = 128 p
When the infrared signal remains "LOW" for more than sec (S2-8) and more than 128ILsec has passed since the infrared signal rose (S2-9), a variable representing the current reception state is assumed to have arrived as a correct infrared signal. Assign "1" to (level) (S2-10), and substitute the rising time data (tu) that was assigned in step (S2-7) to the variable (tl) representing the time when the infrared signal fell. (S21
1). By doing this, it is possible to remove noise mixed into the infrared signal. Furthermore, in order to find the signal interval of the infrared signal, the variable (w2) representing the signal interval is replaced with a variable (w,) representing the time interval when the infrared signal was "LOW" two times before, and a variable (w,) representing the time interval when the infrared signal was "HIGHH" last time. Assign the variable (w,) representing the time interval in which the current state is
2-12), from the variable (to) to the variable (w,),
Substitute the time difference (to) - (t,) by subtracting tl).5
2-13), a variable (PIJa) representing the value of the infrared signal input port PI when the infrared signal is -HIGH''
The value of the infrared signal input port P1 when the infrared signal rises is substituted into ta) and saved (S2-14). In step (S2-8), the level of the infrared signal is 128 μs.
becomes HIGH'' within ec, that is, the variable (level
) becomes 1 and the infrared signal falls, 128uLs
If ec or more has passed (S2-15), the variable (lev
Set el) to 0, assign the time difference (tl) - (td) obtained by subtracting the variable (td) from the variable (t□) to the variable (冑, ), and assign the variable (td) to the variable (to). and the infrared signal input boat P when the infrared signal is “LOW”,
Infrared signal input boat P to the variable (POJata) representing
A concrete example of the operation of substituting the value of I (S2-16) for 0 or more is shown in FIG. 14 (b).

赤外発光ユニット3のキーか押されているか否かを判別
しくS2−17)、押されていれば後述する〈発光間隔
を求めるルーチン〉て求められた受信中のキーコードを
表わす変数(keyJata)をセットしてメインプロ
セスにもどる(S2−18)、赤外信号が受信されなく
なってからの経過時間を表わす変数(ti■er no
−key)はステップ(S2−2)においてリセットさ
れ、その後〈割込みルーチン〉て10 m s e c
ごとにインクリメントされるので、この〈lフレームの
受信ルーチン)を実行し始めてからの経過時間を示す。
It is determined whether or not the key of the infrared light emitting unit 3 is pressed (S2-17), and if it is pressed, a variable (keyJata ) and return to the main process (S2-18), set a variable (ti Er no
-key) is reset in step (S2-2), and then in the <interrupt routine> 10 msec
Since it is incremented every time, it indicates the elapsed time since the start of execution of this <1 frame reception routine.

そこてこの変数(tii+er no−key)が5以
上か否か(S2−19)すなわちこのルーチンに入って
から50m5ecが経過したか否かを判別し、経過して
いれば前回受信したデータを表わす変数(key−re
sult−old)をクリヤし、受信中のキーコートを
表わす変数(k6y data)にキーが押されないこ
とを表わす定数[KEY  N U L L ]を代入
してクリヤし、さらに変数(key)に定数[KEYN
ULL]を入れてこのルーチンから抜ける(S2−20
)。
Then, it is determined whether this variable (tii+er no-key) is 5 or more (S2-19), that is, whether 50m5ec has elapsed since entering this routine, and if it has elapsed, it represents the data received last time. Variable (key-re
sult-old), clear it by assigning a constant [KEY NUL L] indicating that no key is pressed to the variable (k6y data) representing the key code being received, and then clearing the variable (key). [KEYN
ULL] and exit from this routine (S2-20
).

(発光間隔を求めるルーチン) このルーチンは赤外発光ユニット3から発光される赤外
信号の1フレ一ム分について上述したく1フレームの受
信ルーチン〉で求めた信号間隔を表わす変数(W2)か
ら各信号間の時間間隔すなわち発光間隔が“L″か“H
″かを求めるルーチンで、詳細は別表7に示されている
(Routine to find the light emission interval) This routine uses the variable (W2) representing the signal interval found in the above-mentioned 1 frame reception routine for 1 frame of the infrared signal emitted from the infrared light emitting unit 3. The time interval between each signal, that is, the emission interval is “L” or “H”
This is a routine to find ``, and the details are shown in Attached Table 7.

上述したくlフレームの受信ルーチン〉て求めた信号間
隔を表わす変数(W2)か16以下すなわち16X64
psec=1024.ccsec以下か否かを判別する
(S3−1)、これは、赤外信号の1フレームを構成す
る10ビツトの信号の間隔のうち短かい間隔“L”か1
.5m5ec、長い間隔“H”か2.5m5ecである
ので、この短かい間隔“L”よりさらに短かい1024
psec以下の信号は無視しようとするものであり、w
2<16 (1024ILsec)のときは次回のため
に4分割フォトダイオード5dへの赤外光の当り方を判
別するための変数(dir−pp)、(dir−pm+
)、(dir−mp)、(dir−mm)および赤外信
号のカウント数を表わす変数(bit−cnt)をリセ
ットする(S3−2)次に、信号“L”は理想的には9
12= 23(23X64gsec′−、1500gs
ec)であるか、信号間隔のばらつきを考慮して少し輻
をもたせてW2か16 (16x64=1024pse
c)〜31  (31X64=1984p、5ec)の
範囲に入れば信号間隔は“L”であると判断するものと
して、その判断をする(S3−3)。16≦w2< 3
1であるときは受信したデータを表わす変数(key−
result)に(key−result)×2+Oを
入れる。すなわち結果を示す(key  result
)を1ビツト右にシフトする(S3−4)。
The variable (W2) representing the signal interval determined by the above-mentioned frame reception routine is 16 or less, that is, 16X64.
psec=1024. It is determined whether the interval is less than or equal to ccsec (S3-1).
.. 5m5ec, long interval "H" or 2.5m5ec, so 1024 is even shorter than this short interval "L"
Signals below psec are to be ignored, and w
When 2<16 (1024ILsec), variables (dir-pp), (dir-pm+
), (dir-mp), (dir-mm) and a variable (bit-cnt) representing the count number of the infrared signal (S3-2). Next, the signal "L" should ideally be 9.
12=23(23X64gsec'-, 1500gs
ec) or W2 or 16 (16x64=1024pse) with a little convergence considering the variation in signal intervals
c) to 31 (31×64=1984p, 5ec), it is determined that the signal interval is “L” (S3-3). 16≦w2<3
When it is 1, the variable (key-
Enter (key-result)×2+O in result). In other words, it shows the result (key result
) is shifted one bit to the right (S3-4).

続いて今度は、信号“H”は理想的にはw2=39 (
39X64gsec=2496psec=2500uL
sec)であるが、この場合も信号間隔のばらつきを考
慮して幅をもたせ信号間隔な表わす変数(w2)か31
 (31X64=1984psec)  〜60  (
60x64=38407zsec)の範囲に入れば信号
間隔は“H″であると判断しくS3−5)、さらに赤外
信号のカウント数を表わす変数(tp−cnt)が0.
1.2の場合は“L″のスタート信号であり、8.9の
場合は“L″のストップ信号であるのて、変数(bit
cnt)が3以下か7以上であるか否かを判別しくS3
−6)、もしそうてあれば赤外信号はすべてL”である
筈である。しかし、ステップ(S3−5)て′H″と認
識されたので、ノイズとみなして変数(bit−cnt
) 、(dir−pp) 、(dir−pw+) 。
Next, the signal “H” is ideally w2=39 (
39X64gsec=2496psec=2500uL
sec), but in this case as well, the variable (w2) that represents the signal interval is given a width in consideration of the variation in the signal interval.
(31X64=1984psec) ~60 (
60x64=38407zsec), the signal interval is determined to be "H" (S3-5), and furthermore, the variable (tp-cnt) representing the count number of the infrared signal is 0.
In the case of 1.2, it is a start signal of "L", and in the case of 8.9, it is a stop signal of "L", so the variable (bit
S3 to determine whether cnt) is 3 or less or 7 or more.
-6), if so, all the infrared signals should be "L". However, since they were recognized as "H" in step (S3-5), they are regarded as noise and the variable (bit-cnt
), (dir-pp), (dir-pw+).

(dir−腸p)、(dir−ms)のすべてをクリヤ
する(S3−7)、このとき、受信したデータを表わす
変数(key−result)に(key−resul
t)x 2 + 1を入れる。
All of (dir-p) and (dir-ms) are cleared (S3-7). At this time, (key-result) is set to the variable (key-result) representing the received data.
t) Enter x 2 + 1.

すなわち結果を示す(key−result)を1ビツ
ト右にシフトしてビットOを“H”にする(S3−8)
That is, shift the result (key-result) one bit to the right and set bit O to "H" (S3-8)
.

ステップ(S3−5)で信号間の時間間隔を表わす変数
(tp)がtp≧60と判断されたときは、lフレーム
の終りまたは異常データの場合であるので、変数(bi
Lcnt) 、(dir−pp)、(dir−pm)。
When it is determined in step (S3-5) that the variable (tp) representing the time interval between signals is tp≧60, this is the end of l frame or abnormal data, so the variable (bi
Lcnt), (dir-pp), (dir-pm).

(dir−mp)、(dir @II)のすべてをクリ
ヤする(S3−9)。
(dir-mp) and (dir @II) are all cleared (S3-9).

次に20時の位置信号であるPP/MM信号が“H”で
且つ21時の位置信号であるPP/MM信号か“L″の
場合は(S3−10)、4分割フォトダイオード5dの
領域PPへの赤外光の当り方を表わす変数(dir−p
p)に(dir−pp)+ 1を代入する(S3−11
)。これに対して、20時のPP/MM信号か“L″で
且つ21時のPP/MM信号が“H”の場合は(S3−
12)、変数(’dir−am)に(dir−am)+
 1を代入する(S3−13)、同様に20時のMP/
PM信号が“H”て且つ21時のMP/PM信号が“L
”の場合は(S3−14)、4分割フォトダイオード5
dの領域MPへの赤外光の当り方を表わす変数(dir
 mp)に(dir mp)+ lを代入する(S3−
15)、同様に20時のMP/PM信号か“L″で且つ
21時のMP/PM信号か“H”の場合は(S3−16
)、変数(dir−mp)に(dir−Pa)+ 1を
代入する(S3−17)。
Next, if the 20 o'clock position signal PP/MM signal is "H" and the 21 o'clock position signal PP/MM signal is "L" (S3-10), the area of the 4-division photodiode 5d A variable (dir-p) that represents how infrared light hits PP
Substitute (dir-pp)+1 for p) (S3-11
). On the other hand, if the PP/MM signal at 20 o'clock is "L" and the PP/MM signal at 21 o'clock is "H" (S3-
12), (dir-am) + variable ('dir-am)
Substitute 1 (S3-13), similarly MP/ at 20:00
PM signal is “H” and MP/PM signal at 21:00 is “L”
” (S3-14), the 4-split photodiode 5
A variable (dir
Substitute (dir mp) + l for mp) (S3-
15), Similarly, if the MP/PM signal at 20 o'clock is "L" and the MP/PM signal at 21 o'clock is "H", (S3-16
), and (dir-Pa)+1 is assigned to the variable (dir-mp) (S3-17).

こうして1つの信号間隔について求めると、カウント数
(bit cnt)をカウントアツプしく53−18)
、このカウント数(biLcnt)かlOすなわち1フ
レーム(lOビット)について信号間隔のデータか得ら
れた場合、フレームを2回受信して2回とも信号間隔の
データが同じたった場合のみ正しい赤外信号と認識する
。このため受信した信号間隔のデータを前回受信した信
号間隔のデータを表わす変数(key−result−
old)に保存し、それと今回の信号間隔のデータとを
比較し、同してあれば(S3−19)正しい信号と認識
し、キーが押されたことを示す変数(is−key−p
ush)に定数[TRUE]を代入する(S3−20)
。またキーか押されてからの時間を表わす変数(tig
er−push−key)をリセットする(S3−21
)。さらに後の位置検出のために、位置判別用のカウン
タ(djr J)I))、(dir−pm)、(dir
−mp)、(dir−ms)にそれぞれ(dir−pp
)、(dir−up)、(dir am)を保存する(
S3−22)。
When calculating one signal interval in this way, the count number (bit cnt) can be counted up (53-18)
, if the signal interval data is obtained for this count number (biLcnt) or lO, that is, one frame (lO bit), the infrared signal is correct only if the frame is received twice and the signal interval data is the same both times. I recognize that. Therefore, the received signal interval data is changed to a variable (key-result-) representing the previously received signal interval data.
old) and compares it with the current signal interval data, and if they are the same (S3-19), it is recognized as a correct signal and a variable (is-key-p
Assign constant [TRUE] to ush) (S3-20)
. There is also a variable (tig) that represents the time since the key was pressed.
er-push-key) (S3-21
). For later position detection, position determination counters (djr J) I)), (dir-pm), (dir
-mp) and (dir-ms) respectively.
), (dir-up), (dir am) (
S3-22).

1回前の信号間隔のデータと今回の信号間隔のデータと
か異なった場合には、今回のデータ(key−resu
lt)をti回のデータを表わす変数(key−res
ulLold)に入れ(S3−23)、次のフレームの
ために各種の変数(tp−cnt)、(tp dir−
pp)、(tp−dir p鳳)、(tp−dir m
p)、(tp−dir am)をクリヤする(S3−2
4)。
If the data of the previous signal interval and the data of the current signal interval are different, the current data (key-resu
lt) is a variable (key-res
ulLold) (S3-23), and various variables (tp-cnt) and (tp dir-
pp), (tp-dir p 鳳), (tp-dir m
p), (tp-dir am) is cleared (S3-2
4).

(現在位置の検出ルーチン) このルーチンは被写体の位置を表わす変数(dir−p
p) 、 (d ir−pm) 、 (dir−mp)
 、 (d ir−gg)から被写体の現在の位置を検
出するルーチンであり、詳細は別表8に表わされている
(Current position detection routine) This routine uses a variable (dir-p
p), (dir-pm), (dir-mp)
This routine detects the current position of the subject from , (d ir-gg), and the details are shown in Appendix 8.

まず、被写体の位置を求めるための変数p。First, a variable p is used to find the position of the subject.

(8ビツト)を0に初期化する(S4−1)。(8 bits) is initialized to 0 (S4-1).

次に被写体の位置を保存しておくために、現在の被写体
位置を表わす変数(cur−pos)に入っているデー
タを前回の被写体位置を表わす変数(old−pos)
に代入する(S4−2)。予めある定数[LEVEL]
  (たとえば5)を定めておき、上記〈発光間隔を求
めるルーチン)て求められた被写体位置を表わす変数(
dir−pp)のデータか定数[LEVEL]以上であ
るか否かを判別しくS4−3)、[LEVEL]以上て
あれば4分割フォトダイオード5dの領域PPに赤外光
か当っているとして変数pOの4ビツト目に1”を立て
る(S4−4)、同様に、4分割フォトダイオード5d
の領域PMに赤外光か当フているか否かを被写体位置を
表わす変数(dir−pm)のデータか[LEVEL]
以上であるか否かで判別しくS4−5)、[LEVEL
]以上であれば変数pOノ3とウド目に1nを立てる(
S4−6)、以下同様にして4分割フォトダイオード5
dの領域MPに赤外光が当っているか否かを判別しくS
4−7)、当っていれば変数pOの2ビツト目に1″′
を立て(S4−8)、領域MMに赤外光が当っていれば
変数pOの1ビツト目に“l”を立てる(S4−10)
Next, in order to save the subject position, the data contained in the variable representing the current subject position (cur-pos) is transferred to the variable representing the previous subject position (old-pos).
(S4-2). Pre-existing constant [LEVEL]
(for example, 5), and the variable (
S4-3) to determine whether the data of dir-pp) is greater than or equal to the constant [LEVEL]. If it is greater than or equal to [LEVEL], it is assumed that infrared light is hitting the area PP of the 4-split photodiode 5d, and the variable is changed. Set 1" in the 4th bit of pO (S4-4), and similarly, set the 4-divided photodiode 5d.
Whether infrared light is applied to the area PM is data of a variable (dir-pm) representing the subject position [LEVEL]
S4-5), [LEVEL]
] If it is above, set the variable pO no 3 and 1n for the Udo eyes (
S4-6), and the following four-divided photodiode 5 in the same manner.
To determine whether or not the infrared light is hitting the area MP of d
4-7), if it is correct, the 2nd bit of variable pO is set to 1'''
is set (S4-8), and if the infrared light is hitting the area MM, "l" is set at the 1st bit of the variable pO (S4-10).
.

こうして変数pOの何ビット目に“1″が立っているか
により、別表8に示す16通りの赤外光の位置か判別で
きる(S4−11)が、4分割フォトダイオード5dの
場合は第10図に示す9通りに割り振るものとし、次の
9通りの被写体位置データとして現在位置を表わす変数
(cur−pos)に代入する。
In this way, depending on which bit of the variable pO is set to "1", it is possible to determine the position of the infrared light in 16 ways shown in Appendix 8 (S4-11). The following nine types of subject position data are assigned to a variable (cur-pos) representing the current position.

Po5ZZ 、 Po5MM 、 PosMP 、 P
osMZ 、 PosPM 、 Po51M 、 Po
5PP 。
Po5ZZ, Po5MM, PosMP, P
osMZ, PosPM, Po51M, Po
5PP.

Po5ZP、Po5PZ その後は被写体の現在位置に基づいて配列変数(1ec
Ltable)を参照して(S4−12)その値を後述
する<LED出カル−チン)に渡して、本体ボックス1
02に設けられたLED8a〜8dを点灯させる。
Po5ZP, Po5PZ After that, array variables (1ec
Ltable) (S4-12) and passes the value to <LED output calchin), which will be described later.
The LEDs 8a to 8d provided at 02 are turned on.

(待機ルーチン) このルーチンは赤外発光ユニット3のキーか押されるま
ての間待機するルーチンで、詳細は別表9に表わされて
いる。
(Standby Routine) This routine waits until a key on the infrared light emitting unit 3 is pressed, and the details are shown in Appendix 9.

まずキーか押されて赤外信号が受信されてからの時間が
100m5ec以内てあれば何もせずに復帰し、100
 m s e c以上経過したときは(Sl−5)、追
尾速度を上げるためにモータMxおよびMYの現在の速
度変数(cur xspeed)3よび(cur−ys
peed)に最高速度を指定する定数[XDUTY−M
AX]および[YDUTY−MAXコを入れ、(S5−
2)、モータM、EよびM、の移動方向を表わす変数(
xduty−direc)および(yduty−dir
ec)を0にする(S5−3)、その後LED8a〜8
dを消灯するための定数[LED−OFF]を変数()
ed−output−data)に代入して(S5−4
)<LED出カル−チン)に移る。
First, if the time from when a key is pressed and an infrared signal is received is within 100m5ec, the system returns without doing anything and returns to 100m5ec.
When more than msec has elapsed (Sl-5), the current speed variables (cur xspeed) 3 and (cur-ys) of motors Mx and MY are changed to increase the tracking speed.
peed) is a constant that specifies the maximum speed [XDUTY-M
AX] and [YDUTY-MAX, and (S5-
2), a variable (
xduty-direc) and (yduty-dir
ec) to 0 (S5-3), then LED8a-8
Set the constant [LED-OFF] to turn off d as a variable ()
ed-output-data) and (S5-4
)<LED output calculation).

(追尾ルーチン) このルーチンは、赤外発光ユニット3の追尾キー(KE
Y5)が押されたときに、カメラを被写体の方に向ける
ルーチンて、詳細は別表1Oに示されている。
(Tracking routine) This routine uses the tracking key (KE) of the infrared light emitting unit 3.
Details of the routine for pointing the camera toward the subject when Y5) is pressed are shown in Appendix 1O.

まず、上述したく待機ルーチン〉と後述する〈X軸の動
き決定ルーチン〉およびくY軸の動き決定ルーチン〉を
実行する(S6−1)。
First, the standby routine described above and the X-axis motion determination routine and Y-axis motion determination routine described later are executed (S6-1).

その後、赤外光の光点の位置か4分割フォトダイオード
5d上で受光領域を水平に2分割するX軸の零点を横切
ってから1秒以上経過したか否かを判別しくS6−2)
、経過したときはその経過時間を表わす変数(ti■e
r−xcross)をリセットするとともに(S6−3
)、モータMxの現在の速度に基づいてモータM、のX
軸方向制動用テーブル(xtable−r)を参照して
求めた値を新しいモータMxの新しいX軸方向方向速度
とする(S6−4)。これによりモータMxの速度は次
第に速くなる。モータMYについても同様であり(S6
−5)、モータMYの速度は次第に速くなる。
Thereafter, it is determined whether one second or more has elapsed since the position of the light spot of the infrared light crossed the zero point of the X-axis that horizontally divides the light receiving area into two on the 4-split photodiode 5d (S6-2).
, when the elapsed time has elapsed, a variable (ti■e
r-xcross) and reset (S6-3
), X of motor M, based on the current speed of motor Mx
The value obtained by referring to the axial braking table (xtable-r) is set as the new speed in the X-axis direction of the new motor Mx (S6-4). As a result, the speed of motor Mx gradually increases. The same applies to motor MY (S6
-5), the speed of motor MY gradually increases.

その後、X軸方向制動用テーブル(xtablC)およ
びY軸方向制動用テーブル(ytable)て求めたX
軸方向の速度データおよびY軸方向の速度データをそれ
ぞれデユーティ−比を変えてX軸方向の速度およびY軸
方向の速度を指示する変数(xduty−speed)
および(yduty−speed)に入れる(S6−6
)。
After that, the X value obtained using the X-axis braking table (xtableC) and the Y-axis braking table (ytable)
A variable (xduty-speed) that indicates the speed in the X-axis direction and the speed in the Y-axis direction by changing the duty ratio of the speed data in the axial direction and the speed data in the Y-axis direction, respectively.
and (yduty-speed) (S6-6
).

(X軸の動き決定ルーチン) このルーチンは4分割フォトダイオード5dpにおける
赤外光の光点の現在の位置(cur−pos)と前の位
置(old=pos)とからモータM、を動かす方向と
速度を決定するルーチンであり、詳細は別表11に示さ
れている。
(X-axis movement determination routine) This routine determines the direction in which the motor M is moved from the current position (cur-pos) of the infrared light spot on the 4-division photodiode 5dp and the previous position (old=pos). This is a routine to determine the speed, and the details are shown in Attached Table 11.

まずX軸方向にみると、被写体の位置すなわち4分割フ
ォトダイオード5dにおける赤外光の光点の位置は、正
位置(すなわち領域PMおよびPP)と、零位N(すな
わち領域PMとMMとの境界線上および領域PPとMP
との境界線上)と負位M(すなわち領域MMおよびMP
)とかある。
First, when looking in the X-axis direction, the position of the subject, that is, the position of the light spot of the infrared light on the 4-split photodiode 5d, is between the normal position (i.e., areas PM and PP) and the zero position N (i.e., areas PM and MM). On the border and in areas PP and MP
) and negative M (i.e. areas MM and MP
).

まず、赤外光の光点がX軸上の零位置を通過したか否か
を表わす変数(x−cross)をリセットしくS7−
1)、次にX軸方向の動きの情報のみをとるための処理
を行なう(S7−2)。被写体の前回の位置および現在
の位置を表わす変数(ol+Lpos)および(cur
−pos)のbit2 jll;よびbit3はX軸方
向の位置を示すので、X軸方向の動きを表わす変数(x
p)のbit2およびbit3が被写体の前回位置を、
またbitoおよびbit 1が被写体の現在位置を表
わすことになる。
First, reset the variable (x-cross) that indicates whether the point of infrared light has passed through the zero position on the X-axis.
1), next, processing is performed to obtain only information on movement in the X-axis direction (S7-2). Variables (ol+Lpos) and (cur
-pos) bit2 jll; and bit3 indicate the position in the X-axis direction, so the variable (x
Bit 2 and bit 3 of p) indicate the previous position of the subject,
Furthermore, bit 1 represents the current position of the subject.

そこで、被写体の位置すなわち赤外光の光点の位置かX
軸方向に零位置から正方向へまたは正位置から正方向へ
変ったか否かを判別しくS7−3)、変った場合はモー
タMxの移動方向を表わす変数(xduty−dire
c)にX軸の正方向に動かす定数[MV−XM]を入れ
6 (S7−4)、 これによりモータM、かX軸の正
方向に動き、光点の位置か零位置になるようにカメラの
追尾か行なわれる。以下同様に、光点の位置がX軸方向
に零位置から負方向へまたは負位置から負方向へ変った
ときはモータM、をX軸の負方向に動かすようにしくS
7−5)、光点が零位置に留まっているときは変数(x
dutyJirec)を0にしてモータM、のX軸方向
の動きを停止しくS7−6)、逆に負位置から正位置ま
たは零位置に変ったときは変数(xcross)をセラ
I〜するとともに変数(xduty direc)に定
数[MV−XPIを代入しくS7−7)、−11=−タ
MxをX軸の正方向に動かして光点の位置が零位置にな
るようにカメラを追尾させる。光点の位置がX軸方向に
正位置から負位置または零位置に変った場合は、変数(
xcross)をセットするとともに変数(xduty
、−direc)に定数[MV−XM]を代入しくS7
−8)、モータM、をX軸の負方向に動かして被写体の
位置か零位置になるようにカメラを追尾させる。
Therefore, the position of the subject, that is, the position of the light spot of the infrared light,
It is determined whether the axial direction has changed from the zero position to the positive direction or from the normal position to the positive direction (S7-3). If it has changed, the variable (xduty-direction) representing the moving direction of the motor Mx is
Insert a constant [MV-XM] to move in the positive direction of the X-axis in c) 6 (S7-4), so that the motor M moves in the positive direction of the X-axis so that it is at the light spot position or the zero position. Camera tracking is done. Similarly, when the position of the light spot changes from the zero position to the negative direction in the X-axis direction or from the negative position to the negative direction, the motor M is moved in the negative direction of the X-axis.
7-5), when the light spot remains at the zero position, the variable (x
duty Jirec) to 0 to stop the movement of the motor M in the X-axis direction (S7-6); conversely, when the position changes from a negative position to a positive position or a zero position, set the variable (xcross) to zero and set the variable ( Substituting constant [MV-XPI in S7-7), -11=-ta Mx is moved in the positive direction of the X-axis to track the camera so that the position of the light spot becomes the zero position. When the position of the light spot changes from a positive position to a negative position or zero position in the X-axis direction, the variable (
xcross) and set the variable (xduty
, -direc) and substitute the constant [MV-XM] in S7.
-8) Move the motor M in the negative direction of the X-axis to track the camera so that it is at the subject position or at the zero position.

最後に変数(xcross)がセットされているか否か
を判別しくS7−9)、セットされているときは現在速
度の変数(cur=xspeed)か0てない場合は現
在速度で参照したx tableの値をもってモータM
xの現在の速度を定める(S7−10)。これによりカ
メラの追尾速度は徐々に遅くなり、光点かX軸上の零位
置を横切ってからの時間を計測する変数(time r
−xcorss)をリセットする(S7−11)。
Finally, it is determined whether the variable (xcross) is set or not (S7-9), and if it is set, the current speed variable (cur=xspeed) or if it is not 0, the current speed is used as the referenced x table. Motor M with value
The current speed of x is determined (S7-10). As a result, the tracking speed of the camera gradually slows down, and a variable (timer) that measures the time after the light point crosses the zero position on the
-xcorss) (S7-11).

(Y軸の動き決定ルーチン) このルーチンは上述したくX軸の動き決定ルーチン〉と
同様にしてモータMYを動かす方向と速度を決定するル
ーチンであり、詳細は別表12に示されている。
(Y-Axis Movement Determination Routine) This routine is a routine for determining the direction and speed of moving the motor MY in the same way as the X-axis movement determination routine described above, and details are shown in Appendix 12.

このルーチンはくX軸の動き決定ルーチン〉における「
X軸方向」がY軸方向に変わり、制御の対象となるモー
タかM、でなく y yであるほかはくX軸の動き決定
ルーチン〉と全く同しであるので説明を省略する。たた
し、変数(yp)のbit2およびbit3が被写体の
前回位置を表わし、  bitOおよびbitlが現在
位置を表わすように、ステップ(S8−1)でY軸方向
の動きの情報のみをとるための処理を行っている(S8
−1)。
This routine is "X-axis movement determination routine".
This routine is exactly the same as the X-axis movement determination routine except that the "X-axis direction" is changed to the Y-axis direction and the motor to be controlled is y instead of M, so a description thereof will be omitted. However, bits 2 and 3 of the variable (yp) represent the previous position of the subject, and bits O and bitl represent the current position. Processing is in progress (S8
-1).

(赤外信号ボート入力ルーチン) このルーチンては、CPU7の赤外信号入力ボートP1
に入力する次のようなデータを読み込んて現在のボート
の値を表わす変数(cur−port)にセットする。
(Infrared signal input port input routine) This routine includes the infrared signal input port P1 of the CPU7.
The following data input to the cur-port is read and set to a variable (cur-port) representing the current port value.

bit 7 :  赤外受信ユニット4からの赤外信号 bit 6 :  検出回路6からのPP/MM信号b
it 5 :  検出回路6からのMP/PM信号(L
EDボート出カル−チン) カメラの位置を表示するための変数(Ied−outp
utJata)のbitO〜3についてビットか0のと
き次のようなLEDを点灯する。
Bit 7: Infrared signal from infrared receiving unit 4 Bit 6: PP/MM signal b from detection circuit 6
it 5: MP/PM signal from detection circuit 6 (L
Variable for displaying the camera position (Ied-outp)
When bits 0 to 3 of utJata) are 0, the following LEDs are lit.

bit O:  被写体から見て右上のLEDbit 
1 :  被写体から見て右下のLEDbit 2 :
  被写体から見て左下のLEDbit 3 :  被
写体から見て左上のLED(モータボート出カルーチン
) モータMxおよびMYに対する回転方向と速度の指示を
モータ出力ボートPユに出力するルーチンて、モータ出
力ボートP、lの各ビットへの出力に応じて次のような
モータ制御か行われる。
bit O: Upper right LED bit when viewed from the subject
1: LED bit on the lower right when viewed from the subject 2:
LED bit 3 on the lower left when viewed from the subject: LED on the upper left when viewed from the subject (motor boat output routine) A routine that outputs rotation direction and speed instructions for the motors Mx and MY to the motor output boat P, The following motor control is performed depending on the output to each bit of l.

(以下余白) bit3 bit2 bitl bit0 モータMx停止 (MV−XZ) モータMx正転 (MV−XP) モータM、逆転 (MV−XM) モータMY停止 (MV−YZ) モータMY正転 (MV−YP) モータMY逆転 (MV−YM) たたし、モータM、正転とはカメラを上から見たとき時
計方向回り、モータMy正転とはカメラが上を向く動き
である。
(Leaving space below) bit3 bit2 bitl bit0 Motor Mx stop (MV-XZ) Motor Mx forward rotation (MV-XP) Motor M, reverse rotation (MV-XM) Motor MY stop (MV-YZ) Motor MY forward rotation (MV-YP) ) Motor MY reverse rotation (MV-YM) Motor M, forward rotation means clockwise rotation when looking at the camera from above, and motor My forward rotation means the camera faces upward.

(カウンタ値読込みルーチン) このルーチンは、64Bsecごとにデクリメントされ
る8ビツトの八−トウエアカウンタのカウント値を変数
(cur−counter)にセットするルーチンで、
カウント値は0の次は255になる。
(Counter value reading routine) This routine sets the count value of an 8-bit eight-way counter that is decremented every 64 Bsec to a variable (cur-counter).
The count value becomes 255 after 0.

(割り込みルーチン) このルーチンはタイマー割込みによって10m 、s 
e cごとに実行される。
(Interrupt routine) This routine interrupts 10m, s by timer interrupt.
Executed every e c.

このルーチンては、別表13に示すように次の変数をB
YTE−MAXを越えない限りlづつ増やすことにより
次のような時間を計測することかできる。
This routine sets the following variables to B as shown in Appendix 13.
The following time can be measured by increasing by l as long as YTE-MAX is not exceeded.

tiger−no−key  :  赤外信号か到来し
なくなってからの時間(S9 tiIIer−push−key  :赤外信号が到来
してから の時間(S9−2) tiger−x cross   : 被写体の位置かX軸の中 心(f点)を通過してか らの時間(S9−3) tiger−y cross   : 被写体の位置がY軸の中 心(ff点)を通過してか らの時間(S9−4) また変数(xduty−count) 、 (xdut
、y−speed)によってモータの通電時間のデユー
ティ−比を変えることにより水平方向モータMxの速度
制御をしている。
tiger-no-key: Time since infrared signal no longer arrives (S9 tiIIer-push-key: Time since infrared signal arrives (S9-2) tiger-x cross: Subject position Time since passing the center of the axis (point f) (S9-3) tiger-y cross: Time since the position of the subject has passed the center of the Y-axis (point ff) (S9-4) Also a variable (xduty-count), (xdut
, y-speed), the speed of the horizontal motor Mx is controlled by changing the duty ratio of the energization time of the motor.

ここで変数(xduty−count)はく割り込みル
ーチン)か呼ばれるたびに1づつ減らされる(S9−5
)。変数(xduty−count)の初期値をKとす
ると、(xduty、−coun t)か0から(xd
uty、5peed−1)の間はモータを回しく S 
9−7 ) 、 (xduty 5peed)からKの
間はモータMxを止める(S9−6)ことによりモータ
Mxのデユーティ−比が変えられる。また変数(xdu
ty−count)か0ならば、その後の動きに備えて
デユーティ−比を最大とする定数[XDUTY−MAX
]を入れ、モータM x 、 M yを停止する(S9
−8)。
Here, the variable (xduty-count) is decremented by 1 each time the interrupt routine is called (S9-5
). If the initial value of the variable (xduty-count) is K, then (xduty, -count) or 0 to (xd
Please keep the motor running during Uty, 5peed-1).
9-7), The duty ratio of the motor Mx is changed by stopping the motor Mx from (xduty 5peed) to K (S9-6). Also, the variable (xdu
ty-count) or 0, a constant [XDUTY-MAX
] and stop the motors M x and M y (S9
-8).

また垂直方向のモータMYも同様にして変数(xdut
y−count) 、 (yduty−speed)に
よってコントロールされる。
Similarly, the vertical motor MY has a variable (xdut
y-count), (yduty-speed).

ここて実際のモータの回転制御は上述したくモータボー
ト出カルーチン〉で説明したように、変数(■otor
 move)に次の定数MV−XP:モータMxの正転 MV−XZ : モー9MX(7)停止MV−XM: 
モータMxの逆転 のうちいずれかと、次の定数 MV−YP : モ 9MY(7)正転M V −Y 
Z : (=  9 My I)停止MV−YM:モー
タMyの逆転 のうちいずれかとの論理和を代入し、〈モータボート出
カルーチン)の実行をすることにより行われる。
The actual rotation control of the motor is performed using the variable (■otor
(move), the following constant MV-XP: Normal rotation of motor Mx MV-XZ: Motor 9MX (7) stop MV-XM:
One of the reverse rotations of motor Mx and the following constant MV-YP: 9MY (7) Normal rotation MV-Y
Z: (=9 My I) Stop MV-YM: Performed by substituting the logical sum with either of the reverse rotations of motor My and executing the <motor boat output routine.

以上本発明を一実施例について説明したが、本発明にお
いて被写体位置検出ユニット5を構成する多分割位置検
出素子は4分割フォトダイオードに限らず少なくとも2
分割以上の光電変換素子であればよい。また差動増幅す
べき2つの被写体位置信号は対角線上にある2つの領域
からの出力に限らず、素子を構成する複数の分割領域の
うち互いに線接触しない2つの領域からの位置信号であ
ってもよい。
The present invention has been described above with reference to one embodiment. However, in the present invention, the multi-segment position detection element constituting the subject position detection unit 5 is not limited to a four-segment photodiode, but at least two
Any photoelectric conversion element with more than one division is sufficient. Furthermore, the two subject position signals to be differentially amplified are not limited to outputs from two diagonal areas, but may also be position signals from two areas that are not in line contact with each other among a plurality of divided areas that make up the element. Good too.

また、被写体からカメラに向けて発する信号は赤外光に
限らず、音波、電波などが利用できる。
Furthermore, the signal emitted from the subject to the camera is not limited to infrared light, but can also use sound waves, radio waves, etc.

追尾型カメラとしては、上記実施例に示したように、カ
メラ本体を上下に揺動させるとともに水平面内で左右に
回動てきて被写体のあらゆる方向への動きに追従できる
ものか好ましいか、本発明は水平面内て左右に回動でき
るものだけでもよいことはもちろんである。
As a tracking camera, as shown in the above embodiments, is it preferable to have a camera body that can swing up and down and rotate left and right in a horizontal plane to follow the movement of the subject in all directions? Needless to say, it is sufficient to have only one that can be rotated from side to side within a horizontal plane.

また上記実施例では、カメラ本体の追尾機構をカメラの
一部として構成したか、本発明はこれに限らずカメラを
固定する雲台装置の内部に追尾機構を組込んでもよい、
このようにすれば通常のカメラを雲台装置に取付けるだ
けで追尾型カメラを実現することかできる。
Further, in the above embodiments, the tracking mechanism of the camera body is configured as a part of the camera, but the present invention is not limited to this, and the tracking mechanism may be incorporated inside the pan head device that fixes the camera.
In this way, a tracking type camera can be realized simply by attaching a normal camera to a pan head device.

(発明の効果) 以上説明したように1本発明は少なくとも水平面内でカ
メラ本体を左右に回動させて被写体を追尾するカメラに
おいて、被写体から発せられる信号を受けて被写体の位
置を検出し5検出した被写体の位置がカメラの撮影画面
の中心位置にくるようにカメラ本体の回動方向と回動速
度とを制御するように構成したので、高度な画像認識技
術を用いずに簡潔な回路構成て被写体の動きに迅速かつ
正確に追従てきる追尾型カメラか実現できる。特に、被
写体の位置が撮影画面の中心を横切ったときにカメラ本
体の回動方向を逆転させ且つ回動速度を低減することに
よりカメラ本体を迅速に精度よく被写体方向に向けるこ
とかてきる。また、被写体の位置か撮影画面の中心を横
切ったときカメラ本体の回動方向を逆転させればやがて
被写体の位置か再び撮影画面の中心を横切る筈であるが
、カメラの追尾機構にバラツキかあったり2被写体(た
とえば子供)が勝手に動いたりした場合は一定時間経過
しても被写体の位置か撮影画面の中心を横切らない場合
があるので、このような場合は回動速度すなわち追尾速
度を徐々に増すことによって行き過ぎることなく被写体
に合せていくことができ、迅速な追尾か可能になる。
(Effects of the Invention) As explained above, the present invention detects the position of the subject in response to a signal emitted from the subject in a camera that tracks a subject by rotating the camera body left and right within at least a horizontal plane. The camera body is configured to control the rotation direction and rotation speed so that the position of the subject is at the center of the camera's shooting screen, so it is possible to use a simple circuit configuration without using advanced image recognition technology. It is possible to create a tracking camera that can quickly and accurately follow the movement of a subject. In particular, by reversing the direction of rotation of the camera body and reducing the rotation speed when the position of the subject crosses the center of the photographic screen, the camera body can be quickly and precisely directed toward the subject. Also, if the direction of rotation of the camera body is reversed when the subject's position crosses the center of the shooting screen, the subject's position should eventually cross the center of the shooting screen again, but there may be variations in the tracking mechanism of the camera. 2 If the subject (for example, a child) moves on its own, the subject's position may not cross the center of the shooting screen even after a certain period of time has passed. By increasing the distance, it is possible to focus on the subject without going too far, and quick tracking becomes possible.

【図面の簡単な説明】[Brief explanation of drawings]

第1図は本発明による追尾型カメラを使用状態で示す斜
視図、第2図は本発明で用いる赤外発光ユニットの赤外
発光回路の一例、第3図は赤外発光ユニットのキーごと
に異なる赤外信号パターンを示す図、第4図は本発明に
よる追尾型カメラの追尾回路の一例、第5図は被写体位
置検出ユニットの内部構造を示す断面図、第6図は被写
体位置検出ユニットの4分割フォトダイオードの受光領
域の一例、第7図は検出回路の一実施例のブロック&!
図、第8図は87図に示した検出回路の詳細な回路構成
の一例、第9図は本発明による追尾型カメラの雲台装置
にに組込まれた駆動機構を部分的に破断して示す斜視図
、第10図(イ)は4分割ダイオード上の赤外光の光点
の位置を示し、(ロ)は光点に対応した位置信号の波形
図、第11図(イ)および(ロ)は赤外光の光点が4分
割フォトダイオード上の異なる領域に当ったときの検出
回路各部における位置信号の波形図、第12図は本発明
による追尾型カメラの動作のメインプロセスを示すフロ
ーチャート、第13図は追尾型カメラにおけるタイマー
割込みプロセスを示すフローチャート、第14図(イ)
および(ロ)は、本発明の1フレーム受信ルーチンの実
際の動作における各変数のデータを表わす図である。 l・・・追尾型カメラ、2・・・三脚、3・・・赤外発
光ユニット、4・・・赤外受光ユニット、5・・・被写
体位置検出ユニット、6・・・検出回路、7・−CP 
U 。 7a・・・ハードウェアカウンタ、8・・・被写体位置
表示ユニット、100・・・カメラ本体、110−・・
雲台装置
FIG. 1 is a perspective view showing the tracking camera according to the present invention in use, FIG. 2 is an example of an infrared light emitting circuit of an infrared light emitting unit used in the present invention, and FIG. 3 is a diagram showing each key of the infrared light emitting unit. Diagrams showing different infrared signal patterns, FIG. 4 is an example of the tracking circuit of the tracking camera according to the present invention, FIG. 5 is a sectional view showing the internal structure of the subject position detection unit, and FIG. 6 is a diagram showing the internal structure of the subject position detection unit. An example of the light-receiving area of a 4-division photodiode, FIG. 7 is a block &! of an embodiment of the detection circuit.
8 is an example of a detailed circuit configuration of the detection circuit shown in FIG. 87, and FIG. 9 is a partially cutaway view of the drive mechanism incorporated in the pan head device of the tracking camera according to the present invention. The perspective view, Fig. 10 (a) shows the position of the infrared light spot on the four-split diode, and (b) shows the waveform diagram of the position signal corresponding to the light spot, Figs. 11 (a) and (b). ) is a waveform diagram of the position signal in each part of the detection circuit when a light spot of infrared light hits different areas on the 4-split photodiode, and Figure 12 is a flowchart showing the main process of operation of the tracking camera according to the present invention. , Fig. 13 is a flowchart showing the timer interrupt process in a tracking camera, Fig. 14 (a)
and (b) are diagrams showing data of each variable in the actual operation of the one-frame reception routine of the present invention. l... Tracking camera, 2... Tripod, 3... Infrared light emitting unit, 4... Infrared light receiving unit, 5... Subject position detection unit, 6... Detection circuit, 7... -CP
U. 7a...Hardware counter, 8...Subject position display unit, 100...Camera body, 110-...
Panhead device

Claims (3)

【特許請求の範囲】[Claims] (1)被写体から発せられる信号を受けると被写体の位
置に対応した位置信号を出力する位置信号出力手段と、
前記位置信号に基づいて被写体の位置を検出する位置検
出手段と、カメラ本体を少なくとも水平面内で回動する
回動機構と、前記位置検出手段で検出した被写体の位置
が撮影画面の中心にくるように、前記回動機構によるカ
メラ本体の回動動作を制御する制御手段とを有すること
を特徴とする追尾型カメラ。
(1) position signal output means for outputting a position signal corresponding to the position of the subject upon receiving a signal emitted from the subject;
a position detection means for detecting the position of the subject based on the position signal; a rotation mechanism for rotating the camera body at least within a horizontal plane; A tracking camera characterized in that it has a control means for controlling the rotation operation of the camera body by the rotation mechanism.
(2)前記制御手段は、被写体の位置が撮影画面の中心
を横切ったときにカメラ本体の回動方向を逆転させ且つ
回動速度を低減する請求項1に記載の追尾型カメラ。
(2) The tracking camera according to claim 1, wherein the control means reverses the direction of rotation of the camera body and reduces the rotation speed when the position of the subject crosses the center of the photographic screen.
(3)前記制御手段は、カメラ本体の回動方向を逆転し
た後所定時間以内に被写体の位置が撮影画面の中心を横
切らないときは回動速度を時間とともに請求項2に記載
の追尾型カメラ。
(3) When the position of the subject does not cross the center of the photographic screen within a predetermined time after reversing the rotational direction of the camera body, the control means adjusts the rotational speed and time of the tracking type camera according to claim 2. .
JP27474890A 1990-10-12 1990-10-12 Tracking camera Expired - Lifetime JP2866183B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP27474890A JP2866183B2 (en) 1990-10-12 1990-10-12 Tracking camera

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP27474890A JP2866183B2 (en) 1990-10-12 1990-10-12 Tracking camera

Publications (2)

Publication Number Publication Date
JPH04149532A true JPH04149532A (en) 1992-05-22
JP2866183B2 JP2866183B2 (en) 1999-03-08

Family

ID=17546040

Family Applications (1)

Application Number Title Priority Date Filing Date
JP27474890A Expired - Lifetime JP2866183B2 (en) 1990-10-12 1990-10-12 Tracking camera

Country Status (1)

Country Link
JP (1) JP2866183B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5557443A (en) * 1993-12-09 1996-09-17 Matsushita Electric Industrial Co., Ltd. Optical communication method and optical remote controller
CN112804487A (en) * 2020-12-30 2021-05-14 济南和普威视光电技术有限公司 Double-path video target tracking method and system

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7203305B2 (en) 2017-11-08 2023-01-13 パナソニックIpマネジメント株式会社 Imaging system, imaging method, and program

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5557443A (en) * 1993-12-09 1996-09-17 Matsushita Electric Industrial Co., Ltd. Optical communication method and optical remote controller
CN112804487A (en) * 2020-12-30 2021-05-14 济南和普威视光电技术有限公司 Double-path video target tracking method and system

Also Published As

Publication number Publication date
JP2866183B2 (en) 1999-03-08

Similar Documents

Publication Publication Date Title
EP2793080B1 (en) Automatic-focus projection system
JP2797830B2 (en) Object Tracking Method for Video Camera
JPH05257527A (en) Detection of position and direction of unmanned vehicle
JPH027A (en) Range-finding device for camera
TWI271211B (en) Optical remote controller pointing the place to reach
JPS6360401B2 (en)
JPH04149532A (en) Tracing type camera
US4977457A (en) Autofocus device for determining an in-focus and real in-focus state
JPH04148806A (en) Apparatus for detecting object position for camera
JPH04148804A (en) Signal-position detecting apparatus
JPH04148807A (en) Apparatus for detecting position of optical signal
JPH04148805A (en) Signal-position detecting apparatus
JPS63214726A (en) Automatic focusing camera
JPS60143068A (en) Automatic focus matching device
JPS61124912A (en) Focus detecting circuit
JPS60249112A (en) Distance detector for camera
JPH04335623A (en) Camera
JPH04254142A (en) Electric apparatus with distance sensor
JP2881817B2 (en) Subject tracking device
JP2002372479A (en) Method and apparatus for light confrontation of light receiving part in headlight tester
JPH0756556B2 (en) Light receiving device for automatic camera platform
JPS60171471A (en) Course detection apparatus of laser guidance system
JPS60121408A (en) Distance measuring device
JPH0886739A (en) Particle detector and air-conditioner using same
JPS63271240A (en) Focus detector