Control device, drive device, control method for control device, control method for drive device, and program
By selectively varying control parameters like frequency, phase difference, and pulse width over time, the control device minimizes communication load and maintains efficient motor control, addressing noise and voltage drop issues in vibration motor systems.
Patent Information
- Application Number
- JP2023022449
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-02-16
- Publication Date
- 2024-08-28
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
The existing communication systems for controlling vibration motors, such as those used in microscopes, face challenges with high communication loads when transmitting control variables like frequency, phase difference, and pulse width, especially with increased motor counts or high-speed wireless communication, leading to potential noise and voltage drop issues.
A control device that selectively outputs control amounts, such as frequency, phase difference, and pulse width, varying these parameters over time to reduce communication load by minimizing the transmission of all control variables simultaneously.
This approach reduces communication overhead while maintaining effective control over vibration motors, ensuring efficient operation with reduced noise and voltage drop.
Smart Images

Figure 2024116694000001_ABST
Abstract
Description
[Technical field]
[0001] The present invention relates to a control device, a drive device, a control method for a control device, a control method for a drive device, and a program. [Background technology]
[0002] Conventionally, vibration motors (vibration type motors) that are small, lightweight, high-speed, and silent have been known. The vibration motor has a piezoelectric element, and is mounted, for example, in an imaging device and used for automatic driving of a focus lens (AF driving) or driving of a zoom lens (zoom driving) (see, for example, Patent Document 1). In the device described in Patent Document 1, three control amounts, namely, the frequency of the AC voltage, the phase difference of the two-phase AC voltage, and the pulse width (duty) for increasing or decreasing the AC voltage, are used to drive the vibration motor. In addition, the vibration motor and the control device that controls the vibration motor may be housed in a single housing to form a single device, or may be disposed separately and independently from each other and connected by wire or wirelessly. Patent Document 2 is an example of the latter case.
[0003] The device described in Patent Document 2 is an auxiliary device that assists the operation of a microscope. FIG. 12 is a schematic diagram of a conventional auxiliary device. As shown in FIG. 12, a microscope body 100, a control device 92, a manual lever 301, and a PC (personal computer) 302 are arranged. The microscope body 100 has an operation member 101L and an operation member 101R that operate an operation object 103 such as a cell in a petri dish 102, a drive device 91L that drives the operation member 101L, and a drive device 91R that drives the operation member 101R. The control device 92 is connected to the manual lever 301 and the PC 302 via a cable 303 so as to be able to communicate with them. The control device 92 can control the drive device 91L and the drive device 91R according to instructions from the manual lever 301 and the PC 302. Note that the control device 92, the drive device 91L, and the drive device 91R are connected by wire via a cable in the configuration shown in FIG. 12, but are not limited to this, and may be connected wirelessly, for example. The operator can operate the operation members 101L and 101R in the microscope field of view 104 by operating the manual lever 301 at hand. This allows the desired processing to be performed on the operation target 103 in the petri dish 102. The operator can also operate the mouse 302a of the PC 302 at hand to specify a position by clicking or dragging on the monitor 302b. This also allows the operator to operate the operation members 101L and 101R in the microscope field of view 104 and perform the desired processing on the operation target 103 in the petri dish 102. [Prior art documents] [Patent documents]
[0004] [Patent Document 1] Patent Publication No. 2021-058081 [Patent Document 2] JP 2020-126126 A Summary of the Invention [Problem to be solved by the invention]
[0005] The signals transmitted and received between the control device 92 and the driving devices 91L and 91R are preferably digital signals of relatively low frequency using VLDS (Low Voltage Differential Signaling) or the like. This signal can suppress the influence of noise and voltage drop compared to analog signals and high-frequency digital signals. In addition, when transmitting the three control amounts, it is necessary to transmit these three control amounts in real time in synchronization with the control cycle of the control device 92. Therefore, it is preferable that the communication volume during transmission is as small as possible. On the other hand, if the communication volume is large, it may become an obstacle when, for example, the control cycle needs to be increased, the number of vibration motors needs to be increased, or high-speed wireless communication is adopted.
[0006] The present invention has been made in view of the above problems, and aims to provide a control device, a drive device, a control method for a control device, a control method for a drive device, and a program that can reduce the amount of communication when communicating a control amount from the control device to a drive device. [Means for solving the problem]
[0007] In order to achieve the above-mentioned object, the control device of the present invention is a control device that is communicatively connected to a drive device having a motor that is driven by application of an AC voltage, and controls the drive of the motor, and is equipped with a control quantity calculation means that calculates control quantities including a frequency, a phase difference, and a pulse width used in the control, an output means that outputs the control quantities to the drive device, and a selection means that selects at least one of the frequency, the phase difference, and the pulse width, and outputs it from the output means, and is characterized in that the selection by the selection means changes over time during output by the output means. Effect of the Invention
[0008] According to the present invention, when communication of a control amount is performed from a control device to a drive device, the communication amount can be reduced. [Brief description of the drawings]
[0009] [Figure 1] 1 is a block diagram showing a hardware configuration of a drive system according to a first embodiment. FIG. [Diagram 2] 4 is a graph showing the speed characteristics of a vibration motor. [Diagram 3] 11 is a timing chart showing the process from when the vibration motor is started to when it accelerates to the maximum speed and then when it stops. [Figure 4] FIG. 2 is a diagram for explaining the configuration of a digital value. [Diagram 5] 4 is a flowchart showing a process executed by the control device. [Figure 6] 4 is a flowchart showing a process executed by the drive device. [Figure 7] 13 is a timing chart showing a process from when the vibration motor is started, until it accelerates to the maximum speed, and then stops, in the drive system according to the second embodiment. [Figure 8] FIG. 2 is a diagram for explaining the configuration of a digital value. [Figure 9] 4 is a flowchart showing a process executed by the control device. [Figure 10] 4 is a flowchart showing a process executed by the drive device. [Figure 11] FIG. 11 is a diagram showing a state in which the presence or absence of output of a controlled variable is visualized in a drive system according to a third embodiment. [Figure 12] FIG. 1 is a schematic diagram of a conventional auxiliary device. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0010] Each embodiment of the present invention will be described in detail below with reference to the drawings. However, the configurations described in each of the following embodiments are merely examples, and the scope of the present invention is not limited by the configurations described in each embodiment. For example, each part constituting the present invention can be replaced with any configuration that can exert a similar function. In addition, any configuration may be added. In addition, any two or more configurations (features) of each embodiment can be combined.
[0011] First Embodiment Hereinafter, the first embodiment will be described with reference to Figs. 1 to 6. Fig. 1 is a block diagram showing a hardware configuration of a drive system according to the first embodiment. As shown in Fig. 1, the drive system 10 has a drive device 1 and a control device 2, which are connected to each other so that they can communicate with each other. The communication between the drive device 1 and the control device 2 may be wired communication or wireless communication. The drive system 10 can be applied to a configuration shown in Fig. 12, for example. In this case, the drive device 1 can be used as the drive device 91L and the drive device 91R, and the control device 2 can be used as the control device 92.
[0012] The driving device 1 has a communication input unit (input means) 11, a pulse generator 12, a driver circuit 13, a vibration motor (motor) 14, an encoder 15, an ADC circuit 16, and a communication output unit 17. The communication input unit 11, the pulse generator 12, the driver circuit 13, and the vibration motor 14 are connected, and the encoder 15, the ADC circuit 16, and the communication output unit 17 are connected. When the driving system 10 is applied to the configuration shown in FIG. 12, if the configuration shown in FIG. 12 is, for example, a configuration with three degrees of freedom in XYZ, the driving device 1 has at least three vibration motors 14 on one side. Note that the number of vibration motors 14 is not limited to three, and may be two or four or more depending on the application of the driving system 10. The control device 2 is a device that performs speed control (drive control) of the vibration motor 14. The control device 2 has a communication input unit 21, a current position calculation unit 22, a target position calculation unit (target amount calculation means) 23, a control amount calculation unit (control amount calculation means) 24, a communication output unit (output means) 25, and an IF (interface) 26, which are connected together. The control device 2 has a CPU capable of high-speed calculation, and this CPU functions as the current position calculation unit 22, the target position calculation unit 23, and the control amount calculation unit 24. In the drive system 10, the communication input unit 11 of the drive device 1 and the communication output unit 25 of the control device 2 are communicatively connected together, and the communication output unit 17 of the drive device 1 and the communication input unit 21 of the control device 2 are communicatively connected together.
[0013] In the driving device 1, a digital value is input from the control device 2 to the communication input unit 11 (input process). The pulse generator 12 converts the digital value input to the communication input unit 11 into a control amount. The control amount includes a frequency, a phase difference, and a pulse width (duty) as parameters used for speed control of the vibration motor 14. The pulse generator 12 generates a pulse based on these three control amounts and outputs it to the driver circuit 13. The driver circuit 13 receives a pulse based on the control amount input to the communication input unit 21. The driver circuit 13 applies a two-phase AC voltage generated from this pulse to the vibration motor 14. This drives the vibration motor 14 (drive process). Thus, in this embodiment, the pulse generator 12 and the driver circuit 13 constitute a driving unit (driving means) 18 that drives the vibration motor 14 based on the control amount. The vibration motor 14 is not particularly limited, and for example, a USM (Ultrasonic Motor) described in Patent Document 1 can be used. The encoder 15 detects the position of the vibration motor 14 and outputs the detection result to the ADC circuit 16. The detection result from the encoder 15 is input to the ADC circuit 16. The ADC circuit 16 converts the detection result into AD conversion as position information of the vibration motor 14, and converts it into a digital value. The digital value from the ADC circuit 16 is input to the communication output unit 17. The communication output unit 17 outputs the digital value to the communication input unit 21 of the control device 2.
[0014] In the control device 2, the current position calculation unit 22 calculates the current position of the vibration motor 14 based on the digital value input to the communication input unit 21, and outputs the calculation result to the target position calculation unit 23 and the control amount calculation unit 24. The calculation in the current position calculation unit 22 is not particularly limited, and for example, a multiplication calculation or the like can be used. The target position calculation unit 23 is connected to the input means 3 via the IF 26. The input means 3 is composed of, for example, an operation lever 31 and a PC 32. The operation lever 31 is a joystick or the like. The user can operate the operation lever 31 to input the amount by which the vibration motor 14 should be driven (hereinafter referred to as the "drive amount") to the target position calculation unit 23 of the control device 2. The PC 32 is a personal computer such as a desktop type or a notebook type. The user can operate a pointer or the like on the monitor of the PC 32 with a mouse or the like to input the drive amount to the target position calculation unit 23 of the control device 2. The target position calculation unit 23 calculates a target drive amount (target position of the vibration motor 14) for driving the vibration motor 14 based on the current position of the vibration motor 14 input from the current position calculation unit 22 and the drive amount input from the input means 3. Then, the target position calculation unit 23 outputs this calculation result to the control amount calculation unit 24. The control amount calculation unit 24 receives the calculation result of the target position calculation unit 23. The control amount calculation unit 24 calculates three control amounts for controlling the vibration motor 14 based on the current position of the vibration motor 14 input from the current position calculation unit 22 and the target position of the vibration motor 14 input from the target position calculation unit 23 (control amount calculation step). The calculation in the control amount calculation unit 24 is not particularly limited, and for example, a PID (Proportional Integral Differential) control calculation can be used. In addition, the control amount calculation unit 24 converts the three control amounts into predetermined digital values and outputs them to the communication output unit 25. The communication output unit 25 receives a digital value from the control amount calculation unit 24. The communication output unit 25 outputs the digital value to the communication input unit 11 of the drive device 1 (output step). In the drive system 10, various programs are stored in the control device 2 in advance.This program includes, for example, a program for causing a computer to execute each part and each means of the drive device 1 (a control method for the drive device), a program for causing a computer to execute each part and each means of the control device 2 (a control method for the control device), etc.
[0015] Next, the relationship between the frequency and the phase difference will be described with reference to FIG. 2. FIG. 2 is a graph showing the speed characteristics of the vibration motor. In the graph shown in FIG. 2, the horizontal axis is the frequency of the two-phase AC voltage applied to the vibration motor 14, and the vertical axis is the speed of the vibration motor 14. Curve A shows the speed characteristics when the phase difference of the two-phase AC voltage is 90°. As shown in curve A, the speed can be controlled by changing the frequency. In addition, the lower limit frequency is set with a sufficient margin within a range in which the frequency does not become equal to or lower than the resonance frequency. The vibration motor 14 is a high-frequency motor, and in the low-speed region, there is a dead zone in which driving is not possible. Therefore, an upper limit frequency is set to avoid the dead zone. The speed characteristic shown by line B is obtained by fixing the frequency to the upper limit frequency and changing the phase difference of the two-phase AC voltage from 0° to 90°. As shown in line B, when the phase difference is 0°, the speed is 0, and by approaching the phase difference from 0° to 90°, the speed increases and high-speed driving is possible. Conversely, when the phase difference is changed from 90° to approach 0°, the speed decreases, making it possible to drive at a low speed.
[0016] Therefore, by changing the frequency and phase difference along the arrow C, the speed can be increased, and by changing them along the arrow D, the speed can be decreased. In addition, in the speed control of the vibration motor 14, the pulse width of the digital value output from the pulse generator 12 is changed in order to change the amplitude of the analog value of the AC voltage. For example, if the maximum pulse width is 100%, the amplitude of the AC voltage is maximum at a pulse width of 100%, and the amplitude of the AC voltage can be reduced by reducing the pulse width from there. Note that there are many relationships between the pulse width and the amplitude of the AC voltage, depending on, for example, the configuration of the driver circuit 13 and the specifications of the driver IC included in the driver circuit 13.
[0017] Next, the relationship between the speed of the vibration motor 14 and the three control amounts will be described with reference to FIG. 3. FIG. 3 is a timing chart showing the vibration motor accelerating to the maximum speed after it is started and then stopping. FIG. 3(a) shows a timing chart of the frequency, FIG. 3(b) shows a timing chart of the phase difference, FIG. 3(c) shows a timing chart of the pulse width, and FIG. 3(d) shows a timing chart of the vibration motor speed. As shown in FIG. 3(d), during time period I to time period II, the acceleration is approximately constant and the speed increases from 0, during time period III, the speed becomes constant, and during time period IV to time period V, the acceleration is approximately constant and the speed decreases to 0. To obtain such speed characteristics, the timing chart of the frequency is the timing chart of FIG. 3(a), the timing chart of the phase difference is the timing chart of FIG. 3(b), and the timing chart of the pulse width is the timing chart of FIG. 3(c).
[0018] In time period I, the frequency is fixed at the upper limit frequency (see FIG. 3(a)), and the phase difference is increased from 0° to 90° (see FIG. 3(b)). In time period II, the frequency is reduced to the lower limit frequency (see FIG. 3(a)), and the phase difference is fixed at 90° (see FIG. 3(b)). This allows the speed to increase while maintaining the acceleration in time period I almost the same. In time period III, the frequency is fixed at the lower limit frequency (see FIG. 3(a)), and the phase difference is fixed at 90° (see FIG. 3(b)). In time period IV, the frequency is increased to the upper limit frequency (see FIG. 3(a)), and the phase difference is fixed at 90° (see FIG. 3(b)). In time period V, the frequency is fixed at the upper limit frequency (see FIG. 3(a)), and the phase difference is reduced from 90° to 0° (see FIG. 3(b)). This allows the speed to decrease while maintaining the acceleration in time period IV almost the same. When the speed reaches the target speed (the vibration motor 14 reaches the target position) before reaching the maximum speed, the phase difference is controlled to be 90° or less, or the frequency is controlled to be equal to or greater than the lower limit frequency.
[0019] Also, as shown in FIG. 3(c), the pulse width can be fixed to 100% during time period I to time period V (see the solid lines of time period I and time period V). This is effective when there is a relatively low or no need to consider reducing power consumption, for example, when power is always supplied from a commercial power source. Also, the pulse width can be fixed to 100% during time period I (see the solid line of time period I), reduced during time period II (see the dotted line of time period II), and fixed to a value lower than 100% during time period III (see the dotted line of time period III). Thereafter, it can be increased during time period IV (see the dotted line of time period IV), and fixed to 100% during time period V (see the solid line of time period V). This is effective when there is a relatively high or high need to consider reducing power consumption, for example, by reducing the amplitude of the AC voltage by changing the pulse width.
[0020] Next, the relationship between the frequency, phase difference, and pulse width, which are the control amounts, and the digital value (digital signal) transmitted from the communication output unit 25 to the communication input unit 11 will be described with reference to FIG. 4. FIG. 4 is a diagram for explaining the configuration of the digital value. FIG. 4(a) shows the relationship between the control amount, the digital value, and the identification bit (identification information), and FIG. 4(b) and FIG. 4(c) each show an application example of FIG. 4(a). As shown in FIG. 4(a), the digital value has, for example, 12 bits. Of the 12 bits, the lower 10 bits indicate the frequency or phase difference, and the upper 2 bits indicate the identification bit. With the lower 10 bits, for example, when the range from the lower limit frequency to the upper limit frequency is 20 kHz, the frequency can be secured with a resolution of 0.02 kHz, and when the range of the phase difference is set to -90° to +90°, the phase difference can be secured with a resolution of 0.2°. The actual frequency-phase difference relationship in the lowest 10 bits is stored in advance in the driving device 1 and the control device 2, for example, as a conversion formula or a lookup table (LUT). The highest two bits are capable of identifying at least one of the frequency, phase difference, and pulse width. In this embodiment, the highest two bits identify the frequency or phase difference. Then, an identification bit for identifying the control amount is output from the communication output unit 25 to the communication input unit 11 together with the control amount. Note that the total number of bits in the digital value, the number of identification bits, the position of the identification bit, etc. can be changed as appropriate.
[0021] As shown in FIG. 4(b), for example, when the identification bit is "00" or "10", the lower 10 bits indicate a phase difference. When the phase difference changes over time, the lower 10 bits can indicate not the absolute value of the phase difference but a relative value with respect to the current value or a rate of change per unit time. On the other hand, for the frequency, the upper limit frequency is stored in advance in the driving device 1, so that transmission from the communication output unit 25 to the communication input unit 11 is suppressed. When the identification bit is "00", the pulse width is fixed to 100%. The digital value when the identification bit is "00" is applied to the time period I and time period V shown in FIG. 3. When the identification bit is "10", the pulse width is changed according to the frequency. In this case, the pulse width is stored in advance in the driving device 1, for example, as a relational expression or a lookup table (LUT).
[0022] As shown in FIG. 4(c), when the identification bit is, for example, "01" or "11", the lowest 10 bits indicate the frequency. When the frequency changes over time, the lowest 10 bits can indicate not the absolute value of the frequency but a relative value to the current value or a rate of change per unit time. On the other hand, for the phase difference, a phase difference of 90° is stored in the driving device 1 in advance, so that transmission from the communication output unit 25 to the communication input unit 11 is suppressed. When the identification bit is "01", the pulse width is fixed to 100%, similar to when the identification bit is "00". The digital value when the identification bit is "01" is applied to the time periods II to IV shown in FIG. 3. The pulse width is the time period indicated by the solid line in FIG. 3(c). When the identification bit is "11", the pulse width is changed according to the frequency, similar to when the identification bit is "10". The digital value when the identification bit is "11" is applied to the time periods II to IV shown in FIG. 3. The pulse width is within the time period indicated by the dotted line in FIG. 3(c).
[0023] In this way, when the control device 2 transmits the control amount to the driving device 1, at least one of the frequency, phase difference, and pulse width can be selected and output from the communication output unit 25 (selection process). Hereinafter, this selection is referred to as "control amount selection". In this embodiment, the control amount selected in the control amount selection is the control amount whose value changes over time among the frequency, phase difference, and pulse width. In contrast, the selection of the control amount whose value is kept constant over time is suppressed. Then, as shown in FIG. 3 and FIG. 4, the control amount selection changes over time during the output from the communication output unit 25. Specifically, in the time period I, the phase difference is output, in the time period II to the time period IV, the frequency is output, and in the time period V, the phase difference is output. As a result, when the control device 2 communicates the control amount to the driving device 1, the frequency, phase difference, and pulse width included in the control amount are suppressed from being all transmitted during the time period I to the time period V, and therefore the communication amount can be suppressed. Also, for example, in the past, when all of the frequency, phase difference, and pulse width were transmitted, a total of 30 bits were required, but in this embodiment, since only the phase difference needs to be transmitted as shown in FIG. 4(b), a total of 12 bits are sufficient. In the control device 2, the function of the selection means for selecting the control amount may be performed by, for example, the control amount calculation unit 24 or the communication output unit 25. Also, a part having the function of the selection means may be provided separately from the control amount calculation unit 24 and the communication output unit 25. On the other hand, in the drive device 1, the control amount selection changes over time during input in the communication input unit 11. Even in this state, in the drive device 1, all the control amounts for driving the vibration motor 14 are prepared. As a result, the vibration motor 14 can be driven by the speed control shown in FIG. 3(d), for example.
[0024] Fig. 5 is a flowchart showing the processing executed by the control device. The flowchart shown in Fig. 5 shows the processing from when the control amount calculation unit 24 of the control device 2 finishes calculating the three control amounts, namely, the frequency, the phase difference, and the pulse width, to when these control amounts are selected and output as a total of 12-bit digital value from the communication output unit 25. As shown in Fig. 5, in step S001A, the control amount calculation unit 24 finishes calculating the three control amounts, namely, the frequency, the phase difference, and the pulse width.
[0025] In step S101A, it is determined whether the current phase difference is less than 90°. If it is determined in step S101A that the phase difference is less than 90°, the process proceeds to step S102A. On the other hand, if it is determined in step S101A that the phase difference is not less than 90°, the process proceeds to step S201A.
[0026] In step S102A, the phase difference is converted into a 10-bit value, and the process proceeds to step S103A.
[0027] In step S103A, in the 12-bit digital value, "00" is stored in the most significant 2 bits, and 10 bits indicating a phase difference are stored in the least significant 10 bits, and the process proceeds to step S301A.
[0028] In step S201A after step S101A is executed, the frequency is converted into a 10-bit value, and the process proceeds to step S202A.
[0029] In step S202A, in the 12-bit digital value, "01" is stored in the most significant 2 bits, and 10 bits indicating the frequency are stored in the least significant 10 bits, and the process proceeds to step S301A.
[0030] In step S301A, it is determined whether or not the pulse width is to be made variable. If it is determined in step S301A that the pulse width is to be made variable, the process proceeds to step S302A. On the other hand, if it is determined in step S301A that the pulse width is not to be made variable, the process proceeds to step S401A.
[0031] In step S302A, "10" is added to the upper two bits, and the process proceeds to step S401A. For example, if the upper two bits are "00", "10" is added to convert it to "10". Also, if the upper two bits are "01", "10" is added to convert it to "11".
[0032] In step S401A, the communication output unit 25 outputs the 12-bit digital value obtained up to step S401A as an output value. As a result, when the process has passed through step S102A, the phase difference among the frequency, phase difference, and pulse width is output, and when the process has passed through step S201A, the frequency is output.
[0033] In the control device 2, the processes of steps S001A to S401A are repeatedly executed for each control cycle. As a result, as described above, the control amount selection changes over time during output from the communication output unit 25, and the amount of communication can be reduced when communication is performed to transmit the control amount from the control device 2 to the drive device 1. Note that the part that executes the processes of steps S101A to S103A, S201A, S202A, S301A, and S302A is not particularly limited, and for example, the control amount calculation unit 24 or the like can be used. Also, for the conversion in steps S102A and S201A, for example, a relational expression or LUT prestored in the control device 2 is used.
[0034] Fig. 6 is a flowchart showing the process executed by the driving device. The flowchart shown in Fig. 6 shows the process from when a total 12-bit digital value is input to the communication input unit 11 of the driving device 1 to when the pulse generator 12 outputs the frequency, phase difference, and pulse width. As shown in Fig. 6, in step S001B, the digital value output in step S401A is input as an input value to the communication input unit 11 of the driving device 1.
[0035] In step S101B, it is determined whether the most significant two bits of the digital value input in step S001B are "00" or "10". If it is determined in step S101B that the most significant two bits are "00" or "10", the process proceeds to step S102B. In this case, the least significant 10 bits indicate a phase difference. On the other hand, if it is determined in step S101B that the most significant two bits are not "00" or "10", the process proceeds to step S201B. In this case, the least significant 10 bits indicate a frequency.
[0036] In step S102B, the lowest 10 bits are converted into a phase difference, and the process proceeds to step S103B.
[0037] In step S103B, the frequency is set to the upper limit frequency, and the process proceeds to step S301B.
[0038] In step S201B, the least significant 10 bits are converted to a frequency, and the process proceeds to step S202B.
[0039] In step S202B, the phase difference is set to 90°, and the process proceeds to step S301B.
[0040] In step S301B, it is determined whether the most significant two bits of the digital value are "10" or "11". If it is determined in step S301B that the most significant two bits are "10" or "11", the process proceeds to step S302B. On the other hand, if it is determined in step S301B that the most significant two bits are not "10" or "11", the process proceeds to step S303B.
[0041] In step S302B, the frequency is converted to a pulse width, and the process proceeds to step S401B.
[0042] In step S303B, the pulse width is set to 100%, and the process proceeds to step S401B.
[0043] In step S401B, the pulse generator 12 outputs the frequency, phase difference, and pulse width obtained up to step S401B to the vibration motor 14. As a result, the vibration motor 14 is driven based on the frequency, phase difference, and pulse width.
[0044] In the driving device 1, the processes of steps S001B to S401B are repeatedly executed for each control cycle. Note that the part that executes the processes of steps S101B to S103B, S201B, S202B, and S301B to S303B is not particularly limited, and for example, the driving unit 18 or the like can be used. For the conversion in steps S102B, S201B, and S302B, for example, a relational expression or an LUT prestored in the control device 2 is used.
[0045] As described above, in this embodiment, the control amount selection changes based on the speed characteristics of the vibration motor 14, and among the frequency, phase difference, and pulse width, the frequency and phase difference are output at different timings. The control amount selection is not limited to the frequency and phase difference. For example, depending on the type of the vibration motor 14, there may be a timing when the phase difference and pulse width are selected, there may be a timing when only the phase difference is selected, or there may be a timing when only the frequency is selected. There may also be a timing when the frequency and pulse width are selected, or there may be a timing when the frequency, phase difference, and pulse width are selected. The number of selections in the control amount selection may also change over time.
[0046] In a time period with a low phase difference, the frequency is often fixed. Therefore, in the control amount selection, a control amount that does not include a frequency is selected, thereby enabling control suited to low-speed driving. In a time period with a high phase difference, the frequency often changes. Therefore, in the control amount selection, a control amount that includes a frequency is selected, thereby enabling control suited to high-speed driving. Therefore, the phase difference is set to a larger value when a frequency is selected than when frequency selection is suppressed. In addition, when the driving device 1 has multiple vibration motors 14, it is preferable that the control amount selection is different for each vibration motor 14. This allows desired control to be performed for each vibration motor 14.
[0047] <Second embodiment> Hereinafter, the second embodiment will be described with reference to Figs. 7 to 10. The differences from the above-described embodiment will be mainly described, and a description of the similar points will be omitted.
[0048] The relationship between the speed of the vibration motor 14 and the three control amounts in this embodiment will be described with reference to FIG. 7. FIG. 7 is a timing chart showing the vibration motor accelerating to the maximum speed after it is started and then stopping. FIG. 7(a) shows a timing chart of the frequency, FIG. 7(b) shows a timing chart of the phase difference, FIG. 7(c) shows a timing chart of the pulse width, and FIG. 7(d) shows a timing chart of the vibration motor speed. As shown in FIG. 7(d), in time period I, the speed is maintained at 0, in time period II to time period III, the speed increases from 0 with an approximately constant acceleration, and in time period IV, the speed becomes constant. The timing when the speed reaches the set speed is the end point of time period II. After that, in time period V to time period VI, the speed decreases to 0 with an approximately constant acceleration, and in time period VII, the speed is maintained at 0. The timing when the speed reaches the set speed is the end point of time period V. To obtain such speed characteristics, the timing chart of the frequency is as shown in Fig. 7(a), the timing chart of the phase difference is as shown in Fig. 7(b), and the timing chart of the pulse width is as shown in Fig. 7(c). Note that, while in the first embodiment, an example in which the pulse width is changed for the purpose of reducing power consumption is shown, in this embodiment, the pulse width is changed for the purpose of suppressing vibration when starting and stopping the vibration motor 14.
[0049] When the upper limit frequency is applied at maximum amplitude when the vibration motor 14 is started or stopped, the position of the vibration motor 14 changes slightly, and the input means 3 and the like are observed to vibrate slightly. Therefore, in time period I, the frequency is fixed to the upper limit frequency (see FIG. 3(a)), the phase difference is fixed to 0° (or near 0°) (see FIG. 3(b)), and the pulse width is increased to 100%. In time period VII, the frequency is fixed to the upper limit frequency (see FIG. 3(a)), and the phase difference is fixed to 0° (or near 0°) (see FIG. 3(b)), and the pulse width is reduced. This makes it possible to reduce the micro-vibration. Note that the pulse width is fixed to 100% during time period II to time period VI. In time period II, the phase difference is increased (see FIG. 7(b)) while the frequency is fixed to the upper limit frequency (see FIG. 7(a)) until the speed reaches the set speed. This control in time period II can make the speed at which control based on phase difference is switched to control based on frequency constant, regardless of the individual differences of the vibration motor 14. In time period III, the frequency is reduced to the lower limit frequency (see FIG. 7(a)) with the phase difference fixed at 90° (see FIG. 7(b)). In time period IV, the frequency is fixed to the lower limit frequency (see FIG. 7(a)) and the phase difference is fixed to 90° (see FIG. 7(b)). In time period V, the frequency is increased to the upper limit frequency (see FIG. 7(a)) with the phase difference fixed at 90° (see FIG. 7(b)). In time period VI, after the speed reaches the set speed, the phase difference is reduced (see FIG. 7(b)) with the frequency fixed to the upper limit frequency (see FIG. 7(a)). This control in time period VI can make the speed at which control based on phase difference is switched to control based on frequency constant, regardless of the individual differences of the vibration motor 14, similar to the control in time period II. Therefore, the phase difference between time periods III to V is not limited to being fixed at 90°, but may be fixed at more than 90° or less than 90° (see the dotted line in Figure 7(b)).
[0050] Next, the relationship between the frequency, phase difference, and pulse width, which are the control amounts, and the digital value transmitted from the communication output unit 25 to the communication input unit 11 will be described with reference to FIG. 8. FIG. 8 is a diagram for explaining the configuration of the digital value. FIG. 8(a) shows the relationship between the control amount, the digital value, and the identification bit (identification information), and FIG. 8(b) to FIG. 8(d) each show an application example of FIG. 8(a). As shown in FIG. 8(a), the digital value has, for example, 22 bits. Of the 22 bits, the lower 20 bits indicate at least one of the frequency, phase difference, and pulse width, and the upper 2 bits indicate the identification bit. With the lower 20 bits, for example, when the range from the lower limit frequency to the upper limit frequency is set to 20 kHz, the frequency can be secured with a resolution of 0.02 kHz. Furthermore, with the lower 20 bits, for example, when the range of the phase difference is set to a low phase difference range of -20° to +20°, the phase difference can be secured with a resolution of 0.1°. Also, for example, when the range of the phase difference is set to -80° to -100°, or +80° to +100°, which is a high phase difference range, the phase difference can be secured with a resolution of 0.1°. Also, in the lower 20 bits, when the change range of the pulse width is set to 0 to 100%, for example, the pulse width can be secured with a resolution of 0.1%. Therefore, the lower 20 bits can indicate two of the frequency, the phase difference limited to a low phase difference or a high phase difference, and the pulse width. Note that, when only the phase difference is indicated by the lower 20 bits, the entire phase difference range can be indicated with sufficient resolution.
[0051] As shown in FIG. 8(b), for example, when the identification bits are "00", 10 of the lowest 20 bits indicate a phase difference limited to a low phase difference range. The remaining 10 bits indicate a pulse width. Also, instead of the absolute value of the phase difference, it is possible to indicate a relative value with respect to the current value or a rate of change per unit time. Meanwhile, for the frequency, by storing an upper limit frequency in advance in the driving device 1, transmission from the communication output unit 25 to the communication input unit 11 is suppressed. The digital values shown in FIG. 8(b) are applied to time period I and time period VII shown in FIG. 7.
[0052] As shown in Fig. 8(c), for example, when the identification bits are "01", the lowest 20 bits indicate a phase difference with no limit to the range. In this case, as for the frequency, the upper limit frequency is stored in advance in the driving device 1, so that transmission from the communication output unit 25 to the communication input unit 11 is suppressed. As for the pulse width, it is fixed to 100%, so that transmission from the communication output unit 25 to the communication input unit 11 is suppressed. The digital values shown in Fig. 8(c) are applied to time period II and time period VI shown in Fig. 7.
[0053] As shown in FIG. 8(d), for example, when the discrimination bit is "10", 10 of the lowest 20 bits indicate a phase difference limited to a high phase difference range. The remaining 10 bits indicate a frequency. Also, instead of the absolute value of the frequency, it is possible to indicate a relative value with respect to the current value or a change per unit time. Also, since the pulse width is fixed at 100%, transmission from the communication output unit 25 to the communication input unit 11 is suppressed. The digital values shown in FIG. 8(d) are applied to time zones III to V shown in FIG. 7.
[0054] As described above, in this embodiment as well, the control amount selection changes over time during output from the communication output unit 25, and the amount of communication when transmitting the control amount from the control device 2 to the drive device 1 can be reduced.
[0055] Fig. 9 is a flowchart showing the processing executed by the control device. The flowchart shown in Fig. 9 shows the processing from when the control amount calculation unit 24 of the control device 2 finishes calculating the three control amounts, namely, the frequency, the phase difference, and the pulse width, to when these control amounts are selected and output as a total of 12-bit digital value from the communication output unit 25. As shown in Fig. 9, in step S001C, the control amount calculation unit 24 finishes calculating the three control amounts, namely, the frequency, the phase difference, and the pulse width.
[0056] In step S101C, it is determined whether or not a predetermined time has elapsed since a start command or a stop command was issued to the vibration motor 14. If it is determined in step S101C that the predetermined time has elapsed, the process proceeds to step S102C. On the other hand, if it is determined in step S101C that the predetermined time has not elapsed, the process proceeds to step S201C.
[0057] In step S201C, it is determined whether the speed of the vibration motor 14 is equal to or lower than the set speed. If it is determined in step S201C that the speed is equal to or lower than the set speed, the process proceeds to step S202C. On the other hand, if it is determined in step S201C that the speed is not equal to or lower than the set speed, the process proceeds to step S301C.
[0058] In step S102C, the phase difference is converted to a 10-bit value indicating a low phase difference limit, and the process proceeds to step S103C.
[0059] In step S103C, the pulse width is converted to a 10-bit value, and the process proceeds to step S104C.
[0060] In step S104C, in the 22-bit digital value, "00" is stored in the most significant 2 bits, and 10 bits indicating the phase difference and 10 bits indicating the pulse width are stored in the least significant 20 bits, and the process proceeds to step S401C.
[0061] In step S202C, the phase difference is converted to a 20-bit value with no range restriction, and the process proceeds to step S203C.
[0062] In step S203C, in the 22-bit digital value, "01" is stored in the most significant 2 bits, and 20 bits indicating a phase difference are stored in the least significant 20 bits, and the process proceeds to step S401C.
[0063] In step S301C, the phase difference is converted to a 10-bit value indicating a high phase difference limit, and the process proceeds to step S302C.
[0064] In step S302C, the frequency is converted to a 10-bit value, and the process proceeds to step S303C.
[0065] In step S303C, in the 22-bit digital value, "10" is stored in the most significant 2 bits, and 10 bits indicating the phase difference and 10 bits indicating the frequency are stored in the least significant 20 bits, and the process proceeds to step S401C.
[0066] In step S401C, the communication output unit 25 outputs the 22-bit digital value obtained up to step S401C as an output value. As a result, when the process has passed through step S102C, the phase difference and the pulse width out of the frequency, phase difference, and pulse width are output. When the process has passed through step S202C, the phase difference is output, and when the process has passed through step S301C, the phase difference and the frequency are output.
[0067] In the control device 2, the processes of steps S001C to S401C are repeatedly executed for each control cycle. Note that the part that executes the processes of steps S101C to S104C, steps S201C to S202C, and steps S301C to S303C is not particularly limited, and for example, the control amount calculation unit 24 or the like can be used. Also, for the conversion in steps S102C, S103C, S202C, S301C, and S302C, for example, a relational expression or an LUT prestored in the control device 2 is used.
[0068] Fig. 10 is a flowchart showing the processing executed by the driving device. The flowchart shown in Fig. 10 shows the processing from when a total 12-bit digital value is input to the communication input unit 11 of the driving device 1 to when the pulse generator 12 outputs the frequency, phase difference, and pulse width. As shown in Fig. 10, in step S001D, the digital value output in step S401C is input as an input value to the communication input unit 11 of the driving device 1.
[0069] In step S101D, it is determined whether the most significant two bits of the digital value input in step S001D are "00". If it is determined in step S101D that the most significant two bits are "00", the process proceeds to step S102D. In this case, the lowest 20 bits indicate a phase difference and a pulse width limited to a low phase difference. On the other hand, if it is determined in step S101D that the most significant two bits are not "00", the process proceeds to step S201D.
[0070] In step S201D, it is determined whether the most significant two bits of the digital value input in step S001D are "01". If it is determined in step S201D that the most significant two bits are "01", the process proceeds to step S202D. In this case, the least significant 20 bits indicate a phase difference with no range limit. On the other hand, if it is determined in step S201D that the most significant two bits are not "01", the process proceeds to step S301D. In this case, the least significant 20 bits indicate a phase difference and frequency limited to a high phase difference.
[0071] In step S102D, the lower 20 bits of the phase difference are converted and set as a phase difference limited to low phase differences, and the process proceeds to step S103D.
[0072] In step S103D, the frequency is set to the upper limit frequency, and the process proceeds to step S104D.
[0073] In step S104D, the lower 20 bits of the pulse width are converted and set as the pulse width, and the process proceeds to step S401D.
[0074] In step S202D after execution of step S201D, the lower 20 bits of the phase difference are converted and set as a phase difference with no range limit, and the process proceeds to step S203D.
[0075] In step S203D, the frequency is set to the upper limit frequency, and the process proceeds to step S204D.
[0076] In step S204D, the pulse width is set to 100%, and the process proceeds to step S401D.
[0077] In step S301D after execution of step S201D, the lower 20 bits of the phase difference are converted and set as a phase difference limited to a high phase difference, and the process proceeds to step S302D.
[0078] In step S302D, the lower 20-bit frequency portion is converted and set as a frequency, and the process proceeds to step S303D.
[0079] In step S303D, the pulse width is set to 100%, and the process proceeds to step S401D.
[0080] In step S401D, the pulse generator 12 outputs the frequency, phase difference, and pulse width obtained up to step S401D to the vibration motor 14. As a result, the vibration motor 14 is driven based on the frequency, phase difference, and pulse width.
[0081] In the driving device 1, the processes of steps S001D to S401D are repeatedly executed for each control cycle. Note that the part that executes the processes of steps S101D to S104D, steps S201D to S204D, and steps S301D to S303D is not particularly limited, and for example, the driving unit 18 or the like can be used. Also, for the conversion in steps S102D, S104D, S202D, S301D, and S302D, for example, a relational expression or an LUT prestored in the control device 2 is used.
[0082] <Third embodiment> Hereinafter, the third embodiment will be described with reference to FIG. 11. The differences from the above-mentioned embodiment will be mainly described, and the description of the similar matters will be omitted. This embodiment is similar to the first embodiment except that it is possible to visualize the presence or absence of the output of the controlled variable. FIG. 11 is a diagram showing a state in which the presence or absence of the output of the controlled variable is visualized in the drive system according to the third embodiment. The image shown in FIG. 11 visualizes the presence or absence of the output of the frequency, phase difference, and pulse width in the time period I to the time period V. This image is stored in the PC 32, for example, and is displayed on the monitor of the PC 32. This makes it possible to confirm the presence or absence of the output of the frequency, phase difference, and pulse width. That is, it can be confirmed that the phase difference is output and the output of the frequency and pulse width is suppressed in the time period I and the time period V. It can also be confirmed that the frequency and pulse width are output and the output of the phase difference is suppressed in the time period III to the time period IV.
[0083] The disclosure of each embodiment includes the following configurations, methods, and programs. (Configuration 1) A control device that is communicably connected to a drive device having a motor that is driven by application of an AC voltage and controls the drive of the motor, a control amount calculation means for calculating a control amount including a frequency, a phase difference, and a pulse width used in the control; an output means for outputting the control amount to the drive device; a selection means for selecting at least one of the frequency, the phase difference, and the pulse width and outputting the selected signal from the output means; A control device, characterized in that the selection by said selection means changes over time during output by said output means. (Configuration 2) The control device according to configuration 1, wherein the selection means selects the frequency, the phase difference, and the pulse width whose values change over time and suppresses selection of the values whose values remain constant over time. (Configuration 3) The control is a speed control of the motor, 3. The control device according to configuration 1 or 2, wherein the selection by the selection means varies based on the speed characteristics of the motor. (Configuration 4) The control device according to configuration 3, wherein the selection means selects the phase difference and the pulse width. (Configuration 5) The control device according to configuration 3, wherein the selection means selects the phase difference. (Configuration 6) The control device according to configuration 3, wherein the selection means selects the frequency and the phase difference. (Configuration 7) The control device according to configuration 3, wherein the selection means selects the frequency. (Configuration 8) The control device according to configuration 3, wherein the selection means selects the frequency and the pulse width. (Configuration 9) The control device according to any one of configurations 1 to 8, characterized in that the phase difference is larger when the selection means selects the frequency than when the selection means suppresses the selection of the frequency. (Configuration 10) The control device according to any one of configurations 1 to 9, wherein the output means outputs, together with the controlled variable, identification information for identifying the controlled variable. (Configuration 11) The control device according to configuration 10, wherein the identification information is capable of identifying at least one of the frequency, the phase difference, and the pulse width. (Configuration 12) The drive device has a plurality of the motors, 12. The control device according to any one of configurations 1 to 11, wherein the selection by the selection means is different for each of the motors. (Configuration 13) A target amount calculation means is provided for calculating a target driving amount by which the motor should be driven, 13. The control device according to any one of configurations 1 to 12, wherein the control amount calculation means calculates the control amount based on the target drive amount. (Configuration 14) A drive device having a motor driven by application of an AC voltage and communicably connected to a control device that controls the driving of the motor, an input means for inputting a control amount used in the control from the control device; a driving means for driving the motor based on the control amount, In the control device, at least one of a frequency, a phase difference, and a pulse width included in the controlled variable is selected, and the selection is changed over time during input by the input means. (Configuration 15) In the control device, of the frequency, the phase difference, and the pulse width, values that change over time are selected, and selection of values that are maintained constant over time is suppressed; The drive device according to configuration 14, characterized in that the control amount for which the selection is suppressed is pre-stored, and the drive means drives the motor based on the control amount selected by the control device and the pre-stored control amount. (Configuration 16) The drive device has a plurality of the motors, 16. The drive device according to claim 14 or 15, wherein the selection in the control device is different for each of the motors. (Method 1) A method for controlling a control device that is communicatively connected to a drive device having a motor that is driven by application of an AC voltage and controls the drive of the motor, comprising: a control amount calculation step of calculating a control amount including a frequency, a phase difference, and a pulse width used in the control; an output step of outputting the control amount to the drive device; a selection step of selecting at least one of the frequency, the phase difference, and the pulse width and outputting the selected signal from the output step; A control method for a control device, characterized in that the selection in the selection step changes over time during the output in the output step. (Method 2) A method for controlling a drive device having a motor driven by application of an AC voltage and communicably connected to a control device that controls the drive of the motor, comprising the steps of: an input step of inputting a control amount used in the control from the control device; A driving step of driving the motor based on the control amount, The control device selects at least one of a frequency, a phase difference, and a pulse width included in the control amount, and the selection is changed over time during input in the input process. (Program 1) A program for causing a computer to execute each means of the control device according to any one of configurations 1 to 13. (Program 2) A program for causing a computer to execute each of the means of the driving device according to any one of configurations 14 to 16.
[0084] Although the preferred embodiments of the present invention have been described above, the present invention is not limited to the above-mentioned embodiments, and various modifications and changes are possible within the scope of the gist of the present invention. The present invention can also be realized by supplying a program that realizes one or more functions of the above-mentioned embodiments to a system or device via a network or storage medium, and having one or more processors of a computer in the system or device read and execute the program. The present invention can also be realized by a circuit (e.g., ASIC) that realizes one or more functions. [Explanation of symbols]
[0085] 1 Drive unit 2. Control device 11 Communication input unit (input means) 14 Vibration motor (motor) 18 Drive unit (drive means) 23 Target position calculation section (target amount calculation means) 24 Control amount calculation unit (control amount calculation means) 25 Communication output unit (output means)
Claims
1. A control device that is communicably connected to a drive device having a motor that is driven by application of an AC voltage and controls the drive of the motor, a control amount calculation means for calculating a control amount including a frequency, a phase difference, and a pulse width used in the control; an output means for outputting the control amount to the drive device; a selection means for selecting at least one of the frequency, the phase difference, and the pulse width and outputting the selected one from the output means, A control device, characterized in that the selection by said selection means changes over time during output by said output means.
2. 2. The control device according to claim 1, wherein the selection means selects one of the frequency, the phase difference, and the pulse width whose values change over time and suppresses selection of one of the frequency, the phase difference, and the pulse width whose values remain constant over time.
3. the control is a speed control of the motor, 2. The control device according to claim 1, wherein the selection by said selecting means varies based on a speed characteristic of said motor.
4. 4. The control device according to claim 3, wherein said selection means selects said phase difference and said pulse width.
5. 4. The control device according to claim 3, wherein the selection means selects the phase difference.
6. 4. The control device according to claim 3, wherein the selection means selects the frequency and the phase difference.
7. 4. The control device according to claim 3, wherein the selection means selects the frequency.
8. 4. The control device according to claim 3, wherein said selection means selects said frequency and said pulse width.
9. 2. The control device of claim 1, wherein the phase difference is greater when the selection means selects the frequency than when the selection means refrains from selecting the frequency.
10. 2. The control device according to claim 1, wherein said output means outputs, together with said controlled variable, identification information for identifying said controlled variable.
11. 11. The control device according to claim 10, wherein the identification information is capable of identifying at least one of the frequency, the phase difference, and the pulse width.
12. The drive device includes a plurality of the motors, 2. The control device according to claim 1, wherein the selection by said selection means is different for each of said motors.
13. a target amount calculation means for calculating a target drive amount by which the motor should be driven; 2. The control device according to claim 1, wherein the control amount calculation means calculates the control amount based on the target drive amount.
14. A drive device having a motor that is driven by application of an AC voltage and communicably connected to a control device that controls the driving of the motor, an input means for inputting a control amount used in the control from the control device; a driving means for driving the motor based on the control amount, In the control device, at least one of a frequency, a phase difference, and a pulse width included in the controlled variable is selected, A drive device, wherein said input means changes the selection made by said control device over time while said controlled variable is being input, and inputs the selected one.
15. In the control device, of the frequency, the phase difference, and the pulse width, values that change over time are selected, and selection of values that are maintained constant over time is suppressed; 15. The drive device according to claim 14, characterized in that the control amount for which the selection is suppressed is stored in advance, and the drive means drives the motor based on the control amount selected by the control device and the control amount stored in advance.
16. The drive device includes a plurality of the motors, 15. The drive device according to claim 14, wherein the selection in the control device differs for each of the motors.
17. A method for controlling a control device that is communicatively connected to a drive device having a motor that is driven by application of an AC voltage and controls the drive of the motor, comprising: a control amount calculation step of calculating a control amount including a frequency, a phase difference, and a pulse width used in the control; an output step of outputting the control amount to the drive device; a selection step of selecting at least one of the frequency, the phase difference, and the pulse width and outputting the selected signal from the output step; A control method for a control device, characterized in that the selection in the selection step changes over time during the output in the output step.
18. A method for controlling a drive device having a motor driven by application of an AC voltage and communicably connected to a control device that controls driving of the motor, comprising: an input step of inputting a control amount used in the control from the control device; A driving step of driving the motor based on the control amount, The control device selects at least one of a frequency, a phase difference, and a pulse width included in the control amount, and the selection is changed over time during input in the input process.
19. A program for causing a computer to execute each means of the control device according to claim 1.
20. A program for causing a computer to execute each of the means of the driving device according to claim 14.
Citation Information
Patent Citations
Stage device and minute manipulation equipment
JP2020126126A
Control device for vibration type motor, vibration device having the same, and control method for vibration type motor, program, and storage medium
JP2021058081A
