Three-phase DC motor control circuit
The three-phase DC motor control circuit uses parasitic resistances and a calibrated external resistor to accurately detect motor currents, addressing cost and accuracy issues in existing systems.
Patent Information
- Application Number
- JP2021033886
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2021-03-03
- Publication Date
- 2024-10-16
- Estimated Expiration
- 2041-03-03
AI Technical Summary
Existing motor control systems face challenges in accurately detecting motor currents while maintaining cost-effectiveness, particularly in three-phase DC motor control circuits where methods like the 3-shunt method require additional external resistors, increasing costs.
A three-phase DC motor control circuit utilizing an external resistor and a current detection circuit that generates current detection values based on the voltage drop across parasitic resistances of the inverter's arms, calibrated using an external resistor with low temperature dependence, allowing for accurate current detection without additional components.
Accurately detects motor currents at a lower cost by leveraging parasitic resistances and a calibrated external resistor, reducing the need for extra components and minimizing temperature-dependent resistance fluctuations.
Smart Images

Figure 0007568547000001 
Figure 0007568547000002 
Figure 0007568547000003
Abstract
Description
[Technical field]
[0001] The present disclosure relates to a control circuit for a three-phase DC motor. [Background technology]
[0002] Known motor drive methods include square wave drive, sine wave drive, vector control, etc. In these drive methods, in order to accurately control the motor, it is necessary to accurately detect the current of each phase of the motor.
[0003] 1 and 2 are diagrams for explaining conventional current detection. Fig. 1 shows a detection method called the one-shunt method, in which one current detection resistor Rs is inserted below a three-phase inverter (bridge circuit) 6. A current detection circuit 4 detects the current that the bridge circuit 6 draws from a three-phase DC motor 2 based on the voltage drop across the one current detection resistor Rs. In the one-shunt method, the timing for detecting the currents of the U, V, and W phases is restricted.
[0004] Figure 2 shows a detection method called the three-shunt method, in which current detection resistors Rs U ~Rs W The current detection circuit 4 is made up of three current detection resistors Rs U ~Rs W Based on the voltage drop, the bridge circuit 6 detects the current drawn from the motor 2. The three-shunt method can simultaneously detect three-phase currents, but requires three external resistors, which increases the cost. [Prior art documents] [Patent documents]
[0005] [Patent Document 1] JP 2019-9875 A Summary of the Invention [Problem to be solved by the invention]
[0006] The present disclosure has been made in light of the above-mentioned circumstances, and one of the objectives of one aspect thereof is to provide a motor control circuit capable of detecting a current flowing through a motor accurately at low cost. [Means for solving the problem]
[0007] An embodiment of the present disclosure relates to a control circuit for a three-phase DC motor used together with an external resistor and a three-phase inverter. The control circuit includes a current detection circuit that generates a first current detection value indicating the amount of a first current flowing through a first phase of the three-phase inverter. The external resistor is an external component provided on a path through which the first current can flow, and the current detection circuit generates the first current detection value based on a voltage drop across a first resistor that is a resistance component of a wiring made of a material containing copper that is present on the path of the first current or an on-resistance of an arm of the first phase, and is configured to be able to calibrate the first current detection value based on the voltage drop across the first resistor using the current detection value based on the voltage drop across the external resistor as a reference.
[0008] Any combination of the above components, and mutual substitution of the components and expressions of the present disclosure between methods, devices, systems, etc. are also valid aspects of the present invention. Effect of the Invention
[0009] According to an aspect of the present disclosure, the current flowing through a motor can be detected accurately and at low cost. [Brief description of the drawings]
[0010] [Figure 1] FIG. 1 is a diagram illustrating conventional current detection. [Diagram 2] FIG. 2 is a diagram illustrating conventional current detection. [Diagram 3] FIG. 3 is a circuit diagram of the motor drive system. [Figure 4] FIG. 4 is a circuit diagram of the control circuit according to the first embodiment. [Diagram 5] FIG. 5 is a diagram showing the temperature characteristics of a PdCu wire. [Figure 6] FIG. 6 is a waveform diagram illustrating the calibration process according to the first embodiment. [Figure 7] FIG. 7 is a waveform diagram illustrating the calibration process according to the second embodiment. [Figure 8] FIG. 8 is a circuit diagram of a control circuit according to the third embodiment. [Figure 9] FIG. 9 is a circuit diagram of a control circuit according to the fourth embodiment. [Figure 10] FIG. 10 is a waveform diagram illustrating the calibration process in the control circuit of FIG. [Figure 11] FIG. 11 is a circuit diagram of a control circuit according to the fifth embodiment. [Figure 12] FIG. 12 is a circuit diagram of a control circuit according to the sixth embodiment. [Figure 13] FIG. 13 is a waveform diagram for explaining the calibration process in the control circuit of FIG. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0011] (Overview of the embodiment) A summary of some exemplary embodiments of the present disclosure will be described. This summary is intended to provide a simplified summary of some concepts of one or more embodiments in order to provide a basic understanding of the embodiments as a prelude to the detailed description that follows, and is not intended to limit the scope of the invention or disclosure. Furthermore, this summary is not intended to be a comprehensive overview of all possible embodiments, nor is it intended to limit essential components of the embodiments. For convenience, the term "one embodiment" may be used to refer to one embodiment (example or variant) or multiple embodiments (examples or variants) disclosed in this specification.
[0012] A control circuit for a three-phase DC motor according to one embodiment is used together with an external resistor. The control circuit includes a current detection circuit that generates a first current detection value indicating the amount of a first current flowing through a first phase of a three-phase inverter. The external resistor is an external component provided on a path through which the first current can flow, and the current detection circuit generates the first current detection value based on a voltage drop across a first resistor that is a resistance component of a wiring formed of a material containing copper that is present on the path of the first current or an on-resistance of an arm of the first phase, and is configured to be able to calibrate the first current detection value based on the voltage drop across the first resistor using the current detection value based on the voltage drop across the external resistor as a reference.
[0013] According to this configuration, both the sink current and the source current can be detected by using the series resistance (parasitic resistance) of the leads and wires connected to the output of the three-phase inverter or the on-resistance of the arms of the three-phase inverter as resistance for current detection. In addition, since the resistance components of the leads and wires are used instead of external resistors, costs can be reduced. On the other hand, the temperature dependency of the resistance values of the leads and wires cannot be ignored. Therefore, accuracy can be ensured by adding one external resistor with small temperature dependency and calibrating the current detection value based on the parasitic resistance by assuming that the current detection value based on the voltage drop of the external resistor is correct.
[0014] In one embodiment, the current detection circuit may generate a second current detection value based on a voltage drop across a second resistor, which is the on-resistance of the arm of the second phase or a resistance component of a wiring made of a material containing copper present on a path of a second current flowing through a second phase of the three-phase inverter, and may generate a third current detection value based on a voltage drop across a third resistor, which is the on-resistance of the arm of the third phase or a resistance component of a wiring made of a material containing copper present on a path of a third current flowing through a third phase of the three-phase inverter. With this configuration, the output currents of the three phases can be continuously detected.
[0015] In one embodiment, the first resistor is an on-resistance of each of the upper arm and the lower arm of the first phase of the three-phase inverter, the second resistor is an on-resistance of each of the upper arm and the lower arm of the second phase of the three-phase inverter, the third resistor is an on-resistance of each of the upper arm and the lower arm of the third phase of the three-phase inverter, and the external resistor may be inserted between the three-phase inverter and ground. By using the on-resistance of the upper arm and the lower arm, additional components and wiring are not required.
[0016] In one embodiment, the current detection circuit calibrates a first current detection value based on a voltage drop in the lower arm of the first phase with a current detection value based on a voltage drop in an external resistor as a reference during a period when only the first phase is a current sink phase, calibrates a second current detection value based on a voltage drop in the lower arm of the second phase with a current detection value based on a voltage drop in an external resistor as a reference during a period when only the second phase is a current sink phase, and calibrates a third current detection value based on a voltage drop in the lower arm of the third phase with a current detection value based on a voltage drop in an external resistor as a reference during a period when only the third phase is a current sink phase. during a period when only the first phase is a current source phase, a first current detection value based on the voltage drop of the upper arm of the first phase may be calibrated with a current detection value based on the voltage drop of an external resistor as a reference; during a period when only the second phase is a current source phase, a second current detection value based on the voltage drop of the upper arm of the second phase may be calibrated with a current detection value based on the voltage drop of an external resistor as a reference; and during a period when only the third phase is a current source phase, a third current detection value based on the voltage drop of the upper arm of the third phase may be calibrated with a current detection value based on the voltage drop of an external resistor as a reference.
[0017] In one embodiment, the first resistor is a resistance component of a wiring made of a material containing copper that is provided between a first phase output of the three-phase inverter and the three-phase DC motor, the second resistor is a resistance component of a wiring made of a material containing copper that is provided between a second phase output of the three-phase inverter and the three-phase DC motor, the third resistor is a resistance component of a wiring made of a material containing copper that is provided between the second phase output of the three-phase inverter and the three-phase DC motor, the external resistor is inserted in series with the first resistor between the first phase output of the three-phase inverter and the three-phase DC motor, and the current detection circuit may calibrate the second and third current detection values based on the relationship between the current detection value based on the voltage drop of the external resistor and the voltage drop of the first resistor. Since the second and third resistors have the same temperature dependency as the first resistor, information for calibration obtained for the first current detection value can be used to calibrate the second and third current detection values, thereby making it possible to accurately detect the output current of the three phases. Also, as long as the first current is non-zero, measurement for calibration is possible at any time, which has the advantage that there are fewer constraints on the timing of calibration.
[0018] In one embodiment, the first resistor is a resistance component of a wiring made of a material containing copper that is provided between a first phase output of the three-phase inverter and the three-phase DC motor, the second resistor is a resistance component of a wiring made of a material containing copper that is provided between a second phase output of the three-phase inverter and the three-phase DC motor, and the third resistor is a resistance component of a wiring made of a material containing copper that is provided between the second phase output of the three-phase inverter and the three-phase DC motor, and the external resistor may be inserted in series with the first resistor between the first phase output of the three-phase inverter and the three-phase DC motor. The current detection circuit may calibrate the third current detection value based on the relationship between the current detection value based on the voltage drop of the external resistor and the voltage drop of the third resistor when the second current is zero, and may calibrate the second current detection value based on the relationship between the current detection value based on the voltage drop of the external resistor and the voltage drop of the second resistor when the third current is zero. When the third current is zero, the second current and the first current are equal, so that the second current detection value can be calibrated. Furthermore, when the second current is zero, the third current is equal to the first current, making it possible to calibrate the detected third current value.
[0019] In one embodiment, the first resistor is a resistance component of a wiring made of a material containing copper and arranged between a first phase output of the three-phase inverter and the three-phase DC motor, the external resistor is inserted between a second phase output of the three-phase inverter and the three-phase DC motor, and the current detection circuit may calibrate the first current detection value based on the relationship between the current detection value based on the voltage drop across the external resistor and the voltage drop across the first resistor when a third current flowing through the third phase output is zero.
[0020] In one embodiment, the current detection circuit may obtain a current detection value based on a voltage drop across an external resistor as a second current detection value indicating a second current flowing through a second phase output, and obtain a third current detection value indicating a third current based on a composite value of the first and second current detection values. By utilizing the relationship in which the sum of the output currents of the three phases is zero, it becomes possible to detect the three-phase currents using one external resistor and one parasitic resistor.
[0021] In one embodiment, the first resistor is a resistance component of a wiring formed of a material containing copper and provided between a first phase output of the three-phase inverter and the three-phase DC motor, the second resistor is a resistance component of a wiring formed of a material containing copper and provided between a second phase output of the three-phase inverter and the three-phase DC motor, the third resistor is a resistance component of a wiring formed of a material containing copper and provided between the second phase output of the three-phase inverter and the three-phase DC motor, and the external resistor may be inserted between the three-phase inverter and ground.
[0022] In one embodiment, the current sense circuit may calibrate the first current sense value during a period when only a first phase output of the three-phase inverter is a current sink phase.
[0023] In one embodiment, the current detection circuit may be capable of generating a second current detection value based on a voltage drop across a second resistor, which is a resistance component of a wiring made of a material containing copper and arranged between a second phase output of the three-phase inverter and the three-phase DC motor, and may be capable of generating a third current detection value based on a voltage drop across a third resistor, which is a resistance component of a wiring made of a material containing copper and arranged between a third phase output of the three-phase inverter and the three-phase DC motor.
[0024] In one embodiment, the current detection circuit may calibrate a first current detection value during a period when only a first phase output of the three-phase inverter is in a current sink phase, calibrate a second current detection value during a period when only a second phase output of the three-phase inverter is in a current sink phase, and calibrate a third current detection value during a period when only a third phase output of the three-phase inverter is in a current sink phase.
[0025] In one embodiment, a magnetic detection type current sensor may be provided instead of the external resistor. The current detection circuit may be configured to calibrate a first current detection value based on a voltage drop across the first resistor with respect to a current detection value based on an output from the current sensor.
[0026] In one embodiment, the control circuit may be monolithically integrated on a single semiconductor substrate. "Monolithic integration" includes cases where all of the circuit components are formed on a semiconductor substrate, and cases where the main components of the circuit are monolithically integrated, and some resistors and capacitors for adjusting the circuit constants may be provided outside the semiconductor substrate. By integrating the circuit on a single chip, the circuit area can be reduced and the characteristics of the circuit elements can be kept uniform.
[0027] (Embodiment) Preferred embodiments will be described below with reference to the drawings. The same or equivalent components, parts, and processes shown in each drawing are given the same reference numerals, and duplicated descriptions will be omitted as appropriate. In addition, the embodiments are illustrative and do not limit the invention, and all features and combinations thereof described in the embodiments are not necessarily essential to the invention.
[0028] In this specification, "a state in which component A is connected to component B" includes not only a case in which component A and component B are directly physically connected to each other, but also a case in which component A and component B are indirectly connected to each other via other components that do not substantially affect the electrical connection state between them or that do not impair the function or effect achieved by their combination.
[0029] Similarly, "a state in which component C is provided between components A and B" includes not only the case in which components A and C, or components B and C, are directly connected to each other, but also the case in which they are indirectly connected to each other via other components that do not substantially affect the electrical connection between them or that do not impair the functions or effects achieved by their combination.
[0030] 3 is a circuit diagram of a motor drive system 100. The system 100 includes a brushless three-phase DC motor (hereinafter simply referred to as a DC motor) 102 and a drive circuit 200.
[0031] The DC motor 102 has a U-phase coil L U , V-phase coil L V , W-phase coil L W The drive circuit 200 includes a coil L of the DC motor 102. U ~L W The drive signal V U ~V W The DC motor 102 is driven in response to the
[0032] The drive circuit 200 includes a controller 210, a pre-driver 220, a three-phase inverter 230, and a current detection circuit 240.
[0033] The three-phase inverter 230 is a three-phase bridge circuit having a U-phase leg, a V-phase leg, and a W-phase leg. The #-phase (#=U, V, W) leg is an upper arm Q #-H and lower arm Q #-LEach of the upper arm and the lower arm includes a switching element such as a MOSFET (Metal Oxide Semiconductor Field Effect Transistor), an IGBT, or a bipolar transistor, and a freewheeling diode (also called a flywheel diode) connected in parallel with the switching element. When a MOSFET is used as the switching element as in FIG. 1, its body diode (not shown) serves as the freewheeling diode.
[0034] The current detection circuit 240 detects the U-phase coil L of the DC motor 102. U , V-phase coil L V , W-phase coil L W Current I U ,I V ,I W and generates a current detection value indicative of each current.
[0035] The controller 210 controls the three-phase inverter 230 connected to the DC motor 102 based on the current detection value generated by the current detection circuit 240. For example, the controller 210 generates a control signal Sctrl for the DC motor 102 by vector control.
[0036] The pre-driver 220 controls the upper arm Q of the three-phase inverter 230 based on a control signal Sctrl generated by the controller 210. U-H ,Q V-H ,Q W-H and lower arm Q U-L ,Q V-L ,Q W-L Drives.
[0037] The above is the overall configuration of the drive circuit 200. Next, current detection by the current detection circuit 240 will be described in detail based on several examples.
[0038] Example 1 4 is a circuit diagram of the control circuit 300A according to the first embodiment. The package of the control circuit 300A includes a semiconductor chip (die) 302 and a plurality of pins (terminals) T. The type of package is not particularly limited, and may be a QFN package (Quad Flat No leaded package), a QFP package (Quad Flat Package), a SON package (Small Outline Non-leaded package), a SIP (Single Inline Package), a DIP (Dual Inline Package), a ZIP (Zigzag Inline Package), a SOP (Small Outline Package), a SOJ (Small Outline J-leaded), or the like having a lead frame, or may be a BGA (Ball Grid Array) package, a PGA (Pin Grid Array) package, or an LGA (Land Grid Array) package.
[0039] The terminals T may be external electrode pads, lead electrodes, or bumps, and may take a form according to the type of package. The pads (or electrodes) P of the semiconductor chip 302 and the terminals T are connected inside the package via connection means (interconnects) such as bonding wires. The type of interconnect varies depending on the type of package, and in the case of a flip chip, the interconnects may be solder balls or copper pillars (posts).
[0040] In this example, the controller 210, the pre-driver 220, and the current detection circuit 240 are integrated into a single semiconductor chip 302, and the three-phase inverter 230 is configured from external discrete components, a power module, or an IPM (Intelligent Power Module).
[0041] All of the components of the drive circuit 200 may be housed in the package of the control circuit 300A. In this case, the manner of integration of each component is not particularly limited, and each component may be divided and configured on a plurality of semiconductor chips. For example, the controller 210 and the current detection circuit 240 that handle small signals may be integrated on a first chip (first die), and the pre-driver 220 and the three-phase inverter 230 that handle large signals may be integrated on a separate second chip (second die). The pre-driver 220 may be provided on the first chip on the small signal side.
[0042] The three-phase inverter 230 has a first-phase output (U-phase output) OUT1, a second-phase output (V-phase output) OUT2, and a third-phase output (W-phase output) OUT3. Note that the correspondence between the first to third phases and the U to W phases is merely an example, and the V phase may be the first phase, or the W phase may be the first phase. The three-phase outputs OUT1 to OUT3 of the three-phase inverter 230 are connected to the three-phase coils LOUT1 to LOUT3 of the DC motor 102 via output wirings LOUT1 to LOUT3. U ,L V , L W and is connected.
[0043] The currents flowing through the output wirings LOUT1 to LOUT3 are referred to as a first current I1 (U-phase current Iu), a second current I2 (V-phase current Iw), and a third current I3 (W-phase current Iw).
[0044] The current detection circuit 240 generates a first current detection value Dcs1 indicating the first current I1 based on the voltage drop across the first resistor Rs1. Similarly, the current detection circuit 240 generates a second current detection value Dcs2 indicating the second current I2 and a third current detection value Dcs3 indicating the third current I3 based on the voltage drops across the second resistor Rs2 and the third resistor Rs3.
[0045] The first resistor Rs1 to the third resistor Rs3 do not mean that actual resistance elements exist, but are series resistance components (parasitic resistances) included in the output wirings LOUT1 to LOUT3, respectively.
[0046] In this embodiment, in order to generate a resistance component that can be used for current detection, a part of the output wiring LOUT1 is drawn into the control circuit 300A. Specifically, the output wiring LOUT1 is drawn from the input terminal Ti into the control circuit 300A, and is drawn from the output terminal To via internal wiring (which may include leads, bonding wires, and posts), and is connected to the DC motor 102.
[0047] In this embodiment, the first resistor Rs1 is an interconnect that connects the input terminal Ti1 and the output terminal To1 inside the package, specifically a lead, wire, post, etc., and is a series resistance component (parasitic resistance) of wiring formed of a material containing copper (Cu). For example, in a package that uses a wire, the resistance component of the wire is dominant in the first resistor Rs1. The same is true for the second resistor Rs2 and the third resistor Rs3.
[0048] The semiconductor chip 302 has pads Pi1 to Pi3 connected to input terminals Ti1 to Ti3, and pads Po1 to Po3 connected to output terminals To1 to To3. A voltage drop Vcs1 occurs across a first resistor Rs1 between the pads Pi1 and Po1, a voltage drop Vcs2 occurs across a second resistor Rs2 between the pads Pi2 and Po2, and a voltage drop Vcs3 occurs across a third resistor Rs3 between the pads Pi3 and Po3.
[0049] The current detection circuit 240 detects a first current I1 (U-phase current I U Similarly, a second current I2 (V-phase current I V Similarly, a second current detection value Dcs2 indicating a third current I3 (W-phase current I w ) to generate a third current detection value Dcs3 indicating the
[0050] Since the first resistor Rs1 is a wire or a lead frame whose main material is copper (Cu), its resistance value is highly dependent on temperature. FIG. 5 is a diagram showing the temperature characteristics of a PdCu wire. The horizontal axis indicates the current passing through the DC motor 102, and the vertical axis indicates the resistance value and temperature of the wire. When the current passing through is increased, the temperature of the wire rises, and the resistance value of the wire also increases accordingly. On the other hand, even if the current passing through is increased, the temperature of the semiconductor chip 302 does not rise so much. Therefore, it should be noted that the temperature of the wire cannot be known even if the temperature of the semiconductor chip 302 is monitored.
[0051] Returning to FIG. 4, the external resistor Rs0 is provided outside the control circuit 300A and on a path through which the first current I1 can flow. In the first embodiment, specifically, the external resistor Rs0 is inserted in series with the first resistor Rs1 between the first output terminal To1 and the DC motor 102. The external resistor Rs0 is a resistive component such as a chip resistor, and its resistance value has sufficiently small temperature dependency. The external resistor Rs0 may be provided between the first phase output OUT1 and the first input terminal Ti1 of the three-phase inverter 230.
[0052] One end of an external resistor Rs0 is connected to a terminal Trext of the control circuit 300A. A pad Prext and the terminal Trext of the semiconductor chip 302 are connected via an interconnect such as a wire. A voltage drop Vcs0 across the external resistor Rs0 occurs between the pad Po1 and Prext.
[0053] The current detection circuit 240 is configured to be able to calibrate the first current detection value Dcs1 based on the voltage drop Vcs1 across the first resistor Rs1 with reference to the current detection value Dcs0 based on the voltage drop Vcs0 across the external resistor Rs0.
[0054] The current detection circuit 240 includes a multiplexer 242, an A / D converter 244, and a calibration processing unit 246. The multiplexer 242 selects one of a plurality of resistors Rs1 to Rs3, Rs0, and connects it to the A / D converter 244. The A / D converter 244 converts the voltage across the selected resistor Rs# (#=0 to 3) into a digital detection value Dcs#. The A / D converter 244 may include an amplifier that amplifies minute voltage drops Vcs0 to Vcs3 as necessary. The A / D converter 244 may be provided for each resistor, in which case the multiplexer 242 can be omitted.
[0055] The calibration processing unit 246 calibrates the first current detection value Dcs1 based on the voltage drop Vcs1 across the first resistor Rs1 with reference to the current detection value Dcs0 based on the voltage drop Vcs0 across the external resistor Rs0.
[0056] In a system that drives the DC motor 102 by vector control, the controller 210 is often implemented as a combination of a processor and a software program. In this case, the function of the calibration processing unit 246 can be implemented using the same processor as the controller 210.
[0057] The calibration process by the calibration processing unit 246 will be described. The same first current I1 flows through the external resistor Rs0 and the first resistor Rs1. The voltage drop Vcs0 across the external resistor Rs0 is Rs0×I1, and the voltage drop Vcs1 across the first resistor Rs1 is Rs1×I1.
[0058] The calibration processing unit 246 assumes that the current detection value Dcs0 based on the voltage drop Vcs0 = Rs0 × I1 across the external resistor Rs0 is a true value, and calibrates the current detection value Dcs1 based on the voltage drop Vcs1 = Rs1 × I1 across the first resistor Rs1 using the current detection value Dcs0 as a reference.
[0059] The calibration processing unit 246 periodically acquires a current detection value Dcs0 based on a voltage drop Vcs0=Rs0×I1 across the external resistor Rs0, and calculates a ratio between the current detection value Dcs0 and a first current detection value Dcs1 based on a voltage drop Vcs1=Rs1×I1 across the first resistor Rs1 measured at a nearby time. α1=Dcs0 / Dcs1=Rs0 / Rs1 … (1)
[0060] The calibration processing unit 246 holds this ratio α1 as a correction coefficient. Then, the first current detection value Dcs1 generated thereafter is corrected using the correction coefficient α1. The corrected first current detection value Dcs1′ is Dcs1' = Dcs1 × α1 … (2) It becomes.
[0061] By substituting equation (1) into equation (2), the corrected first current detection value Dcs1′ is given by Dcs1'=(I1×Rs1)×(Rs0 / Rs1)=I1×Rs0 …(3) This eliminates the effect of fluctuations in the resistance value of the first resistor Rs1.
[0062] If it is assumed that the first resistor Rs1 to the third resistor Rs3 are made of the same material, have the same temperature dependency, and have the same temperature, the correction coefficient α1 obtained for the first resistor Rs1 can be used as the correction coefficients α2 and α3 for the second and third current detection values Dcs2 and Dcs3. The corrected detection values Dcs2' and Dcs3' are Dcs2' = Dcs2 × α2 = Dcs2 × α1 Dcs3' = Dcs3 × α3 = Dcs3 × α1 That is, the current detection circuit 240 calibrates the second current detection value Dcs2 and the third current detection value Dcs3 based on the relationship between the current detection value Dcs0 based on the voltage drop Vcs0 across the external resistor Rs0 and the voltage drop Vcs1 across the first resistor Rs1.
[0063] FIG. 6 is a waveform diagram illustrating the calibration process according to the first embodiment. In FIG. U), the resistance value of the first resistor Rs1, the resistance value of the external resistor Rs0, the voltage drop Vcs1 across the first resistor Rs1, and the voltage drop Vcs0 across the external resistor Rs0 are shown. In the case of PWM control, the voltage drops Vcs0 and Vcs1 may be sampled at the timing when the coil current reaches its peak (or bottom or center) to obtain the current detection values Dcs0 and Dcs1. In the case where the current detection circuit 240 has two or more A / D converters 244, the two voltage drops Vcs0 and Vcs1 may be sampled at the same time t0 to obtain the ratio between them.
[0064] When the current detection circuit 240 has one A / D converter 244, one of the two voltage drops Vcs0 and Vcs1 (for example, Vcs0) may be sampled at time t0, and the other (for example, Vcs1) may be sampled at time t1.
[0065] Upon completing acquisition of the two current detection values Dcs0 and Dcs1, the calibration processing unit 246 calculates a correction coefficient α1 according to the ratio between them.
[0066] Then, when the correction coefficient α1 is obtained, the subsequent sampling timing t s A corrected current detection value Dcs1' can be obtained by multiplying the current detection value Dcs1 obtained for each period by a correction coefficient α1.
[0067] The above is the calibration process according to the first embodiment. This calibration process makes it possible to obtain a current detection value Dcs1' that is not affected by fluctuations in the resistance value of the first resistor Rs1. Furthermore, by multiplying the second current detection value Dcs2 and the third current detection value Dcs3 by the same correction coefficient α1, it is possible to obtain a current detection value Dcs2' that is not affected by fluctuations in the resistance value of the second resistor Rs2 and a current detection value Dcs3' that is not affected by fluctuations in the resistance value of the third resistor Rs3.
[0068] The first embodiment is effective when the first resistor Rs1 to the third resistor Rs3 can be considered to be at the same temperature, for example, in a package in which the three terminals To1 to To3 in FIG. 3 are adjacent to each other.
[0069] The current detection circuit 240 may update the correction coefficient α1 every time the drive conditions of the DC motor 102 are changed. The change in the drive conditions may be a change in the energizing current or a change in the energizing method. Alternatively, the current detection circuit 240 may update the correction coefficient α1 periodically.
[0070] Example 2 FIG. 7 is a waveform diagram for explaining the calibration process according to the second embodiment. FIG. 6 shows the three-phase output current I U ~I W is shown.
[0071] 2nd current I V At the times when is zero (electrical angle 120 degrees and 300 degrees), the first current I U and the third current I W Since the amounts of the currents flowing through the external resistor Rs0 and the third resistor Rs3 are equal, the same amount of current flows through the external resistor Rs0 and the third resistor Rs3. Therefore, the voltage drop Vcs3 across the third resistor Rs3 and the voltage drop Vcs0 across the external resistor Rs0 are sampled during a time period when it can be considered that the same amount of current is flowing or during a time period very adjacent thereto, and the correction coefficient α3 can be calculated based on the relationship between the two current detection values Dcs3 and Dcs0. α3=Dcs0 / Dcs3=Rs0 / Rs3 …(4)
[0072] Similarly, the third current I W At the time when is zero (electrical angle 60 degrees, 240 degrees), the first current I U and the second current I V Since the amounts of the currents are equal, the same amount of current flows through the external resistor Rs0 and the second resistor Rs2. Therefore, during time t2 or a time interval very adjacent thereto, when it can be considered that the same amount of current flows, the voltage drop Vcs2 across the second resistor Rs2 and the voltage drop Vcs0 across the external resistor Rs0 are sampled, and the correction coefficient α2 can be calculated based on the relationship between the two current detection values Dcs2 and Dcs0. α2=Dcs0 / Dcs2=Rs0 / Rs2 …(5)
[0073] Since the same amount of current always flows through the first resistor Rs1 and the external resistor Rs0, there is no particular restriction on the time at which the two current detection values Dcs1 and Dcs0 are acquired to calculate the correction coefficient α1.
[0074] The second embodiment is effective when the first resistor Rs1 to the third resistor Rs3 may have different temperatures, for example, in a package in which the three terminals To1 to To3 in FIG.
[0075] Example 3 FIG. 8 is a circuit diagram of a control circuit 300B according to a third embodiment. In the third embodiment, the U phase is the second phase, the V phase is the first phase, and the W phase is the third phase. The external resistor Rs0 is inserted between the second output terminal TO2 and the DC motor 102. The current detection circuit 240 is configured to be able to detect the voltage drop Vcs1 of the first resistor Rs1 and the voltage drop Vcs0 of the external resistor Rs0. The second resistor Rs2 and the third resistor Rs3 are parasitic resistances of the wires and the lead frame, and are not zero, but are not used for current detection in this embodiment. For example, when the resistance component of the wires is used as the first resistor Rs1, the wires of the terminals Ti2 and To2 and the wires of the terminals Ti3 and To3 may be shorter than the wires of the terminals Ti1 and To1. Alternatively, only the first output wiring LOUT1 may be drawn into the package, and the second output wiring LOUT2 and the third output wiring LOUT3 may not be drawn.
[0076] The current detection circuit 240 samples the voltage drop Vcs1 across the first resistor Rs1 and detects the first phase output current I1 (I V ) to generate a first current detection value Dcs1 indicating the
[0077] Further, the current detection circuit 240 samples the voltage drop Vcs0 across the external resistor Rs0, and generates a current detection value Dcs0.
[0078] The current detection circuit 240 calibrates the first current detection value Dcs1 with reference to the current detection value Dcs0, and outputs the calibrated first current detection value Dcs1'.
[0079] The calibration process in the third embodiment will be described. The current detection circuit 240 detects the third current I3 (I W When the first resistor Rcs1 is in the zero-level, the first current detection value Dcs1 is calibrated based on the relationship between the current detection value Dcs2 based on the voltage drop Vcs0 across the external resistor Rs0 and the voltage drop Vcs1 across the first resistor Rcs1.
[0080] At the time when the third current I3 is zero, the first current I1 and the second current I2 are equal in amount, so the same amount of current flows through the external resistor Rs0 and the first resistor Rs1. Therefore, during the time when it can be considered that the same amount of current flows or during a time period very close to that time, the voltage drop Vcs1 across the first resistor Rs1 and the voltage drop Vcs0 across the external resistor Rs0 are sampled, and the correction coefficient α1 can be calculated based on the relationship between the two current detection values Dcs1 and Dcs2. α1=Dcs2 / Dcs1=Rs0 / Rs1 …(4)
[0081] The calibration processing unit 246 holds this ratio α1 as a correction coefficient. Then, the first current detection value Dcs1 generated thereafter is corrected using the correction coefficient α1. The corrected first current detection value Dcs1′ is Dcs1' = Dcs1 × α1 … (2) It becomes.
[0082] The current detection circuit 240 outputs the current detection value Dcs0 based on the external resistance Rs0 as a second current detection value Dcs2 indicating the second current I2. Dcs2=Dcs0
[0083] Furthermore, the current detection circuit 240 generates a third current detection value Dcs3 based on the first current detection value Dcs1' and the second current detection value Dcs2 (=Dcs0). Dcs3=-Dcs1'-Dcs2
[0084] According to the third embodiment, the currents of all three phases can be detected by using one internal resistor Rs1 and one external resistor Rs0.
[0085] Example 4 9 is a circuit diagram of a control circuit 300C according to a fourth embodiment. The current detection terminal TCS is connected to a low-potential node of the three-phase inverter 230. The external resistor Rs0 is a shunt resistor inserted between the current detection terminal TCS and an external ground. The ground terminal TGND is grounded.
[0086] Similar to the first embodiment, the current detection circuit 240 detects the first current I1 (U-phase current I U Similarly, a second current I2 (V-phase current I V Similarly, a second current detection value Dcs2 indicating a third current I3 (W-phase current I w ) to generate a third current detection value Dcs3 indicating the
[0087] The current detection circuit 240 calibrates the first current detection value Dcs1 during a period or timing when only the first phase output of the three-phase inverter is a current sink phase.
[0088] During a period when only the first phase output OUT1 of the three-phase inverter 230 is in a sink phase that sinks current and the second phase output OUT2 and the third phase output OUT3 are in a source phase that source current, the current I1 that the first phase output OUT1 sinks flows to the external resistor Rs0 via the resistor Rs1. In other words, the same current flows through the two resistors Rs1 and Rs0. Therefore, during a period or timing when only the first phase output OUT1 is in a current sink phase, the current detection circuit 240 obtains the first current detection value Dcs1 and the current detection value Dcs0, and obtains a correction coefficient α1 based on the ratio of the two. α1=Dcs0 / Dcs1 After the correction coefficient α1 is acquired, the first current detection value Dcs1 is corrected using the correction coefficient α1. Dcs1' = Dcs1 × α1
[0089] Similarly, during a period or timing when only the second phase output OUT2 of the three-phase inverter 230 is in the sink phase in which it sinks current, the current I2 sunk by the second phase output OUT2 flows to the external resistor Rs0 via the resistor Rs2. In other words, the same current flows through the two resistors Rs2 and Rs0. Therefore, during a period or timing when only the second phase output OUT2 is in the current sink phase, the current detection circuit 240 obtains the second current detection value Dcs2 and the current detection value Dcs0, and obtains a correction coefficient α2 based on the ratio between the two. α2=Dcs0 / Dcs2 After that, the second current detection value Dcs2 is corrected using the correction coefficient α2. Dcs2' = Dcs2 × α2
[0090] Similarly, during a period or timing when only the third-phase output OUT3 of the three-phase inverter 230 is in a sink phase in which it sinks current, the current I3 sunk by the third-phase output OUT3 flows to the external resistor Rs0 via the resistor Rs3. In other words, the same current flows through the two resistors Rs3 and Rs0. Therefore, during a period or timing when only the third-phase output OUT3 is in a current sink phase, the current detection circuit 240 obtains the third current detection value Dcs3 and the current detection value Dcs0, and obtains a correction coefficient α3 based on the ratio between the two. α3=Dcs0 / Dcs3 After that, the third current detection value Dcs3 is corrected using the correction coefficient α3. Dcs3' = Dcs3 × α3
[0091] Fig. 10 is a waveform diagram for explaining the calibration process in the control circuit 300C of Fig. 9. The horizontal axis represents time, which is expressed in electrical angle. In the period from 0° to 60°, only the W-phase current is negative, that is, only the W-phase output is a current sink phase. Therefore, during the period from 0° to 60°, information (correction coefficient α3) for correcting the third current detection value Dcs3 can be obtained.
[0092] During the period from 120° to 180°, only the V-phase current is negative, that is, only the V-phase output is a current sink phase. Therefore, during the period from 120° to 180°, information for correcting the second current detection value Dcs2 (correction coefficient α2) can be obtained.
[0093] During the period from 240° to 300°, only the U-phase current is negative, that is, only the U-phase output is a current sink phase. Therefore, during the period from 240° to 300°, information for correcting the first current detection value Dcs1 (correction coefficient α1) can be obtained.
[0094] For example, the current detection circuit 240 may obtain information for correction at the timing when any of the currents becomes zero, such as at 60°, 120°, 180°, 240°, and 300°.
[0095] According to the fourth embodiment, the same effects as those of the first to third embodiments can be obtained.
[0096] Example 5 11 is a circuit diagram of a control circuit 300F according to a fifth embodiment. The fifth embodiment is a modification of the fourth embodiment, in which the three-phase inverter 230, which is external in the fourth embodiment, is integrated in a semiconductor chip 302.
[0097] The outputs OUT1 to OUT3 of the three-phase inverter 230 are connected to the output pads Po1 to Po3 of the semiconductor chip 302. The output pads Po1 to Po3 are connected to the output terminals To1 to To3 via interconnects such as wires. In the fifth embodiment, direct resistance components of the interconnects are used as the first resistor Rs1 to the third resistor Rs3.
[0098] Pads Ps1 to Ps3 of the semiconductor chip 302 are connected to output terminals To1 to To3. A voltage drop Vs1 across a first resistor Rs1 occurs between the pads Ps1 and Po1, a voltage drop Vs2 across a second resistor Rs2 occurs between the pads Ps2 and Po2, and a voltage drop Vs3 across a third resistor Rs3 occurs between the pads Ps3 and Po3.
[0099] The ground terminal Tgnd of the control circuit 300F is grounded, and the current detection terminal Tcs is grounded via an external resistor Rs0. The pad Pgnd of the semiconductor chip 302 is connected to the terminal Tgnd. A voltage drop Vcs0 occurs across the external resistor Rs0 between the pads Pcs and Pgnd.
[0100] The voltage drops Vcs0 to Vcs3 are input to the current detection circuit 240. The current detection circuit 240 generates the current detection values Dcs1 to Dcs3 and corrects them in the same manner as in the fourth embodiment. According to the fifth embodiment, the same effects as in the fourth embodiment can be obtained.
[0101] Example 6 12 is a circuit diagram of a control circuit 300D according to a sixth embodiment. In the first to fifth embodiments, the series resistance component of the wiring made of a material containing Cu is used to detect the current. In the sixth embodiment, the on-resistance of the arms of the three-phase inverter 230 is used as the first resistor Rs1 instead of the series resistance component of the wiring. Similarly, the on-resistance of the arms of the three-phase inverter 230 is used as the second resistor Rs2 and the third resistor Rs3.
[0102] When an arm is on, a voltage drop proportional to the product of the on-resistance and the current occurs in that arm.
[0103] Specifically, the upper arm Q of the first phase (U phase) U-H and lower arm Q U-L The on-resistance of the first resistor Rs1 is the upper arm Q V-H and lower arm Q V-L The on-resistance of the second resistor Rs2 is the upper arm Q of the third phase (W phase). W-H and lower arm Q W-L The on-resistance of this becomes the third resistor Rs3.
[0104] The control circuit 300D is configured to be able to detect the voltage across each arm. Terminals Ts1 to Ts3 of the control circuit 300D are connected to outputs OUT1 to OUT3 of the three-phase inverter 230. A terminal Tvcc is connected to a power supply terminal of the three-phase inverter 230. A terminal Tcs is connected to an external resistor Rs0, and a ground terminal Tgnd is grounded.
[0105] The pads Pvcc, Pcs, Pgnd, and Ps1 to Ps3 of the semiconductor chip 302 are connected to the terminals Tvcc, Tcs, Tgnd, and Ts1 to Ts3, respectively.
[0106] When #=1 to 3, the upper arm Q of the # phase is connected between the pad Ps# and the pad Pvcc. #-H Voltage drop V #-H The lower arm Q of the #th phase is connected between the pads Ps# and Pcs. #-L Voltage drop V #-L In addition, a voltage drop Vcs0 occurs between the pads Pcs and Pgnd due to the external resistance Rs0.
[0107] The current detection circuit 240 generates current detection values Dcs1 to Dcs3 indicating the first current I1 to third current I3 flowing in the first to third phases based on the voltage drop in each arm.
[0108] Specifically, when the first phase (U phase) is the source phase, the upper arm Q U-H Voltage drop V U-H Based on this, a current detection value Dcs1 indicating the first current I1 is H is generated, and when the first phase (U phase) is in current sink mode, the lower arm Q U-L Voltage drop V U-L Based on this, a current detection value Dcs1 indicating the first current I1 is L is generated.
[0109] Similarly, when the second phase (V phase) is the source phase, the upper arm Q of the second phase V-H Voltage drop V V-H Based on this, the current detection value Dcs2 indicating the second current I2 is His generated, and when the second phase (U phase) is in current sink mode, the lower arm Q V-L Voltage drop V V-L Based on this, the current detection value Dcs2 indicating the second current I2 is L is generated.
[0110] Similarly, when the third phase (W phase) is the source phase, the upper arm Q of the third phase W-H Voltage drop V W-H Based on this, the current detection value Dcs3 indicating the third current I3 is H is generated, and when the third phase (W phase) is in current sink mode, the lower arm Q W-L Voltage drop V W-L Based on this, the current detection value Dcs3 indicating the third current I2 is L is generated.
[0111] The current detection circuit 240 acquires information necessary to correct the current detection values Dcs1 to Dcs3 based on the voltage drop Vcs0 of the external resistor Rs0. This calibration can be performed in the same manner as in the fourth embodiment, which uses a combination of the series resistance component of the Cu wiring and a shunt resistor. H and the current detection value Dcs# based on the lower arm L For each, a different correction factor is generated.
[0112] For example, the current detection circuit 240 detects the current of the upper arm Q of the first phase during a period when only the first phase (U phase) output OUT1 of the three-phase inverter 230 is a current source phase (I1>0, I2≦0, I3≦0). U-H Voltage drop V U-H Current detection value Dcs1 based on H Information required for correction (correction coefficient α1 H ) to get the
[0113] α1 H =Dcs0 / Dcs1 H
[0114] In addition, the current detection circuit 240 detects the current of the lower arm Q of the first phase during a period when only the first phase (U phase) output OUT1 of the three-phase inverter 230 is a current sink phase (I1<0, I2≧0, I3≧0). U-L Voltage drop V U-L Current detection value Dcs1 based on L Information required for correction (correction coefficient α1 L ) to get the α1 L =Dcs0 / Dcs1 L
[0115] In addition, the current detection circuit 240 detects the current of the upper arm Q of the second phase during a period when only the second phase (V phase) output OUT2 of the three-phase inverter 230 is a current source phase (I2>0, I1≦0, I3≦0). V-H Voltage drop V V-H Current detection value Dcs2 based on H Information required for correction (correction coefficient α2 H ) to get the α2 H =Dcs0 / Dcs2 H
[0116] In addition, the current detection circuit 240 detects the current of the lower arm Q of the second phase during a period when only the second phase (V phase) output OUT2 of the three-phase inverter 230 is a current sink phase (I2<0, I1≧0, I3≧0). V-L Voltage drop V V-L Current detection value Dcs2 based on L Information required for correction (correction coefficient α2 L ) to get the α2 L =Dcs0 / Dcs2 L
[0117] In addition, the current detection circuit 240 detects the current of the upper arm Q of the third phase during a period when only the third phase (W phase) output OUT3 of the three-phase inverter 230 is a current source phase (I3>0, I1≦0, I2≦0). W-H Voltage drop V W-H Current detection value Dcs3 based on H Information required for correction (correction coefficient α3 H ) to get the Alpha 3 H=Dcs0 / Dcs3 H
[0118] In addition, the current detection circuit 240 detects the current of the lower arm Q of the third phase during a period when only the third phase (W phase) output OUT3 of the three-phase inverter 230 is a current sink phase (I3<0, I1≧0, I2≧0). W-L Voltage drop V W-L Current detection value Dcs3 based on L Information required for correction (correction coefficient α3 L ) to get the Alpha 3 L =Dcs0 / Dcs3 L
[0119] The current detection circuit 240 corrects the current detection value based on the correction coefficient. Dcs1 H '=Dcs1 H ×α1 H Dcs1 L '=Dcs1 L ×α1 L Dcs2 H '=Dcs2 H ×α2 H Dcs2 L '=Dcs2 L ×α2 L Dcs3 H '=Dcs3 H ×α3 H Dcs3 L '=Dcs3 L ×α3 L
[0120] FIG. 13 is a waveform diagram illustrating the calibration process in the control circuit 300D of FIG.
[0121] During the period from 0° to 60°, only the W-phase output is a current sink phase, so the W-phase lower arm Q W-L Voltage drop V W-L The third current detection value Dcs3 based on L Information for correcting (correction coefficient α3 L) can be obtained.
[0122] During the 60° to 120° period, only the U-phase output is a current source phase, so the U-phase upper arm Q U-H Voltage drop V U-H First current detection value Dcs1 based on H Information for correcting (correction coefficient α1 H ) can be obtained.
[0123] During the 120° to 180° period, only the V-phase output is a current sink phase, so the V-phase lower arm Q V-L Voltage drop V V-L Second current detection value Dcs2 based on L Information for correcting (correction coefficient α2 L ) can be obtained.
[0124] During the 180° to 240° period, only the W-phase output is a current source phase, so the W-phase upper arm Q W-H Voltage drop V W-H The third current detection value Dcs3 based on H Information for correcting (correction coefficient α3 H ) can be obtained.
[0125] During the period from 240° to 300°, only the U-phase output is a current sink phase, so the U-phase lower arm Q U-L Voltage drop V U-L First current detection value Dcs1 based on L Information for correcting (correction coefficient α1 L ) can be obtained.
[0126] During the period from 300° to 360°, only the V-phase output is a current source phase, so the V-phase upper arm Q V-H Voltage drop V V-H Second current detection value Dcs2 based on H Information for correcting (correction coefficient α2 H ) can be obtained.
[0127] For example, the current detection circuit 240 may obtain information for correction at the timing when any of the currents becomes zero, such as at 60°, 120°, 180°, 240°, and 300°.
[0128] At time t0 when the U-phase current (first current) becomes 0, the V-phase current (second current) is positive and the W-phase current (third current) is negative. At this time, the V-phase upper arm Q V-H , W-phase lower arm Q W-L The same amount of current flows through the external resistor (shunt resistor) Rs0.
[0129] The calibration processing unit 246 uses the current detection value Dcs0 at time t0 as a reference and calibrates the V-phase upper arm Q V-H Voltage drop Q V-H Current detection value Dcs2 based on H Information required to correct (correction coefficient α2 H ) to get the
[0130] In addition, the calibration processing unit 246 calibrates the W-phase lower arm Q based on the current detection value Dcs0 at time t0. W-L Voltage drop Q W-L Current detection value Dcs3 based on L Information required to correct (correction coefficient α3 L ) to get the
[0131] At time t1 when the V-phase current (second current) becomes zero, the U-phase current (first current) is positive and the W-phase current (third current) is negative. U-H , W-phase lower arm Q W-L The same amount of current flows through the external resistor (shunt resistor) Rs0.
[0132] The calibration processing unit 246 uses the current detection value Dcs0 at time t1 as a reference and U-H Voltage drop Q U-H Current detection value Dcs1 based on H Information for correcting (correction coefficient α1 H ) to get the
[0133] In addition, the calibration processing unit 246 calibrates the W-phase lower arm Q based on the current detection value Dcs0 at time t1. W-L Voltage drop Q W-L Current detection value Dcs3 based on L Information for correcting (correction coefficient α3 L ) to get the
[0134] At time t2 when the W-phase current (third current) becomes zero, the U-phase current (first current) is positive and the V-phase current (second current) is negative. U-H , V-phase lower arm Q V-L The same amount of current flows through the external resistor (shunt resistor) Rs0.
[0135] The calibration processing unit 246 uses the current detection value Dcs0 at time t2 as a reference and U-H Voltage drop Q U-H Current detection value Dcs1 based on H Information for correcting (correction coefficient α1 H ) to get the
[0136] In addition, the calibration processing unit 246 calibrates the V-phase lower arm Q based on the current detection value Dcs0 at time t2. V-L Voltage drop Q V-L Current detection value Dcs2 based on L Information for correcting (correction coefficient α2 L ) to get the
[0137] Next, at time t3 when the U-phase current (first current) becomes 0, the W-phase current (third current) is positive and the V-phase current (second current) is negative. At this time, the W-phase upper arm Q W-H , V-phase lower arm Q V-L The same amount of current flows through the external resistor (shunt resistor) Rs0.
[0138] The calibration processing unit 246 uses the current detection value Dcs0 at time t3 as a reference and calibrates the W-phase upper arm Q W-H Voltage drop Q W-H Current detection value Dcs3 based on H Information for correcting (correction coefficient α3 H) to get the
[0139] In addition, the calibration processing unit 246 calibrates the V-phase lower arm Q based on the current detection value Dcs0 at time t3. V-L Voltage drop Q V-L Current detection value Dcs2 based on L Information for correcting (correction coefficient α2 L ) to get the
[0140] Next, at time t4 when the V-phase current (second current) becomes 0, the W-phase current (third current) is positive and the U-phase current (first current) is negative. At this time, the W-phase upper arm Q W-H , U-phase lower arm Q U-L The same amount of current flows through the external resistor (shunt resistor) Rs0.
[0141] The calibration processing unit 246 uses the current detection value Dcs0 at time t4 as a reference and calibrates the W-phase upper arm Q W-H Voltage drop Q W-H Current detection value Dcs3 based on H Information for correcting (correction coefficient α3 H ) to get the
[0142] In addition, the calibration processing unit 246 calibrates the current detection value Dcs0 at time t4 as a reference. U-L Voltage drop Q U-L Current detection value Dcs1 based on L Information for correcting (correction coefficient α1 L ) to get the
[0143] Next, at time t5 when the W-phase current (third current) becomes 0, the V-phase current (second current) is positive and the U-phase current (first current) is negative. At this time, the V-phase upper arm Q V-H , U-phase lower arm Q U-L The same amount of current flows through the external resistor (shunt resistor) Rs0.
[0144] The calibration processing unit 246 uses the current detection value Dcs0 at time t5 as a reference and calibrates the V-phase upper arm Q V-H Voltage drop Q V-HCurrent detection value Dcs2 based on H Information for correcting (correction coefficient α2 H ) to get the
[0145] In addition, the calibration processing unit 246 calibrates the current detection value Dcs0 at time t5 as a reference. U-L Voltage drop Q U-L Current detection value Dcs1 based on L Information for correcting (correction coefficient α1 L ) to get the
[0146] During an electrical angle of 360°, the current detection value Dcs1 H ,Dcs1 L ,Dcs2 H ,Dcs2 L ,Dcs3 H ,Dcs3 L There are two current zero crossing timings during one electrical angle period (0 to 360°) at which the correction coefficients can be calibrated. The current detection circuit 240 may obtain the correction coefficients at both of the two current zero crossing timings, or may obtain the correction coefficients at only one of the timings.
[0147] In the control circuit 300D of FIG. 12, the three-phase inverter 230 is PWM controlled. (1 phase regeneration) For example, during the period when the U phase is a current source phase and the V and W phases are current sink phases (60° to 120° in Figure 10), the U phase output is low (i.e., the lower arm is on), and the Q U-L Since the current flows in the opposite direction to the U-phase lower arm Q, the effect of the body diode cannot be ignored. U-L Therefore, the accuracy of current detection based on the on-resistance of the transistor decreases.
[0148] Therefore, only the U phase is a current source phase, and the lower arm Q U-L During the period when is on, the current detection value Dcs2 of the remaining two phases (V phase, W phase) L ',Dcs3 L The current detection value of the U phase may be generated by adding Dcs1=-(Dcs2 L '+Dcs3 L ')
[0149] Similarly, only the V phase is a current source phase, and the lower arm Q V-L During the period when is on, the current detection value Dcs1 of the remaining two phases (U phase, W phase) L ',Dcs3 L The V-phase current detection value may be generated by adding Dcs2=-(Dcs1 L '+Dcs3 L ')
[0150] Similarly, only the W phase is a current source phase, and the lower arm Q W-L During the period when is on, the lower arms Q of the remaining two phases (U phase, V phase) U-L , Q V-L Voltage drop V U-L ,V V-L Current detection value Dcs1 based on L ',Dcs2 L The W-phase current detection value may be generated by adding Dcs3=-(Dcs1 L '+Dcs2 L ')
[0151] (2-phase regeneration) For example, during the period when the U and V phases are current source phases and the W phase is current sink phase (0° to 60° in Figure 10), the U phase lower arm Q U-L and V-phase lower arm Q V-L Then, current flows in the opposite direction, and the effect of the body diode cannot be ignored. U-L , V-phase lower arm Q V-L Therefore, the accuracy of current detection based on the on-resistance of the transistor decreases.
[0152] Therefore, only two phases (U and V) are current source phases, and the lower arm Q U-L , Q V- During the period when is on, the lower arm Q of the remaining phase (W phase) W-L Voltage drop VW-L Current detection value Dcs3 based on L ' may be distributed to generate U-phase and V-phase current detection values. Dcs1=Dcs3 L '×X Dcs2=Dcs3 L '×(1-X)
[0153] The distribution ratio X:1-X is the current detection value Dcs1 obtained when the upper arm was on (high output) in the two current source phases (U phase, V phase) immediately before. H ,Dcs2 H The ratio of can be used.
[0154] In the embodiment, the current detection value based on the series resistance component of the wiring or the current detection value based on the voltage drop of the upper arm and the lower arm of the three-phase inverter 230 is calibrated based on the voltage drop Vcs0 of the external resistor Rs0, but this is not limited to the above. A magnetic detection type current sensor may be provided instead of the external resistor Rs0, and the current detection values Dcs1 to Dcs3 may be calibrated based on the output of the current sensor. That is, in the above description and circuit diagram, the external resistor Rs0 may be replaced with the magnetic detection type current sensor, and the voltage drop Vcs0 may be replaced with the output of the current sensor.
[0155] The embodiments described using specific terms merely illustrate the principles and applications of the present invention, and many modifications and changes in arrangement are permitted in the embodiments without departing from the spirit of the present invention as defined in the claims. [Explanation of symbols]
[0156] Rs0 External resistor Rs1 First Resistor Rs2 2nd resistor Rs3 Third Resistance 102 DC Motor 200 Drive circuit 210 Controller 220 Pre-driver 230 Three-phase inverter 240 Current Detection Circuit 242 Multiplexer 244 A / D converter 246 Calibration Processing Unit 300 Drive circuit 302 Semiconductor Chip
Claims
1. 1. A control circuit for a three-phase DC motor used with an external resistor and a three-phase inverter, comprising: a current detection circuit that generates a first current detection value indicating a current amount of a first current flowing through a first phase of the three-phase inverter; the external resistor is an external component provided on a path through which the first current can flow, The current detection circuit includes: a control circuit configured to generate the first current detection value based on a resistance component of a wiring formed of a material containing copper and present on a path of the first current or a voltage drop across a first resistor that is an on-resistance of the arm of the first phase, and to be able to calibrate the first current detection value based on the voltage drop across the first resistor using a current detection value based on the voltage drop across the external resistance as a reference.
2. The current detection circuit includes: a second current detection value can be generated based on a resistance component of a wiring made of a material containing copper and present on a path of a second current flowing through a second phase of the three-phase inverter or a voltage drop across a second resistor that is an on-resistance of an arm of the second phase, 2. The control circuit according to claim 1, capable of generating a third current detection value based on a resistance component of a wiring formed of a material containing copper present on a path of a third current flowing through a third phase of the three-phase inverter or a voltage drop across a third resistor which is an on-resistance of an arm of the third phase.
3. the first resistor is an on-resistance of each of an upper arm and a lower arm of the first phase of the three-phase inverter, the second resistor is an on-resistance of each of an upper arm and a lower arm of the second phase of the three-phase inverter, the third resistor is an on-resistance of each of an upper arm and a lower arm of the third phase of the three-phase inverter, The control circuit of claim 2 , wherein the external resistor is inserted between the three-phase inverter and ground.
4. The current detection circuit includes: calibrating the first current detection value based on a voltage drop in a lower arm of the first phase with respect to the current detection value based on a voltage drop in the external resistor during a period in which only the first phase is a current sink phase; calibrating the second current detection value based on a voltage drop in a lower arm of the second phase with respect to the current detection value based on a voltage drop in the external resistor during a period in which only the second phase is a current sink phase; calibrating a third current detection value based on a voltage drop in a lower arm of the third phase with respect to the current detection value based on a voltage drop in the external resistor during a period in which only the third phase is a current sink phase; calibrating the first current detection value based on a voltage drop in an upper arm of the first phase with respect to the current detection value based on a voltage drop in the external resistor during a period in which only the first phase is a current source phase; calibrating the second current detection value based on a voltage drop in an upper arm of the second phase with respect to the current detection value based on a voltage drop in the external resistor during a period when only the second phase is a current source phase; 4. The control circuit according to claim 3, wherein during a period in which only the third phase is a current source phase, the third current detection value based on a voltage drop in an upper arm of the third phase is calibrated using the current detection value based on a voltage drop in the external resistor as a reference.
5. the first resistor is a resistance component of a wiring formed of a material containing copper and provided between a first phase output of the three-phase inverter and the three-phase DC motor; the second resistor is a resistance component of a wiring formed of a material containing copper and provided between a second phase output of the three-phase inverter and the three-phase DC motor, the third resistor is a resistance component of a wiring formed of a material containing copper and provided between a second phase output of the three-phase inverter and the three-phase DC motor; the external resistor is inserted in series with the first resistor between the first phase output of the three-phase inverter and the three-phase DC motor; 3. The control circuit according to claim 2, wherein the current detection circuit calibrates the second current detection value and the third current detection value based on a relationship between a current detection value based on a voltage drop across the external resistor and a voltage drop across the first resistor.
6. the first resistor is a resistance component of a wiring formed of a material containing copper and provided between a first phase output of the three-phase inverter and the three-phase DC motor; the second resistor is a resistance component of a wiring formed of a material containing copper and provided between a second phase output of the three-phase inverter and the three-phase DC motor, the third resistor is a resistance component of a wiring formed of a material containing copper and provided between a second phase output of the three-phase inverter and the three-phase DC motor; the external resistor is inserted in series with the first resistor between a first phase output of the three-phase inverter and the three-phase DC motor; The current detection circuit includes: calibrating the third current detection value based on a relationship between a current detection value based on a voltage drop across the external resistor and a voltage drop across the third resistor when the second current is zero; 3. The control circuit according to claim 2, wherein when the third current is zero, the second current detection value is calibrated based on a relationship between a current detection value based on a voltage drop across the external resistor and a voltage drop across the second resistor.
7. the first resistor is a resistance component of a wiring formed of a material containing copper and provided between a first phase output of the three-phase inverter and the three-phase DC motor; the external resistor is inserted between a second phase output of the three-phase inverter and the three-phase DC motor; 2. The control circuit according to claim 1, wherein the current detection circuit calibrates the first current detection value based on a relationship between a current detection value based on a voltage drop across the external resistor and a voltage drop across the first resistor when a third current flowing through a third phase output is zero.
8. the current detection circuit obtains a current detection value based on a voltage drop across the external resistor as a second current detection value indicating a second current flowing through the second phase output; The control circuit according to claim 7 , further comprising: a third current detection value indicating the third current based on a composite value of the first current detection value and the second current detection value.
9. the first resistor is a resistance component of a wiring formed of a material containing copper and provided between a first phase output of the three-phase inverter and the three-phase DC motor, the second resistor is a resistance component of a wiring formed of a material containing copper and provided between a second phase output of the three-phase inverter and the three-phase DC motor, the third resistor is a resistance component of a wiring formed of a material containing copper and provided between a second phase output of the three-phase inverter and the three-phase DC motor, The control circuit of claim 2 , wherein the external resistor is inserted between the three-phase inverter and ground.
10. 10. The control circuit of claim 9, wherein the current sense circuit calibrates the first current sense value during a period when only the first phase output of the three-phase inverter is a current sink phase.
11. The current detection circuit includes: the second current detection value can be generated based on a voltage drop across a second resistor, the second resistor being a resistance component of a wiring made of a material containing copper and provided between a second phase output of the three-phase inverter and the three-phase DC motor; 10. The control circuit according to claim 9, wherein the third current detection value is generated based on a voltage drop across a third resistor that is a resistance component of a wiring made of a material containing copper and that is provided between a third phase output of the three-phase inverter and the three-phase DC motor.
12. The current detection circuit includes: calibrating the first current detection value during a period when only the first phase output of the three-phase inverter is a current sink phase; calibrating the second current detection value during a period when only the second phase output of the three-phase inverter is a current sink phase; The control circuit of claim 11 , wherein the third current sense value is calibrated during a period when only the third phase output of the three-phase inverter is a current sink phase.
13. A magnetic detection type current sensor is provided instead of the external resistor, 13. The control circuit according to claim 1, wherein the current detection circuit is configured to be able to calibrate the first current detection value based on a voltage drop across the first resistor, based on a current detection value based on an output of the current sensor.
14. 14. The control circuit according to claim 1, integrated on a single semiconductor substrate.
Citation Information
Patent Citations
Inverter device and semiconductor device used therein
JP2008278573A
Current detection method for inverter, current detection device for inverter, and active filter
JP2018133853A
Drive device of three phase motor, and electronic apparatus and carrier apparatus using the same
JP2019009875A
