Motor driving device
By combining series switching circuit, reference pulse and current comparison circuit in the motor drive device to adjust the driving signal, the problem of the current waveform deviating from the target value near the zero intersection is solved, and the noise and vibration control effect is improved.
Patent Information
- Application Number
- CN202380028590.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Priority Date
- 2022-03-25
- Filing Date
- 2023-03-20
- Publication Date
- 2024-11-05
AI Technical Summary
The current waveform of existing motor drive devices is difficult to accurately follow the target waveform near the zero intersection point, causing the current to deviate from the target value, affecting the noise and vibration control effects.
The motor driving device including the first series and second series switching circuit, a reference pulse generation circuit, a current detection unit, a reference waveform generation circuit, a current comparison circuit and a PWM circuit are used to adjust the comparison signal and a reference pulse signal by combining the comparison signal and the reference pulse signal. The drive signal of the switching element to ensure that the current accurately follows the target waveform near the zero intersection.
Accurate follow-up of the current waveform near the zero intersection point is achieved, the noise and vibration control effect of the motor drive is improved, and the current reaches the target value more accurately within the minimum on-off period.
Smart Images

Figure CN118901200A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to a motor driving device. Background Art
[0002] In a motor drive device, low noise and low vibration are required. A motor drive device that drives a motor with low noise and low vibration is disclosed in Patent Document 1, for example. The motor drive device of Patent Document 1 uses a resistor to detect the current flowing through the motor coil due to the switching action of the switching element, and performs PWM (Pulse Width Modulation) control on the current so that the peak value of the detection voltage follows the reference voltage, thereby achieving low noise and low vibration. Here, the reference voltage is a voltage that sets the target value of the current flowing through the motor coil.
[0003] Prior art literature
[0004] Patent Literature
[0005] Patent Document 1: Japanese Patent Application Publication No. 2007-6563 Summary of the invention
[0006] Problems to be solved by the present invention
[0007] In the above-mentioned prior art, a shielding period is required, which is a period during which the surge current when the switching element is turned on is ignored, that is, a period during which PWM control is stopped. The shielding period needs to be set to a sufficiently long period to cover the period during which the surge current may be generated, that is, the minimum on-time period, and therefore cannot be shortened to less than a specified time. By setting such a shielding period, the current may exceed the target value near the zero crossing point where the current flowing through the motor coil becomes zero. Therefore, patent document 1 also discloses a countermeasure based on switching the switch action mode near the zero crossing point. However, the setting of the minimum on-time period varies depending on the characteristics of the switching element. Since the minimum on-time period is set to be longer and with room for improvement based on the versatility of the switching element driving circuit, the above-mentioned problem of the current waveform deviating from the target waveform near the zero crossing point becomes apparent.
[0008] The present disclosure solves such a problem and provides a motor drive device capable of causing a current waveform near a zero-cross point to accurately follow a target waveform.
[0009] Means of solving the problem
[0010] In view of the above situation, the motor drive device of the present disclosure is a motor drive device for driving a motor, comprising: a first series switch circuit, including a first high-side switch element and a first low-side switch element; a second series switch circuit, including a second high-side switch element and a second low-side switch element, connected in parallel with the first series switch circuit; a reference pulse generating circuit, generating a reference pulse signal having a pulse duration greater than zero at a prescribed period; a current detecting unit, outputting a current signal corresponding to a current flowing through the motor, i.e., a motor current; a reference waveform generating circuit, generating a reference waveform signal corresponding to a control target value of the motor current; a current comparison circuit, comparing the current signal with the reference waveform signal, and generating a comparison signal; and a PWM circuit, inputting the reference pulse signal, the reference waveform signal, and the comparison signal, outputting a first drive signal and a second drive signal, connecting between a first connection point as a connection point between the first high-side switch element and the first low-side switch element, and a second connection point as a connection point between the second high-side switch element and the second low-side switch element. The motor is connected, the first drive signal includes a first pulse, the first pulse starts synchronously with the start of the reference pulse signal, and ends after the pulse duration has passed from the beginning of the reference pulse signal and when the absolute value of the current signal exceeds the absolute value of the reference waveform signal, the second drive signal includes a second pulse, the second pulse starts after the end of the first pulse when the absolute value of the current signal exceeds the absolute value of the reference waveform signal during the pulse duration, and lasts for at least a period before the absolute value of the current signal falls below the absolute value of the reference waveform signal, the PWM circuit outputs the first drive signal to the first series switch circuit and outputs the second drive signal to the second series switch circuit during a first period when the motor current mainly flows from the first connection point to the second connection point, and outputs the second drive signal to the first series switch circuit and outputs the first drive signal to the second series switch circuit during a second period when the motor current mainly flows from the second connection point to the first connection point.
[0011] Effects of the Invention
[0012] According to the present disclosure, it is possible to provide a motor drive device that can make a current waveform near a zero-cross point accurately follow a target waveform. BRIEF DESCRIPTION OF THE DRAWINGS
[0013] Figure 1A This is a circuit configuration diagram of the motor drive device according to the first embodiment.
[0014] Figure 1BThis is a graph showing an example of the waveforms of the polarity instruction signal, the first reference waveform signal, and the second reference waveform signal according to the first embodiment.
[0015] Figure 2 Yes means Figure 1B A graph showing an example of the waveform of each signal in the intervals A1 and A2.
[0016] Figure 3A Yes means Figure 1B A state diagram of the states of each switching element and the current path in section A1.
[0017] Figure 3B Yes means Figure 1B A state diagram of the states of each switching element and the current path in section A2.
[0018] Figure 4 Yes means Figure 1B A graph showing an example of the waveform of each signal in section B.
[0019] Figure 5 Yes means Figure 1B A state diagram of the states of each switching element in section B and the path of the flowing current.
[0020] Figure 6 Yes means Figure 1B A graph showing an example of the waveform of each signal in section C.
[0021] Fig. 7A This is a circuit configuration diagram of a motor drive device according to a second embodiment.
[0022] Figure 7B This is a graph showing an example of the waveforms of the polarity instruction signal and the reference waveform signal according to the second embodiment.
[0023] Figure 8 Yes means Figure 7B A graph showing an example of the waveform of each signal in the intervals A1 and A2.
[0024] Fig. 9 Yes means Figure 7B A graph showing an example of the waveform of each signal in section B.
[0025] Fig.10 Yes means Figure 7B A graph showing an example of the waveform of each signal in section C. DETAILED DESCRIPTION
[0026] Hereinafter, embodiments of the present disclosure will be described with reference to the accompanying drawings. In addition, the embodiments described below all represent a specific example of the present disclosure. Therefore, the numerical values, shapes, materials, constituent elements, configuration positions of constituent elements, and connection methods shown in the following embodiments are only examples, and their purpose is not to limit the present disclosure.
[0027] In addition, each figure is a schematic diagram and is not necessarily a strict illustration. Therefore, the scales in each figure are not necessarily the same. In addition, in each figure, the same reference numerals are used for substantially the same structure, and repeated descriptions are omitted or simplified.
[0028] (Implementation Method 1)
[0029] The motor drive device of the first embodiment is described. Figure 1A The circuit configuration of the motor drive device according to this embodiment will be described. Figure 1A 2 is a circuit configuration diagram of the motor drive device 10 according to the present embodiment. Figure 1A Also shown are a motor 3 driven by the motor drive device 10 and an input power source 1 that supplies DC power to the motor drive device 10 .
[0030] like Figure 1A As shown, the input power source 1 supplies a power supply voltage Vcc between a power line and a ground line. The input power source 1 is, for example, a battery.
[0031] The motor drive device 10 is a device for driving the motor 3 and includes a first series switch circuit 31 , a second series switch circuit 32 , a reference pulse generation circuit 50 , a current detection resistor 4 , a PWM circuit 5 , a reference waveform generation circuit 51 , and a current comparison circuit 8 .
[0032] The first series switch circuit 31 is a series circuit including a first high-side switch element 21 and a first low-side switch element 23. The first high-side switch element 21 and the first low-side switch element 23 are connected in series at a first connection point X1. The first connection point X1 is a connection point between the first high-side switch element 21 and the first low-side switch element 23. In the present embodiment, the first series switch circuit 31 further includes an inverter 25. The inverter 25 is connected between a control terminal of the first low-side switch element 23 and a control terminal of the first high-side switch element 21, and inputs an inversion signal of the drive signal V1 input to the control terminal of the first high-side switch element 21, i.e., a drive signal V3, to the control terminal of the first low-side switch element 23.
[0033] The second series switch circuit 32 is a series circuit including a second high-side switch element 22 and a second low-side switch element 24, and connected in parallel with the first series switch circuit 31. The second high-side switch element 22 and the second low-side switch element 24 are connected in series at a second connection point X2. The second connection point X2 is a connection point between the second high-side switch element 22 and the second low-side switch element 24. The first high-side switch element 21 and the second high-side switch element 22 are connected by a power line, and the first low-side switch element 23 and the second low-side switch element 24 are connected. In the present embodiment, the second series switch circuit 32 also has an inverter 26. The inverter 26 is connected between the control terminal of the second low-side switch element 24 and the control terminal of the second high-side switch element 22, and the inversion signal of the drive signal V2 input to the control terminal of the second high-side switch element 22, that is, the drive signal V4, is input to the control terminal of the second low-side switch element 24.
[0034] The structures of the first high-side switch element 21, the second high-side switch element 22, the first low-side switch element 23, and the second low-side switch element 24 are not particularly limited. As each switch element, for example, an N-channel MOSFET can be used. In addition, by inverting the signal input to the control terminal of each switch element, a P-channel MOSFET can also be used as each switch element. In the present disclosure, each switch element is described as an ideal switch having a body diode and being turned on by conduction between the first terminal and the second terminal when a high-level (i.e., H-level) drive signal is applied to the control terminal.
[0035] The motor 3 is connected between a first connection point X1 and a second connection point X2 of a bridge circuit including a first series switching circuit 31 and a second series switching circuit 32 .
[0036] The current detection resistor 4 is an example of a current detection unit that outputs a current signal corresponding to the motor current IL that is the current flowing through the motor 3. In the present embodiment, the current detection resistor 4 is a resistance element connected between the connection point of the first low-side switching element 23 and the second low-side switching element 24 and the ground. Hereinafter, the resistance value of the current detection resistor 4 is represented as Rs.
[0037] As described above, the bridge circuit including the first series switch circuit 31 and the second series switch circuit 32 , the motor 3 , and the current detection resistor 4 are connected between the power line and the ground line Ru.
[0038] According to the drive signals V1 to V4 as described above, each high-side switch element and each low-side switch element are alternately turned on and off. In fact, in order to prevent the power supply from being turned on at the same time when the switch is turned on, a period called dead time is provided. The dead time is the period during which each high-side switch element and each low-side switch element are both turned off. Alternatively, there is also an action mode in which each high-side switch element and each low-side switch element are both turned off. However, such an action is a well-known technology and is not the main point of the present disclosure. Therefore, in the present disclosure, in order to avoid the description becoming cumbersome, the illustration and description of such an action are omitted, and each high-side switch element and each low-side switch element are simultaneously and alternately turned on and off.
[0039] The reference pulse generating circuit 50 is a circuit for generating a reference pulse signal P0 having a pulse duration (i.e., pulse width) greater than zero at a specified period. The pulse duration is also referred to as the minimum on period. The pulse duration and the specified period are not particularly limited. In the present embodiment, the pulse duration is 2 μs and the specified period is 10 μs.
[0040] The reference waveform generating circuit 51 is a circuit for generating a reference waveform signal corresponding to the control target value of the motor current IL. In the present embodiment, the reference waveform signal includes a first reference waveform signal and a second reference waveform signal. According to the rotation position of the motor 3, a first reference waveform signal Vr1, i.e., a control target waveform of the motor current IL flowing in the direction from the first connection point X1 to the second connection point X2 (hereinafter also referred to as the positive direction), a second reference waveform signal Vr2, i.e., a control target waveform of the motor current flowing in the direction from the second connection point X2 to the first connection point X1 (hereinafter also referred to as the negative direction), and a polarity indication signal DIR indicating the polarity of the direction of the motor current IL are generated. The polarity indication signal DIR is a signal for controlling the direction of the motor current IL. The polarity indication signal DIR is output to the PWM circuit 5. In the present embodiment, when the polarity indication signal DIR is at a high level, the motor current IL is in a positive direction, and when the polarity indication signal DIR is at a low level (i.e., an L level), the motor current IL is in a negative direction. That is, the period when the polarity indication signal DIR is at a high level mainly corresponds to the first period when the motor current IL flows from the first connection point X1 to the second connection point X2. The period when the polarity indication signal DIR is at a low level mainly corresponds to the second period when the motor current IL flows from the second connection point X2 to the first connection point X1.
[0041] Here, use Figure 1B The polarity instruction signal DIR, the first reference waveform signal Vr1 and the second reference waveform signal Vr2 are described. Figure 1B Graph showing an example of the waveforms of the polarity instruction signal DIR, the first reference waveform signal Vr1, and the second reference waveform signal Vr2 according to the present embodiment. Figure 1B Graph (a) is a graph showing the waveform of the polarity indication signal DIR. Figure 1B The graph (b) is a graph showing the waveforms of the first reference waveform signal Vr1 and the second reference waveform signal Vr2. The horizontal axis of each graph represents time. In the graph (b), the solid line curve represents the waveform of the first reference waveform signal Vr1, and the dotted line curve represents the waveform of the second reference waveform signal Vr2.
[0042] like Figure 1B As shown, the first reference waveform signal Vr1 is a signal that periodically vibrates in positive and negative directions with a reference amplitude. The second reference waveform signal Vr2 is a signal that periodically vibrates in positive and negative directions with a reference amplitude in an opposite phase relative to the first reference waveform signal Vr1. That is, the second reference waveform signal Vr2 is a signal that reverses the positive and negative directions of the first reference waveform signal Vr1. Figure 1B In the example shown, each reference waveform signal is a trapezoidal wave, but it can also be a waveform such as a sine wave. In addition, the switching period of each switching element is sufficiently shorter than the period of each reference waveform signal. In the following, it is explained that each reference waveform signal is a constant value in several cycles of the switching action.
[0043] The current comparison circuit 8 is a circuit that compares the current signal with the reference waveform signal and generates a comparison signal. In the present embodiment, the comparison signal includes a first comparison signal C1 and a second comparison signal C2. The current comparison circuit 8 has a first comparison circuit 55 and a second comparison circuit 56. The first comparison circuit 55 compares the current signal with the first reference waveform signal Vr1 to generate the first comparison signal C1. The second comparison circuit 56 compares the current signal with the second reference waveform signal Vr2 to generate the second comparison signal C2. As the current signal, the current detection voltage Vs of the current detection resistor 4 is input to each comparison circuit. Since each comparison circuit has the above-mentioned structure, the first comparison signal C1 is inverted when the motor current IL is the first target waveform value Vr1 / Rs, and the second comparison signal C2 is inverted when the motor current IL is the second target waveform value Vr2 / Rs. As the first comparison circuit 55 and the second comparison circuit 56, for example, a differential amplifier circuit can be used.
[0044] The PWM circuit 5 is a circuit that inputs a reference pulse signal, a reference waveform signal, and a comparison signal, and outputs a first drive signal and a second drive signal. During a first period in which the motor current IL mainly flows from the first connection point X1 to the second connection point X2, the PWM circuit 5 outputs the first drive signal to the first series switch circuit 31, and outputs the second drive signal to the second series switch circuit 32. In addition, during a second period in which the motor current IL mainly flows from the second connection point X2 to the first connection point X1, the PWM circuit 5 outputs the second drive signal to the first series switch circuit 31, and outputs the first drive signal to the second series switch circuit 32.
[0045] The first drive signal includes a first pulse, which starts synchronously with the start of the reference pulse signal and ends after the pulse duration has passed from the beginning of the reference pulse signal and when the absolute value of the current signal exceeds the absolute value of the reference waveform signal. In this embodiment, the first pulse includes a first pulse that rises following the rise of the reference pulse signal and falls when the absolute value of the current signal exceeds the absolute value of the reference waveform signal after the pulse duration of the reference pulse signal has passed since the rise.
[0046] The second drive signal includes a second pulse, which starts after the first pulse ends when the absolute value of the current signal exceeds the absolute value of the reference waveform signal within the pulse duration of the reference pulse signal, and lasts at least until the absolute value of the current signal is lower than the absolute value of the reference waveform signal. When the absolute value of the current signal does not exceed the absolute value of the reference waveform signal within the pulse duration of the reference pulse signal, the second drive signal does not include a pulse. In this embodiment, the second drive signal is maintained at a low level when the absolute value of the current signal does not exceed the absolute value of the reference waveform signal within the pulse duration of the reference pulse signal. When the absolute value of the current signal exceeds the absolute value of the reference waveform signal within the pulse duration of the reference pulse signal, the second drive signal rises after the first pulse ends.
[0047] In the present embodiment, the PWM circuit 5 includes a first pulse output circuit 52 , a second pulse output circuit 53 , a first PWM circuit 6 , and a second PWM circuit 7 .
[0048] The first pulse output circuit 52 is a circuit that inputs the reference pulse signal P0 and outputs the first reference pulse signal P1, wherein the first reference pulse signal P1 includes a pulse output during the first period when the motor current IL flows mainly from the first connection point X1 to the second connection point X2. In the present embodiment, the first pulse output circuit 52 inputs the reference pulse signal P0 and the polarity indication signal DIR, and outputs the first reference pulse signal P1. As the first pulse output circuit 52, for example, an AND circuit can be used.
[0049] The second pulse output circuit 53 is a circuit that inputs the reference pulse signal P0 and outputs the second reference pulse signal P2, wherein the second reference pulse signal P2 includes a pulse output during the second period when the motor current IL mainly flows from the second connection point X2 to the first connection point X1. In the present embodiment, the second pulse output circuit 53 inputs the reference pulse signal P0 and the inversion signal of the polarity indication signal DIR, and outputs the second reference pulse signal P2. As the second pulse output circuit 53, for example, an AND circuit can be used. In the present embodiment, the inversion signal of the polarity indication signal DIR is obtained by inputting the polarity indication signal DIR to the inverter 54.
[0050] The first PWM circuit 6 outputs a first drive signal to the first series switch circuit 31 during a first period in which the motor current IL mainly flows from the first connection point X1 to the second connection point X2, and outputs a second drive signal during a second period in which the motor current IL mainly flows from the second connection point X2 to the first connection point X1, based on the first comparison signal C1, the second comparison signal C2, the first reference pulse signal P1, and the second reference pulse signal P2. The signal output from the first PWM circuit 6 corresponds to the drive signal V1 input to the control terminal of the first high-side switch element 21.
[0051] The first PWM circuit 6 includes OR circuits 60 , 62 , and 66 , D flip-flops 61 and 63 , inverters 64 , 65 , and 69 , a NAND circuit 67 , and a delay circuit 68 .
[0052] The OR circuit 60 receives the first reference pulse signal P1 and the output signal Q61 of the D flip-flop 61 .
[0053] In the D flip-flop 61 , the control circuit power supply voltage Vcc is applied to the D terminal, and the first reference pulse signal P1 is input to the clock terminal.
[0054] The first reference pulse signal P1 and the first comparison signal C1 are input to the OR circuit 62 . The output of the OR circuit 62 is input to a reset terminal of the D flip-flop 61 .
[0055] The D flip-flop 63 inputs an inverted signal of the second comparison signal C2 to a D terminal via an inverter 64 , and inputs an inverted signal of the second reference pulse signal P2 to a clock terminal via an inverter 65 .
[0056] The OR circuit 66 receives the output of the OR circuit 60 and the output signal Q63 of the D flip-flop 63 and outputs a drive signal V1 .
[0057] The NAND circuit 67 receives a delayed signal of the output signal Q63 of the D flip-flop 63 obtained via the delay circuit 68 and an inverted signal of the first comparison signal C1 obtained via the inverter 69. The output of the NAND circuit 67 is input to a reset terminal of the D flip-flop 63.
[0058] The second PWM circuit 7 outputs the second drive signal to the second series switch circuit 32 based on the first comparison signal C1, the second comparison signal C2, the first reference pulse signal P1 and the second reference pulse signal P2 during the first period when the motor current IL mainly flows from the first connection point X1 to the second connection point X2, and outputs the first drive signal during the second period when the motor current IL mainly flows from the second connection point X2 to the first connection point X1. The signal output from the second PWM circuit 7 is equivalent to the drive signal V2 input to the control terminal of the second high-side switch element 22.
[0059] The second PWM circuit 7 includes OR circuits 70 , 72 , and 76 , D flip-flops 71 and 73 , inverters 74 , 75 , and 79 , a NAND circuit 77 , and a delay circuit 78 .
[0060] The OR circuit 70 receives the second reference pulse signal P2 and the output signal Q71 of the D flip-flop 71 .
[0061] In the D flip-flop 71 , the control circuit power supply voltage Vcc is applied to the D terminal, and the second reference pulse signal P2 is input to the clock terminal.
[0062] The second reference pulse signal P2 and the second comparison signal C2 are input to the OR circuit 72 . The output of the OR circuit 72 is input to a reset terminal of the D flip-flop 71 .
[0063] The D flip-flop 73 inputs an inverted signal of the first comparison signal C1 to a D terminal via an inverter 74 , and inputs an inverted signal of the first reference pulse signal P1 to a clock terminal via an inverter 75 .
[0064] The OR circuit 76 receives the output of the OR circuit 70 and the output signal Q73 of the D flip-flop 73 and outputs the drive signal V2.
[0065] The NAND circuit 77 receives a delayed signal of the output signal Q73 of the D flip-flop 73 obtained via the delay circuit 78 and an inverted signal of the second comparison signal C2 obtained via the inverter 79. The output of the NAND circuit 77 is input to a reset terminal of the D flip-flop 73.
[0066] Next, the operation of the motor drive device 10 according to this embodiment will be described. Figure 1A to Figure 3B The operation of the motor drive device 10 near the peak value of the reference waveform signal will be described. Figure 2 Yes means Figure 1B A graph showing an example of waveforms of the polarity indication signal DIR, the reference pulse signal P0, the first comparison signal C1, the second comparison signal C2, the output signal Q61 of the D flip-flop 61, the output signal Q63 of the D flip-flop 63, the output signal Q71 of the D flip-flop 71, the output signal Q73 of the D flip-flop 73, the drive signals V1 to V4, the current detection voltage Vs and the motor current IL in the intervals A1 and A2. Figure 2 The horizontal axis represents time. Figure 3A and Figure 3B They are respectively Figure 1B A state diagram of the states of the switching elements and the paths of the current in the intervals A1 and A2.
[0067] As shown in the interval A1, when the polarity indication signal DIR is at a high level (H), that is, the motor current IL is in the positive direction, when the reference pulse signal P0 increases at time t0, the first reference pulse signal P1 also increases, and the drive signal V1 also increases via the OR circuit 60 and the OR circuit 66. Figure 3AAs shown in the state diagram (a), the first high-side switch element 21 becomes the on state. At the same time, the drive signal V2 decreases, and the first low-side switch element 23 becomes the off state. Since the first reference pulse signal P1 is clocked in the state where the high-level first comparison signal C1 is input to the reset terminal, the output signal Q61 of the D flip-flop 61 rises. Since the inversion signal of the second reference pulse signal P2, which is the clock input, is fixed to a high level, the output signal Q63 of the D flip-flop 63 is maintained at a low level (L). In addition, since the second reference pulse signal P2 is at a low level, the output signal Q71 of the D flip-flop 71 without clock input is maintained at a low level. The output signal Q73 of the D flip-flop 73 to which the inversion signal of the high-level second comparison signal C2 is input to the D terminal is also maintained at a low level. Therefore, the drive signal V2 as their logical sum is also maintained at a low level, the second high-side switch element 22 is in an off state, and the second low-side switch element 24 is in an on state. As the first high-side switch element 21 is turned on, the current flowing from the positive electrode of the input power supply 1 through the first high-side switch element 21, the motor 3, the second low-side switch element 24, the current detection resistor 4, and the negative electrode of the input power supply 1 increases while vibrating in a surge shape, so the current detection voltage Vs also vibrates, and the first comparison signal C1 also vibrates between the high level and the low level. However, the current detection voltage Vs takes the logical sum between the high level of the first reference pulse signal P1 in the OR circuit 62 and the negative logical product between the low level of the delay signal of the delay circuit 78 described later in the NAND circuit 77, so it does not affect the circuit operation. This state is maintained at least until the moment t1 when the first reference pulse signal P1 is at a high level, and the motor current IL of the motor 3 to which the power supply voltage is applied in the positive direction increases in the positive direction. As described above, the pulse duration of the reference pulse signal P0 is the minimum on period Tm, which is the minimum value of the masking period.
[0068] At time t1 after the minimum on period Tm, the first reference pulse signal P1 drops together with the reference pulse signal P0. At this time, the current detection voltage Vs has not reached the first reference waveform signal Vr1, and the first comparison signal C1 remains at a high level, so the D flip-flop 61 is not reset and the state is maintained until time t2. That is, each switch element is maintained at a high level from time t0 to t2. Figure 3A The state of the state diagram (a).
[0069] At time t2, when the current detection voltage Vs that rises with the increase of the motor current IL reaches the first reference waveform signal Vr1, the first comparison signal C1 drops, the D flip-flop 61 is reset, and the output signal Q61 becomes low level. Therefore, all inputs of the OR circuits 60 and 66 become low level, the drive signal V1 drops, the first high-side switch element 21 becomes off, the drive signal V3 rises, and the first low-side switch element 23 becomes on. At this time, Figure 3A As shown in the state diagram (b), since the first low-side switch element 23 and the second low-side switch element 24 are turned on, both ends of the motor 3 are short-circuited and the current does not flow through the current detection resistor 4. Only the back electromotive force is applied to the motor coil of the motor 3, and the motor current IL decreases. This state is called slow decay.
[0070] Next, at time t3, when the reference pulse signal P0 rises again, the operation described at time t0 is repeated. Figure 3A The state of the state diagram (b).
[0071] As mentioned above, in Figure 1B In the interval A1 shown, the second high-side switch element 22 is fixed in the off state, the second low-side switch element 24 is fixed in the on state, and the first high-side switch element 21 and the first low-side switch element 23 are alternately turned on and off at a predetermined switching cycle. The on period of the first high-side switch element 21 is controlled to be longer than the minimum on period Tm and before the peak value of the motor current IL reaches the target waveform value Vr1 / Rs.
[0072] Figure 1B The interval A2 is an interval near the peak value after the positive and negative of the reference waveform signal are reversed relative to the above-mentioned interval A1. The actions of the first PWM circuit 6 and the second PWM circuit 7 are interchanged, and the moments t0 to t3 of the interval A2 correspond to the moments t0 to t3 of the above-mentioned interval A1. That is, the first high-side switch element 21 is fixed to the off state and the first low-side switch element 23 is fixed to the on state, and the second high-side switch element 22 and the second low-side switch element 24 are alternately turned on and off at a prescribed switching cycle. The on period of the second high-side switch element 22 is longer than the minimum on period Tm, and is controlled to be the period before the peak value of the motor current IL reaches the target waveform value Vr2 / Rs. Each switch element is maintained at times T0 to T2. Figure 3B The state shown in the state diagram (a) is maintained at time T2~T3 Figure 3B The state shown in the state diagram (b).
[0073] Next, explain how Figure 1B The operation is performed when the reference waveform signal is dynamically attenuated as shown in the interval B of FIG. Since the motor drive device 10 is controlled in such a way that the motor current IL follows the attenuation of the reference waveform signal, the on-time of the first high-side switch element 21 is also reduced, and in order not to be shorter than the minimum on-time Tm, the peak value of the motor current IL increases and exceeds the control target value. Here, using Figure 4 and Figure 5 A process of correcting the peak value of the motor current IL exceeding the control target value will be described below.
[0074] Figure 4 Yes means Figure 1B A graph showing an example of waveforms of the polarity indication signal DIR, the reference pulse signal P0, the first comparison signal C1, the second comparison signal C2, the output signal Q61 of the D flip-flop 61, the output signal Q63 of the D flip-flop 63, the output signal Q71 of the D flip-flop 71, the output signal Q73 of the D flip-flop 73, the drive signals V1 to V4, the current detection voltage Vs and the motor current IL in interval B. Figure 5 Yes means Figure 1B A state diagram of the states of each switching element in section B and the path of the flowing current.
[0075] exist Figure 4 At time t4, in the state where the motor current IL exceeds the control target value, the first reference pulse signal P1 follows the reference pulse signal P0 to decrease. At this time, since the motor current IL exceeds the control target value and the first comparison signal C1 is at a low level, the D flip-flop 61 is reset and the output signal Q61 decreases. Therefore, the drive signal V1 also decreases, the first high-side switch element 21 becomes disconnected, and the first low-side switch element 23 becomes connected. In addition, the D flip-flop 73 is clocked at the falling edge of the first reference pulse signal P1 when the inverted signal of the first comparison signal C1, i.e., a high-level signal, is applied to the D terminal, so the output signal Q73 increases. Due to the increase in the output signal Q73, the drive signal V2 increases via the OR circuit 76, the second high-side switch element 22 becomes connected, and the second low-side switch element 24 becomes disconnected. Therefore, the power supply voltage Vcc is applied to the motor 3 in the negative direction, and the motor current IL turns to decrease. The state of each switch element changes from Figure 5 The state of the state diagram (a) is changed to the state of the state diagram (b), and the current supplied from the input power supply 1 and flowing through the current detection resistor 4 flows in the reverse direction and becomes a regenerative current. In contrast to the slow decay state in which both ends of the motor 3 are short-circuited, in this state, the motor current IL decreases rapidly due to the application of the reverse voltage, so this state is called a fast decay state. In addition, at this time, since the regenerative current is lower than the control target value Vr2 / Rs corresponding to the second reference waveform signal Vr2, the second comparison signal C2 becomes a high level.
[0076] The output signal Q73 of the D flip-flop 73 is input to the reset terminal of the D flip-flop 73 via the delay circuit 78 and the NAND circuit 77. At time t5 after the delay time, the output of the delay circuit 78 drops, but since the motor current IL is still above the control target value and the inversion signal of the second comparison signal C2 is at a low level, the output of the NAND circuit 77 is maintained at a high level, the D flip-flop 73 is not reset, and the state of each switch element is maintained.
[0077] At time t6, when the rising (absolute value decreases) current detection voltage Vs reaches the second reference waveform signal Vr2, the second comparison signal C2 drops to a low level, the D flip-flop 73 is reset, and the output signal Q73 also drops. Therefore, the drive signal V2 drops, the second high-side switch element 22 becomes off, and the second low-side switch element 24 becomes on. The state of the switch is as follows: Figure 5 The state of the state diagram (b) changes to the slow decay state of the state diagram (c).
[0078] When the reference pulse signal P0 increases at time t7, the first reference pulse signal P1 also increases, and the drive signal V1 also increases via the OR circuit 60 and the OR circuit 66, and the first high-side switch element 21 becomes the on state. At the same time, the drive signal V2 decreases, and the first low-side switch element 23 becomes the off state. The states of the switch elements return to Figure 5 In the state of the state diagram (a), the motor current IL of the motor 3 to which the power supply voltage is applied in the positive direction increases positively. Compared with the previous cycle (the cycle including the time t4), the motor current IL decays due to the fast decay state, and the level of the current detection voltage Vs also decreases.
[0079] However, the level of the first reference waveform signal Vr1 is also low. When the reference pulse signal P0 and the first reference pulse signal P1 reach the minimum on-time Tm at time t8 and then decrease, the motor current IL exceeds the control target value, the first high-side switch element 21 becomes off, and the states of the switch elements become Figure 5 The state diagram (b) shows a fast decay state. In this cycle, at time t9 in the fast decay state, the motor current IL is lower than the control target value -Vr2 / Rs (the current detection voltage Vs exceeds the second reference waveform signal Vr2), and the second comparison signal C2 decreases, but the delayed signal of the output signal Q73 of the D flip-flop 73 does not arrive, so the state does not change.
[0080] At time t10, when the delay signal of the output signal Q73 of the D flip-flop 73 rises, the D flip-flop 73 is reset, the output signal Q73 falls, and the second high-side switch element 22 becomes off. The states of the switch elements become Figure 5 The state diagram (c) of FIG. 1 is a slow decay state. That is, the delay time of the output signal Q73 of the D flip-flop 73 by the delay circuit 78 is the minimum period of the fast decay state. Thereafter, such an action is repeated, and the motor current IL converges to the target waveform.
[0081] Next, use Figure 6 illustrate Figure 1B The action of interval C. Figure 6 Yes means Figure 1BThe graph is a graph of an example of the waveforms of the polarity indication signal DIR, the reference pulse signal P0, the first comparison signal C1, the second comparison signal C2, the output signal Q61 of the D flip-flop 61, the output signal Q63 of the D flip-flop 63, the output signal Q71 of the D flip-flop 71, the output signal Q73 of the D flip-flop 73, the drive signals V1 to V4, the current detection voltage Vs, and the motor current IL in the interval C. The interval C is the area where the polarity indication signal DIR changes from a high level to a low level and the motor current IL is to cross zero, and the first reference waveform signal Vr1 and the second reference waveform signal Vr2 are almost zero.
[0082] At time t11, when the reference pulse signal P0 increases, the drive signal V1 also increases, and the first high-side switch element 21 becomes on. At the same time, the drive signal V2 decreases, and the first low-side switch element 23 becomes off. Since the first reference waveform signal Vr1 and the second reference waveform signal Vr2 are almost zero, the first comparison signal C1 and the second comparison signal C2 become low levels.
[0083] At time t12, when the minimum on-period Tm is reached and the first reference pulse signal P1 falls, the D flip-flop 61 is reset and the drive signal V1 and the output signal Q61 become low level, the first high-side switch element 21 becomes off, and the first low-side switch element 23 becomes on. On the other hand, the D flip-flop 73 is clocked due to the fall of the first reference pulse signal P1, and the output signal Q73 is increased. As a result, the drive signal V2 also becomes high level, the second high-side switch element 22 becomes on, and the second low-side switch element 24 becomes off. The states of the switch elements change from Figure 5 The state of the state diagram (a) changes to the fast decay state of the state diagram (b). The motor current IL decreases, the current detection voltage Vs becomes negative, and the first comparison signal C1 and the second comparison signal C2 become high level.
[0084] When the motor current IL and the current detection voltage Vs become zero of the control target value at time t13 after the delay time of the delay circuit 78, the first comparison signal C1 and the second comparison signal C2 become low level, the D flip-flop 73 is reset and the output signal Q73 becomes low level. As a result, the drive signal V2 also becomes low level, the second high-side switch element 22 becomes off, and the second low-side switch element 24 becomes on. The states of the switch elements change from Figure 5 The state of the state diagram (b) changes to the slow decay state of the state diagram (c).
[0085] In addition, although time t13 is after the delay time of the delay circuit 78, there is a case where the motor current IL reaches zero first, and then the state of each switch element changes to the slow decay state after the delay time. In this case, the motor current IL flows in the negative direction, but the motor current IL decays in the slow decay state. Although it varies depending on the characteristics and state of the motor 3, the back electromotive force is small near the zero crossing, and the motor current IL in the slow decay state also decays to zero or a small value.
[0086] In addition, in the slow decay state, no current flows through the current detection resistor 4, and the current detection voltage Vs is zero as well as the control target value, so the first comparison signal C1 and the second comparison signal C2 are uncertain. However, in the slow decay state, the first comparison signal C1 and the second comparison signal C2 are not referenced, and there is no effect on the operation. In the case of wanting to avoid such an uncertain state, a hysteresis or an offset can be set in the first comparison circuit 55 and the second comparison circuit 56.
[0087] When the polarity indication signal DIR turns to a low level at time t14, the state turns to the first reference pulse signal P1 fixed to a low level, and the reference pulse signal P0 is output to the second reference pulse signal P2. When the reference pulse signal P0 rises at a subsequent time t15, the D flip-flop 71 is clocked, the output signal Q71 rises, and the drive signal V2 rises via the OR circuits 70 and 76. Therefore, the second high-side switch element 22 becomes the on state, and the second low-side switch element 24 becomes the off state. The power supply voltage Vcc is applied to the motor 3 in the negative direction, and the motor current IL increases in the negative direction.
[0088] At time t16, the second high-side switch element 22 is turned off, the first high-side switch element 21 is turned on, and the states of the switch elements are turned to fast decay. At time t17, the first high-side switch element 21 is turned off and turned to slow decay. The above operation is different in that the action is transferred from the first PWM circuit 6 to the second PWM circuit 7, but the operation is the same as above, and the motor current IL is smoothly reversed in positive and negative.
[0089] As described above, according to the motor drive device 10 of the present embodiment, in the peak current control of detecting the motor current IL supplied from the input power supply 1 and following the first target waveform value Vr1 / Rs in the positive direction and following the second target waveform value Vr2 / Rs in the negative direction, when the target current is exceeded during the minimum on-time period Tm, the target current waveform can be maintained even near zero crossing by setting a period in which the current is changed to a fast decay state before being reduced to the target current.
[0090] (Implementation Method 2)
[0091] The motor drive device of the second embodiment is described. The motor drive device of the present embodiment is mainly different from the motor drive device 10 of the first embodiment in that the reference waveform generation circuit generates only one reference waveform signal. Figure 7A to Figure 10 The motor drive device according to this embodiment will be described.
[0092] Fig. 7A FIG. 1 is a circuit diagram of the motor drive device 110 according to the present embodiment. Fig. 7A In, with Figure 1A The same constituent elements are given the same reference numerals and their descriptions are omitted.
[0093] like Fig. 7A As shown, the motor drive device 110 of the present embodiment includes a first series switch circuit 31, a second series switch circuit 32, a reference pulse generating circuit 50, a current detection resistor 4, a PWM circuit 5A, a reference waveform generating circuit 51A, and a current comparison circuit 57. In the present embodiment, the motor drive device 110 further includes an amplifier 40, resistors 41, 42, 44, 45, and a switch 43.
[0094] The reference waveform generation circuit 51A of the present embodiment generates a reference waveform signal Vr having a signal level of 0 or higher. Figure 7B The reference waveform signal Vr will be described. Figure 7B : is a graph showing an example of the waveforms of the polarity instruction signal DIR and the reference waveform signal Vr according to the present embodiment. Figure 7B Graph (a) is a graph showing an example of a waveform of the polarity indication signal DIR. Figure 7B The graph (b) is a graph showing an example of the waveform of the reference waveform signal Vr. The horizontal axis of each graph represents time. Figure 7B As shown, the reference waveform signal Vr maintains a signal level above 0 and does not include a negative signal.
[0095] The PWM circuit 5A of the present embodiment includes a first switching circuit 58 and a second switching circuit 59 in addition to the same circuits as the first PWM circuit 6 of the first embodiment.
[0096] The PWM circuit 5A is input with the reference pulse signal P0 instead of the first reference pulse signal P1 and the second reference pulse signal P2 of Embodiment 1. The PWM circuit 5A does not include the OR circuit 66 , and the output of the OR circuit 60 and the output signal Q63 of the D flip-flop 63 are input to the first switching circuit 58 and the second switching circuit 59 .
[0097] The first switching circuit 58 outputs the first drive signal to the first series switch circuit 31 during a first period in which the motor current IL mainly flows from the first connection point X1 to the second connection point X2, and outputs the first drive signal to the second series switch circuit 32 during a second period in which the motor current IL mainly flows from the second connection point X2 to the first connection point X1. The first switching circuit 58 receives the polarity instruction signal DIR from the reference waveform generation circuit 51A, the output signal of the OR circuit 60, and the output signal Q63 of the D flip-flop 63, and outputs the output signal of the OR circuit 60 or the output signal Q63 of the D flip-flop 63 to the first series switch circuit 31 according to the polarity instruction signal DIR.
[0098] The second switching circuit 59 outputs the second drive signal to the second series switch circuit 32 during the first period when the motor current IL mainly flows from the first connection point X1 to the second connection point X2, and outputs the second drive signal to the first series switch circuit 31 during the second period when the motor current IL mainly flows from the second connection point X2 to the first connection point X1. The second switching circuit 59 receives the polarity instruction signal DIR from the reference waveform generation circuit 51A, the output signal of the OR circuit 60, and the output signal Q63 of the D flip-flop 63, and outputs the output signal of the OR circuit 60 or the output signal Q63 of the D flip-flop 63 to the first series switch circuit 31 according to the polarity instruction signal DIR.
[0099] When the polarity instruction signal DIR is at a high level, the output of the OR circuit 60 of the PWM circuit 5A becomes the drive signal V1 via the first switching circuit 58, and when the polarity instruction signal DIR is at a low level, the output of the OR circuit 60 of the PWM circuit 5A becomes the drive signal V2 via the second switching circuit 59. On the other hand, when the polarity instruction signal DIR is at a high level, the output signal Q63 of the D flip-flop 63 becomes the drive signal V2 via the second switching circuit 59, and when the polarity instruction signal DIR is at a low level, the output signal Q63 of the D flip-flop 63 becomes the drive signal V1 via the first switching circuit 58.
[0100] In addition, in this embodiment, the object of comparison in the current comparison circuit 57 is also different from that in the first embodiment. In the first embodiment, the current detection voltage Vs of the current detection resistor 4 is compared with the first reference waveform signal Vr1, but in this embodiment, the reference waveform signal Vr is temporarily amplified N times by the amplifier 40, and then divided by the resistors 41 and 42, and returned to the reference waveform signal Vr again and input to the current comparison circuit 57. On the other hand, the detection voltage VsA obtained from the voltage Vs of the current detection resistor 4 through the resistor 45 with a resistance value of R5 is input to the current comparison circuit 57, and compared with the above-mentioned reference waveform signal (divided voltage) Vr, and a comparison signal C3 is output. In addition, a series circuit of a switch 43 opened and closed according to the output signal Q63 of the D flip-flop 63 and a resistor 44 with a resistance value of R4 is connected between the output (voltage N·Vr) of the amplifier 40 and the resistor 45 (voltage VsA).
[0101] With such a structure, when the output signal Q63 of the D flip-flop 63 is at a low level, that is, not in a fast decay state, the switch 43 is in an off state, and VsA=Vs. In other words, the comparison signal C3 output by the current comparison circuit 57 is a comparison result of the current detection voltage Vs and the reference waveform signal Vr. On the other hand, when the output signal Q63 of the D flip-flop 63 is at a high level, that is, in a fast decay state, the switch 43 is in an on state, and the detection voltage VsA is biased by the output N·Vr of the amplifier 40, as shown in the following formula.
[0102] VsA=(R4·Vs+R5·N·Vr) / (R4+R5)
[0103] Since the voltage VsA is compared with the reference waveform signal Vr, when Vs is obtained from VsA=Vr, the following relationship is obtained.
[0104] Vs={1-(N-1)·R5 / R4}·Vr
[0105] Here, by setting (N-1)·R5 / R4=2 (for example, N=3, R4=R5), the comparison signal C3 is inverted at Vs=-Vr. That is, in the fast decay state, the comparison signal C3 output by the current comparison circuit 57 is equivalent to the comparison result of the current detection voltage Vs and the negative reference waveform signal -Vr. That is, when the second drive signal turns on the first high-side switch element or the second high-side switch element (that is, when the second drive signal is at a high level), the current comparison circuit 57 is equivalent to comparing the current detection voltage Vs (that is, the current signal) with the signal inverted to negative by the reference waveform signal Vr.
[0106] Below, use Figure 8 to Figure 10The operation of the motor driving device 110 according to the present embodiment will be described. Figure 8 Yes means Figure 7B The graph is a graph of an example of the waveforms of the polarity indication signal DIR, the reference pulse signal P0, the comparison signal C3, the output signal Q61 of the D flip-flop 61, the output signal Q63 of the D flip-flop 63, the drive signals V1 to V4, the current detection voltage Vs, and the motor current IL in the intervals A1 and A2. The state of each switching element and the path of the flowing current are similar to Figure 3A and 3B Same. Below, use Fig. 7A , Figure 7B and Figure 8 , illustrating the action near the peak of the reference waveform.
[0107] When the polarity indication signal DIR is at a high level, that is, the motor current IL is in the forward direction, and the reference pulse signal P0 rises at time t0, the drive signal V1 also rises via the OR circuit 60 and the first switching circuit 58, and the first high-side switch element 21 becomes the on state. At the same time, the drive signal V2 decreases, and the first low-side switch element 23 becomes the off state. Since the reference pulse signal P0 is clocked in the D flip-flop 61 when the high-level comparison signal C3 is input to the reset terminal, the output signal Q61 of the D flip-flop 61 also rises. On the other hand, the output signal Q63 of the D flip-flop 63 that inputs the inversion signal of the high-level comparison signal C3 to the D terminal is at a low level, and the output signal Q63 becomes the drive signal V2 via the second switching circuit 59, so the second high-side switch element 22 becomes the off state, and the second low-side switch element 24 becomes the on state. As the first high-side switch element 21 is turned on, the current flowing from the positive electrode of the input power supply 1 through the first high-side switch element 21, the motor 3, the second low-side switch element 24, the current detection resistor 4, and the negative electrode of the input power supply 1 increases while vibrating in a surge shape, so the current detection voltage Vs also vibrates, and the comparison signal C3 also vibrates between the high level and the low level. However, the current detection voltage Vs takes the logical sum between the high level of the reference pulse signal P0 in the OR circuit 62 and the negative logical product between the low level of the delay signal of the delay circuit 68 described later in the NAND circuit 67, so it does not affect the circuit operation. This state is maintained at least until the time t1 when the reference pulse signal P0 is at a high level, and the motor current IL of the motor 3 to which the power supply voltage is applied in the positive direction increases in the positive direction. As described above, the pulse duration of the reference pulse signal P0 is the minimum on period Tm as the minimum value of the masking period.
[0108] At time t1 after the minimum on period Tm, the reference pulse signal P0 drops. At this time, the current detection voltage Vs has not reached the reference waveform signal Vr, and the comparison signal C3 remains at a high level, so the D flip-flop 61 is not reset and the state is maintained until time t2. Each switch element is maintained at time t0 to t2. Figure 3A The state of the state diagram (a).
[0109] At time t2, when the current detection voltage Vs that rises with the increase of the motor current IL reaches the reference waveform signal Vr, the comparison signal C3 falls, the D flip-flop 61 is reset, and the output signal Q61 becomes low level. Therefore, the inputs of the OR circuit 60 all become low level, the drive signal V1 falls, the first high-side switch element 21 becomes off, the drive signal V3 rises, and the first low-side switch element 23 becomes on state.
[0110] Since the first low-side switching element 23 and the second low-side switching element 24 are turned on, both ends of the motor 3 are short-circuited and current does not flow through the current detection resistor 4. Only the back electromotive force voltage is applied to the motor coil, and the motor current IL is reduced to a slow decay state.
[0111] Next, at time t3, when the reference pulse signal P0 rises again, the operation described at time t0 is repeated. Figure 3A The state of the state diagram (b).
[0112] As mentioned above, in Figure 7B In the interval A1, the second high-side switch element 22 is fixed in the off state, the second low-side switch element 24 is fixed in the on state, and the first high-side switch element 21 and the first low-side switch element 23 are alternately turned on and off at a predetermined switching cycle. The on period of the first high-side switch element 21 is longer than the minimum on period Tm and is controlled to be a period before the peak value of the motor current IL reaches the target waveform value Vr / Rs.
[0113] exist Figure 7BIn interval A2, the action of the PWM circuit 5A is the same as that of the above-mentioned interval A1, but since the polarity indication signal DIR is at a low level, the states of the first switching circuit 58 and the second switching circuit 59 are different from those of interval A1, and the output signal of the OR circuit 60 becomes the drive signal V2, and the output signal Q63 of the D flip-flop 63 becomes the drive signal V1. The moments T0 to T3 of interval A2 correspond to the moments t0 to t3 of the above-mentioned interval A1, the first high-side switch element 21 is fixed in the off state, the first low-side switch element 23 is fixed in the on state, and the second high-side switch element 22 and the second low-side switch element 24 are alternately turned on and off at a prescribed switching cycle. The on period of the second high-side switch element 22 is longer than the minimum on period Tm and is controlled to be the period before the peak value of the motor current IL reaches the target waveform value Vr / Rs. Each switch element is maintained at moments T0 to T2. Figure 3B The state of the state diagram (a) is maintained at time T2~T3 Figure 3B The state of the state diagram (b).
[0114] Next, explain how Figure 7B The motor drive device 110 controls the motor current IL to follow the attenuation of the reference waveform signal, so the on-time of the first high-side switch element 21 is also reduced, but in order not to be shorter than the minimum on-time Tm, the peak value of the motor current IL increases and exceeds the control target value. Here, using Fig. 9 A process of correcting the peak value of the motor current IL exceeding the control target value will be described below.
[0115] Fig. 9 Yes means Figure 7B The graph is a graph of an example of the waveforms of the polarity indication signal DIR, the reference pulse signal P0, the comparison signal C3, the output signal Q61 of the D flip-flop 61, the output signal Q63 of the D flip-flop 63, the drive signals V1 to V4, the current detection voltage Vs, and the motor current IL in the interval B. The state of each switching element and the path of the flowing current are similar to Figure 5 The state diagram shown is the same.
[0116] exist Fig. 9At time t4, when the motor current IL exceeds the control target value Vr / Rs, the reference pulse signal P0 follows the reference pulse signal P0 to drop. At this time, the motor current IL exceeds the control target value, and the comparison signal C3 is at a low level, so the D flip-flop 61 is reset and the output signal Q61 drops. Therefore, the drive signal V1 also drops, the first high-side switch element 21 becomes off, and the first low-side switch element 23 becomes on. In addition, the D flip-flop 63 is clocked at the falling edge of the reference pulse signal P0 when a high-level signal as an inversion signal of the comparison signal C3 is input to the D terminal, so the output signal Q63 rises. When the output signal Q63 becomes high, the drive signal V2 rises via the second switching circuit 59, the second high-side switch element 22 becomes on, and the second low-side switch element 24 becomes off. Therefore, the power supply voltage Vcc is applied to the motor 3 in the negative direction, and the motor current IL turns to decrease. The state of each switching element becomes Figure 5 The fast decay state of the state diagram (b) is a state in which the current supplied from the input power supply 1 and flowing through the current detection resistor 4 flows backward and becomes a regenerative current. In addition, when the output signal Q63 of the D flip-flop 63 becomes a high level, the switch 43 becomes an on state, and the comparison signal C3 equivalently becomes a comparison result of the current detection voltage Vs and the negative reference waveform signal -Vr.
[0117] The output signal Q63 of the D flip-flop 63 is input to the reset terminal of the D flip-flop 63 via the delay circuit 68 and the NAND circuit 67. At time t5 after the delay time, the output of the delay circuit 68 drops, but since the motor current IL is still above the control target value and the inversion signal of the comparison signal C3 is at a low level, the output of the NAND circuit 67 maintains a high level, and the D flip-flop 63 is not reset and maintains the switch state.
[0118] At time t6, when the rising (absolute value decreases) current detection voltage Vs reaches the negative reference waveform signal -Vr, the comparison signal C3 drops to a low level, the D flip-flop 63 is reset, and the output signal Q63 also drops. Therefore, the drive signal V2 drops, the second high-side switch element 22 becomes off, and the second low-side switch element 24 becomes on, and the state diagram (c) is changed to a slow decay state.
[0119] When the reference pulse signal P0 rises at time t7, the drive signal V1 also rises via the OR circuit 60 and the first switching circuit 58, and the first high-side switch element 21 becomes on. At the same time, the drive signal V3 falls, and the first low-side switch element 23 becomes off, and the motor current IL of the motor 3 to which the power supply voltage Vcc is applied in the positive direction increases in the positive direction ( Figure 5Compared with the previous cycle, the motor current IL decays due to the fast decay state, and the level of the current detection voltage Vs also decreases.
[0120] However, since the level of the reference waveform signal Vr is also low, when the minimum on period Tm is reached at time t8 and the reference pulse signal P0 falls, the motor current IL exceeds the control target value. Therefore, the first high-side switching element 21 becomes off and becomes the fast decay state again ( Figure 5 In this cycle, at the time t9 of the fast decay state, the motor current IL is lower than the control target value (i.e., the current detection voltage Vs exceeds the reference waveform signal Vr), and the comparison signal C3 decreases, but since the delayed signal of the output signal Q63 of the D flip-flop 63 has not arrived, the state remains unchanged.
[0121] At time t10, when the delay signal of the output signal Q63 of the D flip-flop 63 rises, the D flip-flop 63 is reset, the output signal Q63 falls, the second high-side switch element 22 becomes off, and becomes a slow decay state. That is, the delay time of the output signal Q63 of the D flip-flop 63 by the delay circuit 68 is the minimum period of the fast decay state. Thereafter, such an operation is repeated, and the motor current IL converges to the target waveform.
[0122] Next, use Fig.10 illustrate Figure 7B The action of interval C. Fig.10 Yes means Figure 7B A graph showing an example of waveforms of the polarity indication signal DIR, the reference pulse signal P0, the comparison signal C3, the output signal Q61 of the D flip-flop 61, the output signal Q63 of the D flip-flop 63, the drive signals V1 to V4, the current detection voltage Vs and the motor current IL in the interval C.
[0123] Section C is a region where the polarity instruction signal DIR changes from a high level to a low level and the motor current IL is about to cross zero, and the reference waveform signal Vr is almost zero.
[0124] At time t11, when the reference pulse signal P0 rises, the drive signal V1 also rises, and the first high-side switch element 21 becomes on. At the same time, the drive signal V2 drops, and the first low-side switch element 23 becomes off. Since the reference waveform signal Vr is almost zero, the comparison signal C3 becomes low level.
[0125] At time t12, when the minimum on period Tm is reached and the reference pulse signal P0 drops, the D flip-flop 61 is reset and the drive signal V1 becomes low together with the output signal Q61, the first high-side switch element 21 becomes disconnected, and the first low-side switch element 23 becomes connected. On the other hand, the D flip-flop 63 is clocked by the falling edge of the reference pulse signal P0, and the output signal Q63 is increased. As a result, the drive signal V2 also becomes high, the second high-side switch element 22 becomes connected, and the second low-side switch element 24 becomes disconnected. The state of each switch element is changed to a fast decay state, so the motor current IL decreases, the current detection voltage Vs becomes negative, and the comparison signal C3 becomes high. In addition, when the output signal Q63 of the D flip-flop 63 becomes high, the switch 43 becomes connected, and the comparison signal C3 equivalently becomes the comparison result of the current detection voltage Vs and the negative reference voltage -Vr.
[0126] When the motor current IL and the current detection voltage Vs become zero of the control target value at time t13 after the delay time of the delay circuit 68, the comparison signal C3 becomes low level, the D flip-flop 63 is reset and the output signal Q63 becomes low level. As a result, the drive signal V2 also becomes low level, the second high-side switch element 22 becomes off state, and the second low-side switch element 24 becomes on state. The state of each switch element changes to a slow decay state.
[0127] In addition, although time t13 is after the delay time of the delay circuit 68, there is a case where the motor current IL reaches zero first, and then the state of the switch element changes to the slow decay state after the delay time. In this case, the motor current IL flows in the negative direction, but the current decays in the slow decay state. Although it depends on the characteristics and state of the motor 3, the back electromotive force is small near the zero crossing, and the motor current in the slow decay state also decays to zero or a small value.
[0128] In addition, in the slow decay state, no current flows through the current detection resistor 4, and the current detection voltage Vs is zero as well as the control target value, so the comparison signal C3 is uncertain. However, in the slow decay state, the comparison signal C3 is not referenced, and there is no effect on the operation. In the case of wanting to avoid such an uncertain state, a hysteresis or offset can be set in the current comparison circuit 57.
[0129] When the polarity indication signal DIR becomes low at time t14, the states of the first switching circuit 58 and the second switching circuit 59 are switched, the output of the OR circuit 60 becomes the drive signal V2, and the output signal Q63 of the D flip-flop 63 becomes the drive signal V1. When the reference pulse signal P0 rises at time t15 thereafter, the clock is input to the D flip-flop 61, the output signal Q61 rises, and the drive signal V2 rises via the OR circuit 60 and the first switching circuit 58. Therefore, the second high-side switch element 22 becomes the on state, and the second low-side switch element 24 becomes the off state. The power supply voltage Vcc is applied to the motor 3 in the negative direction, and the motor current IL increases in the negative direction.
[0130] At time t16, the second high-side switch element 22 is turned off, and the first high-side switch element 21 is turned on and turns to the fast decay state. At time t17, the first high-side switch element 21 is turned off and turns to the slow decay state. As described above, by switching the states of the first switching circuit 58 and the second switching circuit 59, the motor current IL smoothly reverses positive and negative.
[0131] As described above, according to the motor drive device 110 of the present embodiment, in the peak current control of detecting the motor current IL supplied from the input power supply 1 and following the target waveform value Vr / Rs in the positive direction and following the target waveform value -Vr / Rs in the negative direction, when the target current is exceeded during the minimum on-time period Tm, the target current waveform can be maintained even near zero crossing by setting a period in which the current is changed to a fast decay state before being reduced to the target current.
[0132] In addition, in order to simplify the control, fast decay can be used instead of slow decay in normal operation, but in fast decay, the ripple of the motor current increases. The increase in ripple current will lead to an increase in conduction loss and an increase in switching frequency noise accompanying the increase in the effective value of the current. Therefore, in the present disclosure, the fast decay state is set only for the correction of the minimum on period exceeding the current target value.
[0133] (Other Modifications)
[0134] As mentioned above, although this disclosure was described based on embodiment, this disclosure is not limited to the said embodiment.
[0135] For example, in each of the above-described embodiments, the high level and the low level of each signal may be inverted, and the circuit configuration may be changed according to each signal.
[0136] In addition, the present disclosure also includes various modifications that can be conceived by those skilled in the art to the embodiments, and embodiments that can be achieved by arbitrarily combining constituent elements and functions in the embodiments and modifications within the scope that does not depart from the gist of the present disclosure.
[0137] Industrial Applicability
[0138] The motor drive device of the present disclosure can be applied to motors for various purposes including vehicle-mounted use as a motor drive device capable of driving with low noise and low vibration, for example.
[0139] Description of Reference Numerals
[0140] 1 Input power
[0141] 3 Motor
[0142] 4Current detection resistor (current detection part)
[0143] 5. 5A PWM circuit
[0144] 6. The first PWM circuit
[0145] 7. Second PWM circuit
[0146] 8.57 current comparison circuit
[0147] 10, 110 motor drive device
[0148] 21 First high-side switching element
[0149] 22 Second high-side switching element
[0150] 23 First low-side switching element
[0151] 24 Second low-side switch element
[0152] 25, 26, 54, 64, 65, 69, 74, 75, 79 inverters
[0153] 31 First series switch circuit
[0154] 32 Second series switch circuit
[0155] 40 Amplifier
[0156] 41, 42, 44, 45 resistors
[0157] 43 Switch
[0158] 50 reference pulse generation circuit
[0159] 51, 51A reference waveform generation circuit
[0160] 52 first pulse output circuit
[0161] 53 Second pulse output circuit
[0162] 55 first comparison circuit
[0163] 56 Second comparison circuit
[0164] 58 first switching circuit
[0165] 59 second switching circuit
[0166] 60, 62, 66, 70, 72, 76OR circuit
[0167] 61, 63, 71, 73D flip-flops
[0168] 67, 77NAND circuit
[0169] 68, 78 delay circuit
Claims
1. A motor driving device for driving a motor, wherein: have: A first series switch circuit, comprising a first high-side switch element and a first low-side switch element; A second series switch circuit, comprising a second high-side switch element and a second low-side switch element, connected in parallel with the first series switch circuit; A reference pulse generating circuit generates a reference pulse signal having a pulse duration greater than zero at a prescribed period; a current detection unit that outputs a current signal corresponding to the current flowing through the motor, that is, the motor current; A reference waveform generating circuit, generating a reference waveform signal corresponding to a control target value of the motor current; A current comparison circuit compares the current signal with the reference waveform signal to generate a comparison signal; as well as A PWM circuit is input with the reference pulse signal, the reference waveform signal and the comparison signal, and outputs a first drive signal and a second drive signal. The PWM circuit is a pulse width modulation circuit. The motor is connected between a first connection point and a second connection point, the first connection point being a connection point between the first high-side switch element and the first low-side switch element, and the second connection point being a connection point between the second high-side switch element and the second low-side switch element, the first drive signal includes a first pulse, the first pulse starts synchronously with the start of the reference pulse signal and ends after the pulse duration has elapsed from the beginning of the reference pulse signal and when the absolute value of the current signal exceeds the absolute value of the reference waveform signal, The second drive signal includes a second pulse, which starts after the first pulse ends when the absolute value of the current signal exceeds the absolute value of the reference waveform signal during the pulse duration, and lasts at least until the absolute value of the current signal falls below the absolute value of the reference waveform signal. The PWM circuit, During a first period in which the motor current mainly flows from the first connection point to the second connection point, the first drive signal is output to the first series switch circuit, and the second drive signal is output to the second series switch circuit, During a second period in which the motor current mainly flows from the second connection point to the first connection point, the second drive signal is output to the first series switch circuit, and the first drive signal is output to the second series switch circuit.
2. The motor drive device according to claim 1, wherein: The reference waveform signal includes a first reference waveform signal and a second reference waveform signal, wherein the first reference waveform signal vibrates periodically in positive and negative directions with a reference amplitude, and the second reference waveform signal has an opposite phase to the first reference waveform signal and vibrates periodically in positive and negative directions with the reference amplitude. The comparison signal includes a first comparison signal and a second comparison signal, The current comparison circuit comprises: a first comparison circuit that compares the current signal with the first reference waveform signal and generates the first comparison signal; and a second comparison circuit that compares the current signal with the second reference waveform signal and generates the second comparison signal. The PWM circuit has: a first pulse output circuit, which inputs the reference pulse signal and outputs a first reference pulse signal including a pulse output during the first period; a second pulse output circuit, which inputs the reference pulse signal and outputs a second reference pulse signal including a pulse output during the second period; A first PWM circuit, based on the first comparison signal, the second comparison signal, the first reference pulse signal and the second reference pulse signal, outputs the first drive signal to the first series switch circuit during the first period and outputs the second drive signal during the second period; The second PWM circuit outputs the second drive signal to the second series switch circuit during the first period and outputs the first drive signal during the second period based on the first comparison signal, the second comparison signal, the first reference pulse signal and the second reference pulse signal.
3. The motor drive device according to claim 1, wherein: The reference waveform generating circuit generates a reference waveform signal having a signal level of 0 or more. The PWM circuit has: a first switching circuit, which outputs the first drive signal to the first series switch circuit during the first period, and outputs the first drive signal to the second series switch circuit during the second period; as well as a second switching circuit that outputs the second drive signal to the second series switch circuit during the first period and outputs the second drive signal to the first series switch circuit during the second period; The current comparison circuit equivalently compares the current signal with a signal obtained by inverting the reference waveform signal to a negative value when the second drive signal turns on the first high-side switching element or the second high-side switching element.
4. The motor drive device according to any one of claims 1 to 3, wherein: The reference waveform generation circuit outputs a polarity indication signal for controlling a direction of the motor current to the PWM circuit.
5. The motor drive device according to any one of claims 1 to 4, wherein: In the case where the absolute value of the current signal does not exceed the absolute value of the reference waveform signal within the pulse duration from the start of the reference pulse signal, the second drive signal does not include a pulse.
