Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP6019866B2 - Distance measuring device, light emission timing control device, and program - Google Patents
[go: Go Back, main page]

JP6019866B2 - Distance measuring device, light emission timing control device, and program - Google Patents

Distance measuring device, light emission timing control device, and program Download PDF

Info

Publication number
JP6019866B2
JP6019866B2 JP2012160694A JP2012160694A JP6019866B2 JP 6019866 B2 JP6019866 B2 JP 6019866B2 JP 2012160694 A JP2012160694 A JP 2012160694A JP 2012160694 A JP2012160694 A JP 2012160694A JP 6019866 B2 JP6019866 B2 JP 6019866B2
Authority
JP
Japan
Prior art keywords
mirror
angle
laser beam
unit
frequency
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.)
Expired - Fee Related
Application number
JP2012160694A
Other languages
Japanese (ja)
Other versions
JP2014020963A (en
Inventor
飯田 弘一
弘一 飯田
手塚 耕一
耕一 手塚
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.)
Fujitsu Ltd
Original Assignee
Fujitsu Ltd
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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP2012160694A priority Critical patent/JP6019866B2/en
Publication of JP2014020963A publication Critical patent/JP2014020963A/en
Application granted granted Critical
Publication of JP6019866B2 publication Critical patent/JP6019866B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Optical Radar Systems And Details Thereof (AREA)

Description

本発明は、距離測定装置、発光タイミング制御装置及びプログラムに関する。   The present invention relates to a distance measuring device, a light emission timing control device, and a program.

レーザビームを用いた2次元走査型の距離測定装置は、対象物までの距離計測に限らず、例えば自動車の障害物検知、電車とホームの開閉扉間の人検知といった周辺監視などにも利用されている。レーザビームを用いた走査型の距離測定装置は、レーザレーダとも呼ばれる。   A two-dimensional scanning type distance measuring device using a laser beam is not limited to measuring a distance to an object, but is also used for, for example, peripheral monitoring such as detection of an obstacle in a car and detection of a person between a train and a door of a platform. ing. A scanning distance measuring apparatus using a laser beam is also called a laser radar.

レーザレーダは、例えば回転ミラーの回転角度を制御系で制御することで、回転ミラーで反射されるレーザビームの出射角度を制御して2次元走査を行い、対象物から反射されたレーザビームを受光した結果に基づいて対象物までの距離を測定する。回転ミラーの回転角度は、例えばロータリーエンコーダなどのセンサで検出して制御系へ出力する。測定の位置精度を向上するには、レーザビームが等角度間隔で出射されるように、回転ミラーの回転角度をセンサで逐次高精度に検出してレーザ発光を行う制御系へフィードバックすることが好ましい。しかし、回転ミラーの回転角度をセンサで高精度に検出するためには分解能の高いエンコーダーが必要であり、かつ結果を高速に処理してレーザビームの出射角度を制御する制御系は比較的高価であるため、比較的安価なレーザレーダに搭載することは難しい。また、回転ミラーの回転角度をセンサで高精度に検出するには、センサが比較的短い時間間隔で回転ミラーの回転角度を検出することが好ましい。ところが、回転ミラーの回転角度を比較的短い時間間隔で検出すると、レーザレーダの消費電力が増加してしまい、比較的消費電力の低いレーザレーダを実現することは難しい。   Laser radar, for example, controls the rotation angle of a rotating mirror with a control system, controls the emission angle of the laser beam reflected by the rotating mirror, performs two-dimensional scanning, and receives the laser beam reflected from the object. The distance to the object is measured based on the result. The rotation angle of the rotary mirror is detected by a sensor such as a rotary encoder and output to the control system. In order to improve the position accuracy of the measurement, it is preferable that the rotation angle of the rotating mirror is successively detected with high accuracy by a sensor and fed back to a control system that emits laser light so that the laser beam is emitted at equal angular intervals. . However, in order to detect the rotation angle of the rotary mirror with high accuracy, a high-resolution encoder is required, and a control system that processes the results at high speed and controls the laser beam emission angle is relatively expensive. Therefore, it is difficult to mount on a relatively inexpensive laser radar. In order to detect the rotation angle of the rotating mirror with high accuracy by the sensor, the sensor preferably detects the rotation angle of the rotating mirror at a relatively short time interval. However, if the rotation angle of the rotating mirror is detected at a relatively short time interval, the power consumption of the laser radar increases, and it is difficult to realize a laser radar with a relatively low power consumption.

このように、例えばレーザレーダに要求される価格、消費電力などの条件を考慮すると、レーザビームの出射角度を高精度に制御することは難しい。   In this way, it is difficult to control the emission angle of the laser beam with high accuracy in consideration of conditions such as price and power consumption required for the laser radar.

特開平8−248131号公報JP-A-8-248131 特開2011−85577号公報JP 2011-85577 A 特開平8−261753号公報JP-A-8-261653 特開2011−112585号公報JP 2011-112585 A 特開2008−241273号公報JP 2008-241273 A 特開2009−58341号公報JP 2009-58341 A

従来の距離測定装置では、レーザビームの出射角度を高精度に制御することは難しい。   In the conventional distance measuring device, it is difficult to control the emission angle of the laser beam with high accuracy.

そこで、本発明は、レーザビームの出射角度を高精度に制御可能な距離測定装置、発光タイミング制御装置及びプログラムを提供することを目的とする。   Therefore, an object of the present invention is to provide a distance measuring device, a light emission timing control device, and a program that can control the emission angle of a laser beam with high accuracy.

本発明の一観点によれば、レーザビームを偏向する往復振動型ミラーのミラー角度と、前記ミラーで偏向されたレーザビームの走査角度を拡大する走査角度拡大レンズからの出射角度の関係を、前記ミラーが基準位置にある状態から各ミラー角度に達するまでの経過時間で表して格納した記憶部と、前記ミラー角度を検出するセンサの出力信号に基づいて前記基準位置と前記ミラーの振動振幅とを検出する検出部と、前記検出部が検出した前記基準位置と、前記ミラー角度とに基づいて前記ミラーの振動周波数とを検出するミラードライバと、前記検出部が前記基準位置を検出したことをカウント開始のトリガとしてクロックをカウントして時間を計測する計測部と、前記検出部が検出した前記ミラーの振動振幅と、前記ミラードライバが検出した前記振動周波数とに基づいて前記記憶部に格納された前記経過時間を補正する補正部と、前記計測部計測した前記時間と前記記憶部に格納された経過時間が一致した時点で前記レーザビームを発光るようにレーザ光源を駆動する制御部と、を備え、前記補正部は、前記レーザビームの発光周波数より低い周波数で前記経過時間を間欠的に補正し、前記クロックの周波数は、前記ミラー角度の水平方向のサンプリング数をN、前記振動周波数をfで表すと、N×f以上に設定される発光タイミング制御装置が提供される。 According to one aspect of the present invention, the mirror angle of the reciprocating vibratory mirror for deflecting the laser beam, the relationship between the emission angle from the scanning angle magnifying lens to enlarge the scan angle of the deflected laser beam by the mirror A storage unit that represents and stores the elapsed time from when the mirror is in the reference position to each mirror angle, and the vibration amplitude of the reference position and the mirror based on the output signal of the sensor that detects the mirror angle a detector for detecting the door, and the reference position where the detection unit has detected, and the mirror driver for detecting the vibration frequency of the mirror on the basis of said mirror angle, said detecting unit detects the reference position a measuring unit for measuring time by counting the clock as a trigger for count start and a vibration amplitude of the mirror the detection unit has detected, the mirror driver When the correction unit for correcting the elapsed time stored in the storage unit based on the detected the vibration frequency, and the elapsed measuring unit is stored in the time and the storage unit measured time matches and a control unit for driving the laser light source so that to emit the laser beam, wherein the correction unit, the laser beam the elapsed time at a frequency lower than the emission frequency of the intermittently correction, the frequency of the clock Provides a light emission timing control device that is set to N × f or more, where N represents the number of samplings of the mirror angle in the horizontal direction and f represents the vibration frequency .

開示の距離測定装置、発光タイミング制御装置及びプログラムによれば、レーザビームの出射角度を高精度に制御することができる。   According to the disclosed distance measuring device, light emission timing control device, and program, the laser beam emission angle can be controlled with high accuracy.

MEMSミラーの走査特性の一例を示す図である。It is a figure which shows an example of the scanning characteristic of a MEMS mirror. 走査角度拡大レンズの入出射走査特性の一例を示す図である。It is a figure which shows an example of the entrance / exit scanning characteristic of a scanning angle expansion lens. 本発明の第1実施例における発光タイミング制御系の一例を示す図である。It is a figure which shows an example of the light emission timing control system in 1st Example of this invention. 図3の発光タイミング制御系で用いるテーブルの一例を示す図である。It is a figure which shows an example of the table used with the light emission timing control system of FIG. 制御部の動作の一例を説明するフローチャートである。It is a flowchart explaining an example of operation | movement of a control part. 本発明の第2実施例における発光タイミング制御系の一例を示す図である。It is a figure which shows an example of the light emission timing control system in 2nd Example of this invention. ラスタ走査を説明する図である。It is a figure explaining raster scanning. 角度センサが出力する信号電圧とミラー角度の関係の一例を示す図である。It is a figure which shows an example of the relationship between the signal voltage which an angle sensor outputs, and a mirror angle. ミラー角度とレーザビームの出射角度の関係の一例を説明する図である。It is a figure explaining an example of the relationship between a mirror angle and the radiation angle of a laser beam. 基準位置を説明する図である。It is a figure explaining a reference position. ミラー角度とクロックの関係の一例を説明する図である。It is a figure explaining an example of the relationship between a mirror angle and a clock. 発光タイミングテーブルの一例を示す図である。It is a figure which shows an example of the light emission timing table. レーザビームの出射角度と時間の関係の一例を示す図である。It is a figure which shows an example of the relationship between the emission angle of a laser beam, and time. ミラー角度と時間の関係の一例を示す図である。It is a figure which shows an example of the relationship between a mirror angle and time. 発光タイミング制御処理の一例を説明するフローチャートである。It is a flowchart explaining an example of light emission timing control processing. 発光タイミングテーブルの一例を示す図である。It is a figure which shows an example of the light emission timing table. 発光タイミングテーブルの他の例を示す図である。It is a figure which shows the other example of a light emission timing table. 受光系を含む制御系の一例を説明する図である。It is a figure explaining an example of the control system containing a light reception system. コンピュータの一例を示すブロック図である。It is a block diagram which shows an example of a computer.

開示の距離測定装置、発光タイミング制御装置及びプログラムでは、レーザビームを偏向する往復振動型ミラーのミラー角度と、ミラーで偏向されたレーザビームの走査角度を拡大する走査角度拡大レンズからの出射角度の関係を、ミラー角度をミラーの基準位置からの経過時間で表して、例えばテーブル形式で記憶部に格納する。検出部は、ミラー角度を検出するセンサの出力信号に基づいて基準位置を検出し、計測部は、検出部が検出した基準位置に基づいて時間を計測する。制御部は、計測部の計測時間と記憶部に格納された経過時間が一致した時点でレーザビームを発光させるようにレーザ光源を駆動する。制御部は、ミラー角度振幅から駆動するタイミングを補正しても良い。   In the disclosed distance measuring device, light emission timing control device, and program, the mirror angle of the reciprocating vibration type mirror that deflects the laser beam and the emission angle from the scanning angle expanding lens that expands the scanning angle of the laser beam deflected by the mirror are calculated. The relationship is expressed in the elapsed time from the mirror reference position by the mirror angle, and is stored in the storage unit in a table format, for example. The detection unit detects a reference position based on an output signal of a sensor that detects a mirror angle, and the measurement unit measures time based on the reference position detected by the detection unit. The control unit drives the laser light source so that the laser beam is emitted when the measurement time of the measurement unit matches the elapsed time stored in the storage unit. The control unit may correct the driving timing from the mirror angle amplitude.

以下に、開示の距離測定装置、発光タイミング制御装置及びプログラムの各実施例を図面と共に説明する。   Hereinafter, embodiments of the disclosed distance measuring device, light emission timing control device, and program will be described with reference to the drawings.

視認性向上のため、例えば自動車などの車両に車載カメラを搭載することが提案されている。このような車載カメラとレーザレーダを組み合わせることで、自動車の障害物検知及び安全性のさらなる向上が期待できる。この場合、カメラの撮像範囲は例えば180度×140度でありレーザレーダの走査範囲と比較すると広いため、カメラの撮像範囲に合わせてレーザレーダの走査角度を広げることが好ましい。そこで、レーザレーダの走査角度を拡大するため、MEMS(Micro Electro Mechanical System)ミラーと、MEMSミラーで偏向されたレーザビームの走査角度を拡大する走査角度拡大レンズを組み合わせることが考えられる。走査角度拡大レンズ自体は、例えば特許文献6などから周知である。   In order to improve visibility, it has been proposed to mount an in-vehicle camera on a vehicle such as an automobile. By combining such an in-vehicle camera and a laser radar, it is possible to expect further improvement in vehicle obstacle detection and safety. In this case, since the imaging range of the camera is, for example, 180 degrees × 140 degrees and is wider than the scanning range of the laser radar, it is preferable to widen the scanning angle of the laser radar according to the imaging range of the camera. Therefore, in order to expand the scanning angle of the laser radar, it is conceivable to combine a MEMS (Micro Electro Mechanical System) mirror and a scanning angle expanding lens that expands the scanning angle of the laser beam deflected by the MEMS mirror. The scanning angle magnifying lens itself is known from, for example, Patent Document 6.

しかし、MEMSミラーのような2次元スキャナは、往復走査を行うために、回転走査のような等速度走査を行うことができず、実際の走査軌跡は例えば図1に示すような正弦波的な走査軌跡となる。図1は、MEMSミラーの走査特性の一例を示す図であり、縦軸は相対ビーム振り角(%)を示し、横軸は相対時間(%)を示す。   However, a two-dimensional scanner such as a MEMS mirror cannot perform constant speed scanning such as rotational scanning in order to perform reciprocal scanning, and the actual scanning locus is, for example, a sinusoidal wave as shown in FIG. It becomes a scanning locus. FIG. 1 is a diagram illustrating an example of scanning characteristics of a MEMS mirror, where the vertical axis indicates relative beam swing angle (%) and the horizontal axis indicates relative time (%).

また、走査角度拡大レンズでは、例えば図2に示すようにレーザビームの入射角度が大きくなるにつれて、レーザビームの出射角度の変化率も大きくなり、入射角度は出射角度に比例しない。図2は、走査角度拡大レンズの入出射走査特性の一例を示す図であり、縦軸は相対ビーム出射角(%)を示し、横軸は相対ビーム入射角(%)を示す。このため、走査角度拡大レンズを介した単一周波数でのレーザービームの出射(即ち、一定間隔の発光)では、レーザビームを等角度間隔で出射することができない。レーザビームを等角度間隔で出射するためには、例えば図3に示す制御部15によりレーザビームの出射タイミング(即ち、発光タイミング)を可変制御することが考えられる。   Further, in the scanning angle magnifying lens, for example, as shown in FIG. 2, as the incident angle of the laser beam increases, the rate of change of the emission angle of the laser beam increases, and the incident angle is not proportional to the emission angle. FIG. 2 is a diagram showing an example of the incident / exit scanning characteristics of the scanning angle expanding lens. The vertical axis represents the relative beam exit angle (%), and the horizontal axis represents the relative beam incident angle (%). For this reason, the laser beam cannot be emitted at equiangular intervals when the laser beam is emitted at a single frequency through the scanning angle expanding lens (that is, light emission at a constant interval). In order to emit the laser beam at equal angular intervals, for example, it is conceivable to variably control the emission timing (that is, the emission timing) of the laser beam by the control unit 15 shown in FIG.

図3は、本発明の第1実施例における距離測定装置の発光タイミング制御系の一例を示す図である。図3において、発光タイミング制御系は、発光タイミング制御装置の一例であり、MEMSミラー11、角度センサ12、ミラー角度検出部13、制御部14、及びレーザダイオード(LD:Laser Diode)部15を有する。図3では、MEMSミラー11自体は周知であり、MEMSミラー11は周知の方法で2次元的に駆動可能であるため、MEMSミラー11の駆動系の図示は省略する。角度センサ12はMEMSミラー11の位置(傾き)を検出して位置信号をミラー角度検出部13に出力する。ミラー角度検出部13は、位置信号に基づいてMEMSミラー11のミラー角度を検出し、ミラー角度を示す信号を制御部14に出力する。制御部14は、ミラー角度に応じた設定出射角度を示す制御信号をLD部15に出力する。LD部15は、LDドライバと、レーザ光源の一例であるLDを有し、LDドライバは制御信号に応じたタイミングでLDを駆動してLDを発光させてレーザビームを出射させる。レーザビームは、MEMSミラー11で反射されて設定出射角度で出射され、走査角度拡大レンズ16を介して対象物(図示せず)の2次元走査を行う。   FIG. 3 is a diagram illustrating an example of a light emission timing control system of the distance measuring apparatus according to the first embodiment of the present invention. In FIG. 3, the light emission timing control system is an example of a light emission timing control device, and includes a MEMS mirror 11, an angle sensor 12, a mirror angle detection unit 13, a control unit 14, and a laser diode (LD) unit 15. . In FIG. 3, the MEMS mirror 11 itself is well known, and the MEMS mirror 11 can be driven two-dimensionally by a well-known method, and therefore the drive system of the MEMS mirror 11 is not shown. The angle sensor 12 detects the position (tilt) of the MEMS mirror 11 and outputs a position signal to the mirror angle detector 13. The mirror angle detection unit 13 detects the mirror angle of the MEMS mirror 11 based on the position signal, and outputs a signal indicating the mirror angle to the control unit 14. The control unit 14 outputs a control signal indicating a set emission angle corresponding to the mirror angle to the LD unit 15. The LD unit 15 includes an LD driver and an LD that is an example of a laser light source. The LD driver drives the LD at a timing according to a control signal to emit the LD and emit a laser beam. The laser beam is reflected by the MEMS mirror 11 and emitted at a set emission angle, and two-dimensional scanning of an object (not shown) is performed via the scanning angle magnification lens 16.

この場合、例えば図4に示すように、MEMSミラー11の振れ角(deg)とレーザビームの設定出射角度(deg)の関係を示すテーブルを予め作成しておくことで、制御部14は、MEMSミラー11の位置を角度センサ12で逐次検出しながらテーブルから対応する設定出射角度を読み出してLD部15のLDを読み出した設定出射角度に応じたタイミングで駆動することで、レーザビームの出射角度を等間隔化することができる。図5は、制御部14の動作の一例を説明するフローチャートである。図5において、ステップS1は、検出されたミラー角度を示す信号をミラー角度検出部13から入力する。ステップS2は、図4のテーブルを参照し、検出されたミラー角度が当該テーブル中のミラー角度であるか否かを判定し、判定結果がNOであると、処理はステップS1へ戻る。一方、ステップS2の判定結果がYESであると、ステップS3は、検出されたミラー角度に対応する設定出射角度をテーブルから読み出し、読み出した設定出射角度を示す制御信号をLD部15に出力することで発光を指示してLDからレーザビームを出射させる。このような発光タイミング制御系によれば、LDの発光タイミングを正確に制御することができるので、レーザビームの出射角度を高精度に制御することができる。   In this case, for example, as shown in FIG. 4, the control unit 14 can create the table indicating the relationship between the deflection angle (deg) of the MEMS mirror 11 and the set emission angle (deg) of the laser beam in advance. By sequentially detecting the position of the mirror 11 with the angle sensor 12 and reading the corresponding set emission angle from the table and driving the LD of the LD unit 15 at the timing corresponding to the set emission angle read, the laser beam emission angle is set. It can be equally spaced. FIG. 5 is a flowchart for explaining an example of the operation of the control unit 14. In FIG. 5, in step S <b> 1, a signal indicating the detected mirror angle is input from the mirror angle detection unit 13. Step S2 refers to the table of FIG. 4 to determine whether or not the detected mirror angle is a mirror angle in the table. If the determination result is NO, the process returns to step S1. On the other hand, if the decision result in the step S2 is YES, a step S3 reads a set emission angle corresponding to the detected mirror angle from the table and outputs a control signal indicating the read set emission angle to the LD unit 15. The light emission is instructed to emit a laser beam from the LD. According to such a light emission timing control system, since the light emission timing of the LD can be accurately controlled, the emission angle of the laser beam can be controlled with high accuracy.

しかし、LDの発光周期に対して少なくとも数分の1程度の短い時間でミラー位置の検出(ステップS1)とレーザビームの出射角度の判断(ステップS2)を行うためには、MEMSミラー11の位置を角度センサ12で逐次検出して図5のループLを高速で実行することが求められ、消費電力が増加してしまう。   However, in order to detect the mirror position (step S1) and to determine the laser beam emission angle (step S2) in a time as short as at least a fraction of the light emission period of the LD, the position of the MEMS mirror 11 is used. 5 is sequentially detected by the angle sensor 12, and the loop L in FIG. 5 is required to be executed at high speed, resulting in an increase in power consumption.

このため、高速なミラー位置の検出及びレーザビームの出射角度の判断を行わずにLDの発光タイミングを制御することが好ましい。また、比較的簡易な方法でレーザビームの出射角度を高精度に制御可能とすることが好ましい。さらに、外乱の影響、消費電力、コストなどを抑えて、レーザビームの出射角度を高精度に制御可能とすることが好ましい。   For this reason, it is preferable to control the light emission timing of the LD without performing high-speed mirror position detection and determination of the laser beam emission angle. It is preferable that the laser beam emission angle can be controlled with high accuracy by a relatively simple method. Furthermore, it is preferable that the laser beam emission angle can be controlled with high accuracy while suppressing the influence of disturbance, power consumption, cost, and the like.

図6は、本発明の第2実施例における発光タイミング制御系の一例を示す図である。発光タイミング制御系は、発光タイミング制御装置の一例である。図6中、図3と同一部分には同一符号を付し、その説明は省略する。発光タイミング制御系21が、図6に示す如く接続されたミラー角度検出部23、発光タイミング制御部24、クロック生成部25、クロックカウンタ26、テーブル補正部27、走査回数カウンタ28、及びミラードライバ(ミラー駆動回路)29を有する。LD部15は、LDドライバ(LD駆動回路)15−1及びLD15−2を有する。   FIG. 6 is a diagram showing an example of a light emission timing control system in the second embodiment of the present invention. The light emission timing control system is an example of a light emission timing control device. In FIG. 6, the same parts as those in FIG. 3 are denoted by the same reference numerals, and the description thereof is omitted. The light emission timing control system 21 includes a mirror angle detection unit 23, a light emission timing control unit 24, a clock generation unit 25, a clock counter 26, a table correction unit 27, a scanning number counter 28, and a mirror driver ( Mirror driving circuit) 29. The LD unit 15 includes an LD driver (LD drive circuit) 15-1 and an LD 15-2.

LD15−2から出射されたレーザビームは、MEMSミラー11にて偏向され、さらに走査角度拡大レンズ16にて走査角度が広げられる。図7は、ラスタ走査を説明する図である。レーザビームによる走査は、例えば図7の上部に示すように、MEMSミラー11の水平走査軸(図6中、紙と垂直な軸)を中心とした往復運動時の往路(例えば、P1→P1')のみで発光を行い、その後MEMSミラー11の垂直走査軸(図6中、紙と平行な軸)を中心として移動させ(例えば、P1'→P2)、再度MEMSミラー11の垂直軸を中心とした往復運動時の往路(例えば、P2→P2')のみで発光を行う。図7の上部に示された丸印は、LD15−2の発光タイミングを示す。このような走査を例えばPn→Pn'(nは2以上の自然数)まで繰り返して2次元的にラスタ走査を行なう。図7の下部は、MEMSミラー11のミラー角度(任意単位)と時間(任意単位)の関係を例えば地面に対して水平方向上の走査位置HP及び垂直方向上の走査位置VPについて示す。図7の下部に示すように、垂直方向については階段状の走査となるので、水平方向の走査との組み合わせにより2次元的なラスタ走査が行われる。なお、MEMSミラー11の垂直方向の駆動については、階段状の駆動に限定されず、線形の駆動、鋸波状の駆動などを用いても良い。このようなMEMSミラー11の水平及び垂直方向の駆動は、ミラードライバ29が生成出力する、MEMSミラー11の振動振幅及び振動周波数を決定する駆動信号に基づいて行われる。   The laser beam emitted from the LD 15-2 is deflected by the MEMS mirror 11, and the scanning angle is expanded by the scanning angle magnifying lens 16. FIG. 7 is a diagram for explaining raster scanning. For example, as shown in the upper part of FIG. 7, the scanning with the laser beam is a forward path (for example, P1 → P1 ′) at the time of reciprocating movement around the horizontal scanning axis of the MEMS mirror 11 (axis perpendicular to the paper in FIG. 6). ), And then moved around the vertical scanning axis of the MEMS mirror 11 (in FIG. 6, the axis parallel to the paper) (for example, P1 ′ → P2), and again centered on the vertical axis of the MEMS mirror 11 The light emission is performed only in the forward path (for example, P2 → P2 ′) during the reciprocating motion. The circles shown in the upper part of FIG. 7 indicate the light emission timing of the LD 15-2. Such scanning is repeated up to, for example, Pn → Pn ′ (n is a natural number of 2 or more), and raster scanning is performed two-dimensionally. The lower part of FIG. 7 shows the relationship between the mirror angle (arbitrary unit) and time (arbitrary unit) of the MEMS mirror 11 with respect to the scanning position HP in the horizontal direction and the scanning position VP in the vertical direction with respect to the ground, for example. As shown in the lower part of FIG. 7, since the scanning in the vertical direction is stepped, two-dimensional raster scanning is performed in combination with the scanning in the horizontal direction. Note that the vertical drive of the MEMS mirror 11 is not limited to a step-like drive, and a linear drive, a sawtooth drive, or the like may be used. Such driving of the MEMS mirror 11 in the horizontal and vertical directions is performed based on a drive signal that is generated and output by the mirror driver 29 and determines the vibration amplitude and vibration frequency of the MEMS mirror 11.

MEMSミラー11には、角度センサ12が設けられており、角度センサ12は周知の方法でMEMSミラー11の位置を検出してMEMSミラー11のミラー角度を表す信号を出力する。角度センサ12は、例えばMEMSミラー11の回転軸にコーティングされた圧電素子からの電圧に基づいてMEMSミラー11の位置を検出しても良い。また、角度センサ12は、MEMSミラー11の位置を光学的に検出するものであっても良い。例えば、角度センサ12は、ミラー角度検出用のレーザビームをMEMSミラー11に照射し、MEMSミラー11からの反射光を複数分割のフォトダイオード(PD:Photo-Diode)で受光して反射光の方向からMEMSミラー11の位置を検出するものであっても良い。角度センサ12は、検出したMEMSミラー11の位置を表す信号をミラー角度検出部23に出力する。図8は、角度センサ12が出力する信号電圧(任意単位)と、MEMSミラー11のミラー角度(deg)の関係の一例を示す図である。   The MEMS mirror 11 is provided with an angle sensor 12. The angle sensor 12 detects the position of the MEMS mirror 11 by a known method and outputs a signal representing the mirror angle of the MEMS mirror 11. The angle sensor 12 may detect the position of the MEMS mirror 11 based on, for example, a voltage from a piezoelectric element coated on the rotation axis of the MEMS mirror 11. Further, the angle sensor 12 may optically detect the position of the MEMS mirror 11. For example, the angle sensor 12 irradiates the MEMS mirror 11 with a laser beam for mirror angle detection, receives the reflected light from the MEMS mirror 11 with a plurality of divided photodiodes (PD: Photo-Diode), and the direction of the reflected light. Alternatively, the position of the MEMS mirror 11 may be detected. The angle sensor 12 outputs a signal indicating the detected position of the MEMS mirror 11 to the mirror angle detection unit 23. FIG. 8 is a diagram illustrating an example of the relationship between the signal voltage (arbitrary unit) output from the angle sensor 12 and the mirror angle (deg) of the MEMS mirror 11.

ミラー角度検出部23は、MEMSミラー11の傾き角が負から正、または、正から負に遷移する時の傾き角が0度を基準位置(または、基準点)とした基準位置信号と、傾き角の振幅の情報(以下、「振幅情報」とも言う)を出力する。傾き角が0度の状態とは、例えばMEMSミラー11がミラードライバ29により駆動されていない状態である。振幅情報は、基準位置(0度)を基準とした最大および最小のミラー角度の差分を表す。図9は、ミラー角度とレーザビームの出射角度の関係の一例を説明する図であり、図10は、基準位置を説明する図である。図9中、図6と同一部分には同一符号を付し、その説明は省略する。   The mirror angle detection unit 23 includes a reference position signal in which the inclination angle of the MEMS mirror 11 changes from negative to positive or from positive to negative, with the reference angle (or reference point) being 0 degree, and the inclination angle Information on the amplitude of the corner (hereinafter also referred to as “amplitude information”) is output. The state where the tilt angle is 0 degree is a state where the MEMS mirror 11 is not driven by the mirror driver 29, for example. The amplitude information represents the difference between the maximum and minimum mirror angles with reference to the reference position (0 degree). FIG. 9 is a diagram for explaining an example of the relationship between the mirror angle and the laser beam emission angle, and FIG. 10 is a diagram for explaining the reference position. 9, parts that are the same as the parts shown in FIG. 6 are given the same reference numerals, and explanation thereof is omitted.

図9に示す例では、MEMSミラー11はミラー角度が0度の状態に対し、正方向には+θ度、負方向へは−θ度までの範囲で変位可能である。また、MEMSミラー11で偏向(即ち、反射)されたレーザビームは、走査角度拡大レンズ16の光軸に対し、+φ方向の出射角度から−φ方向の出射角度までの範囲で走査可能である。つまり、MEMSミラー11のミラー角度が−θ度から+θ度まで変位すると、走査角度拡大レンズ16を介したレーザビームの出射角度は−φ度から+φ度までの走査範囲を走査する。なお、MEMSミラー11は、例えば図7と共に説明した水平方向上で−θ度から+θ度の範囲で変位(即ち、振動)すると共に、水平方向と垂直な垂直方向上で−β度から+β度の範囲で変位(即ち、振動)するがその図示は省略する。同様に、走査角度拡大レンズ16を介したレーザビームの出射角度は第1の走査面上で−φ度から+φ度までの走査範囲を走査すると共に、第1の走査面と垂直な第2の走査面上で−γ度から+γ度までの走査範囲を走査するがその図示は省略する。   In the example shown in FIG. 9, the MEMS mirror 11 can be displaced in a range of + θ degrees in the positive direction and −θ degrees in the negative direction with respect to a state where the mirror angle is 0 degrees. Further, the laser beam deflected (that is, reflected) by the MEMS mirror 11 can be scanned with respect to the optical axis of the scanning angle magnifying lens 16 in the range from the emission angle in the + φ direction to the emission angle in the −φ direction. That is, when the mirror angle of the MEMS mirror 11 is displaced from −θ degrees to + θ degrees, the emission angle of the laser beam via the scanning angle magnifying lens 16 scans the scanning range from −φ degrees to + φ degrees. Note that the MEMS mirror 11 is displaced (that is, vibrates) in the range of −θ degrees to + θ degrees on the horizontal direction described with reference to FIG. 7, for example, and −β degrees to + β degrees on the vertical direction perpendicular to the horizontal direction. The displacement (that is, vibration) in the range is shown, but illustration thereof is omitted. Similarly, the emission angle of the laser beam via the scanning angle magnifying lens 16 scans the scanning range from −φ degrees to + φ degrees on the first scanning plane and the second angle perpendicular to the first scanning plane. The scanning range from −γ degrees to + γ degrees is scanned on the scanning plane, but illustration thereof is omitted.

図10において、縦軸は水平方向上でのミラー角度を任意単位で示し、横軸は時間を任意単位で示す。図10中、細かい破線、実線、粗い破線は、互いに異なるθ値の場合を示す。図10からもわかるように、θ値が異なる場合でもミラー角度が0度の位置は変動しないので、MEMSミラー11の基準位置(または、基準点)として用いるのに好適である。   In FIG. 10, the vertical axis indicates the mirror angle in the horizontal direction in arbitrary units, and the horizontal axis indicates time in arbitrary units. In FIG. 10, a fine broken line, a solid line, and a coarse broken line indicate cases of different θ values. As can be seen from FIG. 10, even when the θ value is different, the position where the mirror angle is 0 degrees does not fluctuate, which is suitable for use as the reference position (or reference point) of the MEMS mirror 11.

なお、基準位置は、ミラー角度が0度の位置に限定されるものではなく、任意のミラー角度の位置に設定可能である。例えば、基準位置は、ミラー角度が+θの最大値の位置であっても、−θの最小値の位置であっても良い。   The reference position is not limited to the position where the mirror angle is 0 degrees, and can be set to a position of an arbitrary mirror angle. For example, the reference position may be the position of the maximum value of the mirror angle + θ or the position of the minimum value of −θ.

図6の説明に戻るに、クロック生成部25はクロックを生成してクロックカウンタ26に出力する。また、ミラー角度検出部23は、基準位置信号をクロックカウンタ26に出力する。クロックカウンタ26は、基準位置信号をクロックカウント開始トリガとして、クロックをカウントする。クロックカウンタ26は、MEMSミラー11が基準位置にある状態からの経過時間、即ち、基準位置からの経過時間を計測する計測部の一例である。   Returning to the description of FIG. 6, the clock generator 25 generates a clock and outputs it to the clock counter 26. Further, the mirror angle detector 23 outputs a reference position signal to the clock counter 26. The clock counter 26 counts the clock using the reference position signal as a clock count start trigger. The clock counter 26 is an example of a measuring unit that measures an elapsed time from a state in which the MEMS mirror 11 is at the reference position, that is, an elapsed time from the reference position.

図11は、ミラー角度とクロックの関係の一例を説明する図である。図11において、縦軸は上から順にミラー角度、クロック、及びクロックカウント開始トリガ(即ち、基準位置信号)を任意単位で示し、横軸は時間を任意単位で示す。図11に示すサンプリング領域は、例えばミラー角度検出部23が角度センサ12の出力信号に基づいてMEMSミラー11のミラー角度をサンプリングする領域である。   FIG. 11 is a diagram illustrating an example of the relationship between the mirror angle and the clock. In FIG. 11, the vertical axis indicates the mirror angle, the clock, and the clock count start trigger (that is, the reference position signal) in arbitrary units in order from the top, and the horizontal axis indicates the time in arbitrary units. The sampling area shown in FIG. 11 is an area where the mirror angle detector 23 samples the mirror angle of the MEMS mirror 11 based on the output signal of the angle sensor 12, for example.

図12は、発光タイミングテーブルの一例を示す図である。発光タイミングテーブルは、レーザビームの走査角度拡大レンズ16からの設定出射角度(deg)に対するMEMSミラー11のミラー角度(deg)、及びクロックカウント数を格納している。クロックカウント数は、例えばクロック周波数及びMEMSミラー11の振動振幅と振動周波数によって決定しても良い。発光タイミングテーブル及びMEMSミラー11の振動振幅と振動周波数は、テーブル補正部27内の記憶部(図示せず)に格納しても、テーブル補正部27に外部接続された記憶部(図示せず)に格納しても良い。テーブル補正部27は、ミラー角度検出部23が出力する振幅情報が表すミラー角度に相当するクロックカウント数を発光タイミングテーブルから読み出して発光タイミング制御部24に出力する。発光タイミング制御部24は、テーブル補正部27が出力するクロックカウント数(または、経過時間)をクロックカウンタ26が出力するクロックカウント値(または、計測時間)と照合し、一致した時点で発光を指示する発光トリガをLD部15のLDドライバ15−1に出力する。これにより、LDドライバ15−1は発光トリガに応答してLD15−2を駆動して発光させるので、LD15−2が出射されるレーザビームがMEMSミラー11に照射される。   FIG. 12 is a diagram illustrating an example of a light emission timing table. The light emission timing table stores the mirror angle (deg) of the MEMS mirror 11 with respect to the set emission angle (deg) of the laser beam scanning angle expansion lens 16 and the clock count number. The clock count number may be determined by, for example, the clock frequency and the vibration amplitude and vibration frequency of the MEMS mirror 11. Even if the vibration amplitude and vibration frequency of the light emission timing table and the MEMS mirror 11 are stored in a storage unit (not shown) in the table correction unit 27, a storage unit (not shown) externally connected to the table correction unit 27. You may store in. The table correction unit 27 reads out the clock count corresponding to the mirror angle represented by the amplitude information output from the mirror angle detection unit 23 from the light emission timing table and outputs it to the light emission timing control unit 24. The light emission timing control unit 24 collates the clock count number (or elapsed time) output from the table correction unit 27 with the clock count value (or measurement time) output from the clock counter 26, and instructs light emission when they match. The light emission trigger to be output is output to the LD driver 15-1 of the LD unit 15. As a result, the LD driver 15-1 drives the LD 15-2 in response to the light emission trigger to emit light, so that the MEMS mirror 11 is irradiated with the laser beam emitted from the LD 15-2.

このように、レーザビームの走査角度拡大レンズ16を介した設定出射角度を得るためのMEMSミラー11のミラー角度と、このミラー角度をMEMSミラー11の基準位置からの経過時間から算出するためのクロックカウント数をテーブル化して、予め図12に示す発光タイミングテーブルに格納しておく。クロックカウンタ26のクロックカウント値がこの発光タイミングテーブルに格納されたクロックカウント数に達したタイミングでLD15−2を発光させることで、走査角度拡大レンズ16から設定出射角度でレーザビームを出射することができる。このため、図5のように逐次ミラー角度を検出して出射タイミングの判定を行わなくても良い。   In this way, the clock angle for calculating the mirror angle of the MEMS mirror 11 for obtaining the set emission angle through the scanning angle magnifying lens 16 of the laser beam and the elapsed time from the reference position of the MEMS mirror 11. The count numbers are tabulated and stored in advance in the light emission timing table shown in FIG. By causing the LD 15-2 to emit light at the timing when the clock count value of the clock counter 26 reaches the clock count number stored in the light emission timing table, the laser beam can be emitted from the scanning angle expansion lens 16 at the set emission angle. it can. For this reason, it is not necessary to detect the mirror angle sequentially and determine the emission timing as shown in FIG.

MEMSミラー11の基準位置からの経過時間に応じてミラー角度を決定してレーザビームを出射させる場合、何らかの原因(例えば、温度変化)でMEMSミラー11の傾き角の振幅変動が発生すると、同じ発光タイミングでLDを駆動したのでは実際の出射角度に設定出射角度からのずれが生じてしまう場合がある。   In the case where the mirror angle is determined according to the elapsed time from the reference position of the MEMS mirror 11 and the laser beam is emitted, if the amplitude fluctuation of the tilt angle of the MEMS mirror 11 occurs due to some cause (for example, temperature change), the same light emission. If the LD is driven at the timing, the actual emission angle may deviate from the set emission angle.

次に、MEMSミラー11の振幅揺らぎなどの振幅変動に対する補正について説明する。図13は、レーザビームの出射角度と時間の関係の一例を示す図であり、図14は、ミラー角度と時間の関係の一例を示す図である。図13において、縦軸は相対出射角(%)を示し、横軸は相対時間を任意単位で示す。図13に示ように、振動振幅が□印の基準データから▲印の振幅が例えば20%低下したデータに変化すると、例えば予め決定され初期発光タイミングテーブルに格納されている設定出射角度を得るためのレーザビームの出射では、相対出射角が0(%)で相対時間が0の位置以外では出射角度が小さくなり補正することが好ましい。MEMSミラー11のミラー角度θは、θ=A×sin(2πtf)なる数式で表すことができる。ここで、AはMEMSミラー11の振動振幅/2で表される角度振幅、tは時間、fはMEMSミラー11の振動周波数である。この数式より好ましいミラー角度θは図12の発光タイミングテーブルより既知であり、角度振幅Aと振動周波数fは図6に示すミラー角度検出部23及びミラードライバ29より検出でき、ミラー角度θに対応する時間tは算出可能である。時間tをクロックカウント数に反映させることで、クロックカウント数を補正することが可能である。図13の例では、水平方向の矢印で示された振幅低下を、クロックカウント数を補正するクロック補正により補正する。   Next, correction for amplitude variation such as amplitude fluctuation of the MEMS mirror 11 will be described. FIG. 13 is a diagram showing an example of the relationship between the laser beam emission angle and time, and FIG. 14 is a diagram showing an example of the relationship between the mirror angle and time. In FIG. 13, the vertical axis represents the relative emission angle (%), and the horizontal axis represents the relative time in arbitrary units. As shown in FIG. 13, when the vibration amplitude changes from the reference data marked with □ to the data where the amplitude marked with ▲ is reduced by, for example, 20%, for example, in order to obtain a preset emission angle determined in advance and stored in the initial light emission timing table. In the laser beam emission, it is preferable that the emission angle be small and corrected except for the position where the relative emission angle is 0 (%) and the relative time is 0. The mirror angle θ of the MEMS mirror 11 can be expressed by an equation: θ = A × sin (2πtf). Here, A is the angular amplitude represented by the vibration amplitude / 2 of the MEMS mirror 11, t is time, and f is the vibration frequency of the MEMS mirror 11. The mirror angle θ preferred from this equation is known from the light emission timing table of FIG. 12, and the angle amplitude A and the vibration frequency f can be detected by the mirror angle detector 23 and the mirror driver 29 shown in FIG. 6, and correspond to the mirror angle θ. The time t can be calculated. By reflecting the time t on the clock count number, the clock count number can be corrected. In the example of FIG. 13, the amplitude decrease indicated by the horizontal arrow is corrected by clock correction for correcting the clock count number.

図14の例では、対応する時間tは、t=(1/2πf)×arcsin{(θ/(A/2))}なる数式で表され、クロックカウント数はt/T+αなる数式で表される。ここで、Tはクロック周期、αは位相調整分のクロックである。ただし、振動振幅が所定値以下でありレーザビームを好ましい角度へ出射できない程度まで小さい部分については、上記のクロック補正は行わないようにして発光タイミング制御系の誤作動(または、エラー)を防いても良い。つまり、MEMSミラー11の傾き角の振幅低下により、傾き角の高振幅側における好ましい角度位置でレーザビームを出射できない場合は、1水平走査期間内のレーザ発光回数を減らして、発光タイミング制御系の誤動作を防いでも良い。   In the example of FIG. 14, the corresponding time t is represented by an equation of t = (1 / 2πf) × arcsin {(θ / (A / 2))}, and the clock count is represented by an equation of t / T + α. The Here, T is a clock cycle, and α is a clock for phase adjustment. However, in the portion where the vibration amplitude is less than a predetermined value and the laser beam cannot be emitted to a preferable angle, the above-described clock correction is not performed to prevent malfunction (or error) of the light emission timing control system. Also good. That is, when the laser beam cannot be emitted at a preferable angular position on the high amplitude side of the tilt angle due to the decrease in the tilt angle of the MEMS mirror 11, the number of times of laser light emission within one horizontal scanning period is reduced, and the light emission timing control system It is possible to prevent malfunction.

上記の如き計算をテーブル補正部27で行い、テーブル補正部27内の記憶部(または、外部接続された記憶部)に格納された発光タイミングテーブルの内容及び発光タイミング制御部24の制御内容を更新する。つまり、図14のテーブルを発光タイミングテーブルとして用いても良い。これにより、外乱などによる、MEMSミラー11の傾き角の振幅揺らぎなどの振幅変動に対する補正を行い、レーザビームを高精度で好ましい角度に出射することが可能となる。また、クロックの周波数は、ミラー角度の水平方向のサンプリング数をNとした時、N×fよりも高く設定される。クロックの周波数は、例えばN×f×20程度としても良い。この場合、角度分解能がサンプリング周期の略1/10となる。   The calculation as described above is performed by the table correction unit 27, and the contents of the light emission timing table stored in the storage unit (or externally connected storage unit) in the table correction unit 27 and the control content of the light emission timing control unit 24 are updated. To do. That is, the table of FIG. 14 may be used as the light emission timing table. As a result, it is possible to correct the amplitude fluctuation such as the amplitude fluctuation of the tilt angle of the MEMS mirror 11 due to disturbance or the like, and to emit the laser beam at a preferable angle with high accuracy. The frequency of the clock is set higher than N × f, where N is the number of mirror samplings in the horizontal direction. The frequency of the clock may be about N × f × 20, for example. In this case, the angular resolution is approximately 1/10 of the sampling period.

次に、発光タイミングテーブルの更新の頻度について説明する。MEMSミラー11の振動振幅は外乱の影響を受けて変化し得るが、外乱は温度、空気の流れなどによるものが多く、MEMSミラー11の振動周波数f(例えば数kHz〜数10kHz)に比べて発生する周波数(即ち、頻度)が非常に低い。このため、逐次MEMSミラー11の振動振幅のサンプリングを行わなくても、1ラスタ走査期間(P1〜Pn)以下の周期でサンプリングを行えば良い。図6の例では、ミラー角度検出部23が出力する基準位置信号を走査回数カウンタ28に出力して、水平走査回数をカウントする。この走査回数カウンタ28のカウント値を表す走査回数情報をテーブル補正部27に出力し、この例ではカウント値が240回(Pn=240とした場合)となった時点でテーブル補正部27における発光タイミングテーブルの補正を行う。これにより、逐次発光タイミングテーブルを補正するのではなく、レーザビームの発光周波数より低い周波数で間欠的に補正することで、消費電力を低減することができる。   Next, the frequency of updating the light emission timing table will be described. The vibration amplitude of the MEMS mirror 11 may change due to the influence of the disturbance, but the disturbance is often caused by temperature, air flow, etc., and is generated in comparison with the vibration frequency f (for example, several kHz to several tens of kHz) of the MEMS mirror 11. The frequency (i.e. frequency) to be played is very low. For this reason, even if sampling of the vibration amplitude of the MEMS mirror 11 is not performed sequentially, the sampling may be performed at a cycle of one raster scanning period (P1 to Pn) or less. In the example of FIG. 6, the reference position signal output from the mirror angle detector 23 is output to the scanning number counter 28, and the number of horizontal scanning is counted. Scan number information indicating the count value of the scan number counter 28 is output to the table correction unit 27. In this example, when the count value reaches 240 times (when Pn = 240), the light emission timing in the table correction unit 27 is displayed. Perform table correction. Accordingly, power consumption can be reduced by correcting the light emission timing table intermittently at a frequency lower than the light emission frequency of the laser beam, instead of correcting the light emission timing table sequentially.

図15は、距離測定装置の発光タイミング制御処理の一例を説明するフローチャートである。図15において、ステップS11では、ミラードライバ29は駆動信号を出力してMEMSミラー11を駆動する。ステップS12では、ミラー角度検出部23は角度センサ12が出力する位置信号に基づいてMEMSミラー11の振動振幅を確認する。ステップS13では、テーブル補正部27は振動振幅が規定値以上であるか否かを判定し、判定結果がNOであると処理はステップS12へ戻る。ステップS13の判定結果がYESであると、ステップS14では、テーブル補正部27は初期発光タイミングテーブルを記憶部にセットする。ステップS15では、テーブル補正部27はテーブル補正機能が有効であるか否かを判定し、判定結果がYESであると処理はステップS16へ進み、判定結果がNOであると処理は後述するステップS31へ進む。発光タイミングテーブルの補正を許容する場合には、テーブル補正機能が有効に設定される。   FIG. 15 is a flowchart for explaining an example of the light emission timing control process of the distance measuring apparatus. In FIG. 15, in step S <b> 11, the mirror driver 29 outputs a drive signal to drive the MEMS mirror 11. In step S <b> 12, the mirror angle detection unit 23 confirms the vibration amplitude of the MEMS mirror 11 based on the position signal output from the angle sensor 12. In step S13, the table correction unit 27 determines whether or not the vibration amplitude is greater than or equal to a specified value. If the determination result is NO, the process returns to step S12. If the decision result in the step S13 is YES, in a step S14, the table correction unit 27 sets an initial light emission timing table in the storage unit. In step S15, the table correction unit 27 determines whether or not the table correction function is valid. If the determination result is YES, the process proceeds to step S16, and if the determination result is NO, the process is described later in step S31. Proceed to When the correction of the light emission timing table is allowed, the table correction function is set to be valid.

ステップS16では、ミラードライバ29はミラー角度検出部23からの振幅情報を取得する。また振動周波数となる駆動周波数情報をテーブル補正部27に出力する。ステップS17では、ミラードライバ29は振動振幅が規定値以下であるか否かを判定する。ステップS17の判定結果がYESであると、ステップS18では、ミラードライバ29は振動振幅を既定値に補正する駆動信号をMEMSミラー11に出力し、処理はステップS16へ戻る。一方、ステップS17の判定結果がNOであると、ステップS19では、テーブル補正部27は発光タイミングテーブルの補正処理を行う。ステップS18で振動振幅が補正されると、テーブル補正部27にはミラー角度検出部23からの補正後の振動振幅とミラードライバ29からの補正後の振動周波数を含む駆動周波数情報が供給されるので、テーブル補正部27は例えば上記の数式に振動周波数及び駆動周波数情報に含まれる振動周波数を代入することで発光タイミングデーブルに格納されたクロックカウント数の補正値を求めて発光タイミングテーブルを補正することができる。   In step S <b> 16, the mirror driver 29 acquires amplitude information from the mirror angle detector 23. Further, the drive frequency information that becomes the vibration frequency is output to the table correction unit 27. In step S17, the mirror driver 29 determines whether or not the vibration amplitude is equal to or less than a specified value. If the decision result in the step S17 is YES, in a step S18, the mirror driver 29 outputs a drive signal for correcting the vibration amplitude to a predetermined value to the MEMS mirror 11, and the process returns to the step S16. On the other hand, if the decision result in the step S17 is NO, in a step S19, the table correction unit 27 performs a light emission timing table correction process. When the vibration amplitude is corrected in step S18, the table correction unit 27 is supplied with drive frequency information including the corrected vibration amplitude from the mirror angle detection unit 23 and the corrected vibration frequency from the mirror driver 29. The table correction unit 27 corrects the light emission timing table by obtaining the correction value of the clock count number stored in the light emission timing table by substituting the vibration frequency included in the vibration frequency and drive frequency information into the above formula, for example. Can do.

ステップS20では、走査回数カウンタ28はミラー角度検出部23からの基準位置信号に基づいて水平走査数のカウントを開始する。ステップS21では、クロックカウンタ26は基準位置信号に基づいてクロック生成部25からのクロックのカウントを開始する。ステップS22では、発光タイミング制御部24はクロックカウンタ26のクロックカウント値を確認する。ステップS23では、発光タイミング制御部24は発光対象クロックであるか否かを判定し、判定結果がNOであると処理はステップS22へ戻る。クロックカウンタ26のクロックカウント値がテーブル補正部27の発光タイミングテーブルから読み出されたクロックカウント数(または、クロックカウント数の補正値)と一致してステップS23の判定結果がYESであると、ステップS24では、発光タイミング制御部24は発光を指示する発光トリガをLD部15に出力する。ステップS25では、テーブル補正部27は走査回数カウンタ28からの走査回数情報に基づき、水平走査数のカウント値が規定値に達したか否かを判定し、判定結果がNOであると処理はステップS22へ戻る。ステップS25の判定結果がYESであると、ステップS26では、ミラードライバ29は走査回数カウンタの水平走査数のカウント値をリセットし、処理はステップS16へ戻る。従って、テーブル補正部27は、水平走査カウントが既定値に達しないと発光タイミングテーブルを補正しない。   In step S <b> 20, the scanning number counter 28 starts counting the horizontal scanning number based on the reference position signal from the mirror angle detection unit 23. In step S21, the clock counter 26 starts counting the clock from the clock generator 25 based on the reference position signal. In step S22, the light emission timing control unit 24 checks the clock count value of the clock counter 26. In step S23, the light emission timing control part 24 determines whether it is a light emission object clock, and a process returns to step S22, if a determination result is NO. If the clock count value of the clock counter 26 matches the clock count number read from the light emission timing table of the table correction unit 27 (or the correction value of the clock count number) and the determination result in step S23 is YES, In S <b> 24, the light emission timing control unit 24 outputs a light emission trigger instructing light emission to the LD unit 15. In step S25, the table correction unit 27 determines whether or not the count value of the horizontal scanning number has reached a specified value based on the scanning number information from the scanning number counter 28. If the determination result is NO, the process is stepped. Return to S22. If the decision result in the step S25 is YES, in a step S26, the mirror driver 29 resets the count value of the horizontal scanning number of the scanning number counter, and the process returns to the step S16. Therefore, the table correction unit 27 does not correct the light emission timing table unless the horizontal scanning count reaches a predetermined value.

一方、ステップS31では、ミラードライバ29はミラー角度検出部23からの振幅情報に基づいてMEMSミラー11の振動振幅を検出する。ステップS32では、ミラードライバ29は振動振幅が規定値であるか否かを判定する。ステップS32の判定結果がNOであると、ステップS41では、ミラードライバ29は振動振幅を既定値に補正する駆動信号をMEMSミラー11に出力し、処理はステップS31へ戻る。一方、ステップS32の判定結果がYESであると、ステップS33では、走査回数カウンタ28はミラー角度検出部23からの基準位置信号に基づいて水平走査数のカウントを開始する。ステップS34では、クロックカウンタ26は基準位置信号に基づいてクロック生成部25からのクロックのカウントを開始する。ステップS35では、発光タイミング制御部24はクロックカウンタ26のクロックカウント値を確認する。ステップS36では、発光タイミング制御部24は発光対象クロックであるか否かを判定し、判定結果がNOであると処理はステップS35へ戻る。ステップS36の判定結果がYESであると、ステップS37では、発光タイミング制御部24は発光を指示する発光トリガをLD部15に出力する。ステップS38では、ミラードライバ29は走査回数カウンタ28からの走査回数情報に基づき、水平走査数のカウント値が規定値に達したか否かを判定し、判定結果がNOであると処理はステップS35へ戻る。ステップS38の判定結果がYESであると、ステップS40では、ミラードライバ29は走査回数カウンタの水平走査数のカウント値をリセットし、処理はステップS31へ戻る。   On the other hand, in step S31, the mirror driver 29 detects the vibration amplitude of the MEMS mirror 11 based on the amplitude information from the mirror angle detector 23. In step S32, the mirror driver 29 determines whether or not the vibration amplitude is a specified value. If the decision result in the step S32 is NO, in a step S41, the mirror driver 29 outputs a drive signal for correcting the vibration amplitude to a predetermined value to the MEMS mirror 11, and the process returns to the step S31. On the other hand, if the decision result in the step S32 is YES, the scanning number counter 28 starts counting the horizontal scanning number based on the reference position signal from the mirror angle detection unit 23 in a step S33. In step S34, the clock counter 26 starts counting the clock from the clock generator 25 based on the reference position signal. In step S35, the light emission timing control unit 24 checks the clock count value of the clock counter 26. In step S36, the light emission timing control unit 24 determines whether or not it is a light emission target clock, and if the determination result is NO, the process returns to step S35. If the decision result in the step S36 is YES, the light emission timing control unit 24 outputs a light emission trigger for instructing light emission to the LD unit 15 in a step S37. In step S38, the mirror driver 29 determines whether or not the count value of the horizontal scanning number has reached the specified value based on the scanning number information from the scanning number counter 28. If the determination result is NO, the process is step S35. Return to. If the decision result in the step S38 is YES, in a step S40, the mirror driver 29 resets the count value of the horizontal scanning number of the scanning number counter, and the process returns to the step S31.

図16は、発光タイミングテーブルの一例を示す図である。図16に示すように、発光タイミングテーブルをクロックカウント数と設定出射角度を格納するよう構成し、ミラー角度は特に格納しないようにしても良い。この場合、出射角とMEMSミラー11のミラー角度に対しての関係を数式化し、さらに上記の方法で発光タイミングテーブルを補正することで、レーザビームを好ましい出射角度で出射することが可能となる。図16に示すように、直接的に時間と出射角度の関係をテーブル化した発光タイミングテーブルを用いた場合、基本的には図12に示す発光タイミングテーブルを用いた場合と同様の効果が得られる。   FIG. 16 is a diagram illustrating an example of a light emission timing table. As shown in FIG. 16, the light emission timing table may be configured to store the clock count number and the set emission angle, and the mirror angle may not be particularly stored. In this case, the relationship between the emission angle and the mirror angle of the MEMS mirror 11 is formulated into a numerical formula, and the light emission timing table is corrected by the above method, whereby the laser beam can be emitted at a preferable emission angle. As shown in FIG. 16, when a light emission timing table in which the relationship between the time and the emission angle is directly tabulated is used, basically the same effect as that obtained when the light emission timing table shown in FIG. 12 is used can be obtained. .

図17は、発光タイミングテーブルの他の例を示す図である。図14に示すように数式より発光タイミングテーブルを補正する代わりに、図17に示すように角度振幅Ai(i=1,...,n)及び振動周波数fj(j=1,...,m)の各対に対するミラー角度と角度時間対応を格納した発光タイミングテーブルを用いても良い。   FIG. 17 is a diagram illustrating another example of the light emission timing table. As shown in FIG. 14, instead of correcting the light emission timing table using mathematical expressions, as shown in FIG. 17, the angular amplitude Ai (i = 1,..., N) and the vibration frequency fj (j = 1,. A light emission timing table storing the mirror angle and the angle time correspondence for each pair of m) may be used.

次に、距離測定装置の制御系について、図18と共に説明する。図18は、受光系を含む制御系の一例を説明する図である。図18中、図6と同一部分には同一符号を付し、その説明は省略する。   Next, the control system of the distance measuring apparatus will be described with reference to FIG. FIG. 18 is a diagram illustrating an example of a control system including a light receiving system. In FIG. 18, the same parts as those in FIG.

図18において、制御系は、システム制御部61、LDドライバ15−1、ミラードライバ29、及びフォトダイオード(PD:Photo-Diode)信号処理部53を含む。システム制御部61は、例えばCPU(Central Processing Unit)などのプロセッサで形成可能であり、距離測定装置1全体の制御を司る。CPUが実行するプログラムを格納する記憶部(図示せず)は、システム制御部61内でCPUに接続されていても、システム制御部61に外部接続されていても良い。LDドライバ15−1は、システム制御部61の制御下でLD15−2のオン、オフ、光出射パワーなどを制御する。ミラードライバ29は、システム制御部61の制御下で、ミラー角度検出部23からの振幅情報及び走査回数カウンタ28からの走査回数情報に基づいてMEMSミラー11を駆動する駆動信号を生成する。   In FIG. 18, the control system includes a system control unit 61, an LD driver 15-1, a mirror driver 29, and a photodiode (PD: Photo-Diode) signal processing unit 53. The system control unit 61 can be formed by a processor such as a CPU (Central Processing Unit), for example, and controls the entire distance measuring apparatus 1. A storage unit (not shown) for storing a program executed by the CPU may be connected to the CPU within the system control unit 61 or may be externally connected to the system control unit 61. The LD driver 15-1 controls on / off of the LD 15-2, light emission power, and the like under the control of the system control unit 61. The mirror driver 29 generates a drive signal for driving the MEMS mirror 11 based on the amplitude information from the mirror angle detection unit 23 and the scanning number information from the scanning number counter 28 under the control of the system control unit 61.

投光角度拡大レンズ16を介して出射され対象物で反射されたレーザビームは、受光レンズ51を介してPD52で検出される。PD信号処理部53は、システム制御部31の制御下でPD52からの検出信号に所定の信号処理を施してシステム制御部61などに出力する。受光レンズ51、PD52、及びPD信号処理部53は、受光系の一例である。システム制御部61は、PD信号処理部53からの所定の信号処理を施された信号に基づいて、距離測定装置1から走査された対象物までの距離を示す距離情報を周知の方法で生成する。システム制御部61は、距離情報を生成する距離情報生成部としても機能する。システム制御部61を形成するCPUは、LDドライバ15−1、ミラードライバ29、及びPD信号処理部53の少なくとも一部の機能を実現しても良い。   The laser beam emitted through the projection angle expanding lens 16 and reflected by the object is detected by the PD 52 through the light receiving lens 51. The PD signal processing unit 53 performs predetermined signal processing on the detection signal from the PD 52 under the control of the system control unit 31 and outputs the signal to the system control unit 61 and the like. The light receiving lens 51, the PD 52, and the PD signal processing unit 53 are an example of a light receiving system. Based on the signal subjected to the predetermined signal processing from the PD signal processing unit 53, the system control unit 61 generates distance information indicating the distance from the distance measuring device 1 to the scanned object by a known method. . The system control unit 61 also functions as a distance information generation unit that generates distance information. The CPU forming the system control unit 61 may realize at least some functions of the LD driver 15-1, the mirror driver 29, and the PD signal processing unit 53.

また、システム制御部61を形成するCPUは、図6に示すミラー角度検出部23、発光タイミング制御部24、及びテーブル補正部27などの機能を実現しても良い。この場合、システム制御部61を形成するCPUは、図15に示す発光タイミング制御処理を実行する。   Further, the CPU forming the system control unit 61 may realize functions such as the mirror angle detection unit 23, the light emission timing control unit 24, and the table correction unit 27 shown in FIG. In this case, the CPU forming the system control unit 61 executes the light emission timing control process shown in FIG.

図19は、コンピュータの一例を示すブロック図である。図19に示すコンピュータ71は、バス76で接続されたCPU72、記憶部73、入力部74、及び表示部75を有する。コンピュータ71のCPU72は、例えば図18に示すシステム制御部61を形成する。   FIG. 19 is a block diagram illustrating an example of a computer. A computer 71 illustrated in FIG. 19 includes a CPU 72, a storage unit 73, an input unit 74, and a display unit 75 connected by a bus 76. The CPU 72 of the computer 71 forms, for example, a system control unit 61 shown in FIG.

CPU72は、距離測定装置1全体の制御を司り、図6に示すLDドライバ15−1、ミラー角度検出部23、発光タイミング制御部24、テーブル補正部27、ミラードライバ29、及び図18に示すPD信号処理部53などの機能を実現できる。CPU72は、図6に示すカウンタ26,28の機能を実現しても良い。記憶部73は、CPU72が実行するプログラム、CPU72が実行する演算の中間データなどを含む各種データを格納する。この例では便宜上、記憶部73は図6に示すテーブル補正部27が用いる発光タイミングテーブルなども格納するものとする。記憶部73は、磁気記録媒体、光記録媒体、光磁気記録媒体、半導体記憶装置などを含む、コンピュータ読み取り可能な記憶媒体で形成可能である。記憶部73に格納されるプログラムは、CPU72に距離測定装置1の少なくとも発光タイミング制御処理を実行させるプログラムを含み、発光タイミング制御処理を含む距離測定処理を実行させるプログラムを含んでも良い。   The CPU 72 controls the distance measuring apparatus 1 as a whole, and includes an LD driver 15-1, a mirror angle detection unit 23, a light emission timing control unit 24, a table correction unit 27, a mirror driver 29, and a PD shown in FIG. Functions such as the signal processing unit 53 can be realized. The CPU 72 may realize the functions of the counters 26 and 28 shown in FIG. The storage unit 73 stores various data including a program executed by the CPU 72, intermediate data of operations executed by the CPU 72, and the like. In this example, for the sake of convenience, the storage unit 73 also stores a light emission timing table used by the table correction unit 27 shown in FIG. The storage unit 73 can be formed of a computer-readable storage medium including a magnetic recording medium, an optical recording medium, a magneto-optical recording medium, a semiconductor storage device, and the like. The program stored in the storage unit 73 may include a program that causes the CPU 72 to execute at least the light emission timing control process of the distance measuring device 1 and may execute a distance measurement process that includes the light emission timing control process.

入力部74は、距離測定装置1に対する指示などを入力可能なキーボードなどで形成されている。表示部75は、距離測定装置1がオペレータ(または、ユーザ)に対して操作上の案内、距離測定装置1の動作状態などを表示可能な液晶表示パネルなどで形成されている。なお、入力部74と表示部75は、入力部及び表示部を一体的に設けたタッチパネルで形成されていても良い。   The input unit 74 is formed of a keyboard or the like that can input an instruction to the distance measuring device 1. The display unit 75 is formed of a liquid crystal display panel or the like on which the distance measuring device 1 can display operational guidance for the operator (or user), the operation state of the distance measuring device 1, and the like. Note that the input unit 74 and the display unit 75 may be formed of a touch panel integrally provided with the input unit and the display unit.

上記第2実施例によれば、高速なミラー位置の検出及びレーザビームの出射判断を行わずにLDの発光タイミングを制御することができる。また、比較的簡易な方法でレーザビームの出射角度を高精度に制御可能とすることができる。さらに、外乱の影響、消費電力、コストなどを抑えて、レーザビームの出射角度を高精度に制御可能とすることができる。   According to the second embodiment, it is possible to control the light emission timing of the LD without performing high-speed mirror position detection and laser beam emission determination. In addition, the laser beam emission angle can be controlled with high accuracy by a relatively simple method. Furthermore, the influence of disturbance, power consumption, cost, etc. can be suppressed, and the laser beam emission angle can be controlled with high accuracy.

上記の各実施例では、2次元スキャナの一例としてMEMSミラーを用いているが、2次元ラスタ走査型スキャナの往復振動型ミラーはMEMSミラーに限定されず、例えばガルバノミラーなどを用いても良いことは言うまでもない。   In each of the above embodiments, a MEMS mirror is used as an example of a two-dimensional scanner. However, the reciprocating vibration type mirror of a two-dimensional raster scanning scanner is not limited to a MEMS mirror, and for example, a galvanometer mirror may be used. Needless to say.

開示の距離測定装置は、対象物までの距離計測に限らず、例えば自動車の障害物検知、電車とホームの開閉扉間の人検知といった周辺監視などにも利用可能である。さらに、発光タイミング制御系は、距離測定装置に限定されず、レーザビームを比較的広い走査範囲内で高精度に等角度間隔で出射すること、あるいは、レーザビームの出射角度を高精度に制御することが好ましい各種装置に適用可能である。   The disclosed distance measuring device is not limited to measuring the distance to an object, but can be used for, for example, peripheral monitoring such as detection of an obstacle in an automobile and detection of a person between a train and a door of a platform. Further, the light emission timing control system is not limited to the distance measuring device, and emits the laser beam at a uniform angular interval with high accuracy within a relatively wide scanning range, or controls the emission angle of the laser beam with high accuracy. It is applicable to various devices that are preferable.

以上の実施例を含む実施形態に関し、さらに以下の付記を開示する。
(付記1)
レーザビームを偏向する往復振動型ミラーのミラー角度と、前記ミラーで偏向されたレーザビームの走査角度を拡大する走査角度拡大レンズからの出射角度の関係を、前記ミラー角度を前記ミラーの基準位置からの経過時間で表して格納した記憶部と、
前記ミラー角度を検出するセンサの出力信号に基づいて前記基準位置を検出する検出部と、
前記検出部が検出した前記基準位置に基づいて時間を計測する計測部と、
前記計測部の計測時間と前記記憶部に格納された経過時間が一致した時点で前記レーザビームを発光させるようにレーザ光源を駆動する制御部
を備えたことを特徴とする、発光タイミング制御装置。
(付記2)
前記検出部が検出した前記基準位置と前記ミラー角度に基づいて前記ミラーの振動周波数を検出するミラードライバと、
前記検出部が前記ミラー角度に基づいて検出した前記ミラーの振動振幅と、前記ミラードライバが検出した前記振動周波数に基づいて前記記憶部に格納された前記経過時間を補正する補正部
をさらに備えたことを特徴とする、請求項1記載の発光タイミング制御装置。
(付記3)
前記補正部は、前記レーザビームの発光周波数より低い周波数で前記経過時間を間欠的に補正することを特徴とする、付記2記載の発光タイミング制御装置。
(付記4)
前記補正部は、振動振幅が所定値以下であると、前記経過時間を補正せずに、1水平走査期間内のレーザビームの発光回数を減らすことを特徴とする、付記2または3記載の発光タイミング制御装置。
(付記5)
前記計測部はクロックをカウントして時間を計測し、
前記クロックの周波数は、前記ミラー角度の水平方向のサンプリング数をN、前記振動周波数をfで表すと、N×f以上にて設定されることを特徴とする、付記2乃至4のいずれか1項記載の発光タイミング制御装置。
(付記6)
レーザ光源と、
前記レーザ光源からのレーザビームを偏向する往復振動型ミラーと、
前記ミラーで偏向されたレーザビームの走査角度を拡大する走査角度拡大レンズと、
前記ミラー角度を検出するセンサと、
前記ミラー角度と走査角度拡大レンズからのレーザビームの出射角度の関係を、前記ミラー角度を前記ミラーの基準位置からの経過時間で表して格納した記憶部と、
前記センサの出力信号に基づいて前記基準位置を検出する検出部と、
前記検出部が検出した前記基準位置に基づいて時間を計測する計測部と、
前記計測部の計測時間と前記記憶部に格納された経過時間が一致した時点で前記レーザビームを発光させるように前記レーザ光源を駆動する制御部と、
前記走査角度拡大レンズから出射されたレーザビームで走査された対象物から反射されるレーザビームを検出する受光系と、
前記受光系で検出されたレーザビームに基づいて前記距離測定装置から前記対象物までの距離を示す距離情報を生成する距離情報生成部
を備えたことを特徴とする、距離測定装置。
(付記7)
前記検出部が検出した前記基準位置と前記ミラー角度に基づいて前記ミラーの振動周波数を検出するミラードライバと、
前記検出部が前記ミラー角度に基づいて検出した前記ミラーの振動振幅と、前記ミラードライバが検出した前記振動周波数に基づいて前記記憶部に格納された前記経過時間を補正する補正部
をさらに備えたことを特徴とする、請求項6記載の距離測定装置。
(付記8)
前記補正部は、前記レーザビームの発光周波数より低い周波数で前記経過時間を間欠的に補正することを特徴とする、付記7記載の距離測定装置。
(付記9)
前記補正部は、振動振幅が所定値以下であると、前記経過時間を補正せずに、1水平走査期間内のレーザビームの発光回数を減らすことを特徴とする、付記7または8記載の距離測定装置。
(付記10)
前記計測部はクロックをカウントして時間を計測し、
前記クロックの周波数は、前記ミラー角度の水平方向のサンプリング数をN、前記振動周波数をfで表すと、N×f以上にて設定されることを特徴とする、付記7乃至9のいずれか1項記載の距離測定装置。
(付記11)
前記基準位置は、前記ミラーが前記ミラードライバにより駆動されていない状態での前記ミラーの位置であることを特徴とする、付記7乃至10のいずれか1項記載の距離測定装置。
(付記12)
レーザ光源がレーザビームを発光するタイミングを制御する処理をコンピュータに実行させるプログラムであって、
前記レーザビームを偏向する往復振動型ミラーのミラー角度を検出するセンサの出力信号に基づいて前記ミラーの基準位置を検出する第1検出手順と、
前記第1検出手順が検出した前記基準位置に基づいて時間を計測する計測手順と、
前記ミラー角度と前記ミラーで偏向されたレーザビームの走査角度を拡大する走査角度拡大レンズからの出射角度の関係を、前記ミラー角度を前記ミラーの基準位置からの経過時間で表して格納した記憶部を参照し、前記計測手順が計測した計測時間と前記記憶部に格納された経過時間が一致した時点で前記レーザビームを発光させるように前記レーザ光源を駆動する制御手順
を前記コンピュータに実行させることを特徴とする、プログラム。
(付記13)
前記第1検出手順が検出した前記基準位置と前記ミラー角度に基づいて前記ミラーの振動周波数を検出する第2検出手順と、
前記第1検出手順が前記ミラー角度に基づいて検出した前記ミラーの振動振幅と、前記第2検出手順が検出した前記振動周波数に基づいて前記記憶部に格納された前記経過時間を補正する補正手順
をさらに前記コンピュータに実行させることを特徴とする、請求項12記載のプログラム。
(付記14)
前記補正手順は、前記レーザビームの発光周波数より低い周波数で前記経過時間を間欠的に補正することを特徴とする、付記13記載のプログラム。
(付記15)
前記補正手順は、振動振幅が所定値以下であると、前記経過時間を補正せずに、1水平走査期間内のレーザビームの発光回数を減らすことを特徴とする、付記13または14記載のプログラム。
(付記16)
前記計測手順はクロックをカウントして時間を計測し、
前記クロックの周波数は、前記ミラー角度の水平方向のサンプリング数をN、前記振動周波数をfで表すと、N×f以上にて設定されることを特徴とする、付記13乃至15のいずれか1項記載のプログラム。
(付記17)
前記走査角度拡大レンズから出射されたレーザビームで走査された対象物から反射されるレーザビームを検出する受光系からの信号に基づいて前記走査角度拡大レンズから前記対象物までの距離を示す距離情報を生成する手順
をさらに前記コンピュータに実行させることを特徴とする、付記13乃至16のいずれか1項記載のプログラム。
The following supplementary notes are further disclosed with respect to the embodiments including the above examples.
(Appendix 1)
The relationship between the mirror angle of the reciprocating vibration type mirror that deflects the laser beam and the emission angle from the scanning angle enlarging lens that enlarges the scanning angle of the laser beam deflected by the mirror, and the mirror angle from the reference position of the mirror A storage unit that represents and stores the elapsed time of
A detection unit that detects the reference position based on an output signal of a sensor that detects the mirror angle;
A measurement unit that measures time based on the reference position detected by the detection unit;
A light emission timing control device comprising: a control unit that drives a laser light source to emit the laser beam when the measurement time of the measurement unit and the elapsed time stored in the storage unit coincide.
(Appendix 2)
A mirror driver that detects a vibration frequency of the mirror based on the reference position detected by the detection unit and the mirror angle;
A correction unit for correcting the elapsed time stored in the storage unit based on the vibration amplitude of the mirror detected by the detection unit based on the mirror angle and the vibration frequency detected by the mirror driver; The light emission timing control device according to claim 1, wherein:
(Appendix 3)
The light emission timing control device according to claim 2, wherein the correction unit intermittently corrects the elapsed time at a frequency lower than a light emission frequency of the laser beam.
(Appendix 4)
The light emission according to appendix 2 or 3, wherein the correction unit reduces the number of times of laser beam emission within one horizontal scanning period without correcting the elapsed time when the vibration amplitude is a predetermined value or less. Timing control device.
(Appendix 5)
The measurement unit measures the time by counting the clock,
The frequency of the clock is set to N × f or more, where N is the number of samplings in the horizontal direction of the mirror angle, and f is the vibration frequency. The light emission timing control device according to item.
(Appendix 6)
A laser light source;
A reciprocating vibration type mirror for deflecting a laser beam from the laser light source;
A scanning angle magnifying lens for enlarging the scanning angle of the laser beam deflected by the mirror;
A sensor for detecting the mirror angle;
A storage unit that stores the relationship between the mirror angle and the emission angle of the laser beam from the scanning angle magnifying lens, representing the mirror angle as an elapsed time from the reference position of the mirror, and
A detection unit for detecting the reference position based on an output signal of the sensor;
A measurement unit that measures time based on the reference position detected by the detection unit;
A control unit that drives the laser light source to emit the laser beam when the measurement time of the measurement unit matches the elapsed time stored in the storage unit;
A light receiving system for detecting a laser beam reflected from an object scanned with the laser beam emitted from the scanning angle magnifying lens;
A distance measuring device comprising: a distance information generating unit that generates distance information indicating a distance from the distance measuring device to the object based on a laser beam detected by the light receiving system.
(Appendix 7)
A mirror driver that detects a vibration frequency of the mirror based on the reference position detected by the detection unit and the mirror angle;
A correction unit for correcting the elapsed time stored in the storage unit based on the vibration amplitude of the mirror detected by the detection unit based on the mirror angle and the vibration frequency detected by the mirror driver; The distance measuring device according to claim 6, wherein:
(Appendix 8)
8. The distance measuring device according to appendix 7, wherein the correction unit intermittently corrects the elapsed time at a frequency lower than the emission frequency of the laser beam.
(Appendix 9)
The distance according to appendix 7 or 8, wherein the correction unit reduces the number of times of laser beam emission within one horizontal scanning period without correcting the elapsed time when the vibration amplitude is a predetermined value or less. measuring device.
(Appendix 10)
The measurement unit measures the time by counting the clock,
Any one of appendices 7 to 9, wherein the clock frequency is set to N × f or more, where N is the number of samplings in the horizontal direction of the mirror angle, and f is the vibration frequency. The distance measuring device according to item.
(Appendix 11)
11. The distance measuring device according to claim 7, wherein the reference position is a position of the mirror when the mirror is not driven by the mirror driver.
(Appendix 12)
A program for causing a computer to execute processing for controlling the timing at which a laser light source emits a laser beam,
A first detection procedure for detecting a reference position of the mirror based on an output signal of a sensor for detecting a mirror angle of a reciprocating vibration type mirror for deflecting the laser beam;
A measurement procedure for measuring time based on the reference position detected by the first detection procedure;
A storage unit that stores a relationship between the mirror angle and an emission angle from a scanning angle magnifying lens that expands a scanning angle of a laser beam deflected by the mirror, by representing the mirror angle as an elapsed time from a reference position of the mirror. And causing the computer to execute a control procedure for driving the laser light source so that the laser beam is emitted when the measurement time measured by the measurement procedure coincides with the elapsed time stored in the storage unit. A program characterized by
(Appendix 13)
A second detection procedure for detecting a vibration frequency of the mirror based on the reference position detected by the first detection procedure and the mirror angle;
A correction procedure for correcting the elapsed time stored in the storage unit based on the vibration amplitude of the mirror detected by the first detection procedure based on the mirror angle and the vibration frequency detected by the second detection procedure. 13. The program according to claim 12, further causing the computer to execute.
(Appendix 14)
14. The program according to appendix 13, wherein the correction procedure intermittently corrects the elapsed time at a frequency lower than the emission frequency of the laser beam.
(Appendix 15)
15. The program according to appendix 13 or 14, wherein the correction procedure reduces the number of times of laser beam emission within one horizontal scanning period without correcting the elapsed time when the vibration amplitude is a predetermined value or less. .
(Appendix 16)
The measurement procedure measures the time by counting the clock,
Any one of Supplementary notes 13 to 15, wherein the clock frequency is set to N × f or more, where N represents the number of horizontal samplings of the mirror angle and f represents the vibration frequency. Program described in the section.
(Appendix 17)
Distance information indicating the distance from the scanning angle expansion lens to the object based on a signal from a light receiving system that detects a laser beam reflected from the object scanned by the laser beam emitted from the scanning angle expansion lens The program according to any one of appendices 13 to 16, further causing the computer to execute a procedure for generating

以上、開示の距離測定装置、発光タイミング制御装置及びプログラムを実施例により説明したが、本発明は上記実施例に限定されるものではなく、本発明の範囲内で種々の変形及び改良が可能であることは言うまでもない。   As described above, the disclosed distance measuring device, light emission timing control device, and program have been described by way of examples. However, the present invention is not limited to the above examples, and various modifications and improvements can be made within the scope of the present invention. Needless to say.

1 距離測定装置
11 MEMSミラー
12 角度センサ
15 LD部
16 走査角度拡大レンズ
21 発光タイミング制御系
23 ミラー角度検出部
24 発光タイミング制御部
25 クロック生成部
26 クロックカウンタ
27 テーブル補正部
28 走査回数カウンタ
29 ミラードライバ
52 PD
53 PD信号処理部
61 システム制御部
72 CPU
73 記憶部
DESCRIPTION OF SYMBOLS 1 Distance measuring device 11 MEMS mirror 12 Angle sensor 15 LD part 16 Scanning angle expansion lens 21 Light emission timing control system 23 Mirror angle detection part 24 Light emission timing control part 25 Clock generation part 26 Clock counter 27 Table correction part 28 Scan frequency counter 29 Mirror Driver 52 PD
53 PD Signal Processing Unit 61 System Control Unit 72 CPU
73 Memory unit

Claims (4)

レーザビームを偏向する往復振動型ミラーのミラー角度と、前記ミラーで偏向されたレーザビームの走査角度を拡大する走査角度拡大レンズからの出射角度の関係を、前記ミラーが基準位置にある状態から各ミラー角度に達するまでの経過時間で表して格納した記憶部と、
前記ミラー角度を検出するセンサの出力信号に基づいて前記基準位置と前記ミラーの振動振幅とを検出する検出部と、
前記検出部が検出した前記基準位置と、前記ミラー角度とに基づいて前記ミラーの振動周波数とを検出するミラードライバと、
前記検出部が前記基準位置を検出したことをカウント開始のトリガとしてクロックをカウントして時間を計測する計測部と、
前記検出部が検出した前記ミラーの振動振幅と、前記ミラードライバが検出した前記振動周波数とに基づいて前記記憶部に格納された前記経過時間を補正する補正部と、
前記計測部計測した前記時間と前記記憶部に格納された経過時間が一致した時点で前記レーザビームを発光るようにレーザ光源を駆動する制御部と、
を備え
前記補正部は、前記レーザビームの発光周波数より低い周波数で前記経過時間を間欠的に補正し、
前記クロックの周波数は、前記ミラー角度の水平方向のサンプリング数をN、前記振動周波数をfで表すと、N×f以上に設定されることを特徴とする、発光タイミング制御装置。
Conditions that the mirror angle of the reciprocating vibratory mirror for deflecting the laser beam, the relationship between the emission angle from the scanning angle magnifying lens to enlarge the scan angle of the deflected laser beam in the mirror, the mirror reference position A storage unit that represents and stores the elapsed time from reaching each mirror angle to
A detection unit that detects the reference position and the vibration amplitude of the mirror based on an output signal of a sensor that detects the mirror angle;
A mirror driver that detects a vibration frequency of the mirror based on the reference position detected by the detection unit and the mirror angle;
A measuring unit for measuring time by counting the clock as a trigger for count start said detecting unit detects the reference position,
A correction unit that corrects the elapsed time stored in the storage unit based on the vibration amplitude of the mirror detected by the detection unit and the vibration frequency detected by the mirror driver;
And a control unit for the measurement unit drives the laser light source so that to emit the laser beam at the time when the elapsed time stored in said time and said storage unit measured match,
Equipped with a,
The correction unit intermittently corrects the elapsed time at a frequency lower than the emission frequency of the laser beam,
The frequency of the clock is set to N × f or more, where N is the number of horizontal samplings of the mirror angle and f is the vibration frequency .
前記補正部は、前記レーザビームの発光周波数より低い周波数で前記経過時間を間欠的に補正することを特徴とする、請求項記載の発光タイミング制御装置。 The correction unit may intermittently correct the elapsed time at a frequency lower than the emission frequency of the laser beam, the light-emitting timing control device according to claim 1. 距離測定装置であって、
レーザ光源と、
前記レーザ光源からのレーザビームを偏向する往復振動型ミラーと、
前記ミラーで偏向されたレーザビームの走査角度を拡大する走査角度拡大レンズと、
前記ミラーのミラー角度を検出するセンサと、
前記ミラー角度と走査角度拡大レンズからのレーザビームの出射角度の関係を、前記ミラーが基準位置にある状態から各ミラー角度に達するまでの経過時間で表して格納した記憶部と、
前記センサの出力信号に基づいて前記基準位置と前記ミラーの振動振幅とを検出する検出部と、
前記検出部が検出した前記基準位置と、前記ミラー角度とに基づいて前記ミラーの振動周波数とを検出するミラードライバと、
前記検出部が前記基準位置を検出したことをカウント開始のトリガとしてクロックをカウントして時間を計測する計測部と、
前記検出部が検出した前記ミラーの振動振幅と、前記ミラードライバが検出した前記振動周波数とに基づいて前記記憶部に格納された前記経過時間を補正する補正部と、
前記計測部計測した前記時間と前記記憶部に格納された経過時間が一致した時点で前記レーザビームを発光るように前記レーザ光源を駆動する制御部と、
前記走査角度拡大レンズから出射されたレーザビームで走査された対象物から反射されるレーザビームを検出する受光系と、
前記受光系で検出されたレーザビームに基づいて前記距離測定装置から前記対象物までの距離を示す距離情報を生成する距離情報生成部と、
を備え
前記補正部は、前記レーザビームの発光周波数より低い周波数で前記経過時間を間欠的に補正し、
前記クロックの周波数は、前記ミラー角度の水平方向のサンプリング数をN、前記振動周波数をfで表すと、N×f以上に設定されることを特徴とする、距離測定装置。
A distance measuring device,
A laser light source;
A reciprocating vibratory mirror for deflecting the laser beam from the laser light source,
A scanning angle magnifying lens for enlarging the scanning angle of the laser beam deflected by the mirror;
A sensor for detecting a mirror angle of the mirror;
A storage unit that stores the relationship between the mirror angle and the emission angle of the laser beam from the scanning angle magnifying lens in terms of the elapsed time from the state where the mirror is in the reference position until each mirror angle is reached , and
A detection unit that detects the reference position and the vibration amplitude of the mirror based on an output signal of the sensor;
A mirror driver that detects a vibration frequency of the mirror based on the reference position detected by the detection unit and the mirror angle;
A measuring unit for measuring time by counting the clock as a trigger for count start said detecting unit detects the reference position,
A correction unit that corrects the elapsed time stored in the storage unit based on the vibration amplitude of the mirror detected by the detection unit and the vibration frequency detected by the mirror driver;
A control unit for driving the laser light source so that to emit the laser beam at the time when said measuring portion elapses stored in the time and the storage unit measured time match,
A light receiving system for detecting a laser beam reflected from an object scanned with the laser beam emitted from the scanning angle magnifying lens;
A distance information generating unit that generates distance information indicating a distance from the distance measuring device to the object based on a laser beam detected by the light receiving system ;
Equipped with a,
The correction unit intermittently corrects the elapsed time at a frequency lower than the emission frequency of the laser beam,
The frequency of the clock is set to N × f or more, where N is the number of horizontal samplings of the mirror angle and f is the vibration frequency .
レーザ光源がレーザビームを発光するタイミングを制御する処理をコンピュータに実行させるプログラムであって、
前記レーザビームを偏向する往復振動型ミラーのミラー角度を検出するセンサの出力信号に基づいて前記ミラーの基準位置と前記ミラーの振動振幅とを検出する第1検出手順と、
前記第1検出手順が検出した前記基準位置と、前記ミラー角度とに基づいて前記ミラーの振動周波数を検出する第2検出手順と、
前記第1検出手順が前記基準位置を検出したことをカウント開始のトリガとしてクロックをカウントして時間を計測する計測手順と、
前記ミラー角度と前記ミラーで偏向されたレーザビームの走査角度を拡大する走査角度拡大レンズからの出射角度の関係を、前記ミラーが基準位置にある状態から各ミラー角度に達するまでの経過時間で表して格納した記憶部を参照し、前記計測手順が計測した計測時間と前記記憶部に格納された経過時間が一致した時点で前記レーザビームを発光るように前記レーザ光源を駆動する制御手順と、
前記第1検出手順が検出した前記ミラーの振動振幅と、前記第2検出手順が検出した前記振動周波数とに基づいて前記記憶部に格納された前記経過時間を補正する補正手順と、
を前記コンピュータに実行させ
前記補正手順は、前記レーザビームの発光周波数より低い周波数で前記経過時間を間欠的に補正し、
前記クロックの周波数は、前記ミラー角度の水平方向のサンプリング数をN、前記振動周波数をfで表すと、N×f以上に設定されることを特徴とする、プログラム。
A program for causing a computer to execute processing for controlling the timing at which a laser light source emits a laser beam,
A first detection procedure for detecting a reference position of the mirror and a vibration amplitude of the mirror based on an output signal of a sensor that detects a mirror angle of a reciprocating vibration type mirror that deflects the laser beam;
A second detection procedure for detecting a vibration frequency of the mirror based on the reference position detected by the first detection procedure and the mirror angle;
A measuring procedure for measuring time by counting the clock as a trigger for count start that the first detection procedure has detected the reference position,
The relationship between the mirror angle and the emission angle from the scanning angle magnifying lens that enlarges the scanning angle of the laser beam deflected by the mirror is the elapsed time from the state where the mirror is at the reference position until each mirror angle is reached. It represents referring to the storage unit which stores, the measurement procedure is controlled for driving the laser light source so that to emit the laser beam at the point where the elapsed time stored in the storage unit and the measurement time measured was consistent Procedure and
A correction procedure for correcting the elapsed time stored in the storage unit based on the vibration amplitude of the mirror detected by the first detection procedure and the vibration frequency detected by the second detection procedure;
To the computer ,
The correction procedure intermittently corrects the elapsed time at a frequency lower than the emission frequency of the laser beam,
The program is characterized in that the frequency of the clock is set to N × f or more, where N is the number of horizontal samplings of the mirror angle and f is the vibration frequency .
JP2012160694A 2012-07-19 2012-07-19 Distance measuring device, light emission timing control device, and program Expired - Fee Related JP6019866B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2012160694A JP6019866B2 (en) 2012-07-19 2012-07-19 Distance measuring device, light emission timing control device, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2012160694A JP6019866B2 (en) 2012-07-19 2012-07-19 Distance measuring device, light emission timing control device, and program

Publications (2)

Publication Number Publication Date
JP2014020963A JP2014020963A (en) 2014-02-03
JP6019866B2 true JP6019866B2 (en) 2016-11-02

Family

ID=50195991

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2012160694A Expired - Fee Related JP6019866B2 (en) 2012-07-19 2012-07-19 Distance measuring device, light emission timing control device, and program

Country Status (1)

Country Link
JP (1) JP6019866B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021199606A1 (en) 2020-03-31 2021-10-07 パイオニア株式会社 Information processing device

Families Citing this family (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016109517A (en) * 2014-12-04 2016-06-20 リコーインダストリアルソリューションズ株式会社 Laser radar device
JP6467941B2 (en) * 2015-01-23 2019-02-13 富士通株式会社 LASER RANGING DEVICE, LASER RANGING METHOD, AND LASER RANGING PROGRAM
EP3361280B1 (en) 2015-10-06 2021-12-01 Pioneer Corporation Light control device, light control method, and program
CN105738884B (en) * 2016-05-04 2018-06-29 北京理工大学 A kind of adaptive laser ranging system based on liquid lens
WO2019142778A1 (en) * 2018-01-22 2019-07-25 パイオニア株式会社 Reception device, control method, program, and storage medium
WO2019188638A1 (en) * 2018-03-26 2019-10-03 パイオニア株式会社 Control device, control method, computer program, and storage medium
JP7306823B2 (en) * 2018-12-26 2023-07-11 株式会社トプコン Ophthalmic device and its control method
JP7315827B2 (en) * 2019-07-01 2023-07-27 ミツミ電機株式会社 Optical scanning device and its control method
JP7563045B2 (en) * 2019-09-04 2024-10-08 株式会社デンソー Optical Distance Meter
CN114341664B (en) * 2019-09-04 2025-02-11 株式会社电装 Optical distance measuring device
JP7483432B2 (en) * 2020-03-19 2024-05-15 京セラ株式会社 Scanning and ranging devices
JPWO2021199646A1 (en) * 2020-03-31 2021-10-07
JPWO2021205647A1 (en) * 2020-04-10 2021-10-14
WO2021245809A1 (en) * 2020-06-02 2021-12-09 富士通株式会社 Distance measurement device, mirror control method, and program
JP2021063832A (en) * 2021-01-12 2021-04-22 パイオニア株式会社 Light control device
KR102898446B1 (en) * 2025-05-21 2025-12-10 한화시스템 주식회사 System, method, and recording medium for optical path control with hysteresis compensation of piezoelectric fast steering mirror

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3214283B2 (en) * 1995-03-07 2001-10-02 日本電気株式会社 Laser radar device
JPH08261753A (en) * 1995-03-27 1996-10-11 Hitachi Ltd Optical radar device
JPH1184006A (en) * 1997-07-18 1999-03-26 Denso Corp In-vehicle radar device
JP4489032B2 (en) * 2005-09-15 2010-06-23 三洋電機株式会社 Beam irradiation device
US7710639B2 (en) * 2006-12-12 2010-05-04 Northrop Grumman Space & Mission Systems Corporation System and method for uniform illumination of a target area
JP2008241273A (en) * 2007-03-26 2008-10-09 Ihi Corp Laser radar device and its control method
JP2009058341A (en) * 2007-08-31 2009-03-19 Sanyo Electric Co Ltd Beam irradiation device and laser radar
JP5660429B2 (en) * 2009-09-18 2015-01-28 株式会社デンソーウェーブ Laser radar equipment
JP5618526B2 (en) * 2009-11-30 2014-11-05 日本信号株式会社 Optical distance measuring device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021199606A1 (en) 2020-03-31 2021-10-07 パイオニア株式会社 Information processing device
US12198268B2 (en) 2020-03-31 2025-01-14 Pioneer Corporation Information processing device

Also Published As

Publication number Publication date
JP2014020963A (en) 2014-02-03

Similar Documents

Publication Publication Date Title
JP6019866B2 (en) Distance measuring device, light emission timing control device, and program
US11914075B2 (en) Distance measurement apparatus
CN100401013C (en) Displacement gauge and displacement measurement method
US11789126B2 (en) Handheld laser distance meter
JP5145013B2 (en) Surveying instrument
CN101646043B (en) Scanning projection display device with phase detection and compensation functions
JP6604816B2 (en) Image projection apparatus and MEMS mirror control method
US8626468B2 (en) MEMS device comprising oscillations measurements means
JP6513962B2 (en) Optical scanner
JP2011226977A (en) Laser scanner
US10802270B2 (en) Optical scanner comprising a calibrating unit to calibrate intensity of the drive signal applied to a mirror driving unit
US20110205600A1 (en) Optical scanning apparatus, drive control circuit, and writing control method
JP2019523436A (en) System and method for light beam position detection
KR20160147760A (en) Device for detecting objects
JP2013210316A (en) Optical distance measuring device
JP6229309B2 (en) Optical scanning apparatus, image forming apparatus, and image projection apparatus
KR100682960B1 (en) Laser straightener and distance measurement and line projection method using the same
JP6605857B2 (en) measuring device
JP2012118125A (en) Optical scanning apparatus and driving method thereof
US11460297B2 (en) Measurement apparatus and control method of measurement apparatus
JP5283966B2 (en) Optical deflection apparatus and image forming apparatus
JP4490019B2 (en) Scanning display with pinch, timing and distortion correction functions
JP2020020703A (en) Scanner, method for controlling scanner, program, recording medium, and distance measuring device
JP2005517212A (en) Apparatus and method for measuring and controlling resonant oscillators
JP7283560B2 (en) LASER SENSOR, MIRROR CONTROL METHOD, AND PROGRAM

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20150406

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20160229

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20160301

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20160428

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: 20160906

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20160919

R150 Certificate of patent or registration of utility model

Ref document number: 6019866

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees