WO2023127252A1 - モータシステム - Google Patents

モータシステム Download PDF

Info

Publication number
WO2023127252A1
WO2023127252A1 PCT/JP2022/039594 JP2022039594W WO2023127252A1 WO 2023127252 A1 WO2023127252 A1 WO 2023127252A1 JP 2022039594 W JP2022039594 W JP 2022039594W WO 2023127252 A1 WO2023127252 A1 WO 2023127252A1
Authority
WO
WIPO (PCT)
Prior art keywords
motor
current
cycle
target
detected
Prior art date
Application number
PCT/JP2022/039594
Other languages
English (en)
French (fr)
Inventor
良行 東
大祐 福島
Original Assignee
村田機械株式会社
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 村田機械株式会社 filed Critical 村田機械株式会社
Publication of WO2023127252A1 publication Critical patent/WO2023127252A1/ja

Links

Images

Classifications

    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02PCONTROL OR REGULATION OF ELECTRIC MOTORS, ELECTRIC GENERATORS OR DYNAMO-ELECTRIC CONVERTERS; CONTROLLING TRANSFORMERS, REACTORS OR CHOKE COILS
    • H02P5/00Arrangements specially adapted for regulating or controlling the speed or torque of two or more electric motors
    • H02P5/74Arrangements specially adapted for regulating or controlling the speed or torque of two or more electric motors controlling two or more ac dynamo-electric motors

Definitions

  • the present invention relates to a motor system that drives a plurality of motors using a motor driver.
  • Patent Literature 1 discloses this type of motor system.
  • a plurality of motors are connected to only one motor driver via switching circuit units.
  • the motor driver controls the on/off of six transistors in order to apply appropriate voltages to the U-, V-, and W-phase drive coils of each motor.
  • Each transistor is driven by a driving method using a pulse signal based on a pulse width modulation method. Simultaneous driving of a plurality of motors is achieved by operation of appropriate switching circuitry.
  • Patent Document 1 it was not possible to individually control the rotational speed, rotational direction, etc. of a plurality of motors driven simultaneously. In order to achieve such control, sinusoidal currents that differ from motor to motor must be supplied to the respective drive coils. However, in the vicinity of the timing at which the switching circuit unit switches, there is a possibility that an unintended output is provided to the motor.
  • the present invention has been made in view of the above circumstances, and its object is to improve the control quality of each motor in a motor system in which electric power output from a motor driver is switched and supplied to a plurality of motors to drive them simultaneously. That's what it is.
  • this motor system includes a plurality of motors, a motor driver, a current detector, and a switch.
  • the motor driver outputs electric power for causing the plurality of motors to generate driving force.
  • the current detector detects the current of the motor.
  • the switch section selectively switches a target motor, to which electric power output by the motor driver is supplied, and to which current is detected by the current detection section, among the plurality of motors.
  • a PWM duty ratio for driving the target motor is calculated based on the current detected by the current detector.
  • the motor driver is controlled to output power based on the PWM duty ratio.
  • the switch unit cyclically switches the target motor among the plurality of motors.
  • the motor driver When the current of the target motor is detected by the current detection unit, the motor driver outputs power based on the PWM duty ratio obtained based on the current in a cycle after the cycle in which the current is detected. , is controlled to output at the timing when the motor from which the current is detected becomes the target motor again.
  • the motor system described above preferably has the following configuration. That is, when the current of the target motor is detected by the current detection unit, the motor driver outputs the power based on the PWM duty ratio obtained based on the current to In each cycle, the motor for which the current is detected is controlled to output at the timing when it becomes the target motor again.
  • the motor system described above preferably has the following configuration. That is, when the current of the target motor is detected by the current detection unit, the power cutoff period occurs until the motor becomes the target motor again in the cycle immediately after the cycle in which the current is detected based on the current.
  • the post-decay current is calculated by predicting the decay due to The motor driver outputs power based on the PWM duty ratio obtained from the post-attenuation current in a cycle immediately after the cycle in which the current is detected, and the motor in which the current is detected becomes the target motor again. It is controlled to output at the timing when
  • the motor can be controlled by taking into account the effect of the actual current value attenuation due to power interruption to the target motor. As a result, control quality can be improved.
  • the motor system described above preferably has the following configuration. That is, when the current of the target motor is detected by the current detection unit, the motor driver uniformly outputs the power based on the PWM duty ratio obtained based on the current in the cycle in which the current is detected. In the immediately following cycle, the motor for which the current was detected is controlled to output at the timing when it becomes the target motor again.
  • the motor system described above preferably has the following configuration. That is, the motor driver is controlled according to a predetermined output control period. A period of time from when power supply to one of the target motors is started to when it is stopped in one cycle includes a first output control period and a second output control period.
  • the motor driver outputs power based on the PWM duty ratio obtained based on the current in the same cycle as the current detection unit detects the current of the target motor.
  • the motor driver outputs power based on the PWM duty ratio obtained based on the current in a cycle immediately after the cycle in which the current of the target motor is detected by the current detection unit. do.
  • the power output timing based on the control is delayed only in a part of the period during which the motor is the target motor. Therefore, controllability can be improved.
  • the motor system described above preferably has the following configuration. That is, the motor driver is controlled according to a predetermined output control cycle.
  • the switch unit switches the target motor at each predetermined switching cycle in each cycle.
  • the output control period and the switching period are synchronized.
  • FIG. 1 is a block diagram of a motor system according to one embodiment of the present invention
  • FIG. 7 is a graph for explaining a phenomenon in which a motor operates unintendedly when a motor driver is controlled in conjunction with switching of a target motor
  • 4A and 4B are graphs for explaining a first example of control according to the present embodiment
  • 7A and 7B are graphs for explaining a second example of control according to the present embodiment
  • 7 is a graph for explaining a third example of control according to the present embodiment
  • FIG. 11 is a diagram for explaining prediction of current attenuation in the fourth example with reference to the current waveform of the first motor;
  • FIG. 1 is a block diagram of a motor system 1 of this embodiment.
  • the motor system 1 is a system for controlling a plurality of motors 23. As shown in FIG. 1 , the motor system 1 includes a control section 10 , a motor driver 21 , a switch section 22 , multiple motors 23 , and multiple encoders 24 .
  • the control unit 10 controls a plurality of motors 23 via the motor driver 21 and the switch unit 22. A configuration of the control unit 10 will be described later.
  • the motor driver 21 supplies electric power to the plurality of motors 23 to operate the motors 23 .
  • the motor driver 21 is, for example, a servo amplifier or an inverter.
  • the motor driver 21 is electrically connected to the control unit 10 and can transmit and receive signals.
  • the motor driver 21 is controlled by a driver control signal output by the control unit 10.
  • the motor driver 21 has an inverter 31 .
  • Inverter 31 generates a drive waveform according to the output of control section 10 .
  • the motor driver 21 outputs a voltage based on the obtained drive waveform to the switch section 22 .
  • a detailed configuration of the current sensor 35 will be described later.
  • the motor driver 21 is provided with a current sensor (current detection section) 35 , a current control section 36 and a delay control section 37 .
  • the current sensor 35 detects the magnitude of the current supplied from the motor driver 21 to the motor 23 .
  • the current control unit 36 controls the inverter 31 to generate a drive waveform for the motor 23 according to a signal input from the output control unit 11 provided in the control unit 10, which will be described later. Details of the current control unit 36 will be described later.
  • the delay control unit 37 appropriately delays the operation of the position control unit 13 or the speed control unit 14 provided in the control unit 10 . The details of this delay control will be described later.
  • the switch unit 22 selectively supplies the electric power output by the motor driver 21 to the plurality of motors 23 .
  • the switch unit 22 is connected for communication with the control unit 10 via the motor driver 21, and can transmit and receive signals.
  • the motor driver 21 and the switch section 22 are provided in one-to-one correspondence.
  • the motor driver 21 and the switch unit 22 may correspond not one-to-one but one-to-many or many-to-one.
  • a motor driver 21 is connected to the input side of the switch section 22 .
  • a plurality of motors 23 are connected to the output side of the switch section 22, respectively.
  • the number of motors 23 is arbitrary as long as it is plural, it is three in this embodiment.
  • the three motors 23 may be referred to as a first motor 23a, a second motor 23b, and a third motor 23c in order to identify each of them.
  • the switch section 22 is configured as a circuit including a plurality of switches.
  • the switch section 22 is mounted on a substrate, for example. By switching the switch included in the switch unit 22, the motor 23 to which power is supplied is switched.
  • the motor 23 to which electric power is supplied may be referred to as a target motor.
  • the target motor to which power is supplied is one of the plurality of motors 23 connected to the switch unit 22, that is, the first motor 23a, the second motor 23b, and the third motor 23c.
  • only one of The switch unit 22 repeats the operation of cyclically switching the target motor among the three motors 23 at high speed. This allows the three motors 23 to be driven substantially simultaneously.
  • Each motor 23 has a stator and a mover.
  • one of the stator and mover contains a permanent magnet and the other contains a coil.
  • the coil becomes an electromagnet.
  • a repulsive force or an attractive force acts between the stator and the mover, and as a result, the mover moves relative to the stator.
  • the motor 23 of this embodiment is a linear motor in which the movable element linearly moves (sliding) with respect to the stator.
  • a rotary motor in which a mover (rotor) rotates with respect to a stator (stator) can also be used.
  • the motor 23 can be configured as, for example, a three-phase motor or a two-phase motor.
  • the inverter 31 included in the motor driver 21 includes a number of semiconductor switch elements corresponding to the number of phases of the motor.
  • inverter 31 repeats opening and closing of the switch element at high speed according to known PWM control so as to realize a duty ratio corresponding to the voltage command value.
  • the motor driver 21 can generate drive waveforms for driving the three motors 23 by distributing electric power in a time division manner.
  • the encoder 24 detects the operating state of the motor 23, specifically the relative displacement of the mover with respect to the stator.
  • the encoder 24 can be, for example, a magnetic sensor provided on the movement path of the mover. A magnetic sensor can detect the position of the mover with respect to the stator. If the motor 23 is a rotary motor, the encoder 24 can be, for example, a known Hall element. The Hall element can detect the rotation angle of the mover.
  • the encoder 24 is electrically connected to the switch section 22 and can output detection signals to the switch section 22 .
  • a detection result of the encoder 24 is transmitted to the control unit 10 via the motor driver 21 .
  • the control unit 10 includes an output control unit 11.
  • the control unit 10 is configured as a known computer including, for example, a CPU, ROM, RAM, auxiliary storage device, and the like.
  • the auxiliary storage device is configured as, for example, an HDD, SSD, or the like.
  • Various programs and the like are stored in the auxiliary storage device. By executing these programs, the control unit 10 can perform various controls regarding the motor system 1 . In this way, the cooperation of hardware and software allows the controller 10 to function as the output controller 11 .
  • the control unit 10 may execute processing other than the control described above.
  • a part or all of the output control unit 11 may be realized by hardware physically different from the control unit 10 (for example, the motor driver 21).
  • the output control unit 11 generates a driver control signal and transmits it to the motor driver 21 .
  • the driver control signal is a current command signal output by a speed control unit 14, which will be described later.
  • the motor driver 21 controls the duty ratio of PWM control based on the current command, and outputs from the inverter 31 as PWM.
  • the output control unit 11 includes a position control unit 13, a speed control unit 14, and a switching control unit 15.
  • the position control unit 13 has a function of controlling the position of the mover for each motor 23 .
  • the position control unit 13 compares, for example, the current position of the mover detected by the encoder 24 with the target position of the mover, and outputs a speed command according to the positional deviation to the speed control unit 14 .
  • the speed control unit 14 has a function of controlling the speed of the mover for each motor 23 .
  • the speed control unit 14 compares, for example, the current speed based on the change in the position of the mover detected by the encoder 24 with the speed command input from the position control unit 13, and outputs a current command according to the speed deviation. Generate.
  • a current command is a signal that indicates a current value. In this embodiment, this current command corresponds to the output of the output control section 11 . Although the details will be described later, this current command is input to the current control section 36 provided in the motor driver 21 .
  • the switching control unit 15 performs control to output the current command generated by the speed control unit 14 to each of the three motors 23 to the motor driver 21 while switching cyclically. This switching is performed in response to the switch unit 22 cyclically switching the target motor among the three motors 23 .
  • This current control unit 36 determines a voltage command value for PWM control for each motor 23 .
  • the current control unit 36 compares the current value obtained from the current sensor 35 for the first motor 23a with the current command input from the motor system 1 (in other words, the speed control unit 14 included in the output control unit 11). Then, the voltage to be applied to each phase coil of the first motor 23a is calculated according to the deviation of the current value. This calculation is performed, for example, based on known vector control. Thus, in this embodiment, the current value acquired by the current sensor 35 is used for feedback control.
  • the current control unit 36 similarly obtains the voltage to be applied to the coils of each phase included in the second motor 23b and the third motor 23c.
  • the current control unit 36 generates and outputs a PWM voltage command value based on the calculated voltage. If the motors 23 are, for example, three-phase motors, the voltage command values are generated for each of the three phases.
  • the operation of the output control unit 11 is performed at a constant cycle, and as a result, the current command changes.
  • the cycle which is the minimum time unit in which the current command is controlled, may be referred to as an output control cycle.
  • the output control cycle matches the control cycle in which the voltage command value is controlled by the current control section 36 of the motor driver 21 .
  • the voltage output by the motor driver 21 is selectively supplied to the first motor 23a, the second motor 23b, and the third motor 23c via the switch section 22 that repeats cyclic switching operations. be.
  • the current command generated by the output control unit 11 is obtained by time-divisionally synthesizing the signals instructing the current values for the first motor 23a, the second motor 23b, and the third motor 23c. becomes.
  • the inverter included in the motor driver 21 includes semiconductor switch elements in a number corresponding to the number of phases of the motor 23 .
  • inverter 31 repeats opening and closing of the switch element at high speed according to known PWM control so as to realize a duty ratio corresponding to the voltage command value.
  • the motor driver 21 can generate drive waveforms for driving the three motors 23 by distributing electric power in a time division manner.
  • the output control cycle matches the carrier cycle of the PWM control performed by the motor driver 21.
  • the motor driver 21 can obtain a voltage waveform for satisfactorily realizing the current command output by the control unit 10 by PWM control, and can supply the voltage waveform to the switch unit 22 .
  • the period during which power is supplied to one motor 23 is equal to the output control period or n times it (where n is an integer of 2 or more). ).
  • each of the three motors 23 can be driven in different directions and speeds.
  • a plurality of motors 23 correspond to one motor driver 21, and the switch section 22 performs switching so that power is distributed to the plurality of motors 23 in a time-sharing manner.
  • one motor driver 21 can substantially drive a plurality of motors 23 at the same time. Therefore, the number of motor drivers 21 can be reduced compared to a configuration in which the motor drivers 21 are provided individually for each of the motors 23a, 23b, and 23c.
  • the current sensor 35 is also provided so as to be common to the plurality of motors 23 to which electric power is distributed. Therefore, the number of current sensors 35 can be reduced. As described above, the installation cost of the motor system 1 can be reduced.
  • the output control section 11 provided in the control section 10 controls the motor driver 21 according to a predetermined output control cycle.
  • Control of the motor driver 21 substantially means PWM control of the voltage waveform output by the motor driver 21 .
  • Feedback control of the current value via the duty ratio requires a series of processes from the first process to the fourth process shown below.
  • the current sensor 35 detects the magnitude (current value) of the current flowing through the target motor.
  • the position control section 13 and the speed control section 14 of the output control section 11 operate to generate a current command, which is transmitted from the control section 10 to the motor driver 21. output as a driver control signal.
  • the current control unit 36 of the motor driver 21 calculates the voltage value based on the current command and the detection value of the current sensor 35, and outputs the corresponding voltage command value to the inverter 31. .
  • the inverter 31 PWM-controls the switch element according to the duty ratio corresponding to the voltage command value.
  • control processing is performed at high speed by the control unit 10 and the motor driver 21, it requires a considerable amount of time. For example, when the output control cycle is shortened in order to improve the accuracy of motor control, the time required for control processing may become longer than the output control cycle.
  • FIG. 2 shows a case where the time during which power is supplied to each of the three motors 23 in one cycle corresponds to one cycle of the output control cycle. In other words, the switching operation of the switch unit 22 switches the target motor to another motor 23 among the three motors 23 in each output control cycle.
  • the cycle in which the switch section 22 performs the switching operation may be referred to as the switching cycle.
  • the switching period can be set to be equal for the three motors 23, or can be set to be different for each motor 23.
  • the switching cycle is synchronized with the output control cycle of the output control section 11. Therefore, it is possible to prevent the motor 23 from operating unintended near the timing at which the target motor is switched with a simple configuration.
  • the horizontal axis is time.
  • the interval between dashed lines arranged in the horizontal direction corresponds to the output control period.
  • the output control cycle matches the carrier cycle of PWM control.
  • Rectangles M1, M2, and M3 drawn at the top of the graph indicate periods during which the first motor 23a, the second motor 23b, and the third motor 23c are the target motors, respectively. In this example, since the number of motors 23 is three, one cycle corresponds to three output control cycles.
  • the processing details for driving each of the three motors 23 are displayed as labels.
  • SW is an abbreviation for software
  • HW is an abbreviation for hardware.
  • the numbers in parentheses attached to each label correspond to each of the first to fourth processes included in the control process.
  • the control process is represented by four rectangles connected by arrows. Arrows connecting the four rectangles indicate the flow of information from upstream processing to downstream processing.
  • the hatching attached to the rectangles corresponds to the hatching of rectangles M1, M2, and M3 in the upper part of the graph, and indicates which of the three motors 23 the control processing is for. ing.
  • the control process is started every output control cycle.
  • the motor driver 21 drives the switch element for the motor 23 with an appropriate duty ratio in the fourth process.
  • a case is shown in which the required time until the output control period exceeds one period of the output control period.
  • the fourth process is delayed from the first process by two cycles of the output control cycle.
  • the description will focus on the control processing for the first motor 23a, which is shown on the leftmost side of the graph in FIG.
  • the first process is performed from the start of the first process.
  • the switch unit 22 has been switched twice until immediately before the 4 process. Therefore, at the timing when the fourth process is performed, the third motor 23c different from the first motor 23a is the target motor.
  • the current for driving the first motor 23a is eventually supplied from the motor driver 21 to the third motor 23c, causing unintended operation.
  • the motor driver 21 of this embodiment includes a delay control section 37 .
  • the delay control unit 37 uniformly and intentionally delays the start of, for example, the second process by one cycle of the output control cycle.
  • the delay can be realized, for example, by performing an appropriate standby process before the second process.
  • the 3rd and 4th processes are based on the premise that the preceding processes have been completed. Therefore, the delay of the second process inevitably delays the start and end of the third process and the fourth process.
  • the fourth process is delayed by three cycles of the output control cycle with respect to the first process. Therefore, after obtaining the current value of the first motor 23a in the first process, the switch unit 22 is switched three times before the motor driver 21 starts PWM control for the first motor 23a in the fourth process. 1 motor 23a is again the target motor.
  • the delay control unit 37 causes the timing at which the motor driver 21 performs the PWM control for the first motor 23a in the fourth process to be the target motor in the cycle immediately after the cycle to which the first process belongs. Delay the control process so that it is included in the period of As a result, the PWM control performed by the motor driver 21 for the first motor 23a can be correctly applied to the first motor 23a.
  • the time to delay the control process is not limited to one cycle of the output control cycle.
  • the delay time is appropriately determined according to the original required time of the control process, the length of the switching cycle, the number of motors 23 to which the power of the motor driver 21 is distributed, and the like.
  • FIG. 4 shows a case where the time during which power is supplied to each of the three motors 23 in one cycle corresponds to four cycles of the output control cycle.
  • the switching cycle is four cycles of the output control cycle. Since the number of motors 23 is three, one cycle corresponds to 12 output control cycles.
  • the control process for driving the first motor 23a is started once for each output control cycle, a total of four times.
  • delay control for 10 cycles of the output control cycle is uniformly performed for the control processing that is started every output control cycle.
  • the timing at which the motor driver 21 performs PWM control for the first motor 23a in the fourth process is included in the period in which the first motor 23a is the target motor in the cycle immediately following the cycle to which the first process belongs.
  • FIG. 5 shows a modified example of the delay control in FIG.
  • the control process for driving the first motor 23a is started four times during the period in which the first motor 23a is the target motor.
  • the delay control unit 37 performs delay control only for two of the four control processes that are started later in time.
  • the switching period is longer than the original required time for the control process. Therefore, in the example of FIG. 5, two of the four control processes, which are started at earlier timings, are performed after the current acquisition in the first process is performed, even if the delay control is not performed.
  • the PWM control of the fourth process can be performed before the switch section 22 performs the switching operation. Therefore, the delay control unit 37 does not perform delay control for these two control processes.
  • FIG. 6 is a schematic diagram explaining this example.
  • the output control section 11 in FIG. 1 includes a current attenuation prediction section (not shown).
  • two of the four control processes that are started later in time are delayed by eight output control cycles, as in FIG.
  • the delayed third process generation of voltage command
  • the delayed third process is performed based on the predicted current value after attenuation instead of the current value detected by the current sensor 35 .
  • FIG. 7 shows an example of the current waveform of one of the coils of the first motor 23a along with the period of one cycle.
  • Each cycle period includes a period during which the first motor 23a is the target motor and a period during which the second motor 23b or the third motor 23c is the target motor.
  • Electric power is supplied to the first motor 23a only during the period when the first motor 23a is the target motor, and the electric power supply is interrupted during other periods. During periods of no power supply, the current decays towards zero. Therefore, the current waveform of the first motor 23a has a shape obtained by synthesizing a sine wave and a sawtooth wave, as shown in the graph of FIG.
  • the portion corresponding to the period during which power is supplied to the first motor 23a is indicated by a solid line
  • the portion corresponding to the period during which the power supply is interrupted is indicated by a broken line.
  • the current sensor 35 can detect the current value of the first motor 23a only during the period when the first motor 23a is the target motor, and cannot detect the current value during other periods.
  • the delay control unit 37 stores the latest current value acquired immediately before the target motor is switched from the first motor 23a to another motor.
  • Reference character P in FIG. 6 indicates the process of acquiring the current among the control processes performed at the latest timing for the first motor 23a in a certain cycle.
  • a current value obtained by the processing indicated by the symbol P is stored in an appropriate storage device of the motor driver 21 . This current value can be said to be substantially the current value immediately before the power to the first motor 23a is cut off.
  • An example of a stored current value is indicated by i mem in the graph of FIG.
  • the process of predicting the current value after the attenuation is performed based on the current value i mem previously stored.
  • this prediction process is indicated by the dashed rectangles labeled Q1 and Q2.
  • An example of the expected current value is indicated by i est in the graph of FIG.
  • the post-attenuation current value i est is expressed by the following equation, where i mem is the stored current value, t is the elapsed time after power interruption, and T is the time constant.
  • the time constant T is determined based on the resistance and inductance of the motor 23 and stored in the motor driver 21 in advance.
  • the elapsed time t after power interruption is constant throughout all cycles. The same is true when predicting the current value after attenuation at the time of processing Q2. Therefore, it is preferable to calculate in advance the value of the exponential function part of the above equation for each of the timing of the process Q1 and the timing of the process Q2 and store it as a constant.
  • the calculation load of the exponential function is generally high, the estimated post-attenuation current value i est can be obtained simply by multiplying the stored current value i mem by the constant.
  • each motor 23 can be controlled based on a current value closer to the actual value than in the example of FIG.
  • the process of predicting the current value after attenuation from the current value of the immediately preceding cycle can also be applied to the delay control shown in FIG. 3 or FIG.
  • the motor system 1 of this embodiment includes a plurality of motors 23, a motor driver 21, a current sensor 35, a switch section 22, and an output control section 11.
  • the motor driver 21 outputs electric power for causing the plurality of motors 23 to generate driving force.
  • a current sensor 35 detects the current of the motor 23 .
  • the switch unit 22 selectively switches among the plurality of motors 23 a target motor to which power output by the motor driver 21 is supplied and a current detection target by the current sensor 35 .
  • a PWM duty ratio for driving the target motor is calculated based on the current detected by the current sensor 35, and the motor driver 21 is controlled to output power based on this PWM duty ratio.
  • the switch unit 22 cyclically switches the target motor among the plurality of motors 23 .
  • the motor driver 21 detects the power based on the PWM duty ratio obtained based on the current in the cycle after the cycle in which the current is detected.
  • the motor 23 is controlled to output at the timing when it becomes the target motor again.
  • one motor driver 21 can substantially simultaneously drive a plurality of motors 23 and control the output of each motor 23 individually. While cyclically switching the output of one motor driver 21 among a plurality of motors 23 , the control to each motor 23 can be correctly applied to the motor 23 . Since the motor driver 21 and the current sensor 35 can be shared by a plurality of motors 23, simplification of the configuration can be realized.
  • the motor driver 21 when the current of the target motor is detected by the current sensor 35, the motor driver 21 outputs power based on the PWM duty ratio obtained based on the current. In the cycle immediately after the cycle in which the current is detected, the motor 23 is controlled to output at the timing when it again becomes the target motor.
  • the output control unit 11 detects the target motor 23 again in the cycle immediately after the cycle in which the current is detected.
  • the post-attenuation current is calculated by predicting the attenuation due to the power cutoff period that occurs until the motor becomes a motor.
  • the motor driver 21 outputs the power based on the PWM duty ratio obtained from the current after attenuation in the cycle immediately after the cycle in which the current is detected, at the timing when the motor 23 in which the current is detected becomes the target motor again. controlled to
  • the motor 23 can be controlled in consideration of the influence of the actual current value attenuation due to the power interruption to the target motor. As a result, control quality can be improved.
  • the motor driver 21 uniformly outputs power based on the PWM duty ratio obtained based on the current.
  • the motor 23 is controlled to output at the timing when it again becomes the target motor.
  • the motor driver 21 is controlled according to a predetermined output control cycle.
  • the time from when the power supply to one target motor is started to when it is stopped in one cycle is four cycles of the output control cycle. These four cycles are divided into two earlier cycles (first output control cycle) and two later cycles (second output control cycle).
  • first output control cycle the motor driver 21 outputs power based on the PWM duty ratio obtained based on the current in the same cycle as the current sensor 35 detects the current of the target motor.
  • the motor driver 21 outputs power based on the PWM duty ratio obtained based on the current in the cycle immediately after the cycle in which the current of the target motor is detected by the current sensor 35 .
  • the power output timing based on the control is delayed only in part of the period during which the motor 23 is the target motor. Therefore, controllability can be improved.
  • the switch unit 22 switches the target motor at each predetermined switching cycle in each cycle.
  • the output control cycle and switching cycle are synchronized.
  • the delay control unit 37 When the current of the target motor is detected by the current sensor 35, the delay control unit 37 outputs the power based on the PWM duty ratio obtained based on the current two times after or after the cycle in which the current is detected.
  • the motor driver 21 may be controlled so that the motor driver 21 outputs in the cycle of .
  • the delay is not limited to targeting the second processing of the control processing, but can also target the third processing or the fourth processing, for example.
  • a delay control section 37 may be provided in the output control section 11 .
  • the motor driver 21 and the switch unit 22 may be realized by physically separate devices or may be realized by one device.
  • a motor system characterized in that the motor system is controlled to output at a timing when the motor from which the current is detected becomes the target motor again.
  • the motor system according to item 2 or 3,
  • the motor driver is controlled according to a predetermined output control cycle,
  • the time from when power supply to one of the target motors is started to when it is stopped in one cycle is a first output control cycle in which the motor driver outputs power based on the PWM duty ratio obtained based on the current in the same cycle as the current detection unit detects the current of the target motor;
  • a second output control cycle in which the motor driver outputs power based on the PWM duty ratio obtained based on the current in a cycle immediately after the cycle in which the current of the target motor is detected by the current detection unit;
  • a motor system comprising:

Landscapes

  • Engineering & Computer Science (AREA)
  • Power Engineering (AREA)
  • Control Of Multiple Motors (AREA)

Abstract

モータシステム(1)において、スイッチ部(22)は、モータドライバ(21)が出力する電力の供給対象であり、電流センサ(35)による電流検出対象である対象モータを、複数のモータ(23)の間で選択的に切り替える。スイッチ部(22)は、複数のモータ(23)の間で対象モータをサイクル的に切り替える。モータドライバ(21)は、対象モータの電流が電流センサ(35)により検出された場合に、電流に基づいて求められたPWMデューティ比に基づく電力を、電流が検出されたサイクルより後のサイクルで、電流が検出されたモータ(23)が再び対象モータとなっているタイミングで出力するように制御される。

Description

モータシステム
 本発明は、モータドライバにより複数のモータを駆動するモータシステムに関する。
 従来から、モータドライバが出力する電力を複数のモータに時分割的に分配するモータシステムが知られている。特許文献1は、この種のモータシステムを開示する。
 特許文献1が開示するモータ駆動装置においては、1個のみのモータドライバにスイッチング回路部を介して複数のモータが接続されている。モータドライバは、それぞれのモータが備えるU、V、W相の各駆動コイルに適切な電圧を印加するため、6つのトランジスタのオンオフを制御する。各トランジスタは、パルス幅変調方式によるパルス信号を用いた駆動方式で駆動される。適切なスイッチング回路部の操作により、複数のモータの同時駆動が行われる。
特開2007-288964号公報
 上記特許文献1では、同時に駆動される複数のモータの回転速度及び回転方向等を個別に制御することができなかった。かかる制御を実現するためには、それぞれの駆動コイルに対して、モータ毎に異なる正弦波状の電流を流さなければならない。しかしながら、スイッチング回路部が切替えを行うタイミングの近傍では、意図しない出力がモータに対して行われるおそれがある。
 本発明は以上の事情に鑑みてされたものであり、その目的は、モータドライバが出力する電力を複数のモータに切り替えながら供給して同時に駆動するモータシステムにおいて、各モータの制御品質を向上させることにある。
課題を解決するための手段及び効果
 本発明の解決しようとする課題は以上の如くであり、次にこの課題を解決するための手段とその効果を説明する。
 本発明の観点によれば、以下の構成のモータシステムが提供される。即ち、このモータシステムは、複数のモータと、モータドライバと、電流検出部と、スイッチ部と、を備える。前記モータドライバは、前記複数のモータに駆動力を発生させるための電力を出力する。前記電流検出部は、前記モータの電流を検出する。前記スイッチ部は、前記モータドライバが出力する電力の供給対象であり、前記電流検出部による電流の検出対象である対象モータを、前記複数のモータの間で選択的に切り替える。前記対象モータを駆動するためのPWMデューティ比は、前記電流検出部により検出される電流に基づいて算出される。前記モータドライバは、前記PWMデューティ比に基づいて電力を出力するように制御される。前記スイッチ部は、複数の前記モータの間で前記対象モータをサイクル的に切り替える。前記モータドライバは、対象モータの電流が前記電流検出部により検出された場合に、前記電流に基づいて求められた前記PWMデューティ比に基づく電力を、前記電流が検出されたサイクルより後のサイクルで、前記電流が検出された前記モータが再び対象モータとなっているタイミングで出力するように制御される。
 これにより、1つのモータドライバが複数のモータを実質的に同時に駆動し、かつ、それぞれのモータについて出力を個別に制御することができる。1つのモータドライバの出力を複数のモータの間でサイクル的に切り替えつつ、それぞれのモータへの制御を、当該モータに対して正しく適用することができる。モータドライバ及び電流検出部を複数のモータで共通化することができるので、構成の簡素化を実現できる。
 前記のモータシステムにおいては、以下の構成とすることが好ましい。即ち、前記モータドライバは、対象モータの電流が前記電流検出部により検出された場合に、前記電流に基づいて求められた前記PWMデューティ比に基づく電力を、前記電流が検出されたサイクルの直後のサイクルで、前記電流が検出された前記モータが再び対象モータとなっているタイミングで出力するように制御される。
 これにより、異なるモータに対応する検出値に基づいて対象モータを制御することを回避することができる。
 前記のモータシステムにおいては、以下の構成とすることが好ましい。即ち、対象モータの電流が前記電流検出部により検出された場合に、前記電流に基づいて、前記電流が検出されたサイクルの直後のサイクルで当該モータが再び対象モータとなるまでに生じる電力遮断期間による減衰を予測して減衰後電流が算出される。前記モータドライバは、前記減衰後電流により求められた前記PWMデューティ比に基づく電力を、前記電流が検出されたサイクルの直後のサイクルで、前記電流が検出された前記モータが再び対象モータとなっているタイミングで出力するように制御される。
 これにより、対象モータへの電力遮断によって実際の電流値が減衰することによる影響を考慮して、モータを制御することができる。この結果、制御品質を向上できる。
 前記のモータシステムにおいては、以下の構成とすることが好ましい。即ち、前記モータドライバは、対象モータの電流が前記電流検出部により検出された場合、一律に、前記電流に基づいて求められた前記PWMデューティ比に基づく電力を、前記電流が検出されたサイクルの直後のサイクルで、前記電流が検出された前記モータが再び対象モータとなっているタイミングで出力するように制御される。
 これにより、簡素な処理を実現できる。
 前記のモータシステムにおいては、以下の構成とすることが好ましい。即ち、前記モータドライバは、予め定められた出力制御周期に従って制御される。1回のサイクルにおいて1つの前記対象モータに対して電力の供給が開始されてから停止されるまでの時間が、第1出力制御周期と、第2出力制御周期と、を含む。前記第1出力制御周期では、前記電流検出部により前記対象モータの電流が検出されたサイクルと同じサイクルにおいて、前記電流に基づいて求められた前記PWMデューティ比に基づく電力を前記モータドライバが出力する。前記第2出力制御周期では、前記電流検出部により前記対象モータの電流が検出されたサイクルの直後のサイクルにおいて、前記電流に基づいて求められた前記PWMデューティ比に基づく電力を前記モータドライバが出力する。
 これにより、制御に基づく電力の出力タイミングが直後のサイクルとなるように遅らせることが、モータが対象モータになっている期間のうち一部においてだけ行われる。従って、制御性を向上させることができる。
 前記のモータシステムにおいては、以下の構成とすることが好ましい。即ち、前記モータドライバは、予め定められた出力制御周期に従って制御される。前記スイッチ部は、それぞれのサイクルにおいて、予め定められた切替周期毎に前記対象モータを切り替える。前記出力制御周期と前記切替周期が同期している。
 これにより、スイッチ部の切替えと連動した制御内容の変更を実現できる。
本発明の一実施形態に係るモータシステムのブロック図。 対象モータの切替えに連動してモータドライバの制御を行う場合に、モータが意図しない動作を行う現象を説明するグラフ。 本実施形態の制御の第1例を説明するグラフ。 本実施形態の制御の第2例を説明するグラフ。 本実施形態の制御の第3例を説明するグラフ。 本実施形態の制御の第4例を説明するグラフ。 第4例における電流減衰の予測を、第1モータの電流波形を参照して説明する図。
 次に、図面を参照して本発明の実施形態を説明する。図1は、本実施形態のモータシステム1のブロック図である。
 モータシステム1は、複数のモータ23を制御するためのシステムである。図1に示すように、モータシステム1は、制御部10と、モータドライバ21と、スイッチ部22と、複数のモータ23と、複数のエンコーダ24と、を備える。
 制御部10は、モータドライバ21及びスイッチ部22を介して、複数のモータ23を制御する。制御部10の構成については後述する。
 モータドライバ21は、複数のモータ23に電力を供給して、当該モータ23を動作させる。モータドライバ21は、例えばサーボアンプ又はインバータである。モータドライバ21は制御部10と電気的に接続されており、信号の送受信を行うことができる。
 モータドライバ21は、制御部10が出力するドライバ制御信号により制御される。モータドライバ21は、インバータ31を備える。インバータ31は、制御部10の出力に応じて駆動波形を生成する。モータドライバ21は、得られた駆動波形に基づく電圧をスイッチ部22に出力する。電流センサ35の詳細な構成については後述する。
 モータドライバ21には、電流センサ(電流検出部)35、電流制御部36及び遅延制御部37が設けられている。
 電流センサ35は、モータドライバ21からモータ23に供給される電流の大きさを検出する。
 電流制御部36は、制御部10が備える後述の出力制御部11から入力される信号に応じて、インバータ31がモータ23の駆動波形を生成するように制御する。電流制御部36の詳細については後述する。
 遅延制御部37は、制御部10が備える位置制御部13又は速度制御部14等の動作を適宜遅延させる。この遅延制御の詳細は後述する。
 スイッチ部22は、モータドライバ21が出力した電力を、複数のモータ23に対して選択的に供給する。スイッチ部22はモータドライバ21を介して制御部10と通信接続されており、信号の送受信を行うことができる。本実施形態では、モータドライバ21とスイッチ部22は1対1で対応するように設けられている。ただし、モータドライバ21とスイッチ部22は1対1ではなく、1対多又は多対1で対応しても良い。
 スイッチ部22の入力側にはモータドライバ21が接続される。スイッチ部22の出力側には複数のモータ23がそれぞれ接続される。モータ23の数は複数であれば任意であるが、本実施形態では3つである。以下では、3つのモータ23のそれぞれを特定するために、第1モータ23a、第2モータ23b、及び第3モータ23cと呼ぶことがある。
 スイッチ部22は、複数のスイッチを含む回路として構成されている。スイッチ部22は、例えば基板に実装される。スイッチ部22に含まれるスイッチを切り替えることにより、電力の供給先のモータ23が切り替わる。以下、電力の供給先であるモータ23を対象モータと呼ぶことがある。
 ある瞬間においては、電力の供給先である対象モータは、スイッチ部22に接続されている複数のモータ23のうち1つのモータ23、即ち、第1モータ23a、第2モータ23b及び第3モータ23cのうち何れかのみである。スイッチ部22は、3つのモータ23の間で対象モータを循環的に切り替える動作を高速で反復する。これにより、3つのモータ23を実質的に同時に駆動することができる。
 スイッチ部22の切替動作は、第1モータ23aが対象モータとなる期間と、第2モータ23bが対象モータとなる期間と、第3モータ23cが対象モータとなる期間と、の組合せを1回のサイクルとして、このサイクルを反復するように行われる。これにより、第1モータ23a、第2モータ23b及び第3モータ23cの間で対象モータがサイクル的に切り替わる。
 それぞれのモータ23は、固定子と可動子とを備える。好ましくは、固定子と可動子の何れか一方は永久磁石を含んでおり、もう一方はコイルを含んでいる。モータドライバ21からコイルに電力が供給されることにより、コイルは電磁石となる。これにより、固定子と可動子の間に斥力又は引力が働き、その結果、固定子に対して可動子が相対運動する。本実施形態のモータ23は、固定子に対して可動子が直線運動(スライド)するリニアモータである。モータ23として、固定子(ステータ)に対して可動子(回転子、ロータ)が回転運動する回転モータを用いることもできる。
 モータ23は、例えば、3相モータ又は2相モータとして構成することができる。モータドライバ21が備えるインバータ31は、モータの相の数に対応した数の半導体スイッチ素子を備える。インバータ31に電流制御部36から電圧指令値が入力されると、インバータ31は、電圧指令値に応じたデューティ比を実現するように、スイッチ素子の開閉を公知のPWM制御に従って高速で反復する。これにより、モータドライバ21は、3つのモータ23に電力を時分割的に分配して駆動するための駆動波形を生成することができる。
 エンコーダ24は、モータ23の動作状態、詳細には固定子に対する可動子の相対変位を検出する。
 モータ23がリニアモータである場合、エンコーダ24は、例えば、可動子の移動経路上に設けられた磁気センサとすることができる。磁気センサは、固定子に対する可動子の位置を検出可能である。モータ23が回転モータである場合、エンコーダ24は、例えば、公知のホール素子とすることができる。ホール素子は、可動子の回転角度を検出可能である。
 エンコーダ24はスイッチ部22と電気的に接続されており、検出信号をスイッチ部22に出力することができる。エンコーダ24の検出結果は、モータドライバ21を介して制御部10へ送信される。
 制御部10は、出力制御部11を備える。
 制御部10は、例えば、CPU、ROM、RAM、補助記憶装置等を備える公知のコンピュータとして構成されている。補助記憶装置は、例えばHDD、SSD等として構成される。補助記憶装置には、各種のプログラム等が記憶されている。これらのプログラムを実行することにより、制御部10は、モータシステム1に関して様々な制御を行うことができる。このように、ハードウェアとソフトウェアの協働により、制御部10を出力制御部11として機能させることができる。
 制御部10は、上述した制御以外の処理を実行しても良い。出力制御部11のうち一部又は全部が、制御部10とは物理的に異なるハードウェア(例えば、モータドライバ21)によって実現されても良い。
 出力制御部11は、ドライバ制御信号を生成してモータドライバ21に送信する。本実施形態において、ドライバ制御信号は、後述の速度制御部14が出力する電流指令の信号である。モータドライバ21は、電流指令に基づいてPWM制御のデューティ比を制御し、インバータ31からPWMとして出力する。
 出力制御部11は、位置制御部13と、速度制御部14と、切替制御部15と、を備える。
 位置制御部13は、それぞれのモータ23について、可動子の位置を制御する機能を有する。位置制御部13は、例えば、エンコーダ24が検出した可動子の現在位置と、可動子の目標位置と、を比較し、位置の偏差に応じた速度指令を速度制御部14に出力する。
 速度制御部14は、それぞれのモータ23について、可動子の速度を制御する機能を有する。速度制御部14は、例えば、エンコーダ24が検出した可動子の位置の変化に基づく現在速度と、位置制御部13から入力された速度指令と、を比較し、速度の偏差に応じた電流指令を生成する。電流指令は、電流値を指示する信号である。本実施形態において、この電流指令が、出力制御部11の出力に相当する。詳細は後述するが、この電流指令は、モータドライバ21が備える電流制御部36へ入力される。
 切替制御部15は、3つのモータ23のそれぞれに対して速度制御部14が生成した電流指令を、サイクル的に切り替えながらモータドライバ21に出力する制御を行う。この切替えは、スイッチ部22が3つのモータ23の間で対象モータをサイクル的に切り替えるのに対応して行われる。
 ここで、出力制御部11との関係で、モータドライバ21が備える電流制御部36の動作について説明する。この電流制御部36は、それぞれのモータ23について、PWM制御の電圧指令値を決定する。
 以下、第1モータ23aに着目して詳細に説明する。電流制御部36は、第1モータ23aに関して電流センサ35から得られた電流値と、モータシステム1(言い換えれば、出力制御部11が備える速度制御部14)から入力された電流指令と、を比較し、電流値の偏差に応じて、第1モータ23aの各相のコイルに印加する電圧を計算により求める。この計算は、例えば、公知のベクトル制御に基づいて行われる。このように、本実施形態では、電流センサ35が取得した電流値がフィードバック制御のために用いられる。
 電流制御部36は、第2モータ23b及び第3モータ23cに含まれる各相のコイルについても、印加する電圧を同様に求める。
 電流制御部36は、計算により得られた電圧に基づいて、PWMの電圧指令値を生成して出力する。電圧指令値は、複数のモータ23が例えば3相モータである場合、3つの相のそれぞれに対応して生成される。
 制御部10においては、出力制御部11の動作が一定の周期で行われ、その結果として、電流指令が変化する。以下、電流指令が制御される最小の時間単位である当該周期を、出力制御周期と呼ぶことがある。出力制御周期は、モータドライバ21の電流制御部36において電圧指令値が制御される制御周期と一致している。
 上述したように、モータドライバ21が出力する電圧は、サイクル的な切替動作を反復するスイッチ部22を介して、第1モータ23a、第2モータ23b及び第3モータ23cへ択一的に供給される。これに対応して、出力制御部11が生成する電流指令は、第1モータ23a、第2モータ23b及び第3モータ23cのそれぞれに対して電流値を指示する信号を時分割的に合成したものとなる。
 モータドライバ21が備えるインバータは、モータ23の相の数に対応した数の半導体スイッチ素子を備える。インバータ31に電流制御部36から電圧指令値が入力されると、インバータ31は、電圧指令値に応じたデューティ比を実現するように、スイッチ素子の開閉を公知のPWM制御に従って高速で反復する。これにより、モータドライバ21は、3つのモータ23に電力を時分割的に分配して駆動するための駆動波形を生成することができる。
 出力制御周期は、モータドライバ21が行うPWM制御のキャリア周期と一致している。これにより、モータドライバ21は、制御部10が出力する電流指令を良好に実現するための電圧波形をPWM制御により得て、スイッチ部22に供給することができる。
 対象モータを3つのモータ23の間で切り替える1回のサイクルにおいて、1つのモータ23に電力が供給される期間は、出力制御周期又はそのn倍と等しい(ただし、nは2以上の整数である)。これにより、対象モータの切替えと連動した駆動波形の切替えを実現することができる。
 以上の制御により、3つのモータ23のそれぞれを、異なる方向及び速度で駆動することができる。
 本実施形態では、1つのモータドライバ21に対して複数のモータ23が対応しており、複数のモータ23に時分割で電力が分配されるようにスイッチ部22が切替えを行う。これにより、1つのモータドライバ21が実質的に複数のモータ23を同時に駆動することができる。そのため、モータ23a,23b,23cのそれぞれについて個別にモータドライバ21を設ける構成と比較して、モータドライバ21の個数を減らすことができる。同様に、電流センサ35も、電力が分配される複数のモータ23に対して共通となるように設けられている。従って、電流センサ35の個数を減らすことができる。以上により、モータシステム1の設置コストを低減することができる。
 次に、モータドライバ21が備える遅延制御部37について詳細に説明する。
 本実施形態においては、制御部10が備える出力制御部11は、予め定められた出力制御周期に従ってモータドライバ21を制御する。モータドライバ21の制御とは、実質的に、モータドライバ21が出力する電圧波形のPWM制御を意味する。
 デューティ比を介して電流値をフィードバック制御するには、以下に示す第1処理から第4処理までの一連の処理が必要である。
 (1)第1処理では、電流センサ35が、対象モータに流れる電流の大きさ(電流値)を検出する。
 (2)第2処理では、出力制御部11の位置制御部13及び速度制御部14が動作することによって、速度制御部14が電流指令を生成し、この電流指令が制御部10からモータドライバ21へドライバ制御信号として出力される。
 (3)第3処理では、モータドライバ21の電流制御部36が、電流指令及び電流センサ35の検出値に基づいて、電圧値を計算するとともに、それに相当する電圧指令値をインバータ31に出力する。
 (4)第4処理では、インバータ31が、スイッチ素子を、電圧指令値に対応するデューティ比に従ってPWM制御する。
 以下、この一連の処理を制御処理と呼ぶことがある。制御処理は制御部10及びモータドライバ21によって高速で行われるものの、相応の時間が必要である。例えばモータ制御の精度を向上させるために出力制御周期を短くした場合、制御処理の所要時間が出力制御周期より長くなる場合がある。
 図2には、1回のサイクルにおいて3つのモータ23のそれぞれに電力が供給される時間が、何れも出力制御周期の1周期分に相当する場合が示されている。言い換えれば、スイッチ部22の切替動作により、3つのモータ23の間で、対象モータは出力制御周期毎に別のモータ23に切り替わる。
 以下、スイッチ部22が切替動作を行う周期を切替周期と呼ぶことがある。切替周期は、3つのモータ23について等しくなるように定めることもできるし、モータ23毎に異なるように定めることもできる。切替周期が一定である場合、切替周期にモータ23の数を乗じたものが、1サイクルの周期に相当する。
 本実施形態において、切替周期は、出力制御部11の出力制御周期と同期している。従って、対象モータが切り替わるタイミングの近傍においてモータ23が意図しない動作をするのを、簡素な構成で防止することができる。
 図2のグラフにおいて、横軸は時間である。横方向に並べられた破線の間隔は、出力制御周期に相当する。上述のとおり、出力制御周期は、PWM制御のキャリア周期と一致している。グラフの上部に描かれたM1、M2、及びM3の長方形は、それぞれ、第1モータ23a、第2モータ23b、及び第3モータ23cが対象モータとなっている期間を示す。この例ではモータ23の数が3個であるので、1サイクルの周期は出力制御周期の3周期分に相当する。
 図2のグラフの縦軸には、3つのモータ23のそれぞれを駆動するための処理内容がラベルとして表示されている。縦軸のラベルにおいて、SWとはソフトウェアの略称であり、HWはハードウェアの略称である。それぞれのラベルに付けられたカッコ付きの数字は、制御処理が含む上記の第1処理~第4処理のそれぞれに対応している。
 図2のグラフにおいて、制御処理は、矢印で繋がれた4つの長方形によって表現されている。4つの長方形を繋ぐ矢印は、上流の処理から下流の処理へ情報が流れることを示す。長方形に付されたハッチングは、グラフの上部のM1、M2、及びM3の長方形のハッチングに対応しており、制御処理が3つのモータ23のうち何れのモータ23のための処理であるかを示している。
 制御処理は、出力制御周期毎に開始される。図2のグラフは、第1処理で、あるモータ23の電流値を電流センサ35が取得した後、第4処理で、モータドライバ21が当該モータ23のために適宜のデューティ比でスイッチ素子を駆動するまでの所要時間が、出力制御周期の1周期を上回っている場合を示している。図2の例で、第4処理は、第1処理に対して、出力制御周期の2周期分遅れている。
 図2のグラフで最も左に示されている、第1モータ23aのための制御処理に着目して説明する。第1処理において検出された第1モータ23aの電流値に基づいて、第4処理においてモータドライバ21のスイッチ素子が第1モータ23aのためにオン/オフされても、第1処理の開始から第4処理の直前までにスイッチ部22が2回切り替えられている。従って、第4処理が行われるタイミングでは、第1モータ23aとは別の第3モータ23cが対象モータとなっている。
 このように、第1モータ23aを駆動するための電流がモータドライバ21から結果的に第3モータ23cに対して供給され、意図しない動作を引き起こす。第2モータ23b及び第3モータ23cに関する制御についても同様である。
 上記を考慮して、本実施形態のモータドライバ21は、遅延制御部37を備える。この遅延制御部37は、制御処理の過程で、例えば第2処理の開始を、一律に出力制御周期の1周期分だけ意図的に遅延させるように制御する。遅延は、例えば第2処理の前に適宜の待機処理を行わせることで実現することができる。
 第3処理及び第4処理は、前段の処理が完了していることを前提とする。従って、第2処理が遅延することにより、第3処理及び第4処理の開始及び終了も必然的に遅延する。
 この遅延制御の結果、図3に示すように、第1処理に対して第4処理が、出力制御周期の3周期分遅れることになる。従って、第1処理において第1モータ23aの電流値を取得した後、第4処理において第1モータ23aのためにモータドライバ21がPWM制御を開始するまでに、スイッチ部22は3回切り替わり、第1モータ23aが再び対象モータとなっている。
 このように、遅延制御部37は、第4処理においてモータドライバ21が第1モータ23aのためにPWM制御を行うタイミングが、第1処理が属するサイクルの直後のサイクルで第1モータ23aが対象モータとなっている期間に含まれるように、制御処理を遅延させる。これにより、モータドライバ21が第1モータ23aのために行うPWM制御を、正しく第1モータ23aに対して適用することができる。
 制御処理を遅延させる時間は、出力制御周期の1周期分とすることに限定されない。遅延時間は、制御処理の本来の所要時間、切替周期の長さ、モータドライバ21の電力が分配されるモータ23の数等に応じて適宜定められる。
 図4には、1回のサイクルにおいて3つのモータ23のそれぞれに電力が供給される時間が、何れも出力制御周期の4周期分に相当する場合が示されている。切替周期は、出力制御周期の4周期分である。モータ23の数は3であるので、1サイクルの周期は出力制御周期の12周期分に相当する。
 図4のグラフにおいては、図面が複雑になることを避けるため、第2モータ23b及び第3モータ23cに関する制御処理は省略されている。図5及び図6においても同様である。
 図4では、例えば第1モータ23aが対象モータとなっている期間において、第1モータ23aを駆動するための制御処理が、出力制御周期毎に1回ずつ、計4回開始される。図4の例では、出力制御周期毎に開始される制御処理に対して、出力制御周期の10周期分の遅延制御が一律に行われる。これにより、第4処理においてモータドライバ21が第1モータ23aのためにPWM制御を行うタイミングを、第1処理が属するサイクルの直後のサイクルで第1モータ23aが対象モータとなっている期間に含ませることができる。
 図5には、図4の遅延制御の変形例が示されている。図5の例でも、第1モータ23aが対象モータとなっている期間において、第1モータ23aを駆動するための制御処理が4回開始される。遅延制御部37は、遅延制御を、4回の制御処理のうち、時間的に後のタイミングで開始される2回についてだけ行う。
 図3と異なり、図5の例では、切替周期が、制御処理の本来の所要時間と比べて長い。従って、図5の例では、4回の制御処理のうち時間的に前のタイミングで開始される2回については、遅延制御を行わなくても、第1処理の電流取得が行われた後の第4処理のPWM制御を、スイッチ部22が切替動作を行う前に行うことができる。従って、遅延制御部37は、この2回の制御処理については遅延制御を行わない。
 一方、時間的に後のタイミングで開始される2回の制御処理については、出力制御周期の8周期分の遅延制御が行われる。これにより、第4処理においてモータドライバ21が第1モータ23aのためにPWM制御を行うタイミングを、第1処理が属するサイクルの直後のサイクルで第1モータ23aが対象モータとなっている期間に含ませることができる。
 図5の例において、4回のうち時間的に後のタイミングで開始される2回の制御処理については、サイクルが次の回となるまでにモータ23に対して電流が遮断される期間における減衰後の電流値を予測することもできる。図6は、この例を説明する模式図である。図6の遅延制御が行われる場合、図1の出力制御部11は、図示しない電流減衰予測部を備える。
 図6の例では、4回のうち時間的に後のタイミングで開始される2回の制御処理は、図5と同様に、出力制御周期の8周期分遅延される。ただし、遅延された第3処理(電圧指令の生成)は、電流センサ35が検出した電流値に代えて、予測された減衰後の電流値に基づいて行われる。
 図7には、第1モータ23aが有するコイルのうち1つの電流波形の例が、1サイクルの周期とともに示されている。それぞれのサイクル周期には、第1モータ23aが対象モータとなっている期間と、第2モータ23b又は第3モータ23cが対象モータとなっている期間と、が含まれている。第1モータ23aには、当該第1モータ23aが対象モータになっている期間においてのみ電力が供給され、それ以外の期間では電力の供給が遮断される。電力の供給がない期間においては、電流はゼロに近づくように減衰する。従って、第1モータ23aの電流波形は、図7のグラフに示すように、正弦波とノコギリ波を合成したような形状となる。図7の波形において、第1モータ23aに電力が供給されている期間に相当する部分は実線で示され、電力の供給が遮断されている期間に相当する部分は破線で示されている。
 同様に、電流センサ35は、第1モータ23aが対象モータになっている期間においてのみ第1モータ23aの電流値を検出可能であり、それ以外の期間では電流値を検出することができない。
 遅延制御部37は、遅延制御を行う際、対象モータが第1モータ23aから他のモータへ切り替えられる直前に取得された最新の電流値を記憶する。図6の符号Pは、あるサイクルにおいて第1モータ23aに対して最も後のタイミングで行われた制御処理のうち、電流を取得する処理を示している。この符号Pで示す処理で得られた電流値が、モータドライバ21の適宜の記憶装置に記憶される。この電流値は、実質的に、第1モータ23aに対する電力が遮断される直前の電流値ということができる。記憶される電流値の例は、図7のグラフにおいてimemで示されている。
 次回のサイクルでは、第1モータ23aについて、先ほど記憶した電流値imemに基づいて、上記の減衰後の電流値を予測する処理が行われる。図6においては、この予測処理が、符号Q1及びQ2で示す破線の長方形で示されている。予測される電流値の例は、図7のグラフにおいてiestで示されている。
 減衰後の電流値iestは、記憶された電流値をimemとし、電力遮断後の経過時間をtとし、時定数をTとすると、以下の式で表される。
Figure JPOXMLDOC01-appb-M000001
 時定数Tは、モータ23の抵抗とインダクタンスに基づいて決定され、予めモータドライバ21に記憶される。図6の処理Q1の時点で減衰後の電流値を予測する場合、全てのサイクルを通じて、電力遮断後の経過時間tは一定である。処理Q2の時点で減衰後の電流値を予測する場合も同様である。従って、処理Q1のタイミングと処理Q2のタイミングのそれぞれについて上記の式の指数関数の部分の値を予め計算して定数として記憶しておくことが好ましい。一般的に指数関数の計算負荷は高いが、記憶された電流値imemに当該定数を乗じるだけで、推定された減衰後の電流値iestを求めることができる。
 図6の例では、図5の例よりも、より実際の値に近い電流値に基づいて各モータ23を制御することができる。直前のサイクルの電流値から減衰後の電流値を予測する処理は、図3又は図4に示す遅延制御に適用することもできる。
 以上に説明したように、本実施形態のモータシステム1は、複数のモータ23と、モータドライバ21と、電流センサ35と、スイッチ部22と、出力制御部11と、を備える。モータドライバ21は、複数のモータ23に駆動力を発生させるための電力を出力する。電流センサ35は、モータ23の電流を検出する。スイッチ部22は、モータドライバ21が出力する電力の供給対象であり、電流センサ35による電流の検出対象である対象モータを、複数のモータ23の間で選択的に切り替える。対象モータを駆動するためのPWMデューティ比は、電流センサ35により検出される電流に基づいて算出され、モータドライバ21は、このPWMデューティ比に基づいて電力を出力するように制御される。スイッチ部22は、複数のモータ23の間で対象モータをサイクル的に切り替える。モータドライバ21は、対象モータの電流が電流センサ35により検出された場合に、電流に基づいて求められたPWMデューティ比に基づく電力を、電流が検出されたサイクルより後のサイクルで、電流が検出されたモータ23が再び対象モータとなっているタイミングで出力するように制御される。
 これにより、1つのモータドライバ21が複数のモータ23を実質的に同時に駆動し、かつ、それぞれのモータ23について出力を個別に制御することができる。1つのモータドライバ21の出力を複数のモータ23の間でサイクル的に切り替えつつ、それぞれのモータ23への制御を、当該モータ23に対して正しく適用することができる。モータドライバ21及び電流センサ35を複数のモータ23で共通化することができるので、構成の簡素化を実現できる。
 また、本実施形態のモータシステム1において、モータドライバ21は、対象モータの電流が電流センサ35により検出された場合に、電流に基づいて求められたPWMデューティ比に基づく電力を、電流が検出されたサイクルの直後のサイクルで、電流が検出されたモータ23が再び対象モータとなっているタイミングで出力するように制御される。
 これにより、異なるモータに対応する検出値に基づいて対象モータを制御することを回避することができる。
 また、図6の例では、出力制御部11は、対象モータの電流が電流センサ35により検出された場合に、電流に基づいて、電流が検出されたサイクルの直後のサイクルでモータ23が再び対象モータとなるまでに生じる電力遮断期間による減衰を予測して減衰後電流を算出する。モータドライバ21は、減衰後電流により求められたPWMデューティ比に基づく電力を、電流が検出されたサイクルの直後のサイクルで、電流が検出されたモータ23が再び対象モータとなっているタイミングで出力するように制御される。
 これにより、対象モータへの電力遮断によって実際の電流値が減衰することによる影響を考慮して、モータ23を制御することができる。この結果、制御品質を向上できる。
 図3及び図4の例では、モータドライバ21は、対象モータの電流が電流センサ35により検出された場合、一律に、電流に基づいて求められたPWMデューティ比に基づく電力を、電流が検出されたサイクルの直後のサイクルで、電流が検出されたモータ23が再び対象モータとなっているタイミングで出力するように制御される。
 これにより、簡素な処理を実現できる。
 図5又は図6の例では、モータドライバ21は、予め定められた出力制御周期に従って制御される。1回のサイクルにおいて1つの対象モータに対して電力の供給が開始されてから停止されるまでの時間は、出力制御周期の4周期分となっている。この4周期は、時間的に前となる2つの周期(第1出力制御周期)と、時間的に後となる2つの周期(第2出力制御周期)と、に分けられる。前半の2つの周期のそれぞれでは、電流センサ35により対象モータの電流が検出されたサイクルと同じサイクルにおいて、電流に基づいて求められたPWMデューティ比に基づく電力をモータドライバ21が出力する。後半の2つの周期のそれぞれでは、電流センサ35により対象モータの電流が検出されたサイクルの直後のサイクルにおいて、電流に基づいて求められたPWMデューティ比に基づく電力をモータドライバ21が出力する。
 これにより、制御に基づく電力の出力タイミングが直後のサイクルとなるように遅らせることが、モータ23が対象モータになっている期間のうち一部においてだけ行われる。従って、制御性を向上させることができる。
 本実施形態のモータシステム1において、スイッチ部22は、それぞれのサイクルにおいて、予め定められた切替周期毎に対象モータを切り替える。出力制御周期と切替周期が同期している。
 これにより、スイッチ部22の切替えと連動した制御内容の変更を実現できる。
 以上に本発明の好適な実施の形態を説明したが、上記の構成は例えば以下のように変更することができる。変更は単独で行われても良いし、複数の変更が任意に組み合わせて行われても良い。
 遅延制御部37は、対象モータの電流が電流センサ35により検出された場合に、電流に基づいて求められたPWMデューティ比に基づく電力を、電流が検出されたサイクルの2回後、又はそれ以降のサイクルにおいてモータドライバ21が出力するように、モータドライバ21を制御しても良い。
 遅延は、制御処理のうち第2処理を対象とすることに限定されず、例えば第3処理又は第4処理を対象とすることもできる。遅延制御部37が、出力制御部11に備えられても良い。
 切替周期を出力制御周期の何周期分の長さとするかは、適宜設定することができる。
 モータドライバ21とスイッチ部22は、物理的に別の装置で実現されても良いし、1つの装置で実現されても良い。
 以上に説明した実施形態及びその変形例から、少なくとも以下の技術思想を把握することができる。
 [項目1]複数のモータと、
 前記複数のモータに駆動力を発生させるための電力を出力するモータドライバと、
 前記モータの電流を検出する電流検出部と、
 前記モータドライバが出力する電力の供給対象であり、前記電流検出部による電流の検出対象である対象モータを、前記複数のモータの間で選択的に切り替えるスイッチ部と、
を備え、
 前記対象モータを駆動するためのPWMデューティ比は、前記電流検出部により検出される電流に基づいて算出され、
 前記モータドライバは、前記PWMデューティ比に基づいて電力を出力するように制御され、
 前記スイッチ部は、複数の前記モータの間で前記対象モータをサイクル的に切り替え、
 前記モータドライバは、対象モータの電流が前記電流検出部により検出された場合に、前記電流に基づいて求められた前記PWMデューティ比に基づく電力を、前記電流が検出されたサイクルより後のサイクルで、前記電流が検出された前記モータが再び対象モータとなっているタイミングで出力するように制御されることを特徴とするモータシステム。
 [項目2]項目1に記載のモータシステムであって、
 前記モータドライバは、対象モータの電流が前記電流検出部により検出された場合に、前記電流に基づいて求められた前記PWMデューティ比に基づく電力を、前記電流が検出されたサイクルの直後のサイクルで、前記電流が検出された前記モータが再び対象モータとなっているタイミングで出力するように制御されることを特徴とするモータシステム。
 [項目3]項目2に記載のモータシステムであって、
 対象モータの電流が前記電流検出部により検出された場合に、前記電流に基づいて、前記電流が検出されたサイクルの直後のサイクルで当該モータが再び対象モータとなるまでに生じる電力遮断期間による減衰を予測して減衰後電流が算出され、
 前記モータドライバは、前記減衰後電流により求められた前記PWMデューティ比に基づく電力を、前記電流が検出されたサイクルの直後のサイクルで、前記電流が検出された前記モータが再び対象モータとなっているタイミングで出力するように制御されることを特徴とするモータシステム。
 [項目4]項目2又は3に記載のモータシステムであって、
 前記モータドライバは、対象モータの電流が前記電流検出部により検出された場合、一律に、前記電流に基づいて求められた前記PWMデューティ比に基づく電力を、前記電流が検出されたサイクルの直後のサイクルで、前記電流が検出された前記モータが再び対象モータとなっているタイミングで出力するように制御されることを特徴とするモータシステム。
 [項目5]項目2又は3に記載のモータシステムであって、
 前記モータドライバは、予め定められた出力制御周期に従って制御され、
 1回のサイクルにおいて1つの前記対象モータに対して電力の供給が開始されてから停止されるまでの時間が、
 前記電流検出部により前記対象モータの電流が検出されたサイクルと同じサイクルにおいて、前記電流に基づいて求められた前記PWMデューティ比に基づく電力を前記モータドライバが出力する第1出力制御周期と、
 前記電流検出部により前記対象モータの電流が検出されたサイクルの直後のサイクルにおいて、前記電流に基づいて求められた前記PWMデューティ比に基づく電力を前記モータドライバが出力する第2出力制御周期と、
を含むことを特徴とするモータシステム。
 [項目6]項目1から5までの何れかに記載のモータシステムであって、
 前記モータドライバは、予め定められた出力制御周期に従って制御され、
 前記スイッチ部は、それぞれのサイクルにおいて、予め定められた切替周期毎に前記対象モータを切り替え、
 前記出力制御周期と前記切替周期が同期していることを特徴とするモータシステム。
 1 モータシステム
 21 モータドライバ
 22 スイッチ部
 23 モータ
 35 電流センサ(電流検出部)

Claims (6)

  1.  複数のモータと、
     前記複数のモータに駆動力を発生させるための電力を出力するモータドライバと、
     前記モータの電流を検出する電流検出部と、
     前記モータドライバが出力する電力の供給対象であり、前記電流検出部による電流の検出対象である対象モータを、前記複数のモータの間で選択的に切り替えるスイッチ部と、
    を備え、
     前記対象モータを駆動するためのPWMデューティ比は、前記電流検出部により検出される電流に基づいて算出され、
     前記モータドライバは、前記PWMデューティ比に基づいて電力を出力するように制御され、
     前記スイッチ部は、複数の前記モータの間で前記対象モータをサイクル的に切り替え、
     前記モータドライバは、対象モータの電流が前記電流検出部により検出された場合に、前記電流に基づいて求められた前記PWMデューティ比に基づく電力を、前記電流が検出されたサイクルより後のサイクルで、前記電流が検出された前記モータが再び対象モータとなっているタイミングで出力するように制御されることを特徴とするモータシステム。
  2.  請求項1に記載のモータシステムであって、
     前記モータドライバは、対象モータの電流が前記電流検出部により検出された場合に、前記電流に基づいて求められた前記PWMデューティ比に基づく電力を、前記電流が検出されたサイクルの直後のサイクルで、前記電流が検出された前記モータが再び対象モータとなっているタイミングで出力するように制御されることを特徴とするモータシステム。
  3.  請求項2に記載のモータシステムであって、
     対象モータの電流が前記電流検出部により検出された場合に、前記電流に基づいて、前記電流が検出されたサイクルの直後のサイクルで当該モータが再び対象モータとなるまでに生じる電力遮断期間による減衰を予測して減衰後電流が算出され、
     前記モータドライバは、前記減衰後電流により求められた前記PWMデューティ比に基づく電力を、前記電流が検出されたサイクルの直後のサイクルで、前記電流が検出された前記モータが再び対象モータとなっているタイミングで出力するように制御されることを特徴とするモータシステム。
  4.  請求項2に記載のモータシステムであって、
     前記モータドライバは、対象モータの電流が前記電流検出部により検出された場合、一律に、前記電流に基づいて求められた前記PWMデューティ比に基づく電力を、前記電流が検出されたサイクルの直後のサイクルで、前記電流が検出された前記モータが再び対象モータとなっているタイミングで出力するように制御されることを特徴とするモータシステム。
  5.  請求項2に記載のモータシステムであって、
     前記モータドライバは、予め定められた出力制御周期に従って制御され、
     1回のサイクルにおいて1つの前記対象モータに対して電力の供給が開始されてから停止されるまでの時間が、
     前記電流検出部により前記対象モータの電流が検出されたサイクルと同じサイクルにおいて、前記電流に基づいて求められた前記PWMデューティ比に基づく電力を前記モータドライバが出力する第1出力制御周期と、
     前記電流検出部により前記対象モータの電流が検出されたサイクルの直後のサイクルにおいて、前記電流に基づいて求められた前記PWMデューティ比に基づく電力を前記モータドライバが出力する第2出力制御周期と、
    を含むことを特徴とするモータシステム。
  6.  請求項1に記載のモータシステムであって、
     前記モータドライバは、予め定められた出力制御周期に従って制御され、
     前記スイッチ部は、それぞれのサイクルにおいて、予め定められた切替周期毎に前記対象モータを切り替え、
     前記出力制御周期と前記切替周期が同期していることを特徴とするモータシステム。
PCT/JP2022/039594 2021-12-27 2022-10-24 モータシステム WO2023127252A1 (ja)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2021213559 2021-12-27
JP2021-213559 2021-12-27

Publications (1)

Publication Number Publication Date
WO2023127252A1 true WO2023127252A1 (ja) 2023-07-06

Family

ID=86998625

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2022/039594 WO2023127252A1 (ja) 2021-12-27 2022-10-24 モータシステム

Country Status (2)

Country Link
TW (1) TW202335422A (ja)
WO (1) WO2023127252A1 (ja)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0880092A (ja) * 1994-09-05 1996-03-22 Toyota Autom Loom Works Ltd モータの駆動制御装置
JP2000139091A (ja) * 1998-08-26 2000-05-16 Mitsubishi Electric Corp モ―タ駆動制御装置およびモ―タ駆動制御方法
JP2003009570A (ja) * 2001-06-21 2003-01-10 Nissan Motor Co Ltd 電動機の駆動制御装置

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0880092A (ja) * 1994-09-05 1996-03-22 Toyota Autom Loom Works Ltd モータの駆動制御装置
JP2000139091A (ja) * 1998-08-26 2000-05-16 Mitsubishi Electric Corp モ―タ駆動制御装置およびモ―タ駆動制御方法
JP2003009570A (ja) * 2001-06-21 2003-01-10 Nissan Motor Co Ltd 電動機の駆動制御装置

Also Published As

Publication number Publication date
TW202335422A (zh) 2023-09-01

Similar Documents

Publication Publication Date Title
CN105610363B (zh) 在六步模式中用于控制电机的方法和设备
CN101933220B (zh) 电动机、用于控制电动机的设备以及用于起动电动机的方法
US20040056630A1 (en) Sensorless control device for synchronous electric motor
JP5770701B2 (ja) ステッピングモータの駆動制御装置
Krishnan et al. A neoteric method based on PWM ON PWM scheme with buck converter for torque ripple minimization in BLDC drive
JP6733170B2 (ja) リニアモータシステム
KR101866508B1 (ko) 스테핑 모터의 제어 방법 및 장치
JP4705839B2 (ja) 電力変換装置
WO2023127252A1 (ja) モータシステム
JP2012125096A (ja) モータ駆動制御装置
JP5418769B2 (ja) ブラシレスモータの電気角推定方法およびブラシレスモータ
JP7121248B2 (ja) 同期電動機の制御装置及び制御方法
KR101724662B1 (ko) 모터 제어장치 및 그 방법
JP2020198750A (ja) ブラシレスdcモータの制御方法及び制御装置
EP4304076A1 (en) Motor system and motor drive method
WO2023127341A1 (ja) モータシステム
EP3145075A1 (en) Three-phase variable reference pulse width modulation
WO2023127365A1 (ja) モータシステム
JP2021010198A (ja) モータ駆動装置
JP2019004660A (ja) モータ制御装置
JP2003116294A (ja) 同期運転装置
JP3288822B2 (ja) ブラシレスモータの制御方式
Yodsanti et al. Implementation of two-axis highly accurate position control of space-vector PWM based microstepping bipolar drive
JP2001268968A (ja) Acサーボモータ駆動装置
KR20200001733A (ko) 모터 구동 장치, 시스템 및 방법

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 22915486

Country of ref document: EP

Kind code of ref document: A1

WWE Wipo information: entry into national phase

Ref document number: 2023570671

Country of ref document: JP