Mirror control method, mirror control program, and mirror control device

By decomposing measurement signals into sine and cosine wave amplitudes and applying PID control based on MEMS mirror characteristics, the method stabilizes the control system, enabling efficient gain adjustment and reducing fluctuations in laser distance measuring devices.

JP2024123843APending Publication Date: 2024-09-12FUJITSU LTD
View PDF 7 Cites 0 Cited by

Patent Information

Application Number
JP2023031586
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-03-02
Publication Date
2024-09-12

AI Technical Summary

Technical Problem

Existing mirror control systems in laser distance measuring devices face challenges in optimizing gain adjustment for feedback control due to the need for trial and error, and it is difficult to simultaneously adjust amplitude and phase fluctuations caused by temperature changes.

Method used

The method involves decomposing the measurement signal into sine and cosine wave amplitudes, determining command values based on differences between target and measured amplitudes, and generating drive waveforms using PID control to stabilize the control system by analyzing the characteristics of the MEMS mirror.

Benefits of technology

This approach facilitates easy gain adjustment and stabilizes the control system, allowing for efficient feedback control of the mirror angle, reducing amplitude and phase fluctuations.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024123843000001
    Figure 2024123843000001
Patent Text Reader

Abstract

To facilitate gain adjustment in feedback-controlling an angle of a mirror.SOLUTION: A mirror control method causes a computer to execute processing of: decomposing a measurement signal obtained by measuring the angle of a mirror to generate a sine wave amplitude measured value and a cosine wave amplitude measured value; calculating a sine wave amplitude command value and a cosine wave amplitude command value on the basis of a value according to a difference between a sine wave amplitude target value and the sine wave amplitude measured value and a value according to a difference between a cosine wave amplitude target value and the cosine wave amplitude measured value; and generating a drive waveform of a drive signal for controlling the angle of the mirror on the basis of the sine wave amplitude command value and the cosine wave amplitude command value.SELECTED DRAWING: Figure 10
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to a mirror control method, a mirror control program, and a mirror control device. [Background technology]

[0002] In a laser distance measurement device, a mirror control device that controls a MEMS (Micro Electro Mechanical Systems) mirror controls the angles of the mirror about two axes in order to scan the laser in the horizontal and vertical directions.

[0003] In this case, the mirror control device controls the amplitude and phase of the horizontal drive signal of the MEMS mirror by feeding back a measurement signal measured by an angle sensor in order to reduce fluctuations in amplitude and phase due to factors such as temperature changes. [Prior art documents] [Patent documents]

[0004] [Patent Document 1] JP 2021-177214 A Summary of the Invention [Problem to be solved by the invention]

[0005] However, it takes time to derive an optimal gain by trial and error when adjusting the gain of the feedback measurement signal.In addition, in a control system in which both the amplitude and phase of the drive signal change due to gain adjustment, it is not easy to optimize both the amplitude and phase.

[0006] One aspect of the present invention aims to facilitate gain adjustment when feedback controlling the angle of a mirror. [Means for solving the problem]

[0007] According to one aspect, a mirror control method includes: Decomposing the measurement signal measuring the angle of the mirror to generate sine and cosine amplitude measurements; calculating a sine wave amplitude command value and a cosine wave amplitude command value based on a value corresponding to a difference between a sine wave amplitude target value and the sine wave amplitude measurement value and a value corresponding to a difference between a cosine wave amplitude target value and the cosine wave amplitude measurement value; A computer executes a process of generating a drive waveform of a drive signal for controlling the angle of the mirror based on the sine wave amplitude command value and the cosine wave amplitude command value. Effect of the Invention

[0008] This facilitates gain adjustment when feedback controlling the mirror angle. [Brief description of the drawings]

[0009] [Figure 1] FIG. 1 is a first diagram showing an example of the configuration of a laser distance measurement device. [Diagram 2] 5A and 5B are diagrams illustrating an example of a driving waveform generated by the mirror control device. [Diagram 3] FIG. 2 is a diagram illustrating an example of a hardware configuration of a mirror control device. [Figure 4] FIG. 2 is a diagram illustrating an example of a functional configuration of a mirror control device. [Diagram 5] FIG. 13 is a diagram illustrating an example of a functional configuration of a horizontal drive waveform control unit of a comparative example. [Figure 6] FIG. 1 is a diagram illustrating an example of a model showing characteristics of a MEMS mirror. [Figure 7] 1A and 1B are diagrams for explaining the input / output relationship of a model showing the characteristics of a MEMS mirror. [Figure 8] 13 is a diagram showing an example of a transfer function of a model after zero points are eliminated in the transfer function of the model indicating the characteristics of the MEMS mirror. FIG. [Figure 9] FIG. 13 is a diagram showing an example of a transfer function of a model after removing an interference component in a case where an interference component is removed in the transfer function of the model after zero points are eliminated; [Figure 10]11 is a first diagram illustrating an example of a functional configuration of a horizontal drive waveform control section. FIG. [Figure 11] 4 is a diagram showing details of a sine / cosine amplitude converter and a drive waveform generator. FIG. [Figure 12] FIG. 1 is a first diagram showing details of a sine / cosine amplitude feedback control section. [Figure 13] 10 is a flowchart showing the flow of a control process performed by a horizontal drive waveform control unit. [Figure 14] FIG. 11 is a second diagram showing details of the sine / cosine amplitude feedback control section. [Figure 15] 13 is a second diagram illustrating an example of a functional configuration of the horizontal drive waveform control section. FIG. [Figure 16] FIG. 4 is a diagram showing details of a sine / cosine amplitude detection unit. [Figure 17] FIG. 2 is a second diagram showing an example of the configuration of a laser distance measurement device. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0010] Hereinafter, each embodiment will be described with reference to the accompanying drawings. In this specification and the drawings, components having substantially the same functional configurations are denoted by the same reference numerals, and redundant description will be omitted.

[0011] [First embodiment] <Configuration of laser distance measuring device> First, the configuration of a laser distance measurement device including a mirror control device according to the first embodiment will be described. Fig. 1 is a first diagram showing a configuration example of a laser distance measurement device. As shown in Fig. 1, the laser distance measurement device 100 includes a laser driving circuit 110, a laser diode 111, a mirror control device 120, a MEMS mirror 121, a light projecting lens 122, and a sensor 123. The laser distance measurement device 100 also includes a distance measurement circuit 130, a light receiving lens 131, a photodetector 132, a sensor driving control circuit 140, and an arithmetic circuit 150.

[0012] The laser driving circuit 110 acquires an emission timing signal indicating the emission timing of the laser diode 111 from the sensor driving control circuit 140. In addition, the laser driving circuit 110 outputs an emission signal to make the laser diode 111 emit light in accordance with the acquired emission timing signal. In addition, the laser driving circuit 110 notifies the distance measurement circuit 130 of the acquired emission timing signal.

[0013] The laser diode 111 emits light in response to a light emission signal output by the laser drive circuit 110 in accordance with a light emission timing signal. The laser light emitted by the laser diode 111 is irradiated onto the MEMS mirror 121, and is then reflected by the MEMS mirror 121 and projected onto the measurement target via the light projection lens 122.

[0014] The mirror control device 120 acquires a reference signal (an example of a target signal) that serves as a reference when controlling the angle of the MEMS mirror 121 from the sensor drive control circuit 140. The mirror control device 120 also acquires a MEMS mirror angle signal (an example of a measurement signal) that indicates the angle of the MEMS mirror 121 from a sensor 123 that measures the angle of the MEMS mirror 121. Furthermore, based on the acquired reference signal and MEMS mirror angle signal, the mirror control device 120 generates and outputs two-axis drive waveforms (horizontal drive waveform, vertical drive waveform) for driving the MEMS mirror 121 with two-axis drive signals.

[0015] For example, a drive signal whose horizontal drive waveform is a sine waveform is used to drive the MEMS mirror 121 in the horizontal direction, and a drive signal whose vertical drive waveform is a sawtooth waveform is used to drive the MEMS mirror 121 in the vertical direction perpendicular to the horizontal direction.

[0016] The sensor 123 detects the angle of the MEMS mirror 121 and transmits a MEMS mirror angle signal to the mirror controller 120 .

[0017] The MEMS mirror 121 is driven according to a driving signal of a biaxial driving waveform (horizontal driving waveform, vertical driving waveform) output from the mirror control device 120. As a result, the laser light emitted from the laser diode 111 is reflected by the MEMS mirror 121 and performs raster scanning that scans the scanning angle range in the horizontal and vertical directions via the projection lens 122. Note that the projection lens 122 can be, for example, an angle magnifying lens.

[0018] The photodetector 132 detects the reflected light from the measurement target via the light receiving lens 131. For example, a condenser lens can be used as the light receiving lens 131. The photodetector 132 is, for example, a light receiving element that supplies a light receiving signal representing the detected reflected light to the distance measurement circuit 130.

[0019] The distance measurement circuit 130 measures ΔT, which is the round trip time (TOF: Time of Flight) from when the laser light is emitted until it is reflected by the measurement target and detected by the photodetector 132. The timing at which the laser light is emitted is notified to the distance measurement circuit 130 from the laser driving circuit 110 as a light emission timing signal. In this way, the distance measurement circuit 130 optically measures the distance to the measurement target and supplies distance data indicating the measured distance to the calculation circuit 150. If the speed of light is represented as c (approximately 300,000 km / s), the distance to the measurement target can be calculated, for example, from (c×ΔT) / 2.

[0020] Arithmetic circuit 150 acquires MEMS mirror angle data from mirror control device 120, and acquires distance data from distance measurement circuit 130. Arithmetic circuit 150 also generates a distance image and three-dimensional data based on the acquired MEMS mirror angle data and distance data. Specifically, arithmetic circuit 150 generates a distance image from the distance data, and generates three-dimensional data from the distance image and MEMS mirror angle data. The distance image is an image in which distance data at each ranging point is arranged in the order of raster scanning.

[0021] The arithmetic circuit 150 generates projection angle data indicating the projection angle of the laser light from the MEMS mirror angle data, and converts the distance image using the distance data and the projection angle data to generate three-dimensional data.

[0022] <Examples of driving waveforms generated by the mirror control device> Next, a specific example of a two-axis drive waveform (horizontal drive waveform, vertical drive waveform) generated by the mirror control device 120 will be described. Fig. 2 is a diagram showing an example of a drive waveform generated by the mirror control device, where (a) and (b) respectively show the horizontal and vertical drive waveforms (drive angle at each time) of the MEMS mirror 121.

[0023] 2(a) and (b), a drive signal whose horizontal drive waveform is a sine waveform is used to drive the MEMS mirror 121 in the horizontal direction, and a drive signal whose vertical drive waveform is a sawtooth waveform is used to drive the MEMS mirror 121 in the vertical direction. Note that in Figs. 2(a) and (b), the dashed lines indicate the laser emission interval, which is the emission interval of the laser diode 111.

[0024] <Hardware configuration of mirror control device> Next, a hardware configuration of the mirror control device 120 will be described. Fig. 3 is a diagram showing an example of a hardware configuration of the mirror control device. As shown in Fig. 3, the mirror control device 120 has a processor 310, a memory 320, and an input / output device 330. The hardware components of the mirror control device 120 are connected to each other via a bus 340.

[0025] The processor 310 includes various arithmetic devices such as a CPU (Central Processing Unit), etc. The processor 310 reads various programs (for example, a mirror control program, etc.) onto the memory 320 and executes them.

[0026] The memory 320 has a main storage device such as a Read Only Memory (ROM) and a Random Access Memory (RAM). The processor 310 and the memory 320 form a so-called computer, and the processor 310 executes various programs read onto the memory 320, causing the computer to realize various functions.

[0027] The input / output device 330 inputs and outputs signals to and from other devices (devices other than the mirror control device 120) in the laser distance measurement apparatus 100. The devices other than the mirror control device 120 here include, for example, the MEMS mirror 121, the sensor 123, the sensor drive control circuit 140, the arithmetic circuit 150, and the like.

[0028] <Functional configuration of the mirror control device> Next, a functional configuration of the mirror control device 120 will be described. Fig. 4 is a diagram showing an example of the functional configuration of the mirror control device. As shown in Fig. 4, the mirror control device 120 functions as a horizontal drive waveform control unit 410 and a vertical drive waveform control unit 420 by executing a mirror control program.

[0029] The horizontal drive waveform control unit 410 calculates an error (described in detail later) between the MEMS mirror angle signal obtained from the sensor 123 and a reference signal obtained from the sensor drive control circuit 140. Furthermore, the horizontal drive waveform control unit 410 generates a sine waveform as the horizontal drive waveform of the drive signal used for driving in the horizontal direction based on the calculated error. Note that the sine waveform generated by the horizontal drive waveform control unit 410 is a sine waveform (non-linear resonant drive waveform) with a frequency equal to the mechanical resonant frequency of the MEMS mirror 121. This enables the horizontal drive waveform control unit 410 to operate the MEMS mirror 121 with a high gain (i.e., efficiently) with respect to the input voltage.

[0030] Furthermore, since the horizontal drive waveform control unit 410 generates a horizontal drive waveform based on the calculated error, it is possible to reduce fluctuations in the amplitude and phase of the horizontal drive waveform even if the mechanical resonance frequency of the MEMS mirror 121 changes due to temperature change, etc. As a result, for example, distortion can be reduced on the screen generated by the arithmetic circuit 150.

[0031] Based on a reference signal obtained from the sensor drive control circuit 140, the vertical drive waveform control section 420 generates a sawtooth waveform (a linear non-resonant drive waveform) as the vertical drive waveform of the drive signal used for driving in the vertical direction.

[0032] <Details of the horizontal drive waveform control section> Next, of the horizontal drive waveform control section 410 and the vertical drive waveform control section 420, which function when the mirror control device 120 executes the mirror control program, the horizontal drive waveform control section 410 will be described in detail. Note that in the description, a horizontal drive waveform control section of a comparative example will be first presented, and the details of the horizontal drive waveform control section of the comparative example will be shown. Next, the process of consideration in constructing the horizontal drive waveform control section 410 will be shown, and the details of the horizontal drive waveform control section 410 constructed based on the results of the consideration will be shown.

[0033] (1) Details of the horizontal drive waveform control unit of the comparative example First, the horizontal drive waveform control unit of the comparative example will be described in detail. Fig. 5 is a diagram showing an example of the functional configuration of the horizontal drive waveform control unit of the comparative example. As shown in Fig. 5, the horizontal drive waveform control unit 500 of the comparative example has amplitude detection units 511 and 521, phase detection units 512 and 522, subtraction units 531 and 532, PID control units 541 and 542, and a drive waveform generation unit 550.

[0034] When the reference signal is input from the sensor drive control circuit, the amplitude detection unit 511 detects the amplitude of the reference signal. The amplitude detected by the amplitude detection unit 511 is input to the subtraction unit 531.

[0035] When the reference signal is input from the sensor drive control circuit, the phase detection unit 512 detects the phase of the reference signal. The phase detected by the phase detection unit 512 is input to the subtraction unit 532.

[0036] When the MEMS mirror angle signal is input from the sensor, the amplitude detection unit 521 detects the amplitude of the MEMS mirror angle signal. The amplitude detected by the amplitude detection unit 521 is input to a subtraction unit 531.

[0037] When the MEMS mirror angle signal is input from the sensor, the phase detection unit 522 detects the phase of the MEMS mirror angle signal. The phase detected by the phase detection unit 522 is input to the subtraction unit 532.

[0038] The subtraction unit 531 calculates an amplitude error by subtracting the amplitude from the amplitude detection unit 511 by the amplitude from the amplitude detection unit 521. The amplitude error calculated by the subtraction unit 531 is input to the PID control unit 541.

[0039] The subtraction unit 532 calculates a phase error by subtracting the phase from the phase detection unit 512 by the phase from the phase detection unit 522. The phase error calculated by the subtraction unit 532 is input to the PID control unit 542.

[0040] The PID control unit 541 performs PID control on the amplitude error from the subtraction unit 531 and outputs an amplitude command value. The amplitude command value output from the PID control unit 541 is input to the drive waveform generation unit 550.

[0041] The PID control unit 542 performs PID control on the phase error from the subtraction unit 532 and outputs a phase command value. The phase command value output from the PID control unit 542 is input to the drive waveform generation unit 550.

[0042] Based on the amplitude command value from the PID control unit 541 and the phase command value from the PID control unit 542, the drive waveform generation unit 550 generates a sine waveform as a horizontal drive waveform and outputs it to the MEMS mirror.

[0043] (2) Explanation of the consideration process when constructing the horizontal drive waveform control unit 410 Next, the process of consideration when constructing the horizontal drive waveform control unit 410 will be described. In the horizontal drive waveform control unit 500 of the comparative example, the characteristics of the MEMS mirror to be controlled were not analyzed, and the gain adjustment of the PID control units 541 and 542 was performed by trial and error. For this reason, it took a long time to derive the optimal gain. In addition, in the case of the horizontal drive waveform control unit 500 of the comparative example, when the gain adjustment of the PID control units 541 and 542 is performed, it affects both the amplitude and phase in the drive waveform, so it was not easy to optimize both the amplitude and phase by gain adjustment.

[0044] Taking these things into consideration, in constructing the horizontal drive waveform control section 410, the characteristics of the MEMS mirror 121 to be controlled were theoretically analyzed, and the horizontal drive waveform control section 410 was constructed in accordance with the characteristics.

[0045] In constructing the horizontal drive waveform control section 410, the signal is divided into a signal dominant in amplitude and a signal dominant in phase (specifically, divided into a sine wave and a cosine wave) and PID control is performed. The process of consideration in constructing the horizontal drive waveform control section 410 will be described in detail below.

[0046] Fig. 6 is a diagram showing an example of a model showing the characteristics of the MEMS mirror. As shown in Fig. 6, the horizontal drive waveform of the drive signal at time t when driving the MEMS mirror 121 is u(t), and the angle at time t of the MEMS mirror 121 driven by inputting the drive signal of the horizontal drive waveform u(t) is x(t). In this case, the model showing the characteristics of the MEMS mirror 121 can be expressed as shown by reference numeral 610. Note that in the differential equation of the model showing the characteristics of the MEMS mirror 121 shown by reference numeral 610, a1, a0, and b0 are predetermined coefficients.

[0047] Here, in order to be able to decompose the horizontal drive waveform into a sine wave and a cosine wave and control each of them, the horizontal drive waveform is expressed as a combination of a sine wave and a cosine wave.

[0048] Specifically, the horizontal drive waveform u(t) is expressed as sinω γ By solving the differential equation of the model showing the characteristics of the MEMS mirror 121 shown by the reference numeral 610 with respect to time t, the angle x1(t) of the MEMS mirror 121 at time t can be expressed as in Equation 1 of FIG. γ By solving a differential equation of a model showing the characteristics of the MEMS mirror 121 indicated by reference numeral 610 at time t, the angle x2(t) of the MEMS mirror 121 at time t can be expressed as equation 2 in FIG.

[0049] However, in formula 1 and formula 2, "d e ", "ω γ " are shown at 621 and 622, respectively.

[0050] Furthermore, by approximating Equation 1 and Equation 2, they can be expressed as reference numerals 710 and 720 in Fig. 7. Fig. 7 is a diagram for explaining the input / output relationship of a model showing the characteristics of the MEMS mirror.

[0051] Here, the input u(t) to the differential equation of the model showing the characteristics of the MEMS mirror 121 shown by reference numeral 610 is organized as shown by reference numeral 730. In addition, the outputs x1(t) and x2(t) from the differential equation of the model showing the characteristics of the MEMS mirror 121 shown by reference numeral 610 are organized as y(t) as shown by reference numeral 740.

[0052] In addition, in the reference number 730, u s (t) represents the amplitude of the sinusoidal term in the input u(t), and u c (t) represents the amplitude of the cosine wave term in the input u(t). s (t) represents the amplitude of the sinusoidal term in the output y(t), and y c (t) represents the amplitude of the cosine wave term in the output y(t).

[0053] In this case, the input / output relationship of the differential equation of the model indicating the characteristics of the MEMS mirror 121 indicated by the reference numeral 610 can be expressed as indicated by the reference numeral 750 in Fig. 7. When the equation indicated by the reference numeral 750 is subjected to a Laplace transform, the input / output relationship of the differential equation of the model indicating the characteristics of the MEMS mirror 121 indicated by the reference numeral 610 can be expressed by the following equation 3.

[0054] Here, in the case of a differential equation of a model showing the characteristics of the MEMS mirror 121 shown by the reference numeral 610, whose input / output relationship is expressed by Equation 3, s (zero point) is included in the numerator of the transfer function obtained by Laplace transformation. For this reason, if an attempt is made to control the output of the differential equation of the model by feeding back, the control system is likely to become unstable.

[0055] Therefore, in the horizontal drive waveform control section 410, when controlling the horizontal drive of the MEMS mirror 121, the zero points are eliminated using a zero point model, and the output from which the zero points have been eliminated is used for feedback control.

[0056] Fig. 8 is a diagram showing an example of a transfer function of a model after zero points are eliminated in the transfer function of a model showing the characteristics of the MEMS mirror. As shown in Fig. 8, if the transfer function of the model showing the characteristics of the MEMS mirror 121 shown by reference numeral 610 is denoted by P, then equation 3 in Fig. 7 can be expressed as reference numeral 810. Furthermore, if the transfer function of the zero-point model is denoted by Q and the transfer function of the corrected model in which the zero points have been eliminated using the transfer function Q of the zero-point model is denoted by R, then reference numeral 810 can be expressed as reference numeral 820.

[0057] Here, when code 810 is substituted for P and Q of code 820, code 830 is derived, and therefore the output of the corrected model (model after zero point elimination) can finally be rearranged as shown in Equation 4.

[0058] In addition, since the interference component is not zero in Equation 4, the interference component may be removed by multiplying Equation 4 by a diagonalization filter. Fig. 9 is a diagram showing an example of the transfer function of the model after the interference component removal in the case where the interference component is removed in the transfer function of the model after the zero point removal.

[0059] As shown in FIG. 9, when the diagonalization filter T is expressed as 910 and the diagonalization filter T is multiplied by the equation 4 in FIG. 8, the equation 920 is derived. Therefore, the transfer function of the model after the interference component removal can be finally rearranged as shown in the equation 5.

[0060] For the above reasons, when constructing the horizontal drive waveform control unit 410, - Decompose into sine and cosine waves and perform PID control. At that time, zero point elimination processing and diagonal filter processing are performed based on the results of the MEMS mirror characteristic analysis. However, it can be said that this is effective in facilitating gain adjustment.

[0061] (3) Details of the horizontal drive waveform control unit 410 Next, the horizontal drive waveform control section 410 constructed based on the above-mentioned study process will be described in detail. Fig. 10 is a first diagram showing an example of the functional configuration of the horizontal drive waveform control section. As shown in Fig. 10, the horizontal drive waveform control section 410 has amplitude detection sections 1011 and 1021, phase detection sections 1012 and 1022, sine / cosine amplitude conversion sections 1031 and 1032, sine / cosine amplitude feedback control section 1040, and drive waveform generation section 1050. Note that the amplitude detection section 1021, phase detection section 1022, and sine / cosine amplitude conversion section 1032 are examples of a measurement value generation section.

[0062] The amplitude detection unit 1011 detects the amplitude of the reference signal when the reference signal is input from the sensor drive control circuit 140. The amplitude detected by the amplitude detection unit 1011 is input to the sine / cosine amplitude conversion unit 1031.

[0063] The phase detector 1012 detects the phase of the reference signal when the reference signal is input from the sensor drive control circuit 140. The phase detected by the phase detector 1012 is input to the sine / cosine amplitude converter 1031.

[0064] When the MEMS mirror angle signal is input from the sensor 123, the amplitude detection unit 1021 detects the amplitude of the MEMS mirror angle signal. The amplitude detected by the amplitude detection unit 1021 is input to the sine / cosine amplitude conversion unit 1032.

[0065] When the MEMS mirror angle signal is input from the sensor 123, the phase detection unit 1022 detects the phase of the MEMS mirror angle signal. The phase detected by the phase detection unit 1022 is input to the sine / cosine amplitude conversion unit 1032.

[0066] Sine / cosine amplitude converter 1031 converts the amplitude from amplitude detector 1011 and the phase from phase detector 1012 into a sine wave amplitude and a cosine wave amplitude using the theorem of composition of trigonometric functions. The sine wave amplitude and cosine wave amplitude converted by sine / cosine amplitude converter 1031 are input to sine / cosine amplitude feedback controller 1040 as a sine wave amplitude target value and a cosine wave amplitude target value.

[0067] Sine / cosine amplitude converter 1032 converts the amplitude from amplitude detector 1021 and the phase from phase detector 1022 into a sine wave amplitude and a cosine wave amplitude using the theorem of composition of trigonometric functions. The sine wave amplitude and cosine wave amplitude converted by sine / cosine amplitude converter 1032 are input to sine / cosine amplitude feedback controller 1040 as sine wave amplitude measurement values ​​and cosine wave amplitude measurement values.

[0068] The sine / cosine amplitude feedback control unit 1040 is an example of a command value generating unit, and obtains a sine wave amplitude target value and a cosine wave amplitude target value from the sine / cosine amplitude conversion unit 1031, and a sine wave amplitude measurement value and a cosine wave amplitude measurement value from the sine / cosine amplitude conversion unit 1032.

[0069] Furthermore, the sine / cosine amplitude feedback control unit 1040 calculates a sine wave amplitude command value and a cosine wave amplitude command value based on the sine wave amplitude target value and the cosine wave amplitude measurement value and the cosine wave amplitude measurement value. The sine wave amplitude command value and the cosine wave amplitude command value calculated by the sine / cosine amplitude feedback control unit 1040 are input to the drive waveform generating unit 1050.

[0070] The drive waveform generating section 1050 generates a sine waveform as a horizontal drive waveform based on the sine wave amplitude command value and the cosine wave amplitude command value from the sine / cosine amplitude feedback control section 1040 , and outputs it to the MEMS mirror 121 .

[0071] (4) Details of each part of the horizontal drive waveform control unit 410 Next, each section of the horizontal drive waveform control section 410 (here, sine / cosine amplitude conversion sections 1031 and 1032, sine / cosine amplitude feedback control section 1040, and drive waveform generation section 1050) will be described in detail.

[0072] (4-1) Details of the sine / cosine amplitude converter and drive waveform generator First, the sine / cosine amplitude converters 1031 and 1032 and the drive waveform generator 1050 will be described in detail with reference to Fig. 11. Fig. 11 is a diagram showing the details of the sine / cosine amplitude converters and the drive waveform generator.

[0073] Of these, Fig. 11(a) is a diagram showing the details of the sine / cosine amplitude converters 1031 and 1032. As shown in Fig. 11(a), the amplitude output from the amplitude detector 1011 or the amplitude detector 1021 is denoted by x, and the phase output from the phase detector 1012 or the phase detector 1022 is denoted by φ. In this case, according to the theorem of composition of trigonometric functions, the sine wave amplitude y c and the cosine wave amplitude y s are calculated by the formula shown by the reference numeral 1110. When the amplitude x is output from the amplitude detector 1011 and the phase φ is output from the phase detector 1012, the sine wave amplitude y c and the cosine wave amplitude y sare output as the sine wave amplitude target value and the cosine wave amplitude target value, respectively. In addition, when the amplitude x is output from the amplitude detector 1021 and the phase φ is output from the phase detector 1022, the sine wave amplitude y c and the cosine wave amplitude y s are output as the sine wave amplitude measurements and the cosine wave amplitude measurements, respectively.

[0074] 11B is a diagram showing the details of the drive waveform generating unit 1050. As shown in FIG. 11B, the sine wave amplitude command value is expressed as u s , cosine wave amplitude command value u c Then, the horizontal drive waveform u(t) can be calculated by the equation shown at 1120.

[0075] (4-2) Details of the sine / cosine amplitude feedback control section Next, details of the sine / cosine amplitude feedback control unit 1040 will be described with reference to Fig. 12. Fig. 12 is a first diagram showing details of the sine / cosine amplitude feedback control unit. As shown in Fig. 12, the sine / cosine amplitude feedback control unit 1040 has subtraction units 1201-1203, 1211-1213, PID control units 1204, 1205, 1214, 1215, addition units 1206, 1216, and a zero point model 1220.

[0076] Subtraction section 1201 subtracts a sine wave amplitude command value after zero points are eliminated from the sine wave amplitude command value using zero point model 1220 for the sine wave amplitude target value from sine / cosine amplitude conversion section 1031 .

[0077] For the sine wave amplitude measurement value from sine / cosine amplitude conversion unit 1032 , subtraction unit 1202 subtracts a sine wave amplitude command value after zero points are eliminated from the sine wave amplitude command value using zero point model 1220 .

[0078] The subtraction unit 1203 outputs a sine wave amplitude error by calculating the difference between a post-subtraction sine wave amplitude target value and a post-subtraction sine wave amplitude measurement value, each of which is subtracted by a post-subtraction sine wave amplitude command value from which the zero points have been erased.

[0079] For the cosine wave amplitude target value from sine / cosine amplitude converter 1031 , subtractor 1211 subtracts a cosine wave amplitude command value after zero points are eliminated from the cosine wave amplitude command value using zero point model 1220 .

[0080] For the cosine wave amplitude measurement value from sine / cosine amplitude conversion unit 1032, subtraction unit 1212 subtracts a cosine wave amplitude command value after zero points are eliminated from the cosine wave amplitude command value using zero point model 1220.

[0081] The subtraction unit 1213 outputs a cosine wave amplitude error by calculating the difference between the post-subtraction cosine wave amplitude target value and the post-subtraction cosine wave amplitude measured value, each of which is subtracted by a post-subtraction cosine wave amplitude command value in which the zero points have been eliminated.

[0082] The PID control unit 1204 performs PID control on the sine wave amplitude error from the subtraction unit 1203 , and outputs a first command value to the addition unit 1206 .

[0083] The PID control unit 1205 performs PID control on the sine wave amplitude error from the subtraction unit 1203 , and outputs a second command value to the addition unit 1216 .

[0084] The PID control unit 1214 performs PID control on the cosine wave amplitude error from the subtraction unit 1213 , and outputs a third command value to the addition unit 1206 .

[0085] The PID control unit 1215 performs PID control on the cosine wave amplitude error from the subtraction unit 1213 , and outputs a fourth command value to the addition unit 1216 .

[0086] The adder 1206 adds the first command value from the PID control unit 1204 and the third command value from the PID control unit 1214 to calculate a sine wave amplitude command value. The calculated sine wave amplitude command value is input to the drive waveform generating unit 1050 and also to the zero point model 1220.

[0087] The adder 1216 adds the second command value from the PID control unit 1205 and the fourth command value from the PID control unit 1215 to calculate a cosine wave amplitude command value. The calculated cosine wave amplitude command value is input to the drive waveform generation unit 1050 and also to the zero point model 1220.

[0088] When the sine wave amplitude command value from the adder 1206 is input, the zero point model 1220 erases the zero points and outputs the sine wave amplitude command value after the erasure to the subtracters 1201 and 1202. When the cosine wave amplitude command value from the adder 1216 is input, the zero point model 1220 erases the zero points and outputs the cosine wave amplitude command value after the erasure to the subtracters 1211 and 1212.

[0089] <Flow of control process in the horizontal drive waveform control section> Next, it will be described how the control process of the horizontal drive waveform control section 410 flows. Fig. 13 is a flowchart showing how the control process of the horizontal drive waveform control section flows.

[0090] In step S1301, the horizontal drive waveform control section 410 stores the initial value of the horizontal drive waveform and the reference signal.

[0091] In step S1302, the horizontal drive waveform control section 410 sets an initial value of the horizontal drive waveform.

[0092] In step S1303, the horizontal drive waveform control section 410 detects the amplitude and phase from the reference signal.

[0093] In step S1304, horizontal drive waveform control section 410 detects the amplitude and phase from the MEMS mirror angle signal.

[0094] In step S1305, the horizontal drive waveform control unit 410 converts the amplitude and phase detected from the reference signal into sine wave amplitude and cosine wave amplitude, and calculates a sine wave amplitude target value and a cosine wave amplitude target value. Also, the horizontal drive waveform control unit 410 converts the amplitude and phase detected from the MEMS mirror angle signal into sine wave amplitude and cosine wave amplitude, and calculates a sine wave amplitude measured value and a cosine wave amplitude measured value.

[0095] In step S1306, the horizontal drive waveform control unit 410 subtracts the sine wave amplitude target value and the sine wave amplitude measured value respectively using the sine wave amplitude command value with the zero point eliminated. Also, the horizontal drive waveform control unit 410 calculates the difference between the sine wave amplitude target value after subtraction and the sine wave amplitude measured value after subtraction, and calculates a sine wave amplitude error. Also, the horizontal drive waveform control unit 410 subtracts the cosine wave amplitude target value and the cosine wave amplitude measured value respectively using the cosine wave amplitude command value with the zero point eliminated. Also, the horizontal drive waveform control unit 410 calculates the difference between the cosine wave amplitude target value after subtraction and the cosine wave amplitude measured value after subtraction, and calculates a cosine wave amplitude error. Further, the horizontal drive waveform control unit 410 performs PID control using the sine wave amplitude error and the cosine wave amplitude error, and calculates a sine wave amplitude command value and a cosine wave amplitude command value.

[0096] In step S1307, the horizontal drive waveform control unit 410 generates a horizontal drive waveform (sine waveform) based on the sine wave amplitude command value and the cosine wave amplitude command value, and outputs the generated horizontal drive waveform to the MEMS mirror 121.

[0097] In step S1308, the horizontal drive waveform control unit 410 determines whether to end the control process. If it is determined not to end the control process (if NO in step S1308), it returns to step S1303. On the other hand, if it is determined to end the control process in step S1308 (if YES in step S1308), the control process ends.

[0098] <Regarding the gain adjustment of PID control> Next, the gain adjustment of the PID control units 1204, 1205, 1214, and 1215 in the sine / cosine amplitude feedback control unit 1040 of the horizontal drive waveform control unit 410 will be described. As shown in Fig. 12, by providing a zero point model 1220 associated with the analysis of the characteristics of the MEMS mirror, it is possible to construct a stable control system. Also, as shown in Figs. 10 and 12, in the horizontal drive waveform control unit 410, by decomposing the reference signal into a sine wave amplitude target value and a cosine wave amplitude target value and by decomposing the MEMS mirror angle signal into a sine wave amplitude measurement value and a cosine wave amplitude target value, The sine wave amplitude command value has a dominant effect on the amplitude of the drive signal. The cosine wave amplitude command value has a dominant effect on the phase of the drive signal. It has become possible to construct a control system (it has become possible to construct a control system by separating the elements that affect the amplitude of the drive signal from the elements that affect the phase of the drive signal).

[0099] As a result, under a stable control system, When adjusting the amplitude of the drive signal, it is sufficient to adjust the gains of the PID control units 1204 and 1214 that determine the sine wave amplitude command value. When adjusting the phase of the drive signal, it is sufficient to adjust the gains of the PID control units 1205 and 1215 that determine the cosine wave amplitude command value. This makes it possible to easily adjust the amplitude and phase gain of the drive signal.

[0100] As is clear from the above description, the mirror control device 120 according to the first embodiment has a horizontal drive waveform control unit 410 that is constructed after analyzing the characteristics of the MEMS mirror to be controlled. The horizontal drive waveform control unit 410 The reference signal used for controlling the angle of the MEMS mirror 121 is resolved to calculate a sine wave amplitude target value and a cosine wave amplitude target value. The MEMS mirror angle signal that measures the angle of the MEMS mirror is decomposed to calculate a sine wave amplitude measurement value and a cosine wave amplitude measurement value. A sine wave amplitude command value and a cosine wave amplitude command value are calculated based on a command value corresponding to the difference between a sine wave amplitude target value and a sine wave amplitude measurement value, and a command value corresponding to the difference between a cosine wave amplitude target value and a cosine wave amplitude measurement value. Based on the sine wave amplitude command value and the cosine wave amplitude command value, a horizontal drive waveform of a drive signal that controls the angle of the MEMS mirror is generated.

[0101] Thus, according to the first embodiment, A stable control system can be realized by constructing the horizontal drive waveform control section 410 after analyzing the characteristics of the MEMS mirror. By performing PID control separately for the sine wave amplitude, which has a dominant effect on amplitude, and the cosine wave amplitude, which has a dominant effect on phase, it becomes possible to perform gain adjustment separately for amplitude and phase.

[0102] As a result, according to the first embodiment, it is possible to easily adjust the gain when feedback controlling the angle of the MEMS mirror.

[0103] [Second embodiment] In the above first embodiment, a case has been described in which PID control units 1204, 1205, 1214, and 1215 are provided, and when calculating a sine wave amplitude command value, the first command value and the third command value are added together, and when calculating a cosine wave amplitude command value, the second command value and the fourth command value are added together.

[0104] However, if the interference components are removed using the diagonalization filter considered in the first embodiment, the sine / cosine amplitude feedback control unit can be simplified and the gain adjustment can be further facilitated. The second embodiment will be described below, focusing on the differences from the first embodiment.

[0105] <Details of the sine / cosine amplitude feedback control section> First, the details of the sine / cosine amplitude feedback control unit in the second embodiment will be described. FIG. 14 is a second diagram showing the details of the sine / cosine amplitude feedback control unit. The difference from the sine / cosine amplitude feedback control unit 1040 described with reference to FIG. 12 is that the sine / cosine amplitude feedback control unit 1400 in FIG. 14 has a diagonalization filter 1420. Also, in the case of the sine / cosine amplitude feedback control unit 1400 in FIG. 14, PID control units 1401 and 1411 are arranged instead of the PID control units 1204, 1205, 1214, and 1215.

[0106] The PID control unit 1401 performs PID control on the sine wave amplitude error from the subtraction unit 1203 and outputs a first command value to the diagonalization filter 1420.

[0107] The PID control unit 1411 performs PID control on the cosine wave amplitude error from the subtraction unit 1213 and outputs a second command value to the diagonalization filter 1420.

[0108] Based on the first command value from the PID control unit 1401 and the second command value from the PID control unit 1411, the diagonalization filter 1420 calculates a sine wave amplitude command value and a cosine wave amplitude command value. The calculated sine wave amplitude command value is input to the drive waveform generation unit 1050 and also input to the zero point model 1220.

[0109] Note that the processing in the diagonalization filter 1420 was shown as Equation 5 in FIG. 9 in the first embodiment above, so the description is omitted here.

[0110] <Regarding the gain adjustment of PID control> Next, the gain adjustment of the PID control units 1401, 1411 in the sine / cosine amplitude feedback control unit 1400 of the horizontal drive waveform control unit 410 will be described. As in the first embodiment, a stable control system can be constructed by providing a zero point model 1220 associated with the analysis of the characteristics of the MEMS mirror as shown in FIG. 14. Also, as shown in FIG. 10, in the horizontal drive waveform control unit 410, the reference signal is decomposed into a sine wave amplitude target value and a cosine wave amplitude target value, and the MEMS mirror angle signal is decomposed into a sine wave amplitude measurement value and a cosine wave amplitude target value. The sine wave amplitude command value has a dominant effect on the amplitude of the drive signal. The cosine wave amplitude command value has a dominant effect on the phase of the drive signal. It has become possible to construct a control system (it has become possible to construct a control system by separating the elements that affect the amplitude of the drive signal from the elements that affect the phase of the drive signal).

[0111] Furthermore, as shown in FIG. 14, a diagonalizing filter 1420 based on the analysis of the characteristics of the MEMS mirror is provided to remove interference components, thereby providing a stable control system. When adjusting the amplitude of the drive signal, it is sufficient to adjust the gain of the PID control unit 1401 that determines the sine wave amplitude command value (first command value). When adjusting the phase of the drive signal, it is sufficient to adjust the gain of the PID control unit 1411 that determines the cosine wave amplitude command value (second command value). This makes it possible to more easily adjust the gain of the amplitude and phase of the drive signal.

[0112] As is clear from the above description, the mirror control device 120 according to the second embodiment has a horizontal drive waveform control unit 410 that is constructed after analyzing the characteristics of the MEMS mirror to be controlled. The horizontal drive waveform control unit 410 The reference signal used to control the angle of the MEMS mirror is resolved to calculate the sine wave amplitude target value and the cosine wave amplitude target value. The MEMS mirror angle signal that measures the angle of the MEMS mirror is decomposed to calculate a sine wave amplitude measurement value and a cosine wave amplitude measurement value. A command value corresponding to the difference between the sine wave amplitude target value and the measured sine wave amplitude value, and a command value corresponding to the difference between the cosine wave amplitude target value and the measured cosine wave amplitude value are input to a diagonalization filter to calculate a sine wave amplitude command value and a cosine wave amplitude command value. Based on the sine wave amplitude command value and the cosine wave amplitude command value, a horizontal drive waveform of a drive signal that controls the angle of the MEMS mirror is generated.

[0113] Thus, according to the second embodiment, A stable control system can be realized by constructing the horizontal drive waveform control section 410 after analyzing the characteristics of the MEMS mirror. By performing PID control separately for the sine wave amplitude, which has a dominant effect on amplitude, and the cosine wave amplitude, which has a dominant effect on phase, it becomes possible to perform gain adjustment separately for amplitude and phase. · The number of PID control units can be reduced by removing interference components using a diagonalization filter based on the analysis of the MEMS mirror characteristics.

[0114] As a result, according to the second embodiment, it is possible to further facilitate gain adjustment when feedback controlling the angle of the MEMS mirror.

[0115] [Third embodiment] In the first and second embodiments, the sine wave amplitude target value and the cosine wave amplitude target value are calculated after detecting the amplitude and phase from the reference signal. In the first and second embodiments, the sine wave amplitude measurement value and the cosine wave amplitude target value are calculated after detecting the amplitude and phase from the MEMS mirror angle signal. However, the calculation method of the sine wave amplitude target value and the cosine wave amplitude target value and the calculation method of the sine wave amplitude measurement value and the cosine wave amplitude target value are not limited to this. For example, the sine wave amplitude target value and the cosine wave amplitude target value may be calculated directly from the reference signal (without detecting the amplitude and phase). In addition, the sine wave amplitude measurement value and the cosine wave amplitude target value may be calculated directly from the MEMS mirror angle signal (without detecting the amplitude and phase). Hereinafter, the third embodiment will be described, focusing on the differences from the first embodiment.

[0116] <Functional configuration of the horizontal drive waveform control unit> First, the functional configuration of the horizontal drive waveform control unit in the third embodiment will be described. Fig. 15 is a second diagram showing an example of the functional configuration of the horizontal drive waveform control unit. The difference from Fig. 10 is that the horizontal drive waveform control unit 1500 has sine / cosine amplitude detection units 1511 and 1512 instead of the amplitude detection units 1011 and 1021, the phase detection units 1012 and 1022, and the sine / cosine amplitude conversion units 1031 and 1032.

[0117] The sine / cosine amplitude detection unit 1511 calculates a sine wave amplitude target value and a cosine wave amplitude target value when a reference signal is input from the sensor drive control circuit 140. The sine wave amplitude target value and the cosine wave amplitude target value calculated by the sine / cosine amplitude detection unit 1511 are input to the sine / cosine amplitude feedback control unit 1040.

[0118] The sine / cosine amplitude detection unit 1512 is another example of a measurement value generation unit, and calculates a sine wave amplitude measurement value and a cosine wave amplitude measurement value when the MEMS mirror angle signal is input from the sensor 123. The sine wave amplitude measurement value and the cosine wave amplitude measurement value calculated by the sine / cosine amplitude detection unit 1512 are input to the sine / cosine amplitude feedback control unit 1040.

[0119] <Details of sine / cosine amplitude detector> Next, the sine / cosine amplitude detectors 1511 and 1512 of the horizontal drive waveform controller 1500 will be described in detail. Fig. 16 is a diagram showing the details of the sine / cosine amplitude detector. As shown in Fig. 16, the value of the reference signal or MEMS mirror angle signal at the current time is x(t), and the value of the reference signal or MEMS mirror angle signal at a time a predetermined time (Δt) before the current time is x(t-Δt). In this case, the sine wave amplitude y c and the cosine wave amplitude y s are calculated by the formula shown by reference numeral 1610. In the formula shown by reference numeral 1610, "A" indicates a predetermined coefficient.

[0120] Specifically, in the case of the sine / cosine amplitude detector 1511, a reference signal x(t) at the current time and a reference signal x(t-Δt) at a time Δt before the current time are input. As a result, the sine / cosine amplitude detector 1511 calculates the sine wave amplitude y c and the cosine wave amplitude y s The sine wave amplitude target value and the cosine wave amplitude target value are calculated as follows:

[0121] In the case of the sine / cosine amplitude detector 1512, the MEMS mirror angle signal x(t) at the current time from the sensor 123 and the MEMS mirror angle signal x(t-Δt) at the time Δt before the current time from the sensor 123 are input. As a result, the sine / cosine amplitude detector 1512 calculates the sine wave amplitude y c and the cosine wave amplitude y s The sine wave amplitude measurement value and the cosine wave amplitude measurement value are calculated as follows:

[0122] As is clear from the above description, the mirror control device 120 according to the third embodiment has a horizontal drive waveform control section 1500 that is constructed after analyzing the characteristics of the MEMS mirror to be controlled. The horizontal drive waveform control section 1500: The reference signal used to control the angle of the MEMS mirror is resolved to calculate the sine wave amplitude target value and the cosine wave amplitude target value. At this time, by using the value at the current time and the value at a predetermined time before the current time (the value at the time Δt before the current time), the sine wave amplitude target value and cosine wave amplitude target value are calculated directly without detecting the amplitude and phase from the reference signal. The MEMS mirror angle signal that measures the angle of the MEMS mirror is decomposed to calculate a sine wave amplitude measurement value and a cosine wave amplitude measurement value. At this time, by using the value at the current time and the value at a predetermined time before the current time (the value at the time Δt before the current time), the sine wave amplitude measurement value and the cosine wave amplitude measurement value are calculated directly without detecting the amplitude and phase from the MEMS mirror angle signal.

[0123] In this way, according to the third embodiment, while enjoying the same effects as those of the first or second embodiment, the sine wave amplitude and the cosine wave amplitude can be directly calculated, thereby making it possible to speed up the response during feedback control.

[0124] [Fourth embodiment] In each of the above embodiments, the reference signal input to the mirror control device 120 has been described as being generated by the sensor drive control circuit 140. However, the reference signal input to the mirror control device 120 may be stored in advance in a memory included in the laser distance measurement device 100 and read out from the memory.

[0125] Fig. 17 is a second diagram showing a configuration example of a laser distance measurement device. The difference from Fig. 1 is that the laser distance measurement device 1700 in Fig. 17 has a reference signal storage unit 1710. The reference signal storage unit 1710 is realized in a memory (not shown in Fig. 17) included in the laser distance measurement device 1700. In the case of the laser distance measurement device 1700, the mirror control device 120 obtains the reference signal by reading it from the reference signal storage unit 1710 instead of obtaining it from the sensor drive control circuit 140.

[0126] The reference signal stored in advance in the reference signal storage unit 1710 may be, for example, a reference signal generated by the sensor drive control circuit 140, or may be a reference signal received via a network (not shown).

[0127] In the above description, the reference signal is stored in advance in the reference signal storage unit 1710, but the amplitude and phase of the reference signal may be stored in advance instead of the reference signal. In this case, the amplitude detection unit 1011 and the phase detection unit 1012 can be omitted in the horizontal drive waveform control unit 410.

[0128] Alternatively, instead of the reference signal, a sine wave amplitude target value and a cosine wave amplitude target value may be stored in advance. In this case, the amplitude detector 1011, the phase detector 1012, and the sine / cosine amplitude converter 1031 can be omitted in the horizontal drive waveform controller 410. Also, the sine / cosine amplitude detector 1511 can be omitted in the horizontal drive waveform controller 1500.

[0129] That is, the laser distance measurement device 100 calculates the sine wave amplitude target value and the cosine wave amplitude target value, or the values ​​used to calculate the sine wave amplitude target value and the cosine wave amplitude target value, as follows: By reading from the reference signal storage unit 1710, or By receiving via the network, This may be input to the mirror control device 120.

[0130] [Other embodiments] In the above embodiments, a PID control unit is provided in the sine / cosine amplitude feedback control unit 1040 or 1400 to perform PID control, but the control method of the feedback control is not limited to PID control. For example, PI control or P control may be used.

[0131] In addition, the disclosed technology may take the following additional features. (Appendix 1) Decomposing the measurement signal measuring the angle of the mirror to generate sine and cosine amplitude measurements; calculating a sine wave amplitude command value and a cosine wave amplitude command value based on a value corresponding to a difference between a sine wave amplitude target value and the sine wave amplitude measurement value and a value corresponding to a difference between a cosine wave amplitude target value and the cosine wave amplitude measurement value; generating a drive waveform of a drive signal for controlling an angle of the mirror based on the sine wave amplitude command value and the cosine wave amplitude command value; A mirror control method in which processing is performed by a computer. (Appendix 2) obtaining a target signal for controlling the angle of the mirror; The mirror control method of claim 1, further comprising generating the sine wave amplitude target value and the sine wave amplitude target value by decomposing the acquired target signal. (Appendix 3) A value according to the difference between the sine wave amplitude target value and the sine wave amplitude measurement value is performing a process for eliminating zero points on the sine wave amplitude command value; subtracting the sine wave amplitude target value using the sine wave amplitude command value after processing for eliminating zero points has been performed; subtracting the sinusoidal amplitude measurement value using the sinusoidal amplitude command value after processing to eliminate zero points; Calculating a difference between the sine wave amplitude target value after subtraction and the sine wave amplitude measurement value after subtraction; 2. A mirror control method as described in claim 1, wherein the mirror angle is calculated by: (Appendix 4) A value according to the difference between the cosine wave amplitude target value and the cosine wave amplitude measurement value is performing a process for eliminating zero points on the cosine wave amplitude command value; subtracting the cosine wave amplitude target value using the cosine wave amplitude command value after processing for eliminating zero points has been performed; subtracting the cosine wave amplitude measurement value using the cosine wave amplitude command value after processing to eliminate zero points; Calculating a difference between the cosine wave amplitude target value after subtraction and the cosine wave amplitude measurement value after subtraction; 2. A mirror control method as described in claim 1, wherein the mirror angle is calculated by: (Appendix 5) The sine wave amplitude command value is a value calculated by performing a first PID control on a value corresponding to a difference between the sine wave amplitude target value and the sine wave amplitude measurement value; a value calculated by performing a third PID control on a value corresponding to a difference between the cosine wave amplitude target value and the cosine wave amplitude measurement value; It is calculated by adding The cosine wave amplitude command value is a value calculated by performing a second PID control on a value corresponding to a difference between the sine wave amplitude target value and the sine wave amplitude measurement value; a value calculated by performing a fourth PID control on a value corresponding to a difference between the cosine wave amplitude target value and the cosine wave amplitude measurement value; 2. The mirror control method according to claim 1, wherein the difference is calculated by adding: (Appendix 6) 6. The mirror control method of claim 5, wherein when adjusting the amplitude of the drive signal, a gain of the first PID control and a gain of the third PID control are adjusted, and when adjusting the phase of the drive signal, a gain of the second PID control and a gain of the fourth PID control are adjusted. (Appendix 7) The sine wave amplitude command value is a value calculated by performing a first PID control on a value corresponding to a difference between the sine wave amplitude target value and the sine wave amplitude measurement value, and inputting the calculated value to a diagonalization filter; The cosine wave amplitude command value is The mirror control method described in Appendix 1, wherein the cosine wave amplitude is calculated by performing a second PID control on a value corresponding to a difference between the cosine wave amplitude target value and the cosine wave amplitude measurement value, and inputting the calculated value to a diagonalization filter. (Appendix 8) 8. The mirror control method of claim 7, wherein when adjusting the amplitude of the drive signal, a gain of the first PID control is adjusted, and when adjusting the phase of the drive signal, a gain of the second PID control is adjusted. (Appendix 9) The sine wave amplitude target value is Calculated using an amplitude detected from the target signal, The cosine wave amplitude target value is 3. The mirror control method of claim 2, wherein the sine wave amplitude target value is calculated using a phase detected from the target signal and an amplitude detected from the target signal. (Appendix 10) The sine wave amplitude measurements are Calculating the angle of the mirror using an amplitude detected from a measurement signal that measures the angle of the mirror; The cosine amplitude measurement is 2. The mirror control method of claim 1, wherein the sine wave amplitude measurement value is calculated using a phase detected from a measurement signal measuring the angle of the mirror and an amplitude detected from a measurement signal measuring the angle of the mirror. (Appendix 11) the sine wave amplitude target value and the cosine wave amplitude target value are target signals for controlling an angle of the mirror, and are calculated by using a target signal at a current time and a target signal at a time a predetermined time before the current time; 2. A mirror control method as described in claim 1, wherein the sine wave amplitude measurement value and the cosine wave amplitude measurement value are measurement signals measuring the angle of the mirror, and are calculated using a measurement signal at a current time and a measurement signal at a time a predetermined time before the current time. (Appendix 12) 2. The mirror control method of claim 1, wherein the sine wave amplitude target value and the cosine wave amplitude target value, or values ​​used to calculate the sine wave amplitude target value and the cosine wave amplitude target value, are obtained by reading them from a memory or receiving them via a network. (Appendix 13) Decomposing the measurement signal measuring the angle of the mirror to generate sine and cosine amplitude measurements; generating a sine wave amplitude command value and a cosine wave amplitude command value based on a value corresponding to a difference between a sine wave amplitude target value and the sine wave amplitude measurement value and a value corresponding to a difference between a cosine wave amplitude target value and the cosine wave amplitude measurement value; generating a drive waveform of a drive signal for controlling an angle of the mirror based on the sine wave amplitude command value and the cosine wave amplitude command value; A mirror control program for causing a computer to execute processing. (Appendix 14) a measurement value generating unit that decomposes a measurement signal that measures the angle of the mirror to generate a sine wave amplitude measurement value and a cosine wave amplitude measurement value; a command value generating unit that generates a sine wave amplitude command value and a cosine wave amplitude command value based on a value corresponding to a difference between a sine wave amplitude target value and the sine wave amplitude measurement value and a value corresponding to a difference between a cosine wave amplitude target value and the cosine wave amplitude measurement value; a drive waveform generating unit that generates a drive waveform of a drive signal for controlling an angle of the mirror based on the sine wave amplitude command value and the cosine wave amplitude command value; A mirror control device having a

[0132] The present invention is not limited to the configurations shown in the above embodiments, combinations with other elements, etc. These points can be changed without departing from the spirit of the present invention, and can be appropriately determined according to the application form. [Explanation of symbols]

[0133] 100: Laser distance measuring device 110: Laser driver circuit 111: Laser diode 120: Mirror control device 121: MEMS mirror 122: Projection lens 123: Sensor 130: Distance measurement circuit 131: Receiving lens 132: Photodetector 140: Sensor drive control circuit 150: Arithmetic circuit 410: Horizontal drive waveform control section 420: Vertical drive waveform control section 1011, 1021: Amplitude detection section 1012, 1022: Phase detection section 1031, 1032: Sine / cosine amplitude converter 1040: Sine / cosine amplitude feedback control section 1050: Drive waveform generator 1201~1203: Subtraction section 1211~1213: Subtraction section 1204, 1205: PID control section 1214, 1215: PID control section 1206, 1216: Addition section 1220: Zero point model 1401, 1411: PID control unit 1420: Diagonalization filter 1500: Horizontal drive waveform control section 1511, 1512: Sine / cosine amplitude detector

Claims

1. Decomposing the measurement signal measuring the angle of the mirror to generate sine and cosine amplitude measurements; calculating a sine wave amplitude command value and a cosine wave amplitude command value based on a value corresponding to a difference between a sine wave amplitude target value and the sine wave amplitude measurement value and a value corresponding to a difference between a cosine wave amplitude target value and the cosine wave amplitude measurement value; generating a drive waveform of a drive signal for controlling an angle of the mirror based on the sine wave amplitude command value and the cosine wave amplitude command value; A mirror control method in which processing is performed by a computer.

2. obtaining a target signal for controlling the angle of the mirror; The method for controlling a mirror according to claim 1 , further comprising generating the sine wave amplitude target value and the sine wave amplitude target value by decomposing the acquired target signal.

3. A value according to the difference between the sine wave amplitude target value and the sine wave amplitude measurement value is performing a process for eliminating zero points on the sine wave amplitude command value; subtracting the sine wave amplitude target value using the sine wave amplitude command value after processing for eliminating zero points has been performed; subtracting the sinusoidal amplitude measurement value using the sinusoidal amplitude command value after processing to eliminate zero points; Calculating a difference between the sine wave amplitude target value after subtraction and the sine wave amplitude measurement value after subtraction; The mirror control method according to claim 1 , wherein the mirror control method is performed by:

4. A value according to the difference between the cosine wave amplitude target value and the cosine wave amplitude measurement value is performing a process for eliminating zero points on the cosine wave amplitude command value; subtracting the cosine wave amplitude target value using the cosine wave amplitude command value after processing for eliminating zero points has been performed; subtracting the cosine wave amplitude measurement value using the cosine wave amplitude command value after processing to eliminate zero points; Calculating a difference between the cosine wave amplitude target value after subtraction and the cosine wave amplitude measurement value after subtraction; The mirror control method according to claim 1 , wherein the mirror control method is performed by:

5. The sine wave amplitude command value is a value calculated by performing a first PID control on a value corresponding to a difference between the sine wave amplitude target value and the sine wave amplitude measurement value; a value calculated by performing a third PID control on a value corresponding to a difference between the cosine wave amplitude target value and the cosine wave amplitude measurement value; It is calculated by adding The cosine wave amplitude command value is a value calculated by performing a second PID control on a value corresponding to a difference between the sine wave amplitude target value and the sine wave amplitude measurement value; a value calculated by performing a fourth PID control on a value corresponding to a difference between the cosine wave amplitude target value and the cosine wave amplitude measurement value; The mirror control method according to claim 1 , wherein the difference is calculated by adding:

6. The sine wave amplitude command value is a value calculated by performing a first PID control on a value corresponding to a difference between the sine wave amplitude target value and the sine wave amplitude measurement value, and inputting the calculated value to a diagonalization filter; The cosine wave amplitude command value is The mirror control method according to claim 1, wherein the cosine wave amplitude is calculated by performing a second PID control on a value corresponding to the difference between the cosine wave amplitude target value and the cosine wave amplitude measurement value, and inputting the calculated value to a diagonalization filter.

7. The sine wave amplitude target value is Calculated using an amplitude detected from the target signal, The cosine wave amplitude target value is 3. The mirror control method according to claim 2, wherein the sine wave amplitude target value is calculated using a phase detected from the target signal and an amplitude detected from the target signal.

8. The sine wave amplitude measurements are Calculating the angle of the mirror using an amplitude detected from a measurement signal that measures the angle of the mirror; The cosine amplitude measurement is 2. The mirror control method of claim 1, wherein the sine wave amplitude measurement is calculated using a phase detected from a measurement signal that measures the angle of the mirror and an amplitude detected from a measurement signal that measures the angle of the mirror.

9. the sine wave amplitude target value and the cosine wave amplitude target value are target signals for controlling an angle of the mirror, and are calculated by using a target signal at a current time and a target signal at a time a predetermined time before the current time; 2. The mirror control method of claim 1, wherein the sine wave amplitude measurement value and the cosine wave amplitude measurement value are measurement signals measuring the angle of the mirror, and are calculated using a measurement signal at a current time and a measurement signal at a time a predetermined time before the current time.

10. 2. The mirror control method of claim 1, wherein the sine wave amplitude target value and the cosine wave amplitude target value, or values ​​used to calculate the sine wave amplitude target value and the cosine wave amplitude target value, are obtained by reading from a memory or receiving via a network.

11. Decomposing the measurement signal measuring the angle of the mirror to generate sine and cosine amplitude measurements; generating a sine wave amplitude command value and a cosine wave amplitude command value based on a value corresponding to a difference between a sine wave amplitude target value and the sine wave amplitude measurement value and a value corresponding to a difference between a cosine wave amplitude target value and the cosine wave amplitude measurement value; generating a drive waveform of a drive signal for controlling an angle of the mirror based on the sine wave amplitude command value and the cosine wave amplitude command value; A mirror control program for causing a computer to execute processing.

12. a measurement value generating unit that decomposes a measurement signal that measures the angle of the mirror to generate a sine wave amplitude measurement value and a cosine wave amplitude measurement value; a command value generating unit that generates a sine wave amplitude command value and a cosine wave amplitude command value based on a value corresponding to a difference between a sine wave amplitude target value and the sine wave amplitude measurement value and a value corresponding to a difference between a cosine wave amplitude target value and the cosine wave amplitude measurement value; a drive waveform generating unit that generates a drive waveform of a drive signal for controlling an angle of the mirror based on the sine wave amplitude command value and the cosine wave amplitude command value; A mirror control device having a

Citation Information

Patent Citations

  • Method for controlling mechanical swing angle of scanning grating micromirror based on double closed loops

    CN114184547A

  • Picture projection device

    JP2016085279A

  • Laser processing device

    JP2017203840A

  • Mirror drive device, optical scanning control device and mirror drive method

    JP2019191227A

  • Optical scanner, and method for adjusting optical scanner

    JP2021177214A