JP2021058028A - Control device and control method - Google Patents

Control device and control method Download PDF

Info

Publication number
JP2021058028A
JP2021058028A JP2019180940A JP2019180940A JP2021058028A JP 2021058028 A JP2021058028 A JP 2021058028A JP 2019180940 A JP2019180940 A JP 2019180940A JP 2019180940 A JP2019180940 A JP 2019180940A JP 2021058028 A JP2021058028 A JP 2021058028A
Authority
JP
Japan
Prior art keywords
angle
motor
rotation angle
rotation speed
value
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.)
Pending
Application number
JP2019180940A
Other languages
Japanese (ja)
Inventor
結実子 谷
Yumiko Tani
結実子 谷
豊 追杉
Yutaka Oisugi
豊 追杉
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.)
Citizen Watch Co Ltd
Citizen Chiba Precision Co Ltd
Original Assignee
Citizen Watch Co Ltd
Citizen Chiba Precision Co 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 Citizen Watch Co Ltd, Citizen Chiba Precision Co Ltd filed Critical Citizen Watch Co Ltd
Priority to JP2019180940A priority Critical patent/JP2021058028A/en
Publication of JP2021058028A publication Critical patent/JP2021058028A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Mechanical Optical Scanning Systems (AREA)
  • Feedback Control In General (AREA)
  • Control Of Electric Motors In General (AREA)
  • Control Of Linear Motors (AREA)

Abstract

To provide a control device and the like capable of promptly adjusting an angle of a mirror to a target angle, even when a control is performed by using a feedback control.SOLUTION: A control device has rotation speed calculation means for calculating an actual rotation speed corresponding to an actual rotation speed of a motor from a detected rotation angle which is a rotation angle of the motor detected, by using a correction value according to the rotation angle of the motor oscillating a mirror, deviation calculation means for calculating a deviation between a target rotation speed and the actual rotation speed calculated by the rotation speed calculation means, and setting means for setting target current supplied to the motor by using the deviation calculated by the deviation calculation means.SELECTED DRAWING: Figure 3

Description

本発明は、モータの制御装置及び制御方法に関する。 The present invention relates to a motor control device and a control method.

従来、揺動角度によらず、ミラーを高速で位置決めすることができるガルバノスキャナが提案されている。
例えば、特許文献1に記載されたガルバノスキャナは、以下のように構成されている。すなわち、指令信号と現在位置との偏差に基づいてミラーを揺動させるアクチュエータを動作させるため、揺動角度に応じたアクチュエータのゲイン変化を計測しておき、ゲイン変化をなくすように、アクチュエータの操作量を補正する。より具体的には、目標軌道生成処理部は、目標位置決め角度に基づき、ガルバノスキャナの揺動角度目標値を計算し、スキャナサーボ機構の目標軌道を生成する。この目標値は、減算手段により検出されたスキャナの揺動角度を減算されて偏差となる。この偏差は、補償要素で制御演算処理を施されて操作量信号が算出される。補償要素の出力信号がトルク定数変動補償部を介してD/A変換器に入力される。すると、トルク定数変動補償部は揺動角、すなわち揺動角に応じてメモリを参照し、トルク定数の変化を打ち消すように(例えば、測定により得られたトルク定数の最大値に等しくなるように)操作量信号を増幅し、D/A変換器に出力する。
Conventionally, a galvano scanner that can position a mirror at high speed regardless of the swing angle has been proposed.
For example, the galvano scanner described in Patent Document 1 is configured as follows. That is, in order to operate the actuator that swings the mirror based on the deviation between the command signal and the current position, the gain change of the actuator is measured according to the swing angle, and the actuator is operated so as to eliminate the gain change. Correct the amount. More specifically, the target trajectory generation processing unit calculates the swing angle target value of the galvano scanner based on the target positioning angle, and generates the target trajectory of the scanner servo mechanism. This target value is obtained by subtracting the swing angle of the scanner detected by the subtracting means to obtain a deviation. This deviation is subjected to control calculation processing by the compensation element to calculate the manipulated variable signal. The output signal of the compensation element is input to the D / A converter via the torque constant fluctuation compensation unit. Then, the torque constant fluctuation compensator refers to the memory according to the swing angle, that is, the swing angle, so as to cancel the change in the torque constant (for example, equal to the maximum value of the torque constant obtained by the measurement). ) Amplifies the operation amount signal and outputs it to the D / A converter.

特開2005−234215号公報Japanese Unexamined Patent Publication No. 2005-234215

ガルバノスキャナの揺動範囲の全ての範囲においてミラーを高速で位置決めするには、トルク定数が変化することに起因してモータの応答性が変化することを考慮することが望ましい。これは、モータの駆動を、フィードバック制御を用いて制御する場合も同様である。
本発明は、フィードバック制御を用いて制御する場合においても、ミラーの角度を迅速に目標角度に合わせることができる制御装置等を提供することを目的とする。
In order to position the mirror at high speed in the entire swing range of the galvano scanner, it is desirable to consider that the responsiveness of the motor changes due to the change in torque constant. This also applies when the drive of the motor is controlled by using feedback control.
An object of the present invention is to provide a control device or the like capable of quickly adjusting the angle of a mirror to a target angle even when controlling using feedback control.

上記目的のもと完成させた本発明は、ミラーを揺動させるモータの回転角度に応じた補正値を用いて、検出した当該モータの回転角度である検出回転角度から当該モータの実際の回転速度に相当する実回転速度を演算する回転速度演算手段と、目標回転速度と、前記回転速度演算手段が演算した前記実回転速度との偏差を演算する偏差演算手段と、前記偏差演算手段が演算した前記偏差を用いて、前記モータに供給する目標電流を設定する設定手段と、を備える制御装置である。
ここで、前記回転速度演算手段は、前記検出回転角度を微分することにより得た微分値と、前記補正値と、を用いて前記実回転速度を演算しても良い。
また、前記回転速度演算手段は、前記検出回転角度に予め定められた定数を乗算することにより得た値をも用いて前記実回転速度を演算しても良い。
また、目標回転角度と、前記検出回転角度との偏差が零となるように角度フィードバック処理を行い、前記目標回転速度を設定する角度制御手段を備えても良い。
また、前記設定手段は、前記モータの回転角度に応じた第2補正値をも用いて、前記目標電流を設定しても良い。
また、他の観点から捉えると、本発明は、目標回転角度と、検出したミラーを揺動させるモータの回転角度である検出回転角度との偏差が零となるように角度フィードバック処理を行う角度制御手段と、前記検出回転角度を微分した値に予め定められた定数を乗算する微分補償手段と、前記モータの回転角度に応じた補正値を用いて、前記微分補償手段からの出力値を補正する補正手段と、前記角度制御手段からの出力値と、前記補正手段からの出力値とを、それぞれ予め定められた比率で加算し、前記モータに供給する目標電流を設定する設定手段と、を備える制御装置である。
ここで、前記設定手段は、前記検出回転角度に予め定められた定数を乗算することにより得た値をも予め定められた比率で加算しても良い。
また、前記設定手段は、検出した前記モータの電流を予め定められた積分時定数で不完全積分するとともに、予め定められた微分時定数で微分することにより得た値をも予め定められた比率で加算しても良い。
また、他の観点から捉えると、本発明は、ミラーを揺動させるモータの回転角度に応じた補正値を用いて、検出した当該モータの回転角度である検出回転角度から当該モータの実際の回転速度に相当する実回転速度を演算し、目標回転速度と、前記実回転速度との偏差を演算し、前記偏差を用いて、前記モータに供給する目標電流を設定する、制御方法である。
また、他の観点から捉えると、本発明は、目標回転角度と、検出したミラーを揺動させるモータの回転角度である検出回転角度との偏差が零となるように角度フィードバック処理を行い、前記検出回転角度を微分した値に予め定められた定数を乗算して微分補償し、前記モータの回転角度に応じた補正値を用いて、前記微分補償後の値を補正し、前記角度フィードバック処理後の出力値と、前記補正値を用いて補正した後の出力値とを、それぞれ予め定められた比率で加算し、前記モータに供給する目標電流を設定する、制御方法である。
The present invention completed for the above object uses a correction value according to the rotation angle of the motor that swings the mirror, and uses the detected rotation angle, which is the rotation angle of the motor, to indicate the actual rotation speed of the motor. The rotation speed calculation means for calculating the actual rotation speed corresponding to the above, the deviation calculation means for calculating the deviation between the target rotation speed and the actual rotation speed calculated by the rotation speed calculation means, and the deviation calculation means have calculated. It is a control device including a setting means for setting a target current to be supplied to the motor by using the deviation.
Here, the rotation speed calculation means may calculate the actual rotation speed by using the differential value obtained by differentiating the detected rotation angle and the correction value.
Further, the rotation speed calculation means may calculate the actual rotation speed by using a value obtained by multiplying the detected rotation angle by a predetermined constant.
Further, an angle control means for setting the target rotation speed by performing angle feedback processing so that the deviation between the target rotation angle and the detected rotation angle becomes zero may be provided.
Further, the setting means may set the target current by using the second correction value according to the rotation angle of the motor.
From another point of view, the present invention performs angle control that performs angle feedback processing so that the deviation between the target rotation angle and the detected rotation angle, which is the rotation angle of the motor that swings the detected mirror, becomes zero. The output value from the differential compensation means is corrected by using the means, the differential compensation means for multiplying the value obtained by differentiating the detected rotation angle by a predetermined constant, and the correction value according to the rotation angle of the motor. It includes a correction means, a setting means for adding an output value from the angle control means and an output value from the correction means at a predetermined ratio, and setting a target current to be supplied to the motor. It is a control device.
Here, the setting means may also add a value obtained by multiplying the detected rotation angle by a predetermined constant at a predetermined ratio.
Further, the setting means incompletely integrates the detected current of the motor with a predetermined integration time constant, and also obtains a value obtained by differentiating with a predetermined differential time constant as a predetermined ratio. You may add with.
From another point of view, the present invention uses a correction value according to the rotation angle of the motor that swings the mirror, and uses the detected rotation angle of the motor to actually rotate the motor. This is a control method in which an actual rotation speed corresponding to a speed is calculated, a deviation between the target rotation speed and the actual rotation speed is calculated, and the target current to be supplied to the motor is set using the deviation.
From another point of view, the present invention performs angle feedback processing so that the deviation between the target rotation angle and the detected rotation angle, which is the rotation angle of the motor that swings the detected mirror, becomes zero. After multiplying the differentiated value of the detected rotation angle by a predetermined constant to perform differential compensation, the corrected value corresponding to the rotation angle of the motor is used to correct the value after the differential compensation, and after the angle feedback process. This is a control method in which the output value of the above and the output value after correction using the correction value are added at a predetermined ratio to set a target current to be supplied to the motor.

本発明によれば、フィードバック制御を用いて制御する場合においても、ミラーの角度を迅速に目標角度に合わせることができる制御装置等を提供することができる。 According to the present invention, it is possible to provide a control device or the like capable of quickly adjusting the angle of the mirror to the target angle even when the control is performed by using the feedback control.

本実施の形態に係るガルバノスキャナの概略構成の一例を示す図である。It is a figure which shows an example of the schematic structure of the galvano scanner which concerns on this embodiment. 本実施の形態に係るモータの概略構成の一例を示す図である。It is a figure which shows an example of the schematic structure of the motor which concerns on this embodiment. 第1の実施形態に係る制御装置の構成を示すブロック図の一例である。It is an example of the block diagram which shows the structure of the control device which concerns on 1st Embodiment. 検出回転角度と補正値との関係の例を示す制御マップの概略図である。It is the schematic of the control map which shows the example of the relationship between the detection rotation angle and a correction value. (a)は、第1の実施形態に係る制御装置を用いてミラーを位置決めした場合の測定結果である。(b)は、比較例に係る制御装置を用いてミラーを位置決めした場合の測定結果である。(A) is a measurement result when the mirror is positioned by using the control device according to the first embodiment. (B) is a measurement result when the mirror is positioned by using the control device according to the comparative example. 第2の実施形態に係る制御装置の構成を示すブロック図の一例である。It is an example of the block diagram which shows the structure of the control device which concerns on 2nd Embodiment. 第3の実施形態に係る制御装置の構成を示すブロック図の一例である。This is an example of a block diagram showing a configuration of a control device according to a third embodiment. 第4の実施形態に係る制御装置の構成を示すブロック図の一例である。This is an example of a block diagram showing a configuration of a control device according to a fourth embodiment.

以下、添付図面を参照して、実施の形態について詳細に説明する。
図1は、本実施の形態に係るガルバノスキャナ1の概略構成の一例を示す図である。
図2は、本実施の形態に係るモータの概略構成の一例を示す図である。
ガルバノスキャナ1は、モータ10と、ミラー20と、モータ10の回転角度を検出する角度検出器30と、角度検出器30が検出した回転角度を用いてモータ10の駆動を制御する制御装置100と、を備えている。
Hereinafter, embodiments will be described in detail with reference to the accompanying drawings.
FIG. 1 is a diagram showing an example of a schematic configuration of a galvano scanner 1 according to the present embodiment.
FIG. 2 is a diagram showing an example of a schematic configuration of a motor according to the present embodiment.
The galvano scanner 1 includes a motor 10, a mirror 20, an angle detector 30 that detects the rotation angle of the motor 10, and a control device 100 that controls the drive of the motor 10 using the rotation angle detected by the angle detector 30. , Is equipped.

モータ10は、回転子60と、固定子70と、固定子70を収容するハウジング80とを備えた、ムービングマグネット型のモータである。なお、モータ10は、ムービングコイル型のモータやその他のモータであっても良い。
回転子60は、回転軸61と、回転軸61に装着されたメインマグネット62とを有している。以下では、回転軸61の軸方向を、単に「軸方向」と称する場合もある。また、軸方向において、図2の左側を「一方側」、図2の右側を「他方側」と称する場合もある。
回転軸61は、例えば中実円柱状の部材である。メインマグネット62は、2極に着磁された円筒状の磁石であることを例示することができる。
The motor 10 is a moving magnet type motor including a rotor 60, a stator 70, and a housing 80 for accommodating the stator 70. The motor 10 may be a moving coil type motor or other motor.
The rotor 60 has a rotating shaft 61 and a main magnet 62 mounted on the rotating shaft 61. Hereinafter, the axial direction of the rotating shaft 61 may be simply referred to as “axial direction”. Further, in the axial direction, the left side of FIG. 2 may be referred to as "one side" and the right side of FIG. 2 may be referred to as "the other side".
The rotating shaft 61 is, for example, a solid columnar member. It can be exemplified that the main magnet 62 is a cylindrical magnet magnetized in two poles.

固定子70は、コアレスコイル71と、コアレスコイル71を保持する円筒状のスタック72と、スタック72における他方側の端面に設けられた中継基板73と、中継基板73に接続されたリード線74とを有している。
ハウジング80は、回転軸61の軸方向の両端部が開口した円筒状のケース81と、ケース81における一方側の開口を覆う一方側プレート82と、ケース81における他方側の開口を覆う他方側プレート83とを有している。また、ハウジング80は、一方側プレート82に保持されて、回転軸61の一方の端部側を回転可能に支持する一方側軸受84と、回転軸61の他方の端部側を回転可能に支持する他方側軸受85とを備えている。
一方側プレート82、他方側プレート83は、それぞれ、内側に、一方側軸受84、他方側軸受85を保持するとともに、ケース81の内部に嵌め込まれた、略円筒状の部材である。一方側軸受84及び他方側軸受85は、ボールベアリングであることを例示することができる。
The stator 70 includes a coreless coil 71, a cylindrical stack 72 that holds the coreless coil 71, a relay board 73 provided on the other end surface of the stack 72, and a lead wire 74 connected to the relay board 73. have.
The housing 80 includes a cylindrical case 81 in which both ends in the axial direction of the rotating shaft 61 are open, a one-side plate 82 that covers one side opening in the case 81, and a other-side plate that covers the other side opening in the case 81. It has 83 and. Further, the housing 80 is held by the one-side plate 82 and rotatably supports the one-side bearing 84 that rotatably supports one end side of the rotating shaft 61 and the other end side of the rotating shaft 61. The other side bearing 85 is provided.
The one-side plate 82 and the other-side plate 83 are substantially cylindrical members that hold the one-side bearing 84 and the other-side bearing 85 inside and are fitted inside the case 81, respectively. It can be exemplified that the one-side bearing 84 and the other-side bearing 85 are ball bearings.

ミラー20は、モータ10の出力軸61の一方の端部に、保持部材21を介して装着されている。ミラー20は、モータ10の駆動によって、一方の回転方向(例えば時計回り。以下、「正方向」と称する場合がある。)の上限角度と、逆方向の回転方向(例えば反時計回り。以下、「逆方向」と称する場合がある。)の下限角度の間で回転して、図示しないレーザ光源から入射したレーザ光線を出力軸61の回転角度に応じて異なる方向に反射させる。 The mirror 20 is attached to one end of the output shaft 61 of the motor 10 via a holding member 21. By driving the motor 10, the mirror 20 has an upper limit angle in one rotation direction (for example, clockwise; hereinafter, may be referred to as "forward direction") and a rotation direction in the opposite direction (for example, counterclockwise. Hereinafter, the mirror 20). It is rotated between the lower limit angles of (sometimes referred to as “counterclockwise”), and the laser beam incident from a laser light source (not shown) is reflected in different directions depending on the rotation angle of the output shaft 61.

角度検出器30は、モータ10の出力軸61の他方の端部に設けられている。角度検出器30は、例えば、本出願人らが出願した特願2013−70399に記載された位置変換器のような、出力軸61(ミラー20)の回転角度を検出するためのセンサであることを例示することができる。角度検出器30は、モータ10の出力軸61の回転角度に応じた電圧の信号を出力する。 The angle detector 30 is provided at the other end of the output shaft 61 of the motor 10. The angle detector 30 is a sensor for detecting the rotation angle of the output shaft 61 (mirror 20), such as the position converter described in Japanese Patent Application No. 2013-070399 filed by the applicants. Can be exemplified. The angle detector 30 outputs a voltage signal corresponding to the rotation angle of the output shaft 61 of the motor 10.

<第1の実施形態>
図3は、第1の実施形態に係る制御装置100の構成を示すブロック図の一例である。
制御装置100は、CPU、ROM、RAM、EEPROM(Electrically Erasable & Programmable Read Only Memory)等からなる算術論理演算回路である。
制御装置100は、外部から供給される角度指令値と角度検出器30が検出した回転角度(以下、「検出回転角度」と称する場合がある。)との偏差を用いて角度フィードバック(以下、フィードバックを「F/B」と称する場合がある。)制御を行う角度制御部110を有している。また、制御装置100は、角度制御部110からの出力値を用いて速度F/B制御を行う速度制御部120を有している。また、制御装置100は、速度制御部120からの出力値を用いて電流F/B制御を行う電流制御部130を有している。
<First Embodiment>
FIG. 3 is an example of a block diagram showing the configuration of the control device 100 according to the first embodiment.
The control device 100 is an arithmetic logical operation circuit including a CPU, a ROM, a RAM, an EEPROM (Electrically Erasable & Programmable Read Only Memory), and the like.
The control device 100 uses an angle feedback (hereinafter, feedback) using the deviation between the angle command value supplied from the outside and the rotation angle detected by the angle detector 30 (hereinafter, may be referred to as “detected rotation angle”). May be referred to as "F / B".) It has an angle control unit 110 for controlling. Further, the control device 100 has a speed control unit 120 that performs speed F / B control using the output value from the angle control unit 110. Further, the control device 100 has a current control unit 130 that controls the current F / B using the output value from the speed control unit 120.

また、制御装置100は、電流制御部130からの駆動信号に応じた駆動電流を生成してモータ10に供給する駆動回路140を有している。
また、制御装置100は、モータ10に実際に流れる実電流に応じた値を出力する電流検出部150を有している。電流検出部150は、モータ10の巻線に接続されたいわゆるシャント抵抗の両端に生じる電圧からモータ10に流れる実電流の値を検出する。
Further, the control device 100 has a drive circuit 140 that generates a drive current corresponding to a drive signal from the current control unit 130 and supplies the drive current to the motor 10.
Further, the control device 100 has a current detection unit 150 that outputs a value corresponding to the actual current actually flowing through the motor 10. The current detection unit 150 detects the value of the actual current flowing through the motor 10 from the voltage generated across the so-called shunt resistor connected to the winding of the motor 10.

(角度制御部110)
角度制御部110は、外部から供給される角度指令値と検出回転角度との角度偏差を求める角度偏差演算部111と、その角度偏差が零となるようにF/B処理を行って目標回転速度を設定する目標速度設定部112とを有している。
角度偏差演算部111は、外部から供給される角度指令値から検出回転角度を減算することにより角度偏差を演算するとともに、角度偏差を目標速度設定部112に出力する。
目標速度設定部112は、角度指令値と検出回転角度とが一致するようにF/B制御を行うものであり、例えば、角度偏差を、予め定められた積分時定数で積分し、目標回転速度を演算するとともに、演算した目標回転速度を速度制御部120に出力する。
このように、角度制御部110は、目標回転角度と、検出回転角度との偏差が零となるように角度F/B処理を行い、目標回転速度を設定する角度制御手段の一例として機能する。
(Angle control unit 110)
The angle control unit 110 has an angle deviation calculation unit 111 that obtains an angle deviation between an angle command value supplied from the outside and a detected rotation angle, and performs F / B processing so that the angle deviation becomes zero, and performs F / B processing to achieve a target rotation speed. It has a target speed setting unit 112 for setting.
The angle deviation calculation unit 111 calculates the angle deviation by subtracting the detected rotation angle from the angle command value supplied from the outside, and outputs the angle deviation to the target speed setting unit 112.
The target speed setting unit 112 performs F / B control so that the angle command value and the detected rotation angle match. For example, the angle deviation is integrated with a predetermined integration time constant, and the target rotation speed is set. Is calculated, and the calculated target rotation speed is output to the speed control unit 120.
As described above, the angle control unit 110 functions as an example of the angle control means for setting the target rotation speed by performing the angle F / B processing so that the deviation between the target rotation angle and the detected rotation angle becomes zero.

(速度制御部120)
速度制御部120は、ミラー20を揺動させるモータ10の回転角度に応じた補正値を用いて、検出回転角度からモータ10の実際の回転速度に相当する実回転速度を演算する回転速度演算手段の一例として回転速度演算部160を有している。
また、速度制御部120は、角度制御部110から出力された目標回転速度と、回転速度演算部160が演算した実回転速度との速度偏差を演算する速度偏差演算部121を有している。
また、速度制御部120は、速度偏差演算部121が演算した速度偏差を用いて、モータ10に供給する目標電流を設定する設定手段の一例として目標電流設定部122を有している。
(Speed control unit 120)
The speed control unit 120 is a rotation speed calculation means for calculating an actual rotation speed corresponding to the actual rotation speed of the motor 10 from the detected rotation angle by using a correction value according to the rotation angle of the motor 10 that swings the mirror 20. As an example, it has a rotation speed calculation unit 160.
Further, the speed control unit 120 has a speed deviation calculation unit 121 that calculates a speed deviation between the target rotation speed output from the angle control unit 110 and the actual rotation speed calculated by the rotation speed calculation unit 160.
Further, the speed control unit 120 has a target current setting unit 122 as an example of a setting means for setting a target current to be supplied to the motor 10 by using the speed deviation calculated by the speed deviation calculation unit 121.

回転速度演算部160は、角度検出器30が検出した回転角度(検出回転角度)を微分補償する微分補償部161と、微分補償部161から出力された値を補正する定数補正部162とを有している。
微分補償部161は、検出回転角度を微分することにより得た微分値と、予め定められた微分補償定数とを乗算することにより得た値を定数補正部162に出力する。
定数補正部162は、補正値を決定する補正値決定部163と、補正値決定部163が決定した補正値と微分補償部161からの出力値とを加算する加算部164とを有している。
The rotation speed calculation unit 160 includes a differential compensation unit 161 that differentially compensates the rotation angle (detected rotation angle) detected by the angle detector 30, and a constant correction unit 162 that corrects the value output from the differential compensation unit 161. doing.
The differential compensation unit 161 outputs the value obtained by multiplying the differential value obtained by differentiating the detected rotation angle and the predetermined differential compensation constant to the constant correction unit 162.
The constant correction unit 162 includes a correction value determination unit 163 that determines the correction value, and an addition unit 164 that adds the correction value determined by the correction value determination unit 163 and the output value from the differential compensation unit 161. ..

図4は、検出回転角度と補正値との関係の例を示す制御マップの概略図である。
補正値決定部163は、検出回転角度に応じた補正値を算出する。補正値決定部163は、例えば、予め経験則に基づいて作成しROMに記録しておいた、検出回転角度と補正値との関係を示す図4に例示した制御マップ、又は、図4に例示したような関係となる関数に、検出回転角度を代入することにより補正値を算出する、あるいは、トルク定数の減少カーブが2次関数のカーブで近似されるという理論に基づき、アナログ乗算器を使って検出回転角度の2乗を演算し、この演算により得た値に所定の係数を乗算することにより補正値を算出する。
FIG. 4 is a schematic view of a control map showing an example of the relationship between the detected rotation angle and the correction value.
The correction value determination unit 163 calculates a correction value according to the detected rotation angle. The correction value determination unit 163 is, for example, a control map illustrated in FIG. 4 showing the relationship between the detected rotation angle and the correction value, which is created in advance based on an empirical rule and recorded in a ROM, or an example in FIG. The correction value is calculated by substituting the detected rotation angle into the function having the above relationship, or the analog multiplier is used based on the theory that the decrease curve of the torque constant is approximated by the curve of the quadratic function. The square of the detected rotation angle is calculated, and the correction value is calculated by multiplying the value obtained by this calculation by a predetermined coefficient.

図4に例示した制御マップにおいては、検出回転角度と補正値との関係が以下のように定められている。
ここで、予め定められた、ミラー20の揺動範囲の中心に対応するミラー20(モータ10の出力軸61)の回転角度を基準角度とする場合に、正方向及び逆方向の両方向において、基準角度との回転角度差が大きくなるのに応じてモータ10のトルク定数が低下する。つまり、図4に破線で示したように、基準角度におけるトルク定数に対する、各回転角度におけるトルク定数の比を示した場合には、1を頂点とする凸状の円弧状の曲線となる。
In the control map illustrated in FIG. 4, the relationship between the detected rotation angle and the correction value is defined as follows.
Here, when the rotation angle of the mirror 20 (output shaft 61 of the motor 10) corresponding to the center of the swing range of the mirror 20 is set as the reference angle, the reference is made in both the forward direction and the reverse direction. The torque constant of the motor 10 decreases as the difference in rotation angle from the angle increases. That is, as shown by the broken line in FIG. 4, when the ratio of the torque constant at each rotation angle to the torque constant at the reference angle is shown, it becomes a convex arc-shaped curve having 1 as the apex.

そして、検出回転角度と補正値との関係は、図4に実線で示したように、図4に破線で示したトルク定数の特性とは逆特性となるように、基準角度における補正値の値である0を頂点とする凹状の円弧状の曲線となる。つまり、補正値は、正方向及び逆方向の両方向において、基準角度との回転角度差が大きくなるのに応じて大きくなるように設定されている。 The relationship between the detected rotation angle and the correction value is the value of the correction value at the reference angle so that the characteristic is opposite to the characteristic of the torque constant shown by the broken line in FIG. 4, as shown by the solid line in FIG. It becomes a concave arc-shaped curve having 0 as the apex. That is, the correction value is set so as to increase as the difference in rotation angle from the reference angle increases in both the forward direction and the reverse direction.

加算部164は、補正値決定部163が決定した補正値と、微分補償部161からの出力値とを加算する。
以上のように構成された回転速度演算部160は、加算部164が補正値を加算することにより得た値を実回転速度として速度偏差演算部121に出力する。
The addition unit 164 adds the correction value determined by the correction value determination unit 163 and the output value from the differential compensation unit 161.
The rotation speed calculation unit 160 configured as described above outputs the value obtained by adding the correction values by the addition unit 164 to the speed deviation calculation unit 121 as the actual rotation speed.

速度偏差演算部121は、角度制御部110から出力された目標回転速度から回転速度演算部160が演算した実回転速度を減算することにより速度偏差を演算するとともに、演算した速度偏差を目標電流設定部122に出力する。
目標電流設定部122は、角度制御部110から出力された目標回転速度と、回転速度演算部160が演算した実回転速度とが一致するようにF/B制御を行うものであり、例えば、速度偏差演算部121が演算した速度偏差に、予め定められた定数である速度F/Bゲインを乗算して目標電流を演算する。なお、予め定められた定数は、モータ10の仕様やミラー20の形状、サイズに応じて定められた値であることを例示することができる。目標電流設定部122からの出力値は、言い換えれば、モータ10のトルク指令値である。
The speed deviation calculation unit 121 calculates the speed deviation by subtracting the actual rotation speed calculated by the rotation speed calculation unit 160 from the target rotation speed output from the angle control unit 110, and sets the calculated speed deviation as the target current. Output to unit 122.
The target current setting unit 122 performs F / B control so that the target rotation speed output from the angle control unit 110 and the actual rotation speed calculated by the rotation speed calculation unit 160 match, for example, the speed. The target current is calculated by multiplying the speed deviation calculated by the deviation calculation unit 121 by the speed F / B gain, which is a predetermined constant. It should be noted that the predetermined constant can be exemplified as a value determined according to the specifications of the motor 10 and the shape and size of the mirror 20. The output value from the target current setting unit 122 is, in other words, the torque command value of the motor 10.

(電流制御部130)
電流制御部130は、速度制御部120から出力された目標電流と、電流検出部150が検出した実電流との電流偏差を演算する電流偏差演算部131と、その電流偏差が零となるようにF/B処理を行う電流F/B処理部132とを有している。
電流偏差演算部131は、速度制御部120から出力された目標電流から電流検出部150が検出した実電流を減算することにより電流偏差を演算するとともに、電流偏差を電流F/B処理部132に出力する。
電流F/B処理部132は、目標電流と実電流とが一致するようにF/B制御を行うものであり、例えば、電流偏差に、予め定められた定数である電流F/Bゲインを乗算することにより得た値に応じた駆動信号を駆動回路140に対して出力する。なお、予め定められた定数は、モータ10の仕様やミラー20の形状、サイズに応じて定められた値であることを例示することができる。また、電流F/B処理部132は、電流偏差を、予め定められた積分時定数で積分することにより得た値に応じた駆動信号を駆動回路140に対して出力しても良い。
(Current control unit 130)
The current control unit 130 has a current deviation calculation unit 131 that calculates the current deviation between the target current output from the speed control unit 120 and the actual current detected by the current detection unit 150, and the current deviation is set to zero. It has a current F / B processing unit 132 that performs F / B processing.
The current deviation calculation unit 131 calculates the current deviation by subtracting the actual current detected by the current detection unit 150 from the target current output from the speed control unit 120, and transfers the current deviation to the current F / B processing unit 132. Output.
The current F / B processing unit 132 performs F / B control so that the target current and the actual current match. For example, the current deviation is multiplied by the current F / B gain, which is a predetermined constant. A drive signal corresponding to the obtained value is output to the drive circuit 140. It should be noted that the predetermined constant can be exemplified as a value determined according to the specifications of the motor 10 and the shape and size of the mirror 20. Further, the current F / B processing unit 132 may output a drive signal corresponding to the value obtained by integrating the current deviation with a predetermined integration time constant to the drive circuit 140.

(制御装置100の作用・効果)
以上のように構成されたガルバノスキャナ1の制御装置100は、モータ10(ミラー20)の回転角度(揺動角度)の違いによるトルク定数の変動(図4の破線参照)に起因するトルク低下を補正する機能を、サーボループ内の回転速度演算部160内に内蔵することを特徴とする。これは、本発明者らの鋭意研究の結果、このトルク定数の変動に起因するトルク低下を補正する機能を、サーボループ内の回転速度演算部160内に内蔵することで、結果的に全ての揺動範囲においても、同程度のスキャナの応答性を得ることができることを知見したことに基づくものである。
(Action / effect of control device 100)
The control device 100 of the galvano scanner 1 configured as described above reduces the torque due to the fluctuation of the torque constant (see the broken line in FIG. 4) due to the difference in the rotation angle (swing angle) of the motor 10 (mirror 20). The feature is that the correction function is built in the rotation speed calculation unit 160 in the servo loop. As a result of diligent research by the present inventors, the function of correcting the torque decrease due to the fluctuation of the torque constant is built in the rotation speed calculation unit 160 in the servo loop, and as a result, all of them are obtained. This is based on the finding that the same level of scanner responsiveness can be obtained even in the swing range.

そして、第1の実施形態に係る制御装置100は、速度制御部120の回転速度演算部160の定数補正部162が、微分補償部161からの出力値を補正する。それゆえ、回転速度演算部160は、ミラー20を揺動させるモータ10の回転角度に応じた補正値を用いて、検出回転角度からモータ10の実際の回転速度に相当する実回転速度を演算する回転速度演算手段として機能する。そして、偏差演算手段の一例としての速度偏差演算部121は、目標回転速度と、回転速度演算部160が演算した実回転速度との速度偏差を演算する。そして、設定手段の一例としての目標電流設定部122は、速度偏差演算部121が演算した速度偏差を用いて、モータ10に供給する目標電流を設定する。このように、速度制御部120が、モータ10の回転角度に応じた補正値を用いて補正した後の実回転速度を用いて目標電流を設定することで、全ての揺動角度においても、ミラー20の角度を迅速に目標角度に合わせることができる。 Then, in the control device 100 according to the first embodiment, the constant correction unit 162 of the rotation speed calculation unit 160 of the speed control unit 120 corrects the output value from the differential compensation unit 161. Therefore, the rotation speed calculation unit 160 calculates the actual rotation speed corresponding to the actual rotation speed of the motor 10 from the detected rotation angle by using the correction value according to the rotation angle of the motor 10 that swings the mirror 20. It functions as a rotation speed calculation means. Then, the speed deviation calculation unit 121 as an example of the deviation calculation means calculates the speed deviation between the target rotation speed and the actual rotation speed calculated by the rotation speed calculation unit 160. Then, the target current setting unit 122 as an example of the setting means sets the target current to be supplied to the motor 10 by using the speed deviation calculated by the speed deviation calculation unit 121. In this way, the speed control unit 120 sets the target current using the actual rotation speed after correction using the correction value according to the rotation angle of the motor 10, so that the mirror can be mirrored even at all swing angles. The angle of 20 can be quickly adjusted to the target angle.

図5(a)は、第1の実施形態に係る制御装置100を用いてミラー20を位置決めした場合の測定結果である。図5(b)は、比較例に係る制御装置を用いてミラー20を位置決めした場合の測定結果である。比較例に係る制御装置は、制御装置100に対して、定数補正部162を有していない点が異なる。また、図5(a)及び図5(b)は、ミラー20を正方向の16度の位置に位置決めする際の、角度検出器30からの位置信号を実線で、電流検出部150からの電流信号を破線で示す図である。
比較例に係る制御装置を用いた場合には、ミラー20の揺動範囲の中心付近でオーバーシュートが発生しないように制御装置内の補償回路を設定したとしても、ミラー20の揺動範囲の両端に向かって図4に示すようにトルク定数が低下するため、ミラー20の揺動範囲の両端付近では、図5(b)に示すように、オーバーシュートが発生する。これに対して、第1の実施形態に係る制御装置100を用いた場合には、ミラー20の揺動範囲の両端付近でのトルク定数の低下が抑制されるため、ミラー20の揺動範囲の両端付近でも、図5(a)に示すように、オーバーシュートが発生しない。その結果、第1の実施形態に係る制御装置100によれば、比較例に係る制御装置よりも、迅速に、ミラー20を目標角度に位置決めすることができ、応答性を向上させることができる。また、図5(a)及び図5(b)には、ミラー20を正方向の16度の位置に位置決めする際の測定結果を示しているが、第1の実施形態に係る制御装置100によれば、全ての揺動角度においても、ミラー20の角度を迅速に目標角度に合わせることができる。
FIG. 5A is a measurement result when the mirror 20 is positioned by using the control device 100 according to the first embodiment. FIG. 5B is a measurement result when the mirror 20 is positioned using the control device according to the comparative example. The control device according to the comparative example is different from the control device 100 in that it does not have the constant correction unit 162. Further, in FIGS. 5A and 5B, the position signal from the angle detector 30 when positioning the mirror 20 at a position of 16 degrees in the positive direction is shown by a solid line, and the current from the current detection unit 150 is shown. It is a figure which shows a signal by a broken line.
When the control device according to the comparative example is used, both ends of the swing range of the mirror 20 are set even if the compensation circuit in the control device is set so that an overshoot does not occur near the center of the swing range of the mirror 20. As shown in FIG. 4, the torque constant decreases toward the direction of the mirror 20, so that an overshoot occurs near both ends of the swing range of the mirror 20 as shown in FIG. 5 (b). On the other hand, when the control device 100 according to the first embodiment is used, the decrease in the torque constant near both ends of the swing range of the mirror 20 is suppressed, so that the swing range of the mirror 20 is increased. As shown in FIG. 5A, overshoot does not occur even in the vicinity of both ends. As a result, according to the control device 100 according to the first embodiment, the mirror 20 can be positioned at the target angle more quickly than the control device according to the comparative example, and the responsiveness can be improved. Further, FIGS. 5A and 5B show measurement results when the mirror 20 is positioned at a position of 16 degrees in the positive direction, but the control device 100 according to the first embodiment shows the measurement results. According to this, the angle of the mirror 20 can be quickly adjusted to the target angle even at all the swing angles.

<第2の実施形態>
図6は、第2の実施形態に係る制御装置200の構成を示すブロック図の一例である。
第2の実施形態に係る制御装置200は、第1の実施形態に係る制御装置100に対して、速度制御部120に相当する速度制御部220が異なる。以下、制御装置100と異なる点について説明する。制御装置100と制御装置200とで、同じ機能を有するものについては同じ符号を付し、その詳細な説明は省略する。
<Second embodiment>
FIG. 6 is an example of a block diagram showing the configuration of the control device 200 according to the second embodiment.
The control device 200 according to the second embodiment is different from the control device 100 according to the first embodiment in the speed control unit 220 corresponding to the speed control unit 120. Hereinafter, the differences from the control device 100 will be described. The control device 100 and the control device 200 having the same function are designated by the same reference numerals, and detailed description thereof will be omitted.

速度制御部220は、速度制御部120に対して、回転速度演算部160に相当する回転速度演算部260と、速度偏差演算部121に相当する速度偏差演算部221と、目標電流設定部122に相当する目標電流設定部270とが異なる。 The speed control unit 220 is provided with the rotation speed calculation unit 260 corresponding to the rotation speed calculation unit 160, the speed deviation calculation unit 221 corresponding to the speed deviation calculation unit 121, and the target current setting unit 122 with respect to the speed control unit 120. It is different from the corresponding target current setting unit 270.

回転速度演算部260は、微分補償部161と、定数補正部162とに加えて、検出回転角度を比例補償する比例補償部265を有している。また、回転速度演算部260は、電流検出部150が検出した実電流を積分補償する積分補償部266と、積分補償部266からの出力値を微分補償する微分補償部267と、を有している。 The rotation speed calculation unit 260 includes a differential compensation unit 161 and a constant correction unit 162, as well as a proportional compensation unit 265 that proportionally compensates the detected rotation angle. Further, the rotation speed calculation unit 260 has an integral compensation unit 266 that integrates and compensates the actual current detected by the current detection unit 150, and a differential compensation unit 267 that differentially compensates the output value from the integral compensation unit 266. There is.

比例補償部265は、検出回転角度と、予め定められた比例補償定数とを乗算することにより得た値を速度偏差演算部221に出力する。
積分補償部266は、電流検出部150にて検出された実電流を、予め定められた積分時定数で不完全積分することにより得た値を微分補償部267に出力する。
微分補償部267は、積分補償部266から出力された値を、予め定められた微分時定数で微分することにより得た値を速度偏差演算部221に出力する。微分補償部267は、積分補償部266から出力された値の周波数をオフセットするためのものであり、これら積分補償部266、微分補償部267により、特定の周波数帯域の制御補償を行う。
The proportional compensation unit 265 outputs a value obtained by multiplying the detected rotation angle by a predetermined proportional compensation constant to the speed deviation calculation unit 221.
The integration compensation unit 266 outputs a value obtained by incompletely integrating the actual current detected by the current detection unit 150 with a predetermined integration time constant to the differential compensation unit 267.
The differential compensation unit 267 outputs the value obtained by differentiating the value output from the integral compensation unit 266 with a predetermined differential time constant to the speed deviation calculation unit 221. The differential compensation unit 267 is for offsetting the frequency of the value output from the integral compensation unit 266, and the integral compensation unit 266 and the differential compensation unit 267 perform control compensation in a specific frequency band.

以上のように構成された回転速度演算部260は、加算部164から出力された値と、比例補償部265から出力された値と、微分補償部267から出力された値とを加算することにより得た値を実回転速度として速度偏差演算部221に出力する。比例補償部265から出力された値は、主に低周波数領域の回転速度の値となり、微分補償部267から出力された値は、主に高周波数領域の回転速度の値となる。また、加算部164から出力された値は、比例補償部265から出力された値の低周波数領域と、微分補償部267から出力された値の高周波数領域との間の中周波数領域の値となる。それゆえ、回転速度演算部260は、広範囲の周波数領域における実回転速度を演算することが可能である。
なお、回転速度演算部260は、加算部164から出力された値と、比例補償部265から出力された値と、微分補償部267から出力された値とを、それぞれ予め定められた比率で加算することにより得た値を実回転速度としても良い。なお、予め定められた比率は、モータ10の仕様やミラー20の形状、サイズに応じて定められた値であることを例示することができる。
The rotation speed calculation unit 260 configured as described above adds the value output from the addition unit 164, the value output from the proportional compensation unit 265, and the value output from the differential compensation unit 267. The obtained value is output to the speed deviation calculation unit 221 as the actual rotation speed. The value output from the proportional compensation unit 265 mainly becomes the value of the rotation speed in the low frequency region, and the value output from the differential compensation unit 267 mainly becomes the value of the rotation speed in the high frequency region. Further, the value output from the addition unit 164 is a value in the middle frequency region between the low frequency region of the value output from the proportional compensation unit 265 and the high frequency region of the value output from the differential compensation unit 267. Become. Therefore, the rotation speed calculation unit 260 can calculate the actual rotation speed in a wide frequency range.
The rotation speed calculation unit 260 adds the value output from the addition unit 164, the value output from the proportional compensation unit 265, and the value output from the differential compensation unit 267 at a predetermined ratio. The value obtained by doing so may be used as the actual rotation speed. It should be noted that the predetermined ratio can be exemplified as a value determined according to the specifications of the motor 10 and the shape and size of the mirror 20.

速度偏差演算部221は、角度制御部110から出力された目標回転速度から、回転速度演算部260が演算した実回転速度を減算することにより速度偏差を演算するとともに、演算した速度偏差を目標電流設定部270に出力する。つまり、速度偏差演算部221が演算する速度偏差は、角度制御部110から出力された目標回転速度から、加算部164から出力された値と比例補償部265から出力された値と微分補償部267から出力された値とを加算することにより得た値を減算した値である。
なお、速度偏差演算部221は、角度制御部110から出力された目標回転速度と、回転速度演算部260が演算した実回転速度とを、それぞれ予め定められた比率で加算することにより速度偏差を演算しても良い。なお、予め定められた比率は、モータ10の仕様やミラー20の形状、サイズに応じて定められた値であることを例示することができる。
The speed deviation calculation unit 221 calculates the speed deviation by subtracting the actual rotation speed calculated by the rotation speed calculation unit 260 from the target rotation speed output from the angle control unit 110, and calculates the calculated speed deviation as the target current. Output to the setting unit 270. That is, the speed deviation calculated by the speed deviation calculation unit 221 is the value output from the addition unit 164, the value output from the proportional compensation unit 265, and the differential compensation unit 267 from the target rotation speed output from the angle control unit 110. It is a value obtained by subtracting the value obtained by adding the value output from.
The speed deviation calculation unit 221 adds the target rotation speed output from the angle control unit 110 and the actual rotation speed calculated by the rotation speed calculation unit 260 at a predetermined ratio to obtain the speed deviation. You may calculate. It should be noted that the predetermined ratio can be exemplified as a value determined according to the specifications of the motor 10 and the shape and size of the mirror 20.

目標電流設定部270は、速度偏差演算部221が演算した速度偏差が零となるようにF/B処理を行う速度F/B処理部271と、速度F/B処理部271から出力された値にフィルタリング処理を施すフィルタ272を有している。
速度F/B処理部271は、角度制御部110から出力された目標回転速度と、回転速度演算部260が演算した実回転速度とが一致するようにF/B制御を行うものであり、例えば、速度偏差に、予め定められた定数である速度F/Bゲインを乗算することにより得た値をフィルタ272に対して出力する。
The target current setting unit 270 is a speed F / B processing unit 271 that performs F / B processing so that the speed deviation calculated by the speed deviation calculation unit 221 becomes zero, and a value output from the speed F / B processing unit 271. Has a filter 272 that performs a filtering process on the
The speed F / B processing unit 271 performs F / B control so that the target rotation speed output from the angle control unit 110 and the actual rotation speed calculated by the rotation speed calculation unit 260 match, for example. , The value obtained by multiplying the speed deviation by the speed F / B gain, which is a predetermined constant, is output to the filter 272.

フィルタ272は、速度F/B処理部271から出力された値にノッチフィルタに対応するフィルタリング処理を施す。フィルタ272は、ある範囲の周波数の信号のみ減衰させ、それ以外の周波数の信号を通す。本実施形態においては、フィルタ272は、ミラー20の共振周波数成分のみを除去する。なお、同様に、第1の実施形態に係る目標電流設定部122も、速度偏差演算部121が演算した速度偏差に速度F/Bゲインを乗算することにより得た値の内、ミラー20の共振周波数成分のみを除去するようにフィルタ272にてフィルタリング処理を施しても良い。 The filter 272 performs a filtering process corresponding to the notch filter on the value output from the speed F / B processing unit 271. The filter 272 attenuates only signals of a certain range of frequencies and passes signals of other frequencies. In this embodiment, the filter 272 removes only the resonant frequency component of the mirror 20. Similarly, the target current setting unit 122 according to the first embodiment also resonates with the mirror 20 among the values obtained by multiplying the speed deviation calculated by the speed deviation calculation unit 121 by the speed F / B gain. Filtering processing may be performed by the filter 272 so as to remove only the frequency component.

以上のように構成された制御装置200を用いると、第1の実施形態に係る制御装置100を用いるのと同様に、オーバーシュートが発生しない。その結果、制御装置200によれば、比較例に係る制御装置よりも、全ての揺動角度において、迅速に、ミラー20を目標角度に位置決めすることができ、応答性を向上させることができる。 When the control device 200 configured as described above is used, overshoot does not occur as in the case of using the control device 100 according to the first embodiment. As a result, according to the control device 200, the mirror 20 can be positioned at the target angle more quickly at all the swing angles than the control device according to the comparative example, and the responsiveness can be improved.

<第3の実施形態>
図7は、第3の実施形態に係る制御装置300の構成を示すブロック図の一例である。
第3の実施形態に係る制御装置300は、第2の実施形態に係る制御装置200に対して、目標電流設定部270に相当する目標電流設定部370が異なる。以下、制御装置200と異なる点について説明する。制御装置200と制御装置300とで、同じ機能を有するものについては同じ符号を付し、その詳細な説明は省略する。
<Third embodiment>
FIG. 7 is an example of a block diagram showing the configuration of the control device 300 according to the third embodiment.
The control device 300 according to the third embodiment is different from the control device 200 according to the second embodiment in the target current setting unit 370 corresponding to the target current setting unit 270. Hereinafter, the differences from the control device 200 will be described. The control device 200 and the control device 300 having the same function are designated by the same reference numerals, and detailed description thereof will be omitted.

目標電流設定部370は、角度制御部110から出力された目標回転速度と、加算部164から出力された値と、比例補償部265から出力された値と、微分補償部267から出力された値とを加算する加算処理部371と、フィルタ272と、を有している。
加算処理部371は、角度制御部110から出力された目標回転速度と、加算部164から出力された値と、比例補償部265から出力された値と、微分補償部267から出力された値と、をそれぞれ予め定められた比率(例えば、ミラー20の形状に応じて定められた比率)で加算するとともに増幅して、フィルタ272に出力する。なお、予め定められた比率は、モータ10の仕様やミラー20の形状、サイズに応じて定められた値であることを例示することができる。
そして、フィルタ272が、加算処理部371からの出力の内、ミラー20の共振周波数成分のみを除去して、モータ10の目標電流、言い換えれば、トルク指令値として、電流制御部130に出力する。
The target current setting unit 370 has a target rotation speed output from the angle control unit 110, a value output from the addition unit 164, a value output from the proportional compensation unit 265, and a value output from the differential compensation unit 267. It has an addition processing unit 371 for adding and a filter 272.
The addition processing unit 371 has a target rotation speed output from the angle control unit 110, a value output from the addition unit 164, a value output from the proportional compensation unit 265, and a value output from the differential compensation unit 267. , Are added at a predetermined ratio (for example, a ratio determined according to the shape of the mirror 20), amplified, and output to the filter 272. It should be noted that the predetermined ratio can be exemplified as a value determined according to the specifications of the motor 10 and the shape and size of the mirror 20.
Then, the filter 272 removes only the resonance frequency component of the mirror 20 from the output from the addition processing unit 371, and outputs it to the current control unit 130 as a target current of the motor 10, in other words, a torque command value.

以上のように構成された制御装置300は、目標回転角度と、検出したミラー20を揺動させるモータ10の回転角度である検出回転角度との偏差が零となるように角度フィードバック処理を行う角度制御手段の一例としての角度制御部110と、検出回転角度を微分した値に予め定められた微分補償定数を乗算する微分補償手段の一例としての微分補償部161と、を備える。また、制御装置300は、モータ10の回転角度に応じた補正値を用いて、微分補償部161からの出力値を補正する補正手段の一例としての定数補正部162と、角度制御部110からの出力値と、定数補正部162からの出力値とを、それぞれ予め定められた比率で加算して増幅し、モータ10に供給する目標電流を設定する設定手段の一例としての目標電流設定部370と、を備える。なお、予め定められた比率は、モータ10の仕様やミラー20の形状、サイズに応じて定められた値であることを例示することができる。
また、制御装置300のように、目標電流設定部370は、検出回転角度に予め定められた比例補償定数を乗算することにより得た値をも予め定められた比率で加算して増幅しても良い。なお、予め定められた比率は、モータ10の仕様やミラー20の形状、サイズに応じて定められた値であることを例示することができる。さらに、目標電流設定部370は、検出したモータ10の電流を予め定められた積分時定数で不完全積分するとともに、予め定められた微分時定数で微分することにより得た値をも予め定められた比率で加算して増幅しても良い。なお、予め定められた比率は、モータ10の仕様やミラー20の形状、サイズに応じて定められた値であることを例示することができる。
The control device 300 configured as described above performs angle feedback processing so that the deviation between the target rotation angle and the detected rotation angle, which is the rotation angle of the motor 10 that swings the detected mirror 20, becomes zero. The angle control unit 110 as an example of the control means and the differential compensation unit 161 as an example of the differential compensation means for multiplying the value obtained by differentiating the detected rotation angle by a predetermined differential compensation constant are provided. Further, the control device 300 has a constant correction unit 162 as an example of a correction means for correcting an output value from the differential compensation unit 161 using a correction value according to the rotation angle of the motor 10, and an angle control unit 110. The target current setting unit 370 and the target current setting unit 370 as an example of the setting means for setting the target current to be supplied to the motor 10 by adding and amplifying the output value and the output value from the constant correction unit 162 at a predetermined ratio. , Equipped with. It should be noted that the predetermined ratio can be exemplified as a value determined according to the specifications of the motor 10 and the shape and size of the mirror 20.
Further, as in the control device 300, the target current setting unit 370 may add and amplify the value obtained by multiplying the detected rotation angle by a predetermined proportional compensation constant at a predetermined ratio. good. It should be noted that the predetermined ratio can be exemplified as a value determined according to the specifications of the motor 10 and the shape and size of the mirror 20. Further, the target current setting unit 370 incompletely integrates the detected current of the motor 10 with a predetermined integration time constant, and also predetermined a value obtained by differentiating with a predetermined differential time constant. You may add and amplify at the same ratio. It should be noted that the predetermined ratio can be exemplified as a value determined according to the specifications of the motor 10 and the shape and size of the mirror 20.

以上のように構成された制御装置300を用いて、ミラー20を正方向の16度の位置に位置決めした場合の測定結果は、図5(a)に示したようになり、オーバーシュートが発生しなかった。それゆえ、制御装置300によれば、比較例に係る制御装置よりも、全ての揺動角度において、迅速に、ミラー20を目標角度に位置決めすることができ、応答性を向上させることができる。 The measurement result when the mirror 20 is positioned at a position of 16 degrees in the positive direction by using the control device 300 configured as described above is as shown in FIG. 5A, and an overshoot occurs. There wasn't. Therefore, according to the control device 300, the mirror 20 can be positioned at the target angle more quickly at all the swing angles than the control device according to the comparative example, and the responsiveness can be improved.

<第4の実施形態>
図8は、第4の実施形態に係る制御装置400の構成を示すブロック図の一例である。
第4の実施形態に係る制御装置400は、第1の実施形態に係る制御装置100に対して、速度制御部120に相当する速度制御部420が異なる。以下、制御装置100と異なる点について説明する。制御装置100と制御装置400とで、同じ機能を有するものについては同じ符号を付し、その詳細な説明は省略する。
<Fourth Embodiment>
FIG. 8 is an example of a block diagram showing the configuration of the control device 400 according to the fourth embodiment.
The control device 400 according to the fourth embodiment is different from the control device 100 according to the first embodiment in the speed control unit 420 corresponding to the speed control unit 120. Hereinafter, the differences from the control device 100 will be described. The control device 100 and the control device 400 having the same function are designated by the same reference numerals, and detailed description thereof will be omitted.

速度制御部420は、回転速度演算部160と、速度偏差演算部121と、目標電流設定部122とに加えて、目標電流設定部122から出力された値を、トルク定数の変動量を考慮して補正する定数補正部423を有している。
定数補正部423は、第2補正値としての補正値を決定する補正値決定部424と、補正値決定部424が決定した電流補正値と目標電流設定部122からの出力値とを加算する加算部425とを有している。
The speed control unit 420 considers the fluctuation amount of the torque constant with the value output from the target current setting unit 122 in addition to the rotation speed calculation unit 160, the speed deviation calculation unit 121, and the target current setting unit 122. It has a constant correction unit 423 for correction.
The constant correction unit 423 adds the correction value determination unit 424 that determines the correction value as the second correction value, the current correction value determined by the correction value determination unit 424, and the output value from the target current setting unit 122. It has a part 425 and.

補正値決定部424は、検出回転角度に応じた電流補正値を算出する。補正値決定部424は、例えば、予め経験則に基づいて作成しROMに記録しておいた、検出回転角度と電流補正値との関係を示す制御マップ、又は関数に、検出回転角度を代入することにより電流補正値を算出する。
検出回転角度と電流補正値との関係は、図4に実線で示したように、図4に破線で示したトルク定数の特性とは逆特性となるように、基準角度における電流補正値の値である0を頂点とする凹状の円弧状の曲線となる。つまり、電流補正値は、正方向及び逆方向の両方向において、基準角度との回転角度差が大きくなるのに応じて大きくなるように設定されている。
The correction value determination unit 424 calculates the current correction value according to the detected rotation angle. The correction value determination unit 424 substitutes the detected rotation angle into, for example, a control map or a function showing the relationship between the detected rotation angle and the current correction value, which is created in advance based on an empirical rule and recorded in the ROM. By doing so, the current correction value is calculated.
The relationship between the detected rotation angle and the current correction value is the value of the current correction value at the reference angle so that the characteristics are opposite to the characteristics of the torque constant shown by the broken line in FIG. 4, as shown by the solid line in FIG. It becomes a concave arc-shaped curve having 0 as the apex. That is, the current correction value is set so as to increase as the difference in rotation angle from the reference angle increases in both the forward direction and the reverse direction.

以上のように構成された制御装置400は、定数補正部423が、目標電流設定部122からの出力値を補正する。それゆえ、さらに、全ての揺動角度において、ミラー20の角度を迅速に目標角度に合わせることができる。
なお、目標電流設定部122から出力された値を、トルク定数の変動量を考慮して補正する定数補正部423を、第2の実施形態に係る制御装置200及び第3の実施形態に係る制御装置300に適用しても良い。これにより、さらに、全ての揺動角度において、ミラー20の角度を迅速に目標角度に合わせることができる。
In the control device 400 configured as described above, the constant correction unit 423 corrects the output value from the target current setting unit 122. Therefore, the angle of the mirror 20 can be quickly adjusted to the target angle at all swing angles.
The constant correction unit 423 that corrects the value output from the target current setting unit 122 in consideration of the fluctuation amount of the torque constant is controlled by the control device 200 according to the second embodiment and the control according to the third embodiment. It may be applied to the device 300. As a result, the angle of the mirror 20 can be quickly adjusted to the target angle at all swing angles.

1…ガルバノスキャナ、10…モータ、20…ミラー、30…角度検出器、100,200,300,400…制御装置、110…角度制御部、120,220,420…速度制御部、121,221…速度偏差演算部、122,270,370…目標電流設定部、130…電流制御部、140…駆動回路、150…電流検出部、160,260…回転速度演算部、161…微分補償部、162,423…定数補正部、163,424…補正値決定部、164,425…加算部、265…比例補償部、266…積分補償部、267…微分補償部、371…加算処理部 1 ... Galvano scanner, 10 ... Motor, 20 ... Mirror, 30 ... Angle detector, 100, 200, 300, 400 ... Control device, 110 ... Angle control unit, 120, 220, 420 ... Speed control unit, 121,221 ... Speed deviation calculation unit, 122, 270, 370 ... target current setting unit, 130 ... current control unit, 140 ... drive circuit, 150 ... current detection unit, 160, 260 ... rotation speed calculation unit, 161 ... differential compensation unit, 162 423 ... Constant correction unit, 163,424 ... Correction value determination unit, 164,425 ... Addition unit, 265 ... Proportional compensation unit, 266 ... Integral compensation unit, 267 ... Differential compensation unit, 371 ... Addition processing unit

Claims (10)

ミラーを揺動させるモータの回転角度に応じた補正値を用いて、検出した当該モータの回転角度である検出回転角度から当該モータの実際の回転速度に相当する実回転速度を演算する回転速度演算手段と、
目標回転速度と、前記回転速度演算手段が演算した前記実回転速度との偏差を演算する偏差演算手段と、
前記偏差演算手段が演算した前記偏差を用いて、前記モータに供給する目標電流を設定する設定手段と、
を備える制御装置。
Rotation speed calculation that calculates the actual rotation speed corresponding to the actual rotation speed of the motor from the detected rotation angle, which is the detected rotation angle of the motor, using the correction value according to the rotation angle of the motor that swings the mirror. Means and
Deviation calculation means for calculating the deviation between the target rotation speed and the actual rotation speed calculated by the rotation speed calculation means, and
A setting means for setting a target current to be supplied to the motor using the deviation calculated by the deviation calculation means, and a setting means.
A control device comprising.
前記回転速度演算手段は、前記検出回転角度を微分することにより得た微分値と、前記補正値と、を用いて前記実回転速度を演算する
請求項1に記載の制御装置。
The control device according to claim 1, wherein the rotation speed calculation means calculates the actual rotation speed by using a differential value obtained by differentiating the detected rotation angle and the correction value.
前記回転速度演算手段は、前記検出回転角度に予め定められた定数を乗算することにより得た値をも用いて前記実回転速度を演算する
請求項2に記載の制御装置。
The control device according to claim 2, wherein the rotation speed calculation means calculates the actual rotation speed by using a value obtained by multiplying the detected rotation angle by a predetermined constant.
目標回転角度と、前記検出回転角度との偏差が零となるように角度フィードバック処理を行い、前記目標回転速度を設定する角度制御手段
を備える請求項1から3のいずれか1項に記載の制御装置。
The control according to any one of claims 1 to 3, further comprising an angle control means for setting the target rotation speed by performing angle feedback processing so that the deviation between the target rotation angle and the detected rotation angle becomes zero. apparatus.
前記設定手段は、前記モータの回転角度に応じた第2補正値をも用いて、前記目標電流を設定する
請求項1から4のいずれか1項に記載の制御装置。
The control device according to any one of claims 1 to 4, wherein the setting means also uses a second correction value according to the rotation angle of the motor to set the target current.
目標回転角度と、検出したミラーを揺動させるモータの回転角度である検出回転角度との偏差が零となるように角度フィードバック処理を行う角度制御手段と、
前記検出回転角度を微分した値に予め定められた定数を乗算する微分補償手段と、
前記モータの回転角度に応じた補正値を用いて、前記微分補償手段からの出力値を補正する補正手段と、
前記角度制御手段からの出力値と、前記補正手段からの出力値とを、それぞれ予め定められた比率で加算し、前記モータに供給する目標電流を設定する設定手段と、
を備える制御装置。
An angle control means that performs angle feedback processing so that the deviation between the target rotation angle and the detected rotation angle, which is the rotation angle of the motor that swings the detected mirror, becomes zero.
A differential compensation means for multiplying a value obtained by differentiating the detected rotation angle by a predetermined constant,
A correction means for correcting an output value from the differential compensation means using a correction value according to the rotation angle of the motor, and a correction means for correcting the output value from the differential compensation means.
A setting means for setting a target current to be supplied to the motor by adding the output value from the angle control means and the output value from the correction means at a predetermined ratio, respectively.
A control device comprising.
前記設定手段は、前記検出回転角度に予め定められた定数を乗算することにより得た値をも予め定められた比率で加算する
請求項6に記載の制御装置。
The control device according to claim 6, wherein the setting means also adds a value obtained by multiplying the detected rotation angle by a predetermined constant at a predetermined ratio.
前記設定手段は、検出した前記モータの電流を予め定められた積分時定数で不完全積分するとともに、予め定められた微分時定数で微分することにより得た値をも予め定められた比率で加算する
請求項7に記載の制御装置。
The setting means incompletely integrates the detected current of the motor with a predetermined integration time constant, and adds a value obtained by differentiating with a predetermined differential time constant at a predetermined ratio. The control device according to claim 7.
ミラーを揺動させるモータの回転角度に応じた補正値を用いて、検出した当該モータの回転角度である検出回転角度から当該モータの実際の回転速度に相当する実回転速度を演算し、
目標回転速度と、前記実回転速度との偏差を演算し、
前記偏差を用いて、前記モータに供給する目標電流を設定する、
制御方法。
Using the correction value according to the rotation angle of the motor that swings the mirror, the actual rotation speed corresponding to the actual rotation speed of the motor is calculated from the detected rotation angle, which is the detection rotation angle of the motor.
Calculate the deviation between the target rotation speed and the actual rotation speed,
The deviation is used to set the target current to be supplied to the motor.
Control method.
目標回転角度と、検出したミラーを揺動させるモータの回転角度である検出回転角度との偏差が零となるように角度フィードバック処理を行い、
前記検出回転角度を微分した値に予め定められた定数を乗算して微分補償し、
前記モータの回転角度に応じた補正値を用いて、前記微分補償後の値を補正し、
前記角度フィードバック処理後の出力値と、前記補正値を用いて補正した後の出力値とを、それぞれ予め定められた比率で加算し、前記モータに供給する目標電流を設定する、
制御方法。
Angle feedback processing is performed so that the deviation between the target rotation angle and the detected rotation angle, which is the rotation angle of the motor that swings the detected mirror, becomes zero.
The value obtained by differentiating the detected rotation angle is multiplied by a predetermined constant for differential compensation.
Using the correction value according to the rotation angle of the motor, the value after the differential compensation is corrected.
The output value after the angle feedback process and the output value after correction using the correction value are added at predetermined ratios to set a target current to be supplied to the motor.
Control method.
JP2019180940A 2019-09-30 2019-09-30 Control device and control method Pending JP2021058028A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2019180940A JP2021058028A (en) 2019-09-30 2019-09-30 Control device and control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2019180940A JP2021058028A (en) 2019-09-30 2019-09-30 Control device and control method

Publications (1)

Publication Number Publication Date
JP2021058028A true JP2021058028A (en) 2021-04-08

Family

ID=75271376

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2019180940A Pending JP2021058028A (en) 2019-09-30 2019-09-30 Control device and control method

Country Status (1)

Country Link
JP (1) JP2021058028A (en)

Similar Documents

Publication Publication Date Title
KR100855798B1 (en) Positioning servocontroller
JP4990213B2 (en) Galvano scanner device and laser processing apparatus provided with galvano scanner device
JP3548220B2 (en) Vibration detector
US20090251093A1 (en) Motor control apparatus
JPH05276427A (en) Hand shake correcting device
JP5020880B2 (en) Galvano motor and galvano motor system
JP2005173377A5 (en)
JP4533640B2 (en) Galvano scanner control method and galvano scanner
US20090198351A1 (en) Control circuit and camera apparatus
JP2021058028A (en) Control device and control method
JP2003029316A (en) Position controller and control method used for image pickup device
JP2541169B2 (en) Resolver detection error correction method
US20100302386A1 (en) Composite low frequency cutoff filter and imaging apparatus using the same
JP2003057570A (en) Scanner
JP5441150B2 (en) DRIVE CONTROL DEVICE, DRIVE CONTROL METHOD, AND IMAGING DEVICE
JP3986241B2 (en) Control device for optical scanner device
JP7180170B2 (en) Output correction method of TMR sensor
US5973320A (en) Optical position sensor
JP5294658B2 (en) Image shake correction apparatus, optical apparatus including the same, and imaging apparatus
US20190331910A1 (en) Light Deflector and Light Deflector Control Device
JP5305970B2 (en) Image blur correction apparatus, optical apparatus including the same, imaging apparatus, and image blur correction apparatus control method and program
US20180131297A1 (en) Servomotor control device
JPH0224078A (en) Manipulator controller
JP3214935B2 (en) Control method of light beam automatic tracking device
JPH07294980A (en) Camera-shake detecting device