Motor drive device provided with detection unit for detecting motor drive current

By connecting multiple shunt resistors in parallel in the motor drive device and setting specific resistor parts and detection points, the problem of heat generation and design freedom limitation of the current detection circuit of the shunt resistor mode is solved when detecting large currents, and high-precision motor driving is realized Current detection improves the accuracy of motor control.

CN118974569APending Publication Date: 2024-11-15FANUC LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202280094416.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2022-04-07
Publication Date
2024-11-15

AI Technical Summary

Technical Problem

The current detection circuit of the shunt resistor method has limitations on heating and design freedom when detecting large currents. Due to the influence of the resistance component of the wiring pattern, it is difficult to accurately detect the motor driving current, which affects the motor control.

Method used

By setting a plurality of shunt resistors connected in parallel in the motor drive device, and setting a specific resistor portion and detection point on the wiring pattern, it is ensured that the resistance values ​​of the first wiring pattern and the second wiring pattern are approximately equal, and the motor is detected by the potential difference Drive current to achieve high-precision detection.

Benefits of technology

It realizes high-precision detection of motor drive current without damaging the degree of freedom of wiring patterns, improves detection accuracy and reduces the impact on motor control.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118974569A_ABST
    Figure CN118974569A_ABST
Patent Text Reader

Abstract

The motor drive device includes: a first resistor unit and a second resistor unit each having a shunt resistor connected to a first wiring pattern and a second wiring pattern in a region parallel to a wiring direction of the first wiring pattern connected to a power element and a wiring direction of the second wiring pattern connected to a terminal of a motor; and a detection unit that detects a motor drive current flowing between the first wiring pattern and the second wiring pattern on the basis of a potential difference between a first potential detection point on the first wiring pattern and a second potential detection point on the second wiring pattern. A resistance value between the first resistance portion and the first potential detection point on the first wiring pattern is substantially equal to a resistance value between the first resistance portion and the second potential detection point on the second wiring pattern. A resistance value between a first potential detection point on the first wiring pattern and the second resistance portion is substantially equal to a resistance value between a second potential detection point on the second wiring pattern and the second resistance portion.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to a motor drive device including a detection unit for detecting a motor drive current. Background Art

[0002] The current detection circuit has a shunt resistor method, a Hall element method, and a core method. Among them, the shunt resistor method current detection circuit detects the current based on the potential difference between both ends of the shunt resistor generated by the current flowing through the shunt resistor.

[0003] For example, an electronic circuit device having a shunt resistor is known, characterized in that it comprises: a substrate (21) composed of a dielectric; a first wiring pattern (26, 27) arranged on the surface of the substrate (21); a first shunt resistor (22a) arranged on the surface of the substrate (21) and electrically connected to the first wiring pattern (26, 27); a second wiring pattern (36, 37) arranged on the back side of the substrate (21); a second shunt resistor (22b) arranged on the back side of the substrate (21) and electrically connected to the second wiring pattern (36, 37); and a through hole (24) that penetrates the substrate (21) on the current inflow side and the current outflow side and electrically connects the first wiring pattern (26, 27) to the second wiring pattern (36, 37) (for example, refer to patent document 1).

[0004] For example, a current detection circuit is known, characterized in that it comprises: a first resistor group, which is composed of multiple resistors; a second resistor group, which is composed of multiple resistors connected to the first resistor group; a first circuit, which is connected to the input electrodes of the resistors of each of the first resistor group; a second circuit, which is connected to the output electrodes of the resistors of each of the second resistor group; a first detection signal line, which is connected to one of the resistors of the first resistor group and is used to detect the current flowing in the resistor; and a second detection signal line, which is connected to one of the resistors of the second resistor group and is used to detect the current flowing in the resistor, the first detection signal line and the second detection signal line are connected to the resistors of the first resistor group and the resistors of the second resistor group, the proportion of the current flowing in each of the resistors being the same based on the structure of the first circuit and the second circuit (for example, refer to patent document 2).

[0005] Prior art literature

[0006] Patent Literature

[0007] Patent Document 1: Japanese Patent Application Publication No. 2016-115834

[0008] Patent Document 2: Japanese Patent Application Publication No. 2020-144055 Summary of the invention

[0009] Problems to be solved by the invention

[0010] In a current detection circuit using a shunt resistor, the greater the current flowing through the shunt resistor, the greater the heat generated. Therefore, sufficient clearance must be ensured around the shunt resistor for wiring and mounting components, which results in a large restriction in design. Therefore, it has been considered that current detection circuits using a shunt resistor are not suitable for detecting large currents. However, due to the development of high-loss resistant technology for surface mounted resistors in recent years, by connecting multiple shunt resistors in parallel, both heat dissipation and design freedom can be ensured. For example, the motor drive current flowing from a power conversion device such as a converter to a motor is generally a large current, but in motor drive devices, the application of current detection circuits using a shunt resistor is increasing.

[0011] On the other hand, in a current detection circuit of a shunt resistor method, the current is detected based on the potential difference across the shunt resistor when power is turned on. Therefore, in order to detect the current more accurately, it is necessary to know the accurate resistance value of the shunt resistor in advance. However, when the shunt resistor is set to a low resistance value in order to suppress the heat generated when detecting a large motor drive current, it is easily affected by the resistance component of the wiring pattern in which the current detection circuit is set, so the motor drive current cannot be accurately detected, which affects the controllability of the motor. Therefore, a motor drive device having a current detection circuit of a shunt resistor method is desired, which detects the motor drive current with high accuracy without compromising the freedom of routing of the wiring pattern.

[0012] Means for solving problems

[0013] According to one embodiment of the present disclosure, a motor drive device includes:

[0014] A first wiring pattern electrically connected to a power element provided in the power conversion device;

[0015] a second wiring pattern electrically connected to a terminal of a motor driven by the power conversion device; and

[0016] The first resistor section and the second resistor section each have one or a plurality of shunt resistors connected in parallel, wherein in a region where a wiring direction of the first wiring pattern is substantially parallel to a wiring direction of the second wiring pattern, a first terminal of the first resistor section is electrically connected to the first wiring pattern, and a second terminal of the first resistor section is electrically connected to the second wiring pattern, a first terminal of the second resistor section is electrically connected to the first wiring pattern, and a second terminal of the second resistor section is electrically connected to the second wiring pattern; and

[0017] a detection unit that detects a motor drive current flowing between a first wiring pattern and a second wiring pattern via a shunt resistor based on a potential difference between a first potential detection point and a second potential detection point, wherein the first potential detection point is provided between a first terminal of a first resistor unit on the first wiring pattern and a first terminal of a second resistor unit, and the second potential detection point is provided between a second terminal of the first resistor unit on the second wiring pattern and a second terminal of the second resistor unit,

[0018] The first wiring pattern and the second wiring pattern are set so that the resistance value between the first terminal of the first resistor part and the first potential detection point on the first wiring pattern is approximately equal to the resistance value between the second terminal of the first resistor part and the second potential detection point on the second wiring pattern, and the resistance value between the first potential detection point on the first wiring pattern and the first terminal of the second resistor part is approximately equal to the resistance value between the second potential detection point on the second wiring pattern and the second terminal of the second resistor part.

[0019] Effects of the Invention

[0020] According to one aspect of the present disclosure, it is possible to realize a motor drive device including a shunt resistor type current detection circuit that detects a motor drive current with high accuracy without sacrificing the degree of freedom in routing a wiring pattern. BRIEF DESCRIPTION OF THE DRAWINGS

[0021] Figure 1 This is a diagram showing a current detection circuit according to one embodiment of the present disclosure.

[0022] Figure 2 In the current detection circuit according to one embodiment of the present disclosure, a case where the first resistor section and the second resistor section each include a plurality of shunt resistors is shown.

[0023] Figure 3 Yes means Figure 1 FIG. 2 is a circuit diagram of an equivalent circuit of a current detection circuit according to an embodiment of the present disclosure.

[0024] Figure 4 This is a diagram illustrating a part of a motor drive device including a current detection circuit according to an embodiment of the present disclosure.

[0025] Figure 5 This is a diagram showing a current detection circuit in which a shunt resistor is provided between two wiring patterns that do not have a parallel region in the same wiring direction.

[0026] Figure 6 Yes means Figure 5 The circuit diagram of the equivalent circuit of the current detection circuit is shown.

[0027] Figure 7 It is a diagram for explaining a second method for adjusting the resistance value in the motor drive device according to the embodiment of the present disclosure.

[0028] Figure 8 It is a diagram for explaining a third method for adjusting the resistance value in the motor drive device according to the embodiment of the present disclosure.

[0029] Fig. 9 It is a diagram for explaining a fourth method for adjusting the resistance value in the motor drive device according to the embodiment of the present disclosure.

[0030] Fig.10 Yes means Fig. 9 The circuit diagram of the equivalent circuit of the current detection circuit is shown.

[0031] Fig.11 It is a diagram showing a motor drive device having a current correction function according to an embodiment of the present disclosure. DETAILED DESCRIPTION

[0032] Hereinafter, with reference to the accompanying drawings, a motor drive device having a detection unit for detecting a motor drive current will be described. In each of the drawings, the same reference numerals are given to the same components. In addition, for ease of understanding, the scales of these drawings have been appropriately changed. The illustrated methods are an example for implementing the present invention and are not limited to these methods. In addition, the "motor drive current" includes both a "power running current" supplied from a power conversion device to the motor in order to drive the motor and a "regenerative current" returned from the motor to the power conversion device when the motor is decelerated.

[0033] <Overall Structure of Current Detection Circuit>

[0034] Figure 1 This is a diagram showing a current detection circuit according to one embodiment of the present disclosure.

[0035] A motor drive device according to an embodiment of the present disclosure is provided with a shunt resistor type current detection circuit 1. In the motor drive device, a first wiring pattern 11 electrically connected to a power element (not shown) provided in a power conversion device (not shown) and a second wiring pattern 12 electrically connected to a terminal of a motor (not shown) driven by the power conversion device are provided, for example, on a substrate (not shown). The current detection circuit 1 is provided on a power line connecting the first wiring pattern 11 and the second wiring pattern 12.

[0036] The power conversion device is a converter that converts power between the DC power in the DC link (not shown) and the AC power as the driving power of the motor or the regenerative power. The converter is composed of a full-bridge circuit composed of power elements, and the power elements are composed of a diode and a switching element connected in reverse parallel thereto. Examples of switching elements include IGBTs, FETs, thyristors, GTOs, transistors, etc., but other semiconductor elements may also be used. In addition, the power element may also be a drive circuit such as a MOSFET, IGBT, or an intelligent power module (IPM) that is a power semiconductor element assembled with a self-protection function.

[0037] The motor controls the speed, torque or rotor position based on the motor drive current supplied from the power conversion device. In addition, in the present embodiment, the type of the motor is not particularly limited, for example, it can be an induction motor or a synchronous motor. In addition, the number of phases of the motor is not particularly limited to the present embodiment, for example, it can be three-phase or single-phase. Machines equipped with motors include, for example, machine tools, robots, forging machines, injection molding machines, industrial machinery, etc.

[0038] A shunt resistor electrically connecting the first wiring pattern 11 and the second wiring pattern 12 is provided in the current detection circuit 1. The motor drive current (power running current) output from the power conversion device in the power running state of the motor flows into the motor via the first wiring pattern 11, the shunt resistor of the current detection circuit 1, and the second wiring pattern 12. On the other hand, the motor drive current (regenerative current) generated by the motor in the regenerative state of the motor returns to the power conversion device via the second wiring pattern 12, the shunt resistor of the current detection circuit 1, and the first wiring pattern 11. The current detection circuit 1 detects the motor drive current flowing from the first wiring pattern 11 to the second wiring pattern 12 or from the second wiring pattern 12 to the first wiring pattern 11 via the shunt resistor.

[0039] The current detection circuit 1 includes a first resistor section 13 , a second resistor section 14 , and a detection section 15 .

[0040] The first resistor section 13 and the second resistor section 14 each include one or a plurality of shunt resistors connected in parallel. Figure 1 In the example shown, the first resistor section 13 and the second resistor section 14 are each composed of a shunt resistor. In the region S ( Figure 1In the region S) surrounded by the single-dot chain line, the first resistor portion 13, the second resistor portion 14, the first wiring pattern 11 and the second wiring pattern 12 are arranged in the same plane in the substrate.

[0041] In the region S where the wiring direction of the first wiring pattern 11 (i.e., the long side direction of the first wiring pattern 11) and the wiring direction of the second wiring pattern 12 (i.e., the long side direction of the second wiring pattern 12) are substantially parallel, the first wiring pattern 11 and the second wiring pattern 12 are electrically connected via the first resistor portion 13 and the second resistor portion 14 connected in parallel to each other. More specifically, in the region S where the wiring direction of the first wiring pattern 11 and the wiring direction of the second wiring pattern 12 are substantially parallel, the first terminal A1 of the first resistor portion 13 is electrically connected to the first wiring pattern 11, and the second terminal A2 of the first resistor portion 13 is electrically connected to the second wiring pattern 12. In addition, in the region S where the wiring direction of the first wiring pattern 11 and the wiring direction of the second wiring pattern 12 are substantially parallel, the first terminal B1 of the second resistor portion 14 is electrically connected to the first wiring pattern 11, and the second terminal B2 of the second resistor portion 14 is electrically connected to the second wiring pattern 12.

[0042] In the power running state, if Figure 1 As shown by the thick arrow in the figure, the motor drive current (power running current) flowing from the power element along the wiring direction (long side direction) on the first wiring pattern 11 changes its forward path approximately at right angles at the first terminal A1 of the first resistor 13 and the first terminal B1 of the second resistor 14, and then changes its forward path approximately at right angles at the second terminal A2 of the first resistor 13 and the second terminal B2 of the second resistor 14, and then flows along the wiring direction (long side direction) on the second wiring pattern 12 toward the terminal of the motor. In the regenerative state, the current flows in the direction corresponding to the first terminal A1 of the first resistor 13 and the first terminal B1 of the second resistor 14. Figure 1 The motor drive current (regenerative current) flowing from the motor terminal along the wiring direction (long side direction) on the second wiring pattern 12 in the direction opposite to the thick arrow changes its forward path approximately at a right angle at the second terminal A2 of the first resistor part 13 and the second terminal B2 of the second resistor part 14, then further changes its forward path approximately at a right angle at the first terminal A1 of the first resistor part 13 and the first terminal B1 of the second resistor part 14, and then flows along the wiring direction (long side direction) on the first wiring pattern 11 toward the power element.

[0043] A first potential detection point T1 is provided between the first terminal A1 of the first resistor 13 and the first terminal B1 of the second resistor 14 on the first wiring pattern 11. A second potential detection point T2 is provided between the second terminal A2 of the first resistor 13 and the second terminal B2 of the second resistor 14 on the second wiring pattern 12.

[0044] The signal line is wired from the first potential detection point T1 and the second potential detection point T2 toward the detection unit 15. The detection unit 15 detects the motor drive current flowing between the first wiring pattern 11 and the second wiring pattern 12 via the shunt resistors in the first resistor unit 13 and the second resistor unit 14 based on the potential difference ΔV [V] between the first potential detection point T1 and the second potential detection point T2. The detection unit 15 has, for example, an operation processing circuit such as an IC and its peripheral circuits.

[0045] In addition, Figure 1 In the example shown, the first resistor section 13 and the second resistor section 14 are each composed of a shunt resistor, but may also be composed of a plurality of shunt resistors connected in parallel with each other. In this case, the number of shunt resistors constituting the first resistor section 13 and the number of shunt resistors constituting the second resistor section 14 may be the same, or may be different.

[0046] Figure 2 In the current detection circuit according to one embodiment of the present disclosure, the first resistor section and the second resistor section each include a plurality of shunt resistors. Figure 2 In the example shown, as an example, the first resistor section 13 is composed of two shunt resistors 13A and 13B connected in parallel, and the second resistor section 14 is composed of two shunt resistors 14A and 14B connected in parallel. In addition, the first resistor section and the second resistor section can also be composed of three shunt resistors connected in parallel.

[0047] <Resistance Requirements>

[0048] Next, resistance elements of the first wiring pattern and the second wiring pattern in one embodiment of the present disclosure will be described.

[0049] On the first wiring pattern 11, the resistance value between the first terminal A1 of the first resistor 13 and the first potential detection point T1, and the resistance value between the first potential detection point T1 and the first terminal B1 of the second resistor 14 are determined by, for example, the distance between these terminals, the shape of the first wiring pattern 11, the material of the first wiring pattern 11, etc. Similarly, on the second wiring pattern 12, the resistance value between the second terminal A2 of the first resistor 13 and the second potential detection point T2, and the resistance value between the second potential detection point T2 and the second terminal B2 of the second resistor 14 are determined by, for example, the distance between these terminals, the shape of the second wiring pattern 12, the material of the second wiring pattern 12, etc.

[0050] In the motor drive device of one embodiment of the present disclosure, the first wiring pattern 11 and the second wiring pattern 12 are provided so that the resistance values ​​thereof have the relationship described below. Figure 3List 2 ways.

[0051] Figure 3 Yes means Figure 1 A circuit diagram of an equivalent circuit of a current detection circuit according to an embodiment of the present disclosure is shown. The resistance value of the resistance component 31 between the first terminal A1 of the first resistor section 13 on the first wiring pattern 11 and the first potential detection point T1 is set to R1 [Ω]. In addition, the resistance value of the resistance component 32 between the first potential detection point T1 on the first wiring pattern 11 and the first terminal B1 of the second resistor section 14 is set to R2 [Ω]. In addition, the resistance value of the resistance component 33 between the second terminal A2 of the first resistor section 13 on the second wiring pattern 12 and the second potential detection point T2 is set to R3 [Ω]. In addition, the resistance value of the resistance component 34 between the second potential detection point T2 on the second wiring pattern 12 and the second terminal B2 of the second resistor section 14 is set to R4 [Ω]. The resistance values ​​of the first resistor section 13 and the second resistor section 14 are set to R s [Ω]. The path of the current flowing from the first wiring pattern 11 through the first resistor portion 13 to the second wiring pattern 12 is a series circuit consisting of the first resistor portion 13, the resistor component 33, and the resistor component 34. Similarly, the path of the current flowing from the first wiring pattern 11 through the second resistor portion 14 to the second wiring pattern 12 is a series circuit consisting of the resistor component 31, the resistor component 32, and the second resistor portion 14. These series circuits are connected in parallel to each other, so Figure 1 The current detection circuit 1 shown can be expressed as Figure 3 The equivalent circuit is shown.

[0052] First, under the resistance requirement of the first embodiment, the first wiring pattern 11 and the second wiring pattern 12 are provided so that the resistance values ​​between the terminals all have a substantially equal relationship (R1=R2=R3=R4).

[0053] In the resistance element of the first embodiment, the resistance value “R S + R3 + R4" and the resistance value "R1 + R2 + R4" of the combined resistance of the resistance component 31, the resistance component 32 and the second resistance unit 14 S ” is approximately equal, so the current I flowing from the power element through the first wiring pattern 11 out [A] is divided into two, and I flows through the circuit composed of the first resistor 13, the resistor component 33, and the resistor component 34, and the circuit composed of the resistor component 31, the resistor component 32, and the second resistor 14. out / 2[A]. At this time, the potential difference ΔV[V] between the first potential detection point T1 and the second potential detection point T2 is expressed as in Formula 1.

[0054] [Formula 1]

[0055]

[0056] If "R1=R2=R3=R4" is substituted into Formula 1, Formula 2 is obtained.

[0057] [Formula 2]

[0058]

[0059] According to Formula 2, when the resistance element of the first embodiment is "R1 = R2 = R3 = R4", the potential difference ΔV [V] between the first potential detection point T1 and the second potential detection point T2 only reflects the resistance value R of the shunt resistor in the first resistor section 13 and the second resistor section 14. s [Ω], the resistance values ​​of the resistance components 31 to 34 are canceled out without being affected by the resistance components of the first wiring pattern 11 and the second wiring pattern 12 .

[0060] Therefore, in Figure 1 Under the connection requirement shown as "within the area S where the wiring direction of the first wiring pattern 11 is roughly parallel to the wiring direction of the second wiring pattern 12, the first wiring pattern 11 and the second wiring pattern 12 are electrically connected via the first resistor portion 13 and the second resistor portion 14 connected in parallel to each other", by satisfying the resistance requirement of the first method described herein "R1=R2=R3=R4", the motor driving current can be detected with high precision without being affected by the resistance component of the wiring pattern in which the current detection circuit 1 is set, thereby not causing adverse effects on the controllability of the motor.

[0061] In addition, under the resistance requirement of the second mode, the first wiring pattern 11 and the second wiring pattern 12 are set in a manner having the following relationship, wherein the relationship is that the resistance value R1 of the resistance component 31 between the first terminal A1 of the first resistor part 13 on the first wiring pattern 11 and the first potential detection point T1 and the resistance value R3 of the resistance component 33 between the second terminal A2 of the first resistor part 13 on the second wiring pattern 12 and the second potential detection point T2 are approximately equal, and the resistance value R2 of the resistance component 32 between the first potential detection point T2 on the first wiring pattern 11 and the first terminal A1 of the second resistor part 14 and the resistance value R4 of the resistance component 34 between the second potential detection point T2 on the second wiring pattern 12 and the second terminal A2 of the second resistor part 14 are approximately equal (R1=R3 and R2=R4).

[0062] In the resistance element of the second embodiment, the combined resistance (resistance value “R1+R2+R S ”) the current I flowing inout1 The combined resistance (resistance value “R S +R3+R4”) out2 The ratio can be expressed as in formula 3.

[0063] [Formula 3]

[0064]

[0065] If "R1=R3" and "R2=R4" are substituted into Formula 3, Formula 4 is obtained.

[0066] [Formula 4]

[0067]

[0068] As can be seen from equation 4, the combined resistance (resistance value “R1+R2+R S ”) the current I flowing in out1 The combined resistance (resistance value “R S +R3+R4”) out2 Therefore, the potential difference ΔV [V] between the first potential detection point T1 and the second potential detection point T2 is expressed as in Formula 5.

[0069] [Formula 5]

[0070]

[0071] If "R2=R4" is substituted into Formula 5, Formula 6 is obtained.

[0072] [Formula 6]

[0073]

[0074] According to Formula 6, when the resistance elements of the second method are "R1 = R3 and R2 = R4", the potential difference ΔV [V] between the first potential detection point T1 and the second potential detection point T2 only reflects the resistance value R of the shunt resistor in the first resistor section 13 and the second resistor section 14. s [Ω], the resistance values ​​of the resistance components 31 to 34 are canceled out without being affected by the resistance components of the first wiring pattern 11 and the second wiring pattern 12 .

[0075] Therefore, in Figure 1Under the connection requirement shown as "within the area S where the wiring direction of the first wiring pattern 11 is roughly parallel to the wiring direction of the second wiring pattern 12, the first wiring pattern 11 and the second wiring pattern 12 are electrically connected via the first resistor portion 13 and the second resistor portion 14 connected in parallel to each other", by satisfying the resistance requirement of the second method described herein "R1=R3 and R2=R4", the motor driving current can be detected with high precision without being affected by the resistance component of the wiring pattern in which the current detection circuit 1 is set, thereby not causing adverse effects on the controllability of the motor.

[0076] In addition, if Figure 2 As shown, when the first resistor section 13 and the second resistor section 14 each have a plurality of shunt resistors, after calculating the combined resistance of the plurality of shunt resistors for the first resistor section 13 and the second resistor section 14, the resistance element of the first or second embodiment may be applied.

[0077] As described above, according to one embodiment of the present disclosure, by configuring a device having Figure 1 The motor driving device of the shunt resistor type current detection circuit 1 having the "connection element" and the "resistance element of the first aspect or the second aspect" can detect the motor driving current with high accuracy without sacrificing the freedom of routing of the wiring pattern.

[0078] <Influence of Unbalanced Resistance Components>

[0079] Next, the relationship between the imbalance and the error of the resistance components of the first wiring pattern 11 and the second wiring pattern 12 will be described using numerical examples.

[0080] For example, in Figure 1 as well as Figure 3 In the example, the resistance components of the first wiring pattern 11 and the second wiring pattern 12 are unbalanced, R1 = R2 = 0.08Ω, and R3 = R4 = 0.04Ω.

[0081] The resistance values ​​R of the first resistor 13 and the second resistor 14 are s =12 mΩ, the combined resistance of the resistance component 31, the resistance component 32 and the second resistance portion 14 (resistance value "R1+R2+R S ”) the current I flowing through out1 The combined resistance (resistance value “R S +R3+R4”) out2 The ratio can be expressed as in Formula 7.

[0082] [Formula 7]

[0083]

[0084] Therefore, the resistance values ​​R of the first resistor 13 and the second resistor 14 are s The potential difference ΔV [V] between the first potential detection point T1 and the second potential detection point T2 when ΔV = 12 mΩ is expressed as in Formula 8.

[0085] [Formula 8]

[0086] ΔV=(12+0.08)×0.498×I out -0.04×0.502×I out

[0087] ≈5.996×I out …(8)

[0088] According to Formula 8, the resistance values ​​R of the first resistor 13 and the second resistor 14 are s The error ΔE[%] when =12mΩ can be calculated as shown in Formula 9.

[0089] [Formula 9]

[0090]

[0091] On the other hand, the resistance values ​​R of the first resistor section 13 and the second resistor section 14 are s =1.2 mΩ, the combined resistance of the resistance component 31, the resistance component 32 and the second resistance portion 14 (resistance value "R1+R2+R S ”) the current I flowing through out1 The combined resistance (resistance value “R S +R3+R4”) out2 The ratio can be expressed as formula 10.

[0092] [Formula 10]

[0093]

[0094] Therefore, the resistance values ​​R of the first resistor 13 and the second resistor 14 are s The potential difference ΔV [V] between the first potential detection point T1 and the second potential detection point T2 when ΔV = 1.2 mΩ is expressed as in Formula 11.

[0095] [Formula 11]

[0096] ΔV=(1.2+0.08)×0.484×I out -0.04×0.515×I out

[0097] ≈5.99892×Iout …(11)

[0098] According to Formula 11, the resistance values ​​R of the first resistor 13 and the second resistor 14 are s The error ΔE[%] when ΔE=1.2 mΩ can be calculated as shown in Formula 12.

[0099] [Formula 12]

[0100]

[0101] In this way, when the resistance components of the first wiring pattern 11 and the second wiring pattern 12 are unbalanced, the resistance values ​​R of the shunt resistors of the first resistor section 13 and the second resistor section 14 are s = 12mΩ, the error is 0.07% as shown in Equation 9, but the lower resistance value R s =1.2mΩ, the error is 0.18% as shown in Formula 12. That is, when there is an imbalance in the resistance components of the first wiring pattern 11 and the second wiring pattern 12, the lower the resistance value of each shunt resistor of the first resistor section 13 and the second resistor section 14, the greater the error. According to one embodiment of the present disclosure, the first wiring pattern 11 and the second wiring pattern 12 are set in a manner that satisfies the resistance requirements of the first mode or the second mode, so as shown in Formula 2 or Formula 6, the potential difference ΔV[V] between the first potential detection point T1 and the second potential detection point T2 is not affected by the resistance components of the first wiring pattern 11 and the second wiring pattern 12, and does not cause the deterioration of the error.

[0102] <Configuration Example of Current Detection Circuit in Motor Drive Device>

[0103] Next, refer to Figure 4 An example of arrangement of a current detection circuit in a motor drive device will be described.

[0104] Figure 4 A part of a motor drive device including a current detection circuit according to an embodiment of the present disclosure is exemplified.

[0105] exist Figure 4In the illustrated motor drive device 100, the converter main circuit 51 in the power conversion device that supplies the motor drive current to the motor includes, for example, an intelligent power module, etc. The converter main circuit 51 is provided with a positive DC terminal P electrically connected to the positive DC wiring pattern 42 of the DC link and a negative DC terminal N electrically connected to the negative DC wiring pattern 43 of the DC link. In addition, the converter main circuit 51 is provided with a U-phase AC terminal U electrically connected to the U-phase first wiring pattern 11-1 through which the U-phase AC motor drive current flows, a V-phase AC terminal V electrically connected to the V-phase first wiring pattern 11-2 through which the V-phase AC motor drive current flows, and a W-phase AC terminal W electrically connected to the W-phase wiring pattern 41 through which the W-phase AC motor drive current flows.

[0106] The U-phase first wiring pattern 11-1 is electrically connected to the U-phase second wiring pattern 12-1 via the U-phase first resistor portion 13-1 and the U-phase second resistor portion 14-1. The U-phase second wiring pattern 12-1 is electrically connected to the U-phase terminal (not shown) of the motor. The U-phase first wiring pattern 11-1, the U-phase second wiring pattern 12-1, the U-phase first resistor portion 13-1 and the U-phase second resistor portion 14-1 correspond to the above-mentioned first wiring pattern 11, the second wiring pattern 12, the first resistor portion 13 and the second resistor portion 14, respectively. That is, in the area where the wiring direction of the U-phase first wiring pattern 11-1 (i.e., the long side direction of the U-phase first wiring pattern 11-1) and the wiring direction of the U-phase second wiring pattern 12-1 (i.e., the long side direction of the U-phase second wiring pattern 12-1) are substantially parallel, the U-phase first wiring pattern 11-1 and the U-phase second wiring pattern 12-1 are electrically connected through the U-phase first resistor portion 13-1 and the U-phase second resistor portion 14-1 connected in parallel to each other. In addition, the U-phase first wiring pattern 11 - 1 and the U-phase second wiring pattern 12 - 1 are provided so as to satisfy the resistance requirement of the first embodiment or the second embodiment described above.

[0107] The signal line is wired from the U-phase first potential detection point provided on the U-phase first wiring pattern 11-1 and the U-phase second potential detection point provided on the U-phase second wiring pattern 12-1 to the U-phase current conversion circuit 52 constituting the above-mentioned detection unit 15. The U-phase current conversion circuit 52 includes, for example, an AD converter, etc. The detection unit 15 in the U-phase current conversion circuit 52 detects the U-phase AC motor drive current flowing between the U-phase first wiring pattern 11-1 and the U-phase second wiring pattern 12-1 via the shunt resistor in the U-phase first resistor unit 13-1 and the U-phase second resistor unit 14-1 based on the potential difference ΔV[V] between the U-phase first potential detection point and the U-phase second potential detection point.

[0108] The V-phase first wiring pattern 11-2 is electrically connected to the V-phase second wiring pattern 12-2 via the V-phase first resistor portion 13-2 and the V-phase second resistor portion 14-2. The V-phase second wiring pattern 12-2 is electrically connected to the V-phase terminal (not shown) of the motor. The V-phase first wiring pattern 11-2, the V-phase second wiring pattern 12-2, the V-phase first resistor portion 13-2 and the V-phase second resistor portion 14-2 correspond to the above-mentioned first wiring pattern 11, the second wiring pattern 12, the first resistor portion 13 and the second resistor portion 14, respectively. That is, in the region where the wiring direction of the V-phase first wiring pattern 11-2 (i.e., the long side direction of the V-phase first wiring pattern 11-2) and the wiring direction of the V-phase second wiring pattern 12-2 (i.e., the long side direction of the V-phase second wiring pattern 12-2) are substantially parallel, the V-phase first wiring pattern 11-2 and the V-phase second wiring pattern 12-2 are electrically connected through the V-phase first resistor portion 13-2 and the V-phase second resistor portion 14-2 connected in parallel to each other. Furthermore, the V-phase first wiring pattern 11 - 2 and the V-phase second wiring pattern 12 - 2 are provided so as to satisfy the resistance requirement of the first aspect or the second aspect described above.

[0109] The signal line is wired from the V-phase first potential detection point provided on the V-phase first wiring pattern 11-2 and the V-phase second potential detection point provided on the V-phase second wiring pattern 12-2 toward the V-phase current conversion circuit 53 constituting the above-mentioned detection unit 15. The V-phase current conversion circuit 53 includes, for example, an AD converter, etc. The detection unit 15 in the V-phase current conversion circuit 53 detects the V-phase AC motor drive current flowing between the V-phase first wiring pattern 11-2 and the V-phase second wiring pattern 12-2 via the V-phase first resistor unit 13-2 and the shunt resistor in the V-phase second resistor unit 14-2 based on the potential difference ΔV[V] between the V-phase first potential detection point and the V-phase second potential detection point.

[0110] The W-phase wiring pattern 41 is electrically connected to a W-phase terminal (not shown) of the motor.

[0111] In the motor drive device 100, since the current detection circuit 1 is arranged in the converter main circuit 51 having an intelligent power module, a large number of main circuit patterns with various potentials (i.e., the U-phase first wiring pattern 11-1, the U-phase second wiring pattern 12-1, the V-phase first wiring pattern 11-2, the V-phase second wiring pattern 12-2, the W-phase wiring pattern 41, the positive side DC wiring pattern 42, and the negative side DC wiring pattern 43) must be arranged around the current detection circuit 1, and there are various restrictions on the installation of each main circuit pattern such as ensuring a sufficient insulation distance. In addition, from the viewpoint of reducing noise, it is preferred that each signal line between each potential detection point and each AD converter in the U-phase current conversion circuit 52 and the V-phase current conversion circuit 53 is as short as possible. In addition, the AD converter generally uses an insulating type, including a main circuit side (primary side) and a digital data side (secondary side), so there are various restrictions on the installation of each signal line and each main circuit pattern. In the presence of such various constraints, in order to consider the heat generation of each shunt resistor of the U-phase first resistor section 13-1, the U-phase second resistor section 14-1, the V-phase first resistor section 13-2 and the V-phase second resistor section 14-2, the signal lines and the main circuit patterns are installed as widely as possible, and the U-phase first wiring pattern 11-1, the U-phase second wiring pattern 12-1, the V-phase first wiring pattern 11-2 and the V-phase second wiring pattern 12-2 are arranged in a manner that satisfies the resistance requirements of the first mode or the second mode mentioned above.

[0112] <Examples not covered by the embodiments>

[0113] Next, refer to Figure 5 as well as Figure 6 An example of arrangement of a shunt resistor and a wiring pattern that is not covered by one embodiment of the present disclosure will be described.

[0114] Figure 5 1 is a diagram showing a current detection circuit in which a shunt resistor is provided between two wiring patterns that do not have parallel regions in the same wiring direction. Figure 6 Yes means Figure 5 The circuit diagram of the equivalent circuit of the current detection circuit is shown.

[0115] Figure 5 and Figure 6 The current detection circuit 101 shown is not the subject of one embodiment of the present disclosure. The reason is as follows.

[0116] In the current detection circuit 101, the wiring pattern 111 electrically connected to the power element (not shown) provided in the power conversion device (not shown) and the wiring pattern 112 electrically connected to the terminal of the motor (not shown) driven by the power conversion device do not have parallel areas in the same wiring direction. That is, the wiring pattern 111 and the wiring pattern 112 are arranged on substantially the same line. The end of the wiring pattern 111 and the end of the wiring pattern 112 are electrically connected through the shunt resistor 113 and the shunt resistor 114 connected in parallel to each other. In more detail, the end of the wiring pattern 111 is electrically connected to the first terminal C1 of the shunt resistor 113 and the first terminal D1 of the shunt resistor 114. In addition, the end of the wiring pattern 112 is electrically connected to the second terminal C2 of the shunt resistor 113 and the second terminal D2 of the shunt resistor 114.

[0117] In the power running state, if Figure 5 As shown by the thick arrow in FIG. 1 , the motor drive current (power running current) flowing from the power element along the wiring direction (long side direction) on the wiring pattern 111 flows through the shunt resistor 113 and the shunt resistor 114, and then flows along the wiring direction (long side direction) on the wiring pattern 112 toward the terminal of the motor. Figure 5 In the direction opposite to the thick arrow, the motor drive current (regenerative current) flowing from the motor terminal along the wiring direction (long side direction) on the wiring pattern 112 flows through the shunt resistor 113 and the shunt resistor 114, and then flows to the power element along the wiring direction (long side direction) on the wiring pattern 111.

[0118] A first potential detection point Q1 is provided between the first terminal C1 of the shunt resistor 113 and the first terminal D1 of the shunt resistor 114 on the wiring pattern 111 . A second potential detection point Q2 is provided between the second terminal C2 of the shunt resistor 113 and the second terminal D2 of the shunt resistor 114 on the wiring pattern 112 .

[0119] Signal lines are routed from the first potential detection point Q1 and the second potential detection point Q2 toward the detection unit 115. The detection unit 115 detects the motor drive current flowing between the wiring pattern 111 and the wiring pattern 112 via the shunt resistor 113 and the shunt resistor 114 based on the potential difference ΔV [V] between the first potential detection point Q1 and the second potential detection point Q2.

[0120] The resistance value of the resistance component 131 between the first terminal C1 of the shunt resistor 113 on the wiring pattern 111 and the first potential detection point Q1 is set to R1 [Ω]. In addition, the resistance value of the resistance component 132 between the first potential detection point Q1 on the wiring pattern 111 and the first terminal D1 of the shunt resistor 114 is set to R2 [Ω]. In addition, the resistance value of the resistance component 133 between the second terminal C2 of the shunt resistor 113 on the wiring pattern 112 and the second potential detection point Q2 is set to R3 [Ω]. In addition, the resistance value of the resistance component 134 between the second potential detection point Q2 on the wiring pattern 112 and the second terminal D2 of the shunt resistor 114 is set to R4 [Ω]. The resistance values ​​of the shunt resistors 113 and 114 are set to R s [Ω]. The path of the current flowing from the wiring pattern 111 to the wiring pattern 112 via the shunt resistor 113 is a series circuit consisting of the resistance component 131, the shunt resistor 113, and the resistance component 133. Similarly, the path of the current flowing from the wiring pattern 111 to the wiring pattern 112 via the shunt resistor 114 is a series circuit consisting of the resistance component 132, the shunt resistor 114, and the resistance component 134. These series circuits are connected in parallel to each other, so Figure 5 The current detection circuit 1 shown can be expressed as Figure 6 The equivalent circuit is shown.

[0121] When "R1 = R2 = R3 = R4" is set, the resistance value R of the combined resistance formed by the series circuit composed of the resistance component 131, the shunt resistor 113, and the resistance component 133 and the series circuit composed of the resistance component 132, the shunt resistor 114, and the resistance component 134 is X [Ω] can be expressed as in Formula 13.

[0122] [Formula 13]

[0123]

[0124] At this time, the potential difference ΔV [V] between the first potential detection point Q1 and the second potential detection point Q2 is expressed as in Formula (14).

[0125] [Formula 14]

[0126]

[0127] According to equation 14, the potential difference ΔV[V] between the first potential detection point Q1 and the second potential detection point Q2 contains the resistance component (for example, R1) of the wiring patterns 111 and 112. Figure 5The current detection circuit 101 shown in which the shunt resistors 113 and 114 are provided between the two wiring patterns 111 and 112 having no parallel region in the same wiring direction is not the subject of one embodiment of the present disclosure because it is affected by the resistance components of the wiring patterns 111 and 112.

[0128] <Method for Adjusting Resistance Values ​​of First Wiring Pattern and Second Wiring Pattern>

[0129] Next, a method for adjusting the resistance values ​​of the first wiring pattern 11 and the second wiring pattern 12 according to one embodiment of the present disclosure will be described.

[0130] As described above, in one embodiment of the present disclosure, the first wiring pattern 11 and the second wiring pattern 12 are set to satisfy the resistance requirements of the first mode or the second mode. The resistance values ​​of the resistance components on the first wiring pattern 11 and the second wiring pattern 12 are determined by the distance between the terminals, the shapes of the first wiring pattern 11 and the second wiring pattern 12, and the materials of the first wiring pattern 11 and the second wiring pattern 12. Several methods for adjusting the resistance values ​​of the first wiring pattern 11 and the second wiring pattern 12 are listed below.

[0131] The first adjustment method is to set the first wiring pattern 11 and the second wiring pattern 12 in the same shape and material in the area S where the wiring direction of the first wiring pattern 11 is roughly parallel to the wiring direction of the second wiring pattern 12 in the manufacturing stage of the motor drive device, so that the distance between the first terminal A1 of the first resistor 13 and the first potential detection point T1, the distance between the first potential detection point T1 and the first terminal B1 of the second resistor 14, the distance between the second terminal A2 of the first resistor 13 and the second potential detection point T2, and the distance between the second potential detection point T2 and the second terminal B2 of the second resistor 14 are roughly equal. In this case, for example, it is preferred to set the center point on the end surface of each terminal and the center point on the end surface of each potential detection point as the starting point and the end point when measuring the distance. In addition, in the case where the resistance requirements of the first method or the second method cannot be met even if the first adjustment method is adopted, any one of the second to fourth adjustment methods described later can also be adopted.

[0132] The second adjustment method is to provide a notch for adjusting the resistance value in at least one of the first wiring pattern 11 and the second wiring pattern 12 in an area S where the wiring direction of the first wiring pattern 11 is substantially parallel to the wiring direction of the second wiring pattern 12 during the manufacturing stage of the motor drive device. Figure 7This is a diagram illustrating a second method for adjusting the resistance value in the motor drive device of one embodiment of the present disclosure. The resistance value of the resistance components 31 to 34 is determined by the shapes of the first wiring pattern 11 and the second wiring pattern 12 in the area S where the wiring direction of the first wiring pattern 11 is approximately parallel to the wiring direction of the second wiring pattern 12. When a cutout portion is provided in the first wiring pattern 11 and / or the second wiring pattern 12, the current path on the wiring pattern is narrowed by the amount of the cutout portion, so the resistance value increases. In addition, the resistance value also changes depending on the size, shape, and number of the cutout portion and the position where the cutout portion is provided. Therefore, in the second adjustment method, it is designed and manufactured to provide a cutout portion on the first wiring pattern 11 and / or the second wiring pattern 12 so that the resistance requirement of the first method or the second method can be met. Figure 7 In the illustrated example, as an example, a semicircular cutout 16 - 1 is provided on the first wiring pattern 11 near the second resistor portion 14 , and a trapezoidal cutout 16 - 2 is provided on the second wiring pattern 12 near the first resistor portion 13 .

[0133] The third adjustment method is to provide a through hole for adjusting the resistance value in at least one of the first wiring pattern 11 and the second wiring pattern 12 in an area S where the wiring direction of the first wiring pattern 11 is roughly parallel to the wiring direction of the second wiring pattern 12 during the manufacturing stage of the motor drive device. Figure 8 This is a diagram illustrating a third method for adjusting the resistance value in the motor drive device of one embodiment of the present disclosure. Similar to the cutout portion in the second adjustment method, when a through hole is provided in the first wiring pattern 11 and / or the second wiring pattern 12 as in the third adjustment method, the current path on the wiring pattern is narrowed by the amount of the through hole, so the resistance value increases. In addition, the resistance value also varies depending on the size, shape, and number of the through holes and the positions at which the through holes are provided. Therefore, in the third adjustment method, it is designed and manufactured to provide through holes in the first wiring pattern 11 and / or the second wiring pattern 12 so that the resistance requirements of the first method or the second method can be met. Figure 8 In the example shown, as an example, four through holes 17 arranged in an L shape are provided near the first resistor portion 13 on the first wiring pattern 11, and three through holes 17 arranged in a triangle shape are provided near the second resistor portion 14 on the second wiring pattern 12.

[0134] The fourth adjustment method is to adjust the resistance value by trimming at least one of the first wiring pattern 11 and the second wiring pattern 12 in a region S where the wiring directions of the first wiring pattern 11 and the second wiring pattern 12 are substantially parallel. Fig. 9 It is a diagram for explaining a fourth method for adjusting the resistance value in the motor drive device according to the embodiment of the present disclosure. Fig.10 Yes means Fig. 9The circuit diagram of the equivalent circuit of the current detection circuit shown in FIG. Trimming is a process of measuring the resistor while cutting it with a laser to obtain a target resistance value, or repeatedly measuring the resistor and cutting it with a laser to obtain a target resistance value, and has the advantage of being able to fine-tune the resistance value. When trimming is performed on the first wiring pattern 11 and / or the second wiring pattern 12 as the resistor, the current path on the wiring pattern is narrowed by the amount of cutting, so the resistance value increases. In addition, the resistance value also changes according to the size, shape and number of the trimmed cutting parts and the setting position of the trimmed cutting parts. Trimming is performed as one of a series of processes for the factory test of the motor drive device that has been manufactured as a finished product. In the factory test, the difference between the motor drive current detected by the detection unit 15 in the current detection circuit 1 and the motor drive current detected by the first current detection device (not shown) for the factory test that is different from the detection unit 15 is measured, and trimming is performed based on the measurement result to obtain the desired resistance value. Measurement is performed at each trimming, and trimming is repeatedly performed until the desired resistance value is obtained. For example, when the resistance value of each resistance component is measured during the factory test of a motor drive device as a finished product, Fig.10 As shown, the resistance value R1 of the resistor component 31 is 0.08 mΩ, the resistance value R2 of the resistor component 32 is 0.08 mΩ, the resistance value of the resistor component 33 is 0.04 mΩ (= the combined resistance value of the resistance value R3 and the resistance value R5), and the resistance value of the resistor component 34 is 0.04 mΩ (= the combined resistance value of the resistance value R4 and the resistance value R6). In order to make the resistance value of the resistor component 33 consistent with 0.08 mΩ (= the resistance value R3), the cut-off parts 19-1 and 19-2 corresponding to the deleted resistance value R5 are set by trimming on the second wiring pattern 12 near the first resistor part 13. In addition, in order to make the resistance value of the resistor component 34 consistent with 0.08 mΩ (= the resistance value R4), the cut-off part 18 corresponding to the deleted resistance value R6 is set by trimming on the second wiring pattern 12 near the second resistor part 14.

[0135] <Current Correction Function in Motor Drive Device>

[0136] By adjusting the resistance values ​​of the first wiring pattern 11 and the second wiring pattern 12 to satisfy the resistance requirements of the first mode or the second mode using the first to fourth adjustment methods, the motor drive current can be detected with high accuracy without being affected by the resistance component of the wiring pattern in which the current detection circuit 1 is provided. However, even so, in the case where a detection error of the motor drive current occurs, a current correction function may be provided in the motor drive device.

[0137] Fig.11This is a diagram showing a motor drive device having a current correction function according to an embodiment of the present disclosure.

[0138] The motor drive device 100 includes the above-described current detection circuit 1 , a power conversion device 2 , a current conversion unit 21 , a correction amount generation unit 22 , a current conversion correction unit 23 , and a host control unit 24 .

[0139] The power conversion device 2 is a converter that performs power conversion between the DC power in the DC link (not shown) and the AC power as the driving power or regenerative power of the motor 3. The converter is composed of a full-bridge circuit composed of a power element, and the power element is composed of a diode and a switching element connected in anti-parallel thereto. The power element can also be a drive circuit such as a MOSFET, an IGBT, or an intelligent power module (Intelligent Power Module: IPM) as a power semiconductor element assembled with a self-protection function. The power conversion device 2 is electrically connected to a rectifier (not shown) via a DC link. The rectifier converts the AC power input from the AC power supply into DC power and outputs it to the DC link as the DC output side.

[0140] The motor 3 controls the speed, torque, or rotor position based on the motor drive current supplied from the power conversion device 2 .

[0141] As described above, the current detection circuit 1 is provided on the following power line, which connects the first wiring pattern 11 electrically connected to the power element (not shown) provided in the power conversion device 2 and the second wiring pattern 12 electrically connected to the terminal of the motor 3 driven by the power conversion device 2. In the current detection circuit 1, the motor driving current in an analog form detected by the detection unit 15 based on the potential difference ΔV between the first potential detection point T1 provided on the first wiring pattern 11 and the second potential detection point T2 provided on the second wiring pattern 12 is input to the current conversion unit 21.

[0142] The current conversion unit 21 converts the analog motor driving current detected by the detection unit 15 into digital current data and outputs the digital current data. However, the digital current data output by the current conversion unit 21 is corrected by the current conversion correction unit 23 during normal operation of the motor drive device 100, but is not corrected by the current conversion correction unit 23 when the correction amount generation unit 22 generates the correction amount.

[0143] The correction amount generating unit 22 generates a correction amount corresponding to the difference between the current data in digital form outputted by the current conversion unit 21 at a predetermined timing and the motor drive current in digital form detected at the predetermined timing by a second current detection device (not shown) different from the detection unit 15. Here, the above-mentioned "predetermined timing" is, for example, the factory test or maintenance of the motor drive device 100. The correction amount generated by the correction amount generating unit 22 at the factory test or maintenance of the motor drive device 100 is used by the current conversion correction unit 23 and the current conversion unit 21 during the normal operation of the motor drive device 100.

[0144] The current conversion correction unit 23 performs control so that the current conversion unit 21 performs the current conversion process taking the correction amount into consideration during normal operation of the motor drive device 100 .

[0145] During normal operation of the motor drive device 100 , the current conversion unit 21 outputs current data in digital format corrected by the current conversion correction unit 23 .

[0146] The upper control unit 24 performs various processes in the motor drive device 100 based on the current data in digital form output by the current conversion unit 21. For example, when the potential difference ΔV between the first potential detection point T1 and the second potential detection point T2 is in the range of 0V to 5V, and the value (AD value) of the current data output by the current conversion unit 21 is in the range of 0 to 5000 corresponding to the range, the upper control unit 24 can recognize that the motor drive current is in the range of -100A to +100A.

[0147] In addition, as a modified example, the current conversion correction unit 23 may be provided in the host control unit 24 , and the current conversion correction process may be executed in the host control unit 24 .

[0148] An operation processing device (processor) is provided in the motor drive device 100. Examples of the operation processing device include IC, LSI, CPU, MPU, DSP, etc., and sometimes an AD converter is also included. The motor drive device 100 having an operation processing device is, for example, a functional module implemented by a computer program executed on a processor. For example, in the case where the motor drive device 100 is constructed in the form of a computer program, the functions of the current conversion unit 21, the correction amount generation unit 22, the current conversion correction unit 23, and the upper control unit 24 can be implemented by causing the operation processing device to operate according to the computer program. The computer program for executing the processing of the motor drive device 100 can be provided in the form of a computer-readable recording medium such as a semiconductor memory, a magnetic recording medium, or an optical recording medium. Alternatively, the motor drive device 100 can also be implemented as a semiconductor integrated circuit in which a computer program for implementing the function is written.

[0149] As mentioned above, although the preferred embodiment was described, it is not limited to the said embodiment, Various corrections and changes can be implemented within the description of the protection range.

[0150] Description of Reference Numerals

[0151] 1 Current detection circuit

[0152] 2 Power conversion device

[0153] 3 Electric Motor

[0154] 11First wiring pattern

[0155] 11-1U phase first wiring pattern

[0156] 11-2V phase first wiring pattern

[0157] 12 Second wiring pattern

[0158] 12-1U phase second wiring pattern

[0159] 12-2V phase second wiring pattern

[0160] 13 first resistor part

[0161] 13-1U phase first resistor

[0162] 14 Second resistor

[0163] 14-1U phase second resistor

[0164] 15. Inspection Department

[0165] 16-1, 16-2 incision

[0166] 17 Through Holes

[0167] 18, 19-1, 19-2 Cutting parts

[0168] 21Current conversion unit

[0169] 22 correction amount generating unit

[0170] 23. Current conversion correction unit

[0171] 24Upper control unit

[0172] 31, 32, 33, 34 resistance components

[0173] 41W phase wiring pattern

[0174] 42 Positive DC wiring pattern

[0175] 43 Negative side DC wiring pattern

[0176] 51 Converter main circuit

[0177] 52 U phase current conversion circuit

[0178] 53 V phase current conversion circuit

[0179] 100 Motor drive device

[0180] A1: First terminal of the first resistor

[0181] A2 The second terminal of the first resistor

[0182] B1 The first terminal of the second resistor

[0183] B2 The second terminal of the second resistor

[0184] N Negative DC terminal

[0185] P Positive DC terminal

[0186] T1 first potential detection point

[0187] T2 second potential detection point

[0188] UU phase AC terminal

[0189] VV phase AC terminal

[0190] WW phase AC terminal.

Claims

1. A motor drive device, characterized in that: have: A first wiring pattern electrically connected to a power element provided in the power conversion device; a second wiring pattern electrically connected to a terminal of a motor driven by the power conversion device; The first resistor section and the second resistor section each have one or a plurality of shunt resistors connected in parallel, wherein in a region where the wiring direction of the first wiring pattern is substantially parallel to the wiring direction of the second wiring pattern, the first terminal of the first resistor section is electrically connected to the first wiring pattern, and the second terminal of the first resistor section is electrically connected to the second wiring pattern, the first terminal of the second resistor section is electrically connected to the first wiring pattern, and the second terminal of the second resistor section is electrically connected to the second wiring pattern; as well as a detection unit that detects a motor drive current flowing between the first wiring pattern and the second wiring pattern via the shunt resistor based on a potential difference between a first potential detection point and a second potential detection point, wherein the first potential detection point is provided between the first terminal of the first resistor unit on the first wiring pattern and the first terminal of the second resistor unit, and the second potential detection point is provided between the second terminal of the first resistor unit on the second wiring pattern and the second terminal of the second resistor unit, The first wiring pattern and the second wiring pattern are set so that the resistance value between the first terminal of the first resistor part on the first wiring pattern and the first potential detection point is approximately equal to the resistance value between the second terminal of the first resistor part and the second potential detection point on the second wiring pattern, and the resistance value between the first potential detection point on the first wiring pattern and the first terminal of the second resistor part is approximately equal to the resistance value between the second potential detection point on the second wiring pattern and the second terminal of the second resistor part.

2. The motor drive device according to claim 1, characterized in that: The first wiring pattern and the second wiring pattern are set so that the resistance value between the first terminal of the first resistor part on the first wiring pattern and the first potential detection point, the resistance value between the first potential detection point on the first wiring pattern and the first terminal of the second resistor part, the resistance value between the second terminal of the first resistor part on the second wiring pattern and the second potential detection point, and the resistance value between the second potential detection point on the second wiring pattern and the second terminal of the second resistor part are approximately equal.

3. The motor drive device according to claim 1 or 2, characterized in that: The first wiring pattern, the second wiring pattern, the first resistor portion, and the second resistor portion are provided in the same plane on a substrate.

4. The motor drive device according to any one of claims 1 to 3, characterized in that: In a region where the wiring direction of the first wiring pattern is substantially parallel to the wiring direction of the second wiring pattern, a notch portion for adjusting the resistance value is provided in at least one of the first wiring pattern and the second wiring pattern.

5. The motor drive device according to any one of claims 1 to 4, characterized in that: In a region where the wiring direction of the first wiring pattern is substantially parallel to the wiring direction of the second wiring pattern, a through hole for adjusting the resistance value is provided in at least one of the first wiring pattern and the second wiring pattern.

6. The motor drive device according to any one of claims 1 to 5, characterized in that: The resistance value is adjusted by performing trimming on at least one of the first wiring pattern and the second wiring pattern in a region where a wiring direction of the first wiring pattern is substantially parallel to a wiring direction of the second wiring pattern.

7. The motor drive device according to claim 6, characterized in that: The trimming is performed based on a difference between the motor drive current detected by the detection unit and the motor drive current detected by a first current detection device different from the detection unit so as to obtain a desired resistance value.

8. The motor drive device according to claim 7, characterized in that: The above-mentioned trimming is performed during the factory test of the electric motor drive device.

9. The motor drive device according to any one of claims 1 to 8, characterized in that: The motor drive device comprises: a current conversion unit that converts the motor drive current in analog form detected by the detection unit into current data in digital form and outputs the digital current data; a correction amount generating section that generates a correction amount corresponding to a difference between the current data output by the current conversion section at a predetermined timing and the motor drive current detected at the predetermined timing by a second current detection device different from the detection section; as well as A current conversion correction section corrects the current data output by the current conversion section based on the correction amount.

10. The motor drive device according to claim 9, characterized in that: The predetermined timing is the factory test of the motor drive device.