JPH0949733A - Method and apparatus for detecting angle - Google Patents

Method and apparatus for detecting angle

Info

Publication number
JPH0949733A
JPH0949733A JP20370195A JP20370195A JPH0949733A JP H0949733 A JPH0949733 A JP H0949733A JP 20370195 A JP20370195 A JP 20370195A JP 20370195 A JP20370195 A JP 20370195A JP H0949733 A JPH0949733 A JP H0949733A
Authority
JP
Japan
Prior art keywords
angle
remote control
signal
control signal
sample
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
JP20370195A
Other languages
Japanese (ja)
Other versions
JP3659701B2 (en
Inventor
Kenichiro Tanaka
顕一郎 田中
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric Corp
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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP20370195A priority Critical patent/JP3659701B2/en
Publication of JPH0949733A publication Critical patent/JPH0949733A/en
Application granted granted Critical
Publication of JP3659701B2 publication Critical patent/JP3659701B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Selective Calling Equipment (AREA)

Abstract

PROBLEM TO BE SOLVED: To correctly detect a coming angle of a light from a remote controller by correcting the coming angle of the light when a control signal is in a second state by means of a value stored in an angle memory means when the control signal is in a first state. SOLUTION: The apparatus is provided with an angle detector 2 for obtaining a pair of electric signal outputs corresponding to a detecting angle of a light signal from a remote controller 1, sample hold circuits 8, 9 for holding sample values to the pair of outputs, an angle calculation means 11 for operating an arrival angle of the light from the sample values, an adjustment mode-switching means 42 for outputting a control signal in accordance with two states selected by a user, and an angle memory circuit 43 to which the control signal and sample hold values are input for storing the arrival angle obtained at the calculation means 11 only when the control signal is in a first state. The arrival angle of the light obtained by the calculation means 11 when the control signal is in a second state is corrected by a stored value in the memory circuit 43, so that the arrival angle is calculated more correctly.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明の属する技術分野】この発明は、テレビジョン受
像機、ゲーム機、ラジオ等の音響機器、スピーカシステ
ム、回転台付きカメラ、風向を変えるルームクーラ等、
ワイヤレスリモコン信号を受信し、ワイヤレスリモコン
の方向を自動的に検出し、本体または本体の一部をリモ
コンの方向に向けたり、スピーカーの音量を制御する用
途に使用される角度検出方法及び角度検出装置に関する
ものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a television receiver, a game machine, an audio device such as a radio, a speaker system, a camera with a turntable, a room cooler for changing the wind direction, and the like.
An angle detection method and an angle detection device used for receiving a wireless remote control signal, automatically detecting the direction of the wireless remote control, orienting the main body or a part of the main body toward the remote control, and controlling the volume of a speaker. It is about.

【0002】[0002]

【従来の技術】図13はテレビジョン受像機に応用した
角度検出装置の回路構成を示すもので、1はユーザーが
赤外線リモートコントロール信号を送信するリモコン、
2はリモコン1からの信号を受信し、リモコン光の受光
角度によって2つの電圧を出力する角度検出器である。
角度検出器2は、レンズ3とPSD(position
Sensitive Device)4と、電流/電圧
変換回路5、6からなっており、レンズ3によって集光
されたリモコン光がPSD4上の半導体素子に入射し、
その入射位置によって半導体両端に取り付けられた電極
より一対の電流を出力し、それぞれ電流/電圧変換回路
5、6によって電圧に変換し、出力端子17、18より
一対の電圧を出力する。
2. Description of the Related Art FIG. 13 shows a circuit configuration of an angle detecting device applied to a television receiver. Reference numeral 1 is a remote controller for transmitting an infrared remote control signal by a user,
Reference numeral 2 is an angle detector that receives a signal from the remote controller 1 and outputs two voltages depending on the light receiving angle of the remote controller light.
The angle detector 2 includes a lens 3 and a PSD (position).
Sensitive Device 4 and current / voltage conversion circuits 5 and 6, and the remote control light collected by the lens 3 is incident on the semiconductor element on the PSD 4.
Depending on the incident position, a pair of currents are output from the electrodes attached to both ends of the semiconductor, converted into voltages by the current / voltage conversion circuits 5 and 6, respectively, and a pair of voltages are output from the output terminals 17 and 18.

【0003】これら一対の電圧は、角度演算手段7に入
力され、一定の処理が施され、リモコン光到来方向θを
出力する。以下、角度演算手段7の詳細について説明す
る。上記一対の電圧はサンプルホールド回路8、9でサ
ンプルホールドされ、ともにマイクロコンピュータ10
内の角度算出手段11に入力される。上記サンプルホー
ルド回路8、9の出力は、角度算出手段11内の切り換
えスイッチ機能を司るアナログマルチプレクサ12に入
力される。アナログマルチプレクサ12の出力は、アナ
ログ/ディジタル変換回路13にてディジタル信号に変
換され、入力回路14を通じてCPU15に入力され
る。CPU15は、メモリ16内に格納されているプロ
グラムおよびデータにより次式(1)に従ってリモコン
光の到来方向角θを演算する。 θ=K・(V1 −V2 )/(V1 +V2 ) ・・・(1) ただし、K :定数 V1 :角度検出器2の出力端17の電圧値 V2 :角度検出器2の出力端18の電圧値
The pair of voltages are input to the angle calculation means 7, are subjected to a certain process, and output the remote control light arrival direction θ. Hereinafter, the details of the angle calculation means 7 will be described. The pair of voltages are sampled and held by the sample and hold circuits 8 and 9, and both are held by the microcomputer 10.
It is input to the angle calculation means 11 inside. The outputs of the sample and hold circuits 8 and 9 are input to the analog multiplexer 12 in the angle calculation means 11, which controls the changeover switch function. The output of the analog multiplexer 12 is converted into a digital signal by the analog / digital conversion circuit 13 and input to the CPU 15 through the input circuit 14. The CPU 15 calculates the arrival direction angle θ of the remote control light according to the following equation (1) based on the program and data stored in the memory 16. θ = K · (V 1 −V 2 ) / (V 1 + V 2 ) ... (1) where K: constant V 1 : voltage value of output terminal 17 of angle detector 2 V 2 : angle detector 2 Voltage value of output terminal 18

【0004】さらに、この従来例は、上記のように求め
たリモコン光の到来方向角θを用いて、テレビジョン受
像機に取り付けた回転台をモーターによって回転させ、
リモコン光到来方向に自動的に受像機を向けるものであ
り、以下のように構成される。CPU15は、演算され
た到来方向角θを零とすべく、メモリ16内の格納デー
タと照合してこの方向角θを減少させる方向に向け、方
向角θに相当する制御信号を生成し、出力回路19を通
じて左右駆動制御回路20へ出力する。左右駆動制御回
路20は、モーターMを正転または逆転方向に回転駆動
する。モーターMに取り付けられた角度センサー21か
らの信号が入力回路14を通じてCPU15へ入力され
る。CPU15は角度センサー21の信号をチェックし
て、その検出信号がθに一致すると、その位置でモータ
ーMを停止させる。
Further, in this conventional example, the rotary table attached to the television receiver is rotated by a motor by using the arrival direction angle θ of the remote control light obtained as described above.
The remote control automatically directs the receiver in the direction of light arrival, and is configured as follows. The CPU 15 collates with the data stored in the memory 16 in order to make the calculated arrival direction angle θ zero, and generates a control signal corresponding to the direction angle θ in the direction of decreasing this direction angle θ, and outputs it. It outputs to the left-right drive control circuit 20 through the circuit 19. The left-right drive control circuit 20 rotationally drives the motor M in the forward or reverse direction. A signal from the angle sensor 21 attached to the motor M is input to the CPU 15 through the input circuit 14. The CPU 15 checks the signal from the angle sensor 21, and when the detected signal matches θ, stops the motor M at that position.

【0005】[0005]

【発明が解決しようとする課題】従来の角度検出装置は
以上のような構成のため、角度検出器の幾何学的ずれに
よる誤差を補正する手段がなく、また外光ノイズの影響
を除去する機能がなく、増幅率の切り換えがなく、リモ
コンが被制御装置本体に近い場合、信号が飽和してしま
い、リモコンが被制御装置本体から遠い場合、S/Nが
劣化するため、算出角度の誤差が大きいという問題があ
った。
Since the conventional angle detecting device is constructed as described above, there is no means for correcting an error due to the geometrical deviation of the angle detector, and a function for eliminating the influence of external light noise. If the remote control is close to the controlled device body, the signal will be saturated, and if the remote control is distant from the controlled device body, the S / N will deteriorate, resulting in an error in the calculated angle. There was a big problem.

【0006】この発明は上記のような問題点を解消する
ためになされたもので、レンズなどの位置検出素子に対
する周辺光学系のずれを補正し、外光ノイズの影響を有
効に除去し、またリモコンと被制御装置本体との距離に
関係なく最適な信号ゲインを自動的に得ることによっ
て、誤差の少ない角度検出ができる角度検出方法及び角
度検出装置を得ることを目的としている。
The present invention has been made to solve the above-mentioned problems, and corrects the deviation of the peripheral optical system with respect to the position detecting element such as a lens, effectively removes the influence of external light noise, and An object of the present invention is to obtain an angle detection method and an angle detection device capable of detecting an angle with a small error by automatically obtaining an optimum signal gain regardless of the distance between the remote controller and the controlled device main body.

【0007】[0007]

【課題を解決するための手段】この発明に係る角度検出
方法は、リモコンからの光信号を受光し、リモコン光の
受光角度に応じた1対の電気信号出力を得るステップ
と、上記1対の電気信号出力に対してサンプル値をホー
ルドし、このサンプル値よりリモコン光の到来角を演算
するステップと、ユーザーが選択する2つの状態に応じ
て制御信号を出力するステップと、上記制御信号が第1
の状態のときのみ上記リモコン光の到来角を記憶させる
ステップと、上記制御信号が第2の状態のときに上記角
度算出手段から得られたリモコン光の到来角を、上記角
度記憶手段に記憶された値により補正してより正確なリ
モコン光到来角を算出するステップとを有している。
An angle detecting method according to the present invention includes a step of receiving an optical signal from a remote controller and obtaining a pair of electric signal outputs corresponding to a light receiving angle of the remote controller light; A step of holding a sample value with respect to the electric signal output and calculating the arrival angle of the remote control light from the sample value, a step of outputting a control signal according to two states selected by the user, and the control signal 1
The step of storing the arrival angle of the remote control light only in the above state, and the arrival angle of the remote control light obtained from the angle calculation means in the second state of the control signal is stored in the angle storage means. And a more accurate remote control light arrival angle is calculated.

【0008】また、この発明に係る角度検出装置は、リ
モコンからの光信号を受光し、リモコン光の受光角度に
応じた1対の電気信号出力を得る角度検出手段、この角
度検出手段の1対の電気信号出力に対してサンプル値を
ホールドするサンプルホールド手段、上記サンプル値よ
りリモコン光の到来角を演算する角度算出手段、ユーザ
ーが2つの状態を選択でき、その状態に応じて制御信号
を出力する調整モード切り換え手段、及び上記制御信号
と上記サンプルホールド値を入力し上記制御信号が第1
の状態のときのみ上記角度算出手段で得られたリモコン
光の到来角を記憶する角度記憶手段を備え、上記制御信
号が第2の状態のときに上記角度算出手段から得られた
リモコン光の到来角を上記角度記憶手段に記憶された値
により補正してより正確なリモコン光到来角を算出する
ようにしたものである。
Further, the angle detecting device according to the present invention receives an optical signal from the remote controller and obtains a pair of electric signal outputs according to the receiving angle of the remote controller light, and a pair of the angle detecting means. Sample hold means for holding the sample value with respect to the electric signal output, angle calculating means for calculating the arrival angle of the remote control light from the sample value, the user can select two states, and the control signal is output according to the states. Adjusting mode switching means for inputting the control signal and the sample and hold value, and the control signal is the first
When the control signal is in the second state, the remote control light obtained from the angle calculation means arrives when the control signal is in the second state. The angle is corrected by the value stored in the angle storage means to calculate a more accurate remote control light arrival angle.

【0009】また、リモコンからの光信号を受光し、リ
モコン光の受光角度に応じた1対の電気信号出力を得る
角度検出手段、この角度検出手段の1対の電気信号出力
を切り換える入力切り換え手段、この入力切り換えによ
り得られる電気信号出力に対してサンプル値をホールド
するサンプルホールド手段、上記サンプル値よりリモコ
ン光の到来角を演算する角度算出手段、ユーザーが2つ
の状態を選択でき、その状態に応じて制御信号を出力す
る調整モード切り換え手段、及び上記制御信号と上記サ
ンプルホールド値を入力し上記制御信号が第1の状態の
ときのみ上記角度算出手段で得られたリモコン光の到来
角を記憶する角度記憶手段を備え、上記制御信号が第2
の状態のときに上記角度算出手段から得られたリモコン
光の到来角を上記角度記憶手段に記憶された値により補
正してより正確なリモコン光到来角を算出するようにし
ている。
Further, an angle detecting means for receiving an optical signal from the remote controller and obtaining a pair of electric signal outputs according to a light receiving angle of the remote controller light, and an input switching means for switching a pair of electric signal outputs of the angle detecting means. , Sample holding means for holding a sample value for the electric signal output obtained by this input switching, angle calculating means for calculating the arrival angle of the remote control light from the sample value, the user can select one of two states, and An adjustment mode switching means for outputting a control signal in response to the control signal, and the arrival angle of the remote control light obtained by the angle calculation means only when the control signal and the sample hold value are input and the control signal is in the first state. Angle control means for controlling the second control signal.
In this state, the arrival angle of the remote control light obtained from the angle calculation means is corrected by the value stored in the angle storage means to calculate a more accurate remote control light arrival angle.

【0010】また、角度算出手段は、リモコン光受光部
により受信されたリモコン信号を受け、リモコン信号の
信号部分とその直後の無信号部分にサンプルホールド制
御信号をサンプルホールド手段に対して出力するととも
に、サンプルホールド手段から得られたサンプル値より
信号部と無信号部のサンプル値の差を求め、この差分よ
りリモコン光の到来角を演算するようにしている。
Further, the angle calculation means receives the remote control signal received by the remote control light receiving section, outputs a sample hold control signal to the signal portion of the remote control signal and a non-signal portion immediately thereafter and to the sample hold means. The difference between the sample values of the signal part and the non-signal part is obtained from the sample value obtained from the sample hold means, and the arrival angle of the remote control light is calculated from this difference.

【0011】また、角度演算手段は、リモコン光受光部
により受信されたリモコン信号を受け、リモコン信号の
信号部分において複数回サンプルホールド制御信号をサ
ンプルホールド手段に対して出力するとともに、サンプ
ルホールド手段から得られた複数個のサンプル値よりサ
ンプル値の差分を求め、この差分が一定値以上のときは
サンプル値を廃棄し、差分が一定値未満のときはこれら
サンプル値を用いてリモコン光の到来角を演算するよう
にしている。
The angle calculation means receives the remote control signal received by the remote control light receiving section, outputs a sample hold control signal to the sample hold means a plurality of times in the signal portion of the remote control signal, and outputs from the sample hold means. The difference between the sample values is calculated from the obtained multiple sample values.If the difference is greater than a certain value, the sample value is discarded, and if the difference is less than the certain value, the arrival angle of the remote control light is calculated using these sample values. Is calculated.

【0012】また、角度算出手段は、入力されたサンプ
ル値に応じて得られるゲイン制御信号により、角度検出
手段にから得られた1対の電気信号の増幅率を変えるよ
うにしている。
The angle calculating means changes the amplification factor of the pair of electric signals obtained from the angle detecting means by the gain control signal obtained according to the input sample value.

【0013】また、角度算出手段は、複数個のリモコン
光信号に対して得られたサンプル値を受け、これらのサ
ンプル値あるいはこれらに一定の処理をした値に対し平
均処理を施し、その結果を用いてリモコン光の到来方向
を演算するようにしている。
The angle calculation means receives sample values obtained for a plurality of remote control optical signals, performs an averaging process on the sample values or a value obtained by subjecting the sample values to a certain process, and outputs the result. It is used to calculate the arrival direction of the remote control light.

【0014】また、角度検出手段より得られた1対の電
気信号に対し、リモコン光信号のキャリア付近の周波数
のみ通過させるバンドパスフィルタを備えている。
Further, a bandpass filter for allowing only a frequency near the carrier of the remote control optical signal to pass through a pair of electric signals obtained by the angle detecting means is provided.

【0015】また、入力切り換え手段は、角度算出手段
により切り換えが制御され、サンプル値の取り込みが行
われる毎に入力切り換えを行うようにしている。
Further, the input switching means is controlled to be switched by the angle calculating means, and the input is switched every time the sample value is taken in.

【0016】[0016]

【発明の実施の形態】BEST MODE FOR CARRYING OUT THE INVENTION

実施の形態1.図1はこの発明の実施の形態1を示すブ
ロック図、図2はその電気回路構成を示す図である。図
1、図2において、リモコン1から送信されたリモコン
光信号は、角度検出器2で受光される。角度検出器2
は、レンズ3とPSD(Position Sensi
tive Device)4と、電流/電圧変換回路
5、6からなっており、レンズ3によって集光されたリ
モコン光がPSD4上の半導体素子に入射し、その入射
位置によって、半導体素子両端に取り付けられた電極よ
り一対の電流を出力し、それぞれ電流/電圧変換回路
5、6によって電圧に変換し、その出力端子17、18
より受光角度に応じた一対の電圧V1 、V2 を出力す
る。これらV1 、V2 は、それぞれ角度演算手段7内の
信号処理回路22、23に入力され、一連の処理が施さ
れた後、サンプルホールド回路8、9でサンプルホール
ドされ、角度算出手段11内のアナログマルチプレクサ
12に与えられる。信号処理回路22と23とは同一の
ものであり、ここでは処理回路23について述べる。
Embodiment 1. 1 is a block diagram showing a first embodiment of the present invention, and FIG. 2 is a diagram showing an electric circuit configuration thereof. In FIGS. 1 and 2, the remote controller optical signal transmitted from the remote controller 1 is received by the angle detector 2. Angle detector 2
Is the lens 3 and PSD (Position Sensi)
remote device 4 and current / voltage conversion circuits 5 and 6. The remote control light focused by the lens 3 is incident on the semiconductor element on the PSD 4, and is attached to both ends of the semiconductor element depending on the incident position. A pair of currents are output from the electrodes and converted into voltages by the current / voltage conversion circuits 5 and 6, respectively, and output terminals 17 and 18 thereof are provided.
Further, it outputs a pair of voltages V 1 and V 2 according to the light receiving angle. These V 1 and V 2 are input to the signal processing circuits 22 and 23 in the angle calculation means 7, respectively, subjected to a series of processing, sampled and held in the sample hold circuits 8 and 9, and then in the angle calculation means 11. Of the analog multiplexer 12. The signal processing circuits 22 and 23 are the same, and the processing circuit 23 will be described here.

【0017】図1において、出力電圧V2 は、信号処理
回路23内の増幅回路47に入力され、増幅回路47内
では、図2に示すごとくまずコンデンサ24と抵抗25
を介してオペアンプ26の負側に入力される。オペアン
プ26の正側は一定の電位に保持クリップされており、
負側はゲイン切り換えスイッチ31を介して抵抗27〜
30に接続され、これら抵抗の他端はまとめてオペアン
プ26の出力側に接続されている。ここでコンデンサ2
4の値をC24、抵抗25、27の値をそれぞれR25、R
27とすると、スイッチ31が抵抗27に接続されている
とき、オペアンプ26の出力電圧V3 は次式(2)で表
される。 V3 ={R27/(R25+1/jωC24)}・V2 ・・・(2) ω:入力信号の角周波数 よって、オペアンプ26の出力電圧V3 の大きさ|V3
|は次式(3)のようになる。 |V3 |={R27/〔R25 2 +(1/ωC242 1/2 }・V2 ・・・(3) 即ち、入力信号の角周波数ωに対する|V3 |は、図3
のようになる。今ここで、リモコン信号のキャリア角周
波数をω0 とすると、ω0 ≒K/R2524(ただしKは
2〜3程度の定数)となるようにR25、C24を選ぶこと
によって、リモコン信号のキャリアより低いノイズ成分
を除去できるようになっている。ここで、スイッチ31
が抵抗28、29、または30に接続されているとき
は、式(2)(3)の分子がそれぞれR28、R29、また
はR30となることは言うまでもない。
In FIG. 1, the output voltage V 2 is input to the amplifier circuit 47 in the signal processing circuit 23. In the amplifier circuit 47, as shown in FIG.
Is input to the negative side of the operational amplifier 26 via. The positive side of the operational amplifier 26 is held and clipped at a constant potential,
On the negative side, the resistor 27 to
The other ends of these resistors are connected together to the output side of the operational amplifier 26. Capacitor 2 here
The value of 4 is C 24 , the values of resistors 25 and 27 are R 25 and R, respectively.
27 , the output voltage V 3 of the operational amplifier 26 when the switch 31 is connected to the resistor 27 is expressed by the following equation (2). V 3 = {R 27 / (R 25 + 1 / jωC 24 )} · V 2 (2) ω: Angular frequency of input signal Therefore, the magnitude of the output voltage V 3 of the operational amplifier 26 | V 3
| Is given by the following equation (3). | V 3 | = {R 27 / [R 25 2 + (1 / ωC 24 ) 2 ] 1/2 } · V 2 (3) That is, | V 3 | for the angular frequency ω of the input signal is Figure 3
become that way. Now, assuming that the carrier angular frequency of the remote control signal is ω 0 , by selecting R 25 and C 24 so that ω 0 ≈K / R 25 C 24 (where K is a constant of about 2 to 3), A noise component lower than the carrier of the remote control signal can be removed. Here, switch 31
Needless to say, when is connected to resistors 28, 29, or 30, the numerator of formulas (2) and (3) is R 28 , R 29 , or R 30 , respectively.

【0018】ここで、ゲイン切り換えスイッチ31の切
り換え制御信号は、後述のマイクロコンピュータ10内
のCPU15より出力回路19を通じて出力される。オ
ペアンプ26の出力V3 は、抵抗32、コンデンサ33
を通じてバッファ34に入力される。抵抗32の抵抗値
をR32、コンデンサ33の値をC33とすると、バッファ
34の出力V4 は図4のようになる。ここで、R32、C
33の値を1/R3233≒Kω0 (ただしKは2〜3の定
数)とすることにより、リモコン信号のキャリア角周波
数ω0 より高い周波数のノイズ成分を除去することがで
きる。即ちR25、C24、R32、C33によってバンドパス
フィルタ45(及び46)を形成する。
Here, the switching control signal of the gain changeover switch 31 is output from the CPU 15 in the microcomputer 10 described later through the output circuit 19. The output V 3 of the operational amplifier 26 is a resistor 32 and a capacitor 33.
Through the buffer 34. When the resistance value of the resistor 32 is R 32 and the value of the capacitor 33 is C 33 , the output V 4 of the buffer 34 is as shown in FIG. Where R 32 , C
By setting the value of 33 to 1 / R 32 C 33 ≈Kω 0 (where K is a constant of 2 to 3), it is possible to remove noise components having a frequency higher than the carrier angular frequency ω 0 of the remote control signal. That is, the band pass filter 45 (and 46) is formed by R 25 , C 24 , R 32 , and C 33 .

【0019】バッファ34の出力はサンプルホールド回
路9内のダイオード35を通じてコンデンサ36に蓄積
され、あるいは放電抵抗37、38、スイッチ用トラン
ジスタ39によって放電される。ここで、放電抵抗3
7、38、コンデンサ36の値をそれぞれR37、R38
36とすると、R3736>>2π/ω0 、R3836<<
2π/ω0 を満たす。即ち、リモコン信号部分でのスイ
ッチ用トランジスタ39がオン及びオフのときのコンデ
ンサ36両端の電圧波形は図5のようになり、オフのと
きがサンプルホールド期間となる。ここで、サンプルホ
ールドするためのスイッチ用トランジスタ39の制御方
法について説明する。リモコン1から送信されたリモコ
ン信号は、受光部40にて受信され、マイクロコンピュ
ータ10内の入力回路14を通じてCPU15に入力さ
れ割り込みをかける。CPU15は、予めサンプルホー
ルド制御信号として出力回路19を通じて処理回路2
2、23内のスイッチ用トランジスタをオンする信号
(例えば5V)を出力しておく。つまりサンプルホール
ド回路のコンデンサ36の両端の電荷を放電しておく。
さらに、CPU15は、ROM(Read Only
Memory)16に格納された割り込み処理用プログ
ラムデータに従って、リモコン信号が入力されてから、
ある一定の時間的規則に則り、サンプルホールド制御信
号を出力回路19を通じて処理回路22、23内のスイ
ッチ用トランジスタ39に対し片方ずつオフ信号(例え
ば0V)を出力する。
The output of the buffer 34 is accumulated in the capacitor 36 through the diode 35 in the sample hold circuit 9 or discharged by the discharge resistors 37 and 38 and the switching transistor 39. Here, the discharge resistance 3
The values of 7, 38 and the capacitor 36 are R 37 , R 38 , and
When C 36, R 37 C 36 >> 2π / ω 0, R 38 C 36 <<
2π / ω 0 is satisfied. That is, the voltage waveform across the capacitor 36 when the switching transistor 39 is on and off in the remote control signal portion is as shown in FIG. 5, and when it is off, the sample and hold period. Here, a method of controlling the switching transistor 39 for sample-holding will be described. The remote control signal transmitted from the remote controller 1 is received by the light receiving unit 40, input to the CPU 15 through the input circuit 14 in the microcomputer 10, and interrupts. The CPU 15 uses the output circuit 19 as a sample hold control signal in advance to process the circuit 2.
A signal (for example, 5 V) for turning on the switching transistors in 2 and 23 is output in advance. That is, the electric charges on both ends of the capacitor 36 of the sample hold circuit are discharged.
Further, the CPU 15 is a ROM (Read Only).
After the remote control signal is input according to the interrupt processing program data stored in the Memory 16
According to a certain fixed time rule, the sample hold control signal is output through the output circuit 19 to the switching transistors 39 in the processing circuits 22 and 23 as OFF signals (for example, 0V).

【0020】オフ信号が出力された側のサンプルホール
ド回路9の出力(抵抗38のアース側ではない信号出
力)は、マイクロコンピュータ内アナログマルチプレク
サ12を通じてアナログ/ディジタル変換回路13にて
ディジタル信号に変換され、入力回路14を通じてCP
U15に入力される。ここで、CPU15内の割り込み
処理における上記時間的規則は、図6のようになってお
り、(a)は処理回路22の入出力信号であり、(b)
は処理回路23の入出力信号である。(a)(b)はい
ずれも点線は入力信号、実線は出力信号である。即ち、
図中、a1 、a2、a3 の期間中は処理回路22への入
力信号のサンプルホールド及びCPUへの取り込み、b
1 、b2 の期間中は処理回路23への入力信号のサンプ
ルホールド及びCPUへの取り込みを行う。
The output of the sample and hold circuit 9 on the side where the OFF signal is output (the signal output of the resistor 38 that is not on the ground side) is converted into a digital signal by the analog / digital conversion circuit 13 through the analog multiplexer 12 in the microcomputer. , CP through the input circuit 14
It is input to U15. Here, the above-mentioned time rule in the interrupt processing in the CPU 15 is as shown in FIG. 6, (a) is an input / output signal of the processing circuit 22, and (b) is.
Are input / output signals of the processing circuit 23. In both (a) and (b), the dotted line is the input signal and the solid line is the output signal. That is,
In the figure, during the period of a 1 , a 2 and a 3 , the sample and hold of the input signal to the processing circuit 22 and the acquisition to the CPU, b
During the period of 1 and b 2 , the input signal to the processing circuit 23 is sampled and held and taken into the CPU.

【0021】ここで、a1 、a2 、a3 、b1 、b2
期間中にCPU15に取り込んだ値をそれぞれVa1
Va2 、Va3 、Vb1 、Vb2 とする。ここで、Va
1 、Vb1 のレベルに応じて処理回路22、23内の増
幅回路27の増幅率を適正なものとすべく図7に従って
スイッチ31の切り換え制御を出力回路19を通じて行
う。図中、ケース1〜4、7、9の場合は、適正なレベ
ルの信号が得られなかったと判断されるため、Va1
Vb2 のデータを廃棄する。一方ケース5、6、8の場
合は、信号レベルは適正であると判断し、入力信号に重
畳されたノイズ成分の除去のための処理に移る。リモコ
ン信号の信号部分にノイズ(例えば直接光と反射光によ
るレベル差によるもので、反射光が入射してノイズであ
るとみる)が重畳されたかどうかは、Va1 とVa2
比べればよい。即ち、CPU15内では、|Va1 −V
2 |と予め設定された定数V0 を比較して|Va1
Va2 |>V0 のときノイズが重畳されていると判断
し、Va1 、Va2 、Va3、Vb1 、Vb2 のデータ
を廃棄する。逆に、|Va1 −Va2 |≦V0 のとき、
処理回路22、23のそれぞれの信号について、バック
グラウンドノイズを除去するため、CPU15内で以下
のような演算を行う。 D11=(Va1 +Va2 )/2 −Va3 ・・・(8) D21=Vb1 −Vb2 ・・・(9)
Here, the values fetched by the CPU 15 during the periods a 1 , a 2 , a 3 , b 1 , b 2 are Va 1 , respectively.
Let Va 2 , Va 3 , Vb 1 , and Vb 2 . Where Va
According to FIG. 7, switching control of the switch 31 is performed through the output circuit 19 in order to make the amplification factor of the amplification circuit 27 in the processing circuits 22 and 23 appropriate according to the levels of 1 and Vb 1 . In the case of cases 1 to 4, 7, and 9 in the figure, it is determined that a signal of an appropriate level was not obtained, and therefore Va 1 to
Discard the Vb 2 data. On the other hand, in cases 5, 6, and 8, it is determined that the signal level is appropriate, and the process moves to the process for removing the noise component superimposed on the input signal. Whether or not noise (for example, due to a level difference between direct light and reflected light, which is considered to be noise due to incident reflected light) may be superimposed on the signal portion of the remote control signal by comparing Va 1 and Va 2 . That is, in the CPU 15, | Va 1 -V
a 2 | is compared with a preset constant V 0 , and | Va 1
When Va 2 |> V 0 , it is determined that noise is superimposed, and the data of Va 1 , Va 2 , Va 3 , Vb 1 and Vb 2 are discarded. Conversely, when | Va 1 −Va 2 | ≦ V 0 ,
For the signals of the processing circuits 22 and 23, the following calculation is performed in the CPU 15 in order to remove the background noise. D 11 = (Va 1 + Va 2) / 2 -Va 3 ··· (8) D 21 = Vb 1 -Vb 2 ··· (9)

【0022】即ち、D11、D21はそれぞれ処理回路2
2、23を通過してきたリモコン信号から信号部内ノイ
ズ及びバックグラウンドノイズ成分が除去された値であ
り、これらをRAM(Randam Access M
emory)41に一度蓄積する。さらに上記動作をN
回(8〜16の偶数回)繰り返し、N個のデータ対(D
1 n、D2 n)(n=1〜N)を得て、RAM41に蓄
積する。
That is, D 11 and D 21 are the processing circuits 2 respectively.
It is a value obtained by removing the noise in the signal part and the background noise component from the remote control signal that has passed through 2 and 23, and these values are stored in a RAM (Random Access M).
It is accumulated once in the memory 41. Further, the above operation is
Repeated once (even times from 8 to 16), N data pairs (D
1 n, D 2 n) (n = 1 to N) are obtained and stored in the RAM 41.

【0023】さらにここで、図6のように(a)と
(b)のサンプリングホールドの位置の条件の違いを吸
収するため、1回目〜N回目のデータ獲得に際して処理
回路22、23に対するサンプルホールドの順序を図8
のように、図6(a)(b)を交互に行うようにする。
即ち、n回目のデータ獲得時、 (ア)n=奇数のとき D1 n=(Va1 +Va2 )/2 −Va3 ・・・(10) D2 n=Vb1 −Vb2 ・・・(11) (イ)n=偶数のとき D1 n=Vb1 −Vb2 ・・・(12) D2 n=(Va1 +Va2 )/2 −Va3 ・・・(13) N=1〜Nの整数 となる。
Further, in order to absorb the difference in the conditions of the sampling and holding positions of (a) and (b) as shown in FIG. 6, the sampling and holding for the processing circuits 22 and 23 at the first to N-th data acquisition. Figure 8
6A and 6B are alternately performed as described above.
That is, at the nth data acquisition, (a) when n = odd D 1 n = (Va 1 + Va 2 ) / 2 −Va 3 ... (10) D 2 n = Vb 1 −Vb 2 ... (11) (a) When n = even number D 1 n = Vb 1 −Vb 2 ... (12) D 2 n = (Va 1 + Va 2 ) / 2−Va 3 ... (13) N = 1 ~ N is an integer.

【0024】RAM41に蓄積されたN組のデータ(D
1 n、D2 n)は、CPU15内で以下のように平均値
が取られる。 D1 =(D11+D12+・・・+D1N)/N ・・・(14) D2 =(D21+D22+・・・+D2N)/N ・・・(15) 以上より、D1 、D2 は、各データ対(D1 n、D
2 n)が有しているノイズ成分をさらに除去したものと
なる。このD1 、D2 に対し、CPU15はROM16
に格納されたプログラム及びデータに従い、次式(1
6)に従って、角度θ0を得る。 θ0 =K・(D1 −D2 )/(D1 +D2 ) ・・・(16) K:定数 θ0 は、原理的にはリモコン光の到来方向角を示すが、
実際には角度検出器2内の各部品の幾何学的ずれによる
誤差を含んでいる。本実施例においては、レンズ3とP
SD4間のずれを意味する。
N sets of data (D
1 n, D 2 n) are averaged in the CPU 15 as follows. D 1 = (D 11 + D 12 + ··· + D 1N) / N ··· (14) D 2 = (D 21 + D 22 + ··· + D 2N) / N ··· (15) or more than, D 1 and D 2 are each data pair (D 1 n, D
2 n) has the noise component further removed. For these D 1 and D 2 , the CPU 15 has the ROM 16
According to the program and data stored in
According to 6), the angle θ0 is obtained. θ 0 = K · (D 1 −D 2 ) / (D 1 + D 2 ) ... (16) K: The constant θ 0 indicates the arrival direction angle of the remote control light in principle.
Actually, it includes an error due to a geometrical deviation of each component in the angle detector 2. In this embodiment, the lens 3 and P
It means the deviation between SD4.

【0025】以下、このずれによる誤差の除去方法を説
明する。スイッチ42は調整モード(5V)と通常モー
ド(0V)とを切り換える調整モード切り換え手段であ
る。今、スイッチ42が5Vに接続されているとき、こ
の電圧がマイクロコンピュータ10内の入力回路14を
通じてCPU15に入力され、CPU15はデータ待機
状態となる。ここで、角度検出器2に対して予め定めた
既知の角度、例えば垂直方向(リモコン光到来方向角θ
=0)でリモコン信号を送信する。角度検出器2で受信
されたリモコン信号は、上記のようなプロセスを経てC
PU15にて角度θ0 として次式の値を得たとする。 θ0 =θ1 ・・・(17) ここで、θ1 は即ち角度検出器2の幾何学的ずれを表し
たものである。CPU15は、E2 PROM(不揮発性
書換可能メモリ)43にθ1 を格納する。
The method of removing the error due to this deviation will be described below. The switch 42 is an adjustment mode switching means for switching between the adjustment mode (5V) and the normal mode (0V). Now, when the switch 42 is connected to 5V, this voltage is input to the CPU 15 through the input circuit 14 in the microcomputer 10, and the CPU 15 enters a data standby state. Here, a predetermined known angle with respect to the angle detector 2, for example, the vertical direction (remote control light arrival direction angle θ)
= 0), the remote control signal is transmitted. The remote control signal received by the angle detector 2 is subjected to the above-described process and then C
It is assumed that the PU 15 obtains the value of the following equation as the angle θ 0 . θ 0 = θ 1 (17) Here, θ 1 is the geometrical deviation of the angle detector 2. The CPU 15 stores θ 1 in the E 2 PROM (nonvolatile rewritable memory) 43.

【0026】スイッチ42が0Vに接続されていると
き、CPU15は通常モードとなる。即ち、リモコン信
号が受信されると、CPU15は上記の一連のプロセス
をふみ、θ0 を得る。CPU15は、E2 PROM43
よりθ1 を読み込み、次式(18)によってずれを補正
する。 θ=θ0 −θ1 ・・・(18) 即ち、第1の効果としてθは角度検出器2の幾何学的ず
れによる誤差を含まないもので、精度よくリモコン光到
来方向角を表すものである。しかも、リモコン光の受光
レベルが周囲の壁等に反射して弱いレベルで入射した受
光状態を確実に識別する。つまり使用者が例えばテレビ
セットに向けて投射したことを上記の図7、11、12
の各ケース別に信号の処理、廃棄を行うことにより、認
識し得るという認識処理を施したので、投射された光を
確実に処理する第2の効果がある。また、室内で使用す
るテレビセットの場合では外来ノイズ光(蛍光灯からの
光のチラツキ)を確実に除去することは、先の図7、1
1、12の処理の中に50、60、100、120Hz
等の周期ノイズ光を識別する処理を取り込めば対応しえ
ることはいうまでもない。
When the switch 42 is connected to 0V, the CPU 15 is in the normal mode. That is, when the remote control signal is received, the CPU 15 obtains θ 0 based on the above series of processes. The CPU 15 uses the E 2 PROM 43
Then, θ 1 is read and the deviation is corrected by the following equation (18). θ = θ 0 −θ 1 (18) That is, the first effect is that θ does not include an error due to the geometrical deviation of the angle detector 2 and accurately represents the remote control light arrival angle. is there. In addition, the light receiving state in which the light receiving level of the remote control light is reflected by the surrounding wall or the like and is incident at a weak level is reliably identified. That is, the fact that the user has projected the image on a television set, for example, is shown in FIG.
Since the recognition processing is performed such that the signal can be recognized by processing and discarding the signal in each case, there is the second effect of reliably processing the projected light. Further, in the case of a television set used indoors, it is necessary to reliably remove external noise light (flicker of light from a fluorescent lamp) as shown in FIG.
50, 60, 100, 120Hz in the processing of 1, 12
Needless to say, this can be dealt with by incorporating a process for identifying periodic noise light such as.

【0027】本実施の形態は上記によって求められたリ
モコン光到来方向角を用いてテレビジョン受像機に取り
付けられた回転台を回転させ、リモコンの方向に管面を
向けるものであるが、その構成は従来例と同一である。
なお、この実施の形態では、調整モード切り換えスイッ
チ42は手動であるが、リモコン送信器より、調整モー
ドと通常モードに相当するコードを送信し、受光部4
0、入力回路14を通じてCPU15内にてコードを解
読し、そのモードに応じた処理を行うようにすることも
できる。また、この実施の形態では、角度検出器として
レンズ3を用いているが、PSD4の前面にスリットを
設けることによっても同様の角度検出が行える。また、
この実施の形態では、サンプルホールド回路としてピー
ク検波回路を用いたが、リモコン信号のキャリアより充
分に低いカットオフ周波数のローパスフィルターをかけ
ることによってもサンプルホールドできる。さらにま
た、この実施の形態では、回転台を取り付けたテレビジ
ョン受像機を被制御装置としているが、モーターによっ
て回転される被制御装置はテレビジョン受像機に限ら
ず、カメラの台座、扇風機、空気調和機の風向き偏向装
置等でもよい。
In the present embodiment, the rotary table mounted on the television receiver is rotated by using the remote control light arrival angle obtained as described above, and the tube surface is directed in the direction of the remote control. Is the same as the conventional example.
Although the adjustment mode changeover switch 42 is manual in this embodiment, a code corresponding to the adjustment mode and the normal mode is transmitted from the remote control transmitter, and the light receiving unit 4 is operated.
0, the code can be decoded in the CPU 15 through the input circuit 14 and the processing according to the mode can be performed. Further, although the lens 3 is used as the angle detector in this embodiment, the same angle detection can be performed by providing a slit on the front surface of the PSD 4. Also,
In this embodiment, the peak detection circuit is used as the sample hold circuit, but sample hold can also be performed by applying a low pass filter having a cutoff frequency sufficiently lower than the carrier of the remote control signal. Furthermore, in this embodiment, the television receiver to which the turntable is attached is used as the controlled device, but the controlled device rotated by the motor is not limited to the television receiver, but the base of the camera, the fan, the air It may be a wind direction deflecting device of a harmony machine.

【0028】実施の形態2.上記実施の形態1では、角
度検出器2の出力端子17、18に得られる出力の処理
は、信号処理回路22、23で別々に行っているが、C
PUに取り込まれるデータは一つずつであることから、
信号処理回路を一つにすることもできる。図9はそのブ
ロック図、図10はその回路構成図で、角度検出器2の
2つの出力を切り換える入力切り換えスイッチ44と、
それに接続される1つの信号処理回路23を持つ点が実
施の形態1と異なっている。入力切り換えスイッチ44
はCPU15より出力回路19を通じて制御される。
Embodiment 2 In the first embodiment, the processing of the outputs obtained at the output terminals 17 and 18 of the angle detector 2 is separately performed by the signal processing circuits 22 and 23.
Since the data captured in PU is one by one,
It is also possible to use a single signal processing circuit. 9 is a block diagram thereof, and FIG. 10 is a circuit configuration diagram thereof. An input selector switch 44 for switching between two outputs of the angle detector 2,
It differs from the first embodiment in that it has one signal processing circuit 23 connected to it. Input selector switch 44
Is controlled by the CPU 15 through the output circuit 19.

【0029】角度検出器2の出力端子17、18の出力
データの取り込み方法としては、まず、スイッチ44を
出力端子17に接続し、実施の形態1同様、Va1 、V
2、Va3 をCPU15に取り込む。CPU15は、
Va1 の大きさ、|Va1 −Va2 |によって図11に
従い出力回路19を通じてゲイン切り換えスイッチ31
と入力切り換えスイッチ44を制御すると同時に、Va
1 〜Va3 のデータを取り込むか否かを決定する。例え
ば、図11で、ケース1のように、Va1 ≧VH の場
合、取り込まれた信号レベルが不適切であることを意味
するので、ゲイン切り換えスイッチ31によってゲイン
を下げ、取り込んだデータを廃棄し、もう一度出力端1
7側の信号を取り込む。ケース2、4のように、|Va
1 −Va2|≧V0 の場合は、信号レベルは不適切では
ないかもしれないが、信号部にパルス性ノイズが重畳さ
れていることを意味するため、取り込んだデータを廃棄
し、出力端子17側の信号をもう一度取り込む。
As a method of fetching the output data from the output terminals 17 and 18 of the angle detector 2, first, the switch 44 is connected to the output terminal 17, and Va 1 and V 1 are connected as in the first embodiment.
a 2 and Va 3 are taken into the CPU 15. The CPU 15
Depending on the magnitude of Va 1 , | Va 1 −Va 2 |, the gain selector switch 31 through the output circuit 19 according to FIG.
And at the same time controlling the input selector switch 44,
It is determined whether or not the data of 1 to Va 3 is taken in. For example, as in case 1 in FIG. 11, if Va 1 ≧ V H , it means that the captured signal level is inappropriate, so the gain is reduced by the gain changeover switch 31 and the captured data is discarded. Then output 1 again
Take in the signal from the 7 side. As in Cases 2 and 4, | Va
If 1 −Va 2 | ≧ V 0 , the signal level may not be inadequate, but it means that pulse noise is superimposed on the signal part, so the acquired data is discarded and the output terminal Take in the signal from the 17 side again.

【0030】ケース3の場合は、信号レベルも適切であ
り、パルス性ノイズも重畳されていないことを意味する
ので、データを取り込むと同時に入力切り換えスイッチ
44を出力端子18側へ切り換える。ケース5の場合
は、信号レベルが小さいが、出力端子18の信号レベル
が大きいことも考えられるため、とりあえずデータを取
り込み、入力切り換えスイッチ44を出力端子18側へ
切り換える。ケース3、5の場合、次のリモコン信号入
力にて出力端子18よりデータを取り込む。取り込む方
法は出力端子17のときと同様であり、それらをV
1 、Vb2 、Vb3とする。これらのデータに対し、
CPU15は、図12に従いゲイン切り換えスイッチ3
1、入力切り換えスイッチ44、データVa1 〜Va3
の処理、Vb1〜Vb3 の取り込みか否かを決定する。
これらの操作の判断の基準は、出力端子17のデータ取
り込み時のそれと同じである。
In case 3, since the signal level is appropriate and pulse noise is not superimposed, the input selector switch 44 is switched to the output terminal 18 side at the same time when the data is taken in. In case 5, the signal level is low, but the signal level of the output terminal 18 may be high. Therefore, data is taken in for the time being and the input changeover switch 44 is changed over to the output terminal 18 side. In cases 3 and 5, data is taken in from the output terminal 18 by the next remote control signal input. The method of taking in is the same as for the output terminal 17,
Let b 1 , Vb 2 , and Vb 3 . For these data,
The CPU 15 uses the gain changeover switch 3 according to FIG.
1, input changeover switch 44, data Va 1 to Va 3
Processing, and whether or not to take in Vb 1 to Vb 3 is determined.
Criteria for judging these operations are the same as those when the data is fetched from the output terminal 17.

【0031】図12のケース3、5の場合は、出力端子
17、18が1組取り込まれたことになり次のステップ
に移る。即ち、次式(19)(20)によってバックグ
ラウンドノイズを除去する。 D1 n=(Va1 +Va2 )/2 −Va3 ・・・(19) D2 n=(Vb1 +Vb2 )/2 −Vb3 ・・・(20) 以下、実施の形態1と同様にして、リモコン光到来方向
角θを求め被制御装置回転用モーターの制御を行う。
In cases 3 and 5 of FIG. 12, one set of output terminals 17 and 18 has been taken in, and the process proceeds to the next step. That is, the background noise is removed by the following equations (19) and (20). D 1 n = (Va 1 + Va 2 ) / 2-Va 3 (19) D 2 n = (Vb 1 + Vb 2 ) / 2-Vb 3 (20) Hereinafter, the same as the first embodiment. Then, the angle of arrival .theta. Of the remote control light is obtained to control the motor for rotating the controlled device.

【0032】実施の形態3.実施の形態1、実施の形態
2ともに、得られたリモコン光到来方向角θによりモー
ターの制御を行う例を示したが、被制御装置として音響
装置のように上記θに応じて左右のスピーカーからの出
力を制御したり、ステレオの位相の制御を行う等、モー
ターを使わない装置への適用も可能である。
Embodiment 3. In both the first embodiment and the second embodiment, the example in which the motor is controlled by the obtained remote control light arrival direction angle θ has been described. It can also be applied to a device that does not use a motor, such as controlling the output of or controlling the stereo phase.

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

【図1】 この発明の実施の形態1に係る角度検出装置
の構成を示すブロック図である。
FIG. 1 is a block diagram showing a configuration of an angle detection device according to a first embodiment of the present invention.

【図2】 この発明の実施の形態1に係る角度検出装置
の電気回路構成を示す図である。
FIG. 2 is a diagram showing an electric circuit configuration of the angle detection device according to the first embodiment of the present invention.

【図3】 実施の形態1におけるハイパスフィルタ特性
を説明するゲイン/周波数特性図である。
FIG. 3 is a gain / frequency characteristic diagram illustrating a high-pass filter characteristic according to the first embodiment.

【図4】 実施の形態1におけるローパスフィルタ特性
を説明するゲイン/周波数特性図である。
FIG. 4 is a gain / frequency characteristic diagram illustrating a low-pass filter characteristic according to the first embodiment.

【図5】 実施の形態1におけるサンプルホールド回路
の動作を説明する信号波形図である。
FIG. 5 is a signal waveform diagram for explaining the operation of the sample hold circuit according to the first embodiment.

【図6】 実施の形態1におけるサンプルホールドのタ
イミングを説明する信号波形図である。
FIG. 6 is a signal waveform diagram illustrating the timing of sample hold in the first embodiment.

【図7】 実施の形態1におけるゲイン切り換え手段の
制御方法を説明するための図である。
FIG. 7 is a diagram for explaining a control method of the gain switching means in the first embodiment.

【図8】 実施の形態1における2つのサンプルホール
ドの方法を説明するための図である。
FIG. 8 is a diagram for explaining two sample and hold methods according to the first embodiment.

【図9】 この発明の実施の形態2に係る角度検出装置
の構成を示すブロック図である。
FIG. 9 is a block diagram showing a configuration of an angle detection device according to a second embodiment of the present invention.

【図10】 この発明の実施の形態2に係る角度検出装
置の電気回路構成を示す図である。
FIG. 10 is a diagram showing an electric circuit configuration of an angle detection device according to a second embodiment of the present invention.

【図11】 実施の形態2における角度検出器の一方の
出力端子の信号処理方法を説明するための図である。
FIG. 11 is a diagram for explaining a signal processing method of one output terminal of the angle detector in the second embodiment.

【図12】 実施の形態2における角度検出器の他方の
出力端子の信号処理方法を説明するための図である。
FIG. 12 is a diagram for explaining a signal processing method of the other output terminal of the angle detector in the second embodiment.

【図13】 従来の角度検出装置の電気回路構成を示す
図である。
FIG. 13 is a diagram showing an electric circuit configuration of a conventional angle detection device.

【符号の説明】[Explanation of symbols]

1 リモコン、2 角度検出器、8、9 サンプルホー
ルド回路、11 角度算出手段、22、23 信号処理
回路、31 ゲイン切り換えスイッチ、40 受光部、
41 蓄積回路(RAM)、42 調整モード切り換え
手段、43 角度記憶回路(E2 PROM) 45、46 バンドパスフィルタ、47、48 増幅回
路。
DESCRIPTION OF SYMBOLS 1 remote control, 2 angle detector, 8 and 9 sample hold circuit, 11 angle calculation means, 22 and 23 signal processing circuit, 31 gain changeover switch, 40 light receiving section,
41 storage circuit (RAM), 42 adjustment mode switching means, 43 angle storage circuit (E 2 PROM) 45, 46 band pass filter, 47, 48 amplification circuit.

Claims (9)

【特許請求の範囲】[Claims] 【請求項1】 リモコンからの光信号を受光し、リモコ
ン光の受光角度に応じた1対の電気信号出力を得るステ
ップと、上記1対の電気信号出力に対してサンプル値を
ホールドし、このサンプル値よりリモコン光の到来角を
演算するステップと、ユーザーが選択する2つの状態に
応じて制御信号を出力するステップと、上記制御信号が
第1の状態のときのみ上記リモコン光の到来角を記憶さ
せるステップと、上記制御信号が第2の状態のときのリ
モコン光の到来角演算値を、上記第1の状態のときの到
来角の記憶値によって補正してより正確なリモコン光到
来角を算出するステップとを有することを特徴とする角
度検出方法。
1. A step of receiving an optical signal from a remote controller to obtain a pair of electric signal outputs according to a light receiving angle of the remote controller light, and holding a sample value for the pair of electric signal outputs, The step of calculating the arrival angle of the remote control light from the sample value, the step of outputting a control signal according to two states selected by the user, and the arrival angle of the remote control light only when the control signal is in the first state The step of storing and the calculated arrival angle of the remote control light when the control signal is in the second state are corrected by the stored arrival angle in the first state to obtain a more accurate remote control light arrival angle. And a step of calculating the angle.
【請求項2】 リモコンからの光信号を受光し、リモコ
ン光の受光角度に応じた1対の電気信号出力を得る角度
検出手段、この角度検出手段の1対の電気信号出力に対
してサンプル値をホールドするサンプルホールド手段、
上記サンプル値よりリモコン光の到来角を演算する角度
算出手段、ユーザーが2つの状態を選択でき、その状態
に応じて制御信号を出力する調整モード切り換え手段、
及び上記制御信号と上記サンプルホールド値を入力し上
記制御信号が第1の状態のときのみ上記角度算出手段で
得られたリモコン光の到来角を記憶する角度記憶手段を
備え、上記制御信号が第2の状態のときに上記角度算出
手段から得られたリモコン光の到来角を上記角度記憶手
段に記憶された値により補正してより正確なリモコン光
到来角を算出するようにしたことを特徴とする角度検出
装置。
2. An angle detecting means for receiving an optical signal from a remote controller and obtaining a pair of electric signal outputs according to a light receiving angle of the remote controller, and sample values for the pair of electric signal outputs of the angle detecting means. Sample hold means for holding
An angle calculation means for calculating the arrival angle of the remote control light from the sample value, an adjustment mode switching means for allowing the user to select two states and outputting a control signal according to the states,
And an angle storage means for storing the arrival angle of the remote control light obtained by the angle calculation means only when the control signal and the sample hold value are input and the control signal is in the first state. In the state of 2, the arrival angle of the remote control light obtained from the angle calculation means is corrected by the value stored in the angle storage means to calculate a more accurate remote control light arrival angle. Angle detection device.
【請求項3】 リモコンからの光信号を受光し、リモコ
ン光の受光角度に応じた1対の電気信号出力を得る角度
検出手段、この角度検出手段の1対の電気信号出力を切
り換える入力切り換え手段、この入力切り換えにより得
られる電気信号出力に対してサンプル値をホールドする
サンプルホールド手段、上記サンプル値よりリモコン光
の到来角を演算する角度算出手段、ユーザーが2つの状
態を選択でき、その状態に応じて制御信号を出力する調
整モード切り換え手段、及び上記制御信号と上記サンプ
ルホールド値を入力し上記制御信号が第1の状態のとき
のみ上記角度算出手段で得られたリモコン光の到来角を
記憶する角度記憶手段を備え、上記制御信号が第2の状
態のときに上記角度算出手段から得られたリモコン光の
到来角を上記角度記憶手段に記憶された値により補正し
てより正確なリモコン光到来角を算出するようにしたこ
とを特徴とする角度検出装置。
3. An angle detecting means for receiving an optical signal from a remote controller to obtain a pair of electric signal outputs according to a light receiving angle of the remote controller light, and an input switching means for switching a pair of electric signal outputs of the angle detecting means. , Sample holding means for holding a sample value for the electric signal output obtained by this input switching, angle calculating means for calculating the arrival angle of the remote control light from the sample value, the user can select one of two states, and An adjustment mode switching means for outputting a control signal in response to the control signal, and the arrival angle of the remote control light obtained by the angle calculation means only when the control signal and the sample hold value are input and the control signal is in the first state. The angle of arrival of the remote control light obtained from the angle calculating means when the control signal is in the second state. An angle detection device characterized in that a more accurate remote control light arrival angle is calculated by correcting with a value stored in a storage means.
【請求項4】 角度算出手段は、リモコン光受光部によ
り受信されたリモコン信号を受け、リモコン信号の信号
部分とその直後の無信号部分にサンプルホールド制御信
号をサンプルホールド手段に対して出力するとともに、
サンプルホールド手段から得られたサンプル値より信号
部と無信号部のサンプル値の差を求め、この差分よりリ
モコン光の到来角を演算するようにしたことを特徴とす
る請求項2または請求項3記載の角度検出装置。
4. The angle calculation means receives the remote control signal received by the remote control light receiving section and outputs a sample hold control signal to the sample hold means in the signal portion of the remote control signal and in the no signal portion immediately thereafter. ,
4. The difference between the sample values of the signal part and the non-signal part is obtained from the sample value obtained from the sample hold means, and the arrival angle of the remote control light is calculated from this difference. The angle detection device described.
【請求項5】 角度演算手段は、リモコン光受光部によ
り受信されたリモコン信号を受け、リモコン信号の信号
部分において複数回サンプルホールド制御信号をサンプ
ルホールド手段に対して出力するとともに、サンプルホ
ールド手段から得られた複数個のサンプル値よりサンプ
ル値の差分を求め、この差分が一定値以上のときはサン
プル値を廃棄し、差分が一定値未満のときはこれらサン
プル値を用いてリモコン光の到来角を演算するようにし
たことを特徴とする請求項2または請求項3記載の角度
検出装置。
5. The angle calculation means receives the remote control signal received by the remote control light receiving section, outputs a sample hold control signal to the sample hold means a plurality of times in the signal portion of the remote control signal, and outputs from the sample hold means. The difference between the sample values is calculated from the obtained multiple sample values.If the difference is greater than a certain value, the sample value is discarded, and if the difference is less than the certain value, the arrival angle of the remote control light is calculated using these sample values. The angle detection device according to claim 2 or 3, wherein
【請求項6】 角度算出手段は、入力されたサンプル値
に応じて得られるゲイン制御信号により、角度検出手段
により得られた1対の電気信号の増幅率を変えるように
したことを特徴とする請求項2または請求項3記載の角
度検出装置。
6. The angle calculating means is characterized by changing the amplification factor of a pair of electric signals obtained by the angle detecting means by a gain control signal obtained according to the input sample value. The angle detection device according to claim 2 or 3.
【請求項7】 角度算出手段は、複数個のリモコン光信
号に対して得られたサンプル値を受け、これらのサンプ
ル値あるいはこれらに一定の処理をした値に対し平均処
理を施し、その結果を用いてリモコン光の到来方向を演
算するようにしたことを特徴とする請求項2または請求
項3記載の角度検出装置。
7. The angle calculating means receives sample values obtained for a plurality of remote control optical signals, performs an averaging process on the sample values or values obtained by subjecting the sample values to a constant process, and outputs the result. The angle detection device according to claim 2 or 3, wherein the arrival direction of the remote control light is calculated using the angle detection device.
【請求項8】 角度検出手段より得られた1対の電気信
号に対し、リモコン光信号のキャリア付近の周波数のみ
通過させるバンドパスフィルタを備えたことを特徴とす
る請求項2〜請求項7のいずれか一項記載の角度検出装
置。
8. A band pass filter for allowing only a frequency near a carrier of a remote control optical signal to pass through a pair of electric signals obtained by the angle detecting means. The angle detection device according to any one of claims.
【請求項9】 入力切り換え手段は、角度算出手段によ
り切り換えが制御され、サンプル値の取り込みが行われ
る毎に入力切り換えを行うようにしたことを特徴とする
請求項3記載の角度検出装置。
9. The angle detecting device according to claim 3, wherein the input switching means is controlled to be switched by the angle calculating means, and the input switching is performed every time a sample value is fetched.
JP20370195A 1995-08-09 1995-08-09 Angle detection method and angle detection apparatus Expired - Lifetime JP3659701B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP20370195A JP3659701B2 (en) 1995-08-09 1995-08-09 Angle detection method and angle detection apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP20370195A JP3659701B2 (en) 1995-08-09 1995-08-09 Angle detection method and angle detection apparatus

Publications (2)

Publication Number Publication Date
JPH0949733A true JPH0949733A (en) 1997-02-18
JP3659701B2 JP3659701B2 (en) 2005-06-15

Family

ID=16478424

Family Applications (1)

Application Number Title Priority Date Filing Date
JP20370195A Expired - Lifetime JP3659701B2 (en) 1995-08-09 1995-08-09 Angle detection method and angle detection apparatus

Country Status (1)

Country Link
JP (1) JP3659701B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006323893A (en) * 2005-05-17 2006-11-30 Sanyo Electric Co Ltd Onboard audio device
CN102340584A (en) * 2010-07-20 2012-02-01 中国移动通信有限公司 Method and device for adjusting sound volume

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006323893A (en) * 2005-05-17 2006-11-30 Sanyo Electric Co Ltd Onboard audio device
JP4578318B2 (en) * 2005-05-17 2010-11-10 三洋電機株式会社 Car audio system
CN102340584A (en) * 2010-07-20 2012-02-01 中国移动通信有限公司 Method and device for adjusting sound volume

Also Published As

Publication number Publication date
JP3659701B2 (en) 2005-06-15

Similar Documents

Publication Publication Date Title
US20090324209A1 (en) Photographing system
JP3925751B2 (en) Angle correction device for taking lens
JPH0949733A (en) Method and apparatus for detecting angle
US4782396A (en) Automatic focusing system of video camera using the contrast characteristics of the Y signal
US7262803B2 (en) Camera with adjustable auto-focus detection area
JPH11266389A (en) Image pickup device
JPH07288734A (en) Camera apparatus
JP2001024934A (en) Monitoring system
KR0178767B1 (en) Remote control using a finger shape
JPH0443475B2 (en)
JP3631161B2 (en) Camera system
JPH01277724A (en) Target detector
US6449432B1 (en) Device for correcting a tremble of a focused image and a camera which is provided with the same
JP3154334B2 (en) TV camera focus adjustment device
JP2748425B2 (en) Video camera
KR950000413Y1 (en) Ccd auto-iris driving circuit
KR0185168B1 (en) Focus control apparatus and method
JPS58198009A (en) Ultrasonic auto-focusing device
KR100215453B1 (en) Camcorder capable of displaying the distance
JPH11266390A (en) Image pickup device
KR900000879Y1 (en) Auto-focus control circuits
JPH11289489A (en) Device and method for discriminating panning/tilt of camera
JP2002156574A (en) Focus lens driving device
JPH10153406A (en) Moving object detecting device
JPH08294044A (en) Image pickup device

Legal Events

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20050308

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20050315

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

Free format text: PAYMENT UNTIL: 20080325

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20090325

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20100325

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20100325

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20110325

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20110325

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20120325

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20130325

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20130325

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20140325

Year of fee payment: 9

EXPY Cancellation because of completion of term