Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP6989305B2 - Circuit board and motor controller - Google Patents
[go: Go Back, main page]

JP6989305B2 - Circuit board and motor controller - Google Patents

Circuit board and motor controller Download PDF

Info

Publication number
JP6989305B2
JP6989305B2 JP2017128802A JP2017128802A JP6989305B2 JP 6989305 B2 JP6989305 B2 JP 6989305B2 JP 2017128802 A JP2017128802 A JP 2017128802A JP 2017128802 A JP2017128802 A JP 2017128802A JP 6989305 B2 JP6989305 B2 JP 6989305B2
Authority
JP
Japan
Prior art keywords
detection unit
resistance element
path
potential detection
current
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2017128802A
Other languages
Japanese (ja)
Other versions
JP2019012017A (en
Inventor
元 ▲高▼木
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nidec Instruments Corp
Original Assignee
Nidec Sankyo Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nidec Sankyo Corp filed Critical Nidec Sankyo Corp
Priority to JP2017128802A priority Critical patent/JP6989305B2/en
Priority to CN201810688513.4A priority patent/CN109212294B/en
Publication of JP2019012017A publication Critical patent/JP2019012017A/en
Application granted granted Critical
Publication of JP6989305B2 publication Critical patent/JP6989305B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R19/00Arrangements for measuring currents or voltages or for indicating presence or sign thereof
    • G01R19/0092Measuring current only
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02PCONTROL OR REGULATION OF ELECTRIC MOTORS, ELECTRIC GENERATORS OR DYNAMO-ELECTRIC CONVERTERS; CONTROLLING TRANSFORMERS, REACTORS OR CHOKE COILS
    • H02P25/00Arrangements or methods for the control of AC motors characterised by the kind of AC motor or by structural details
    • H02P25/16Arrangements or methods for the control of AC motors characterised by the kind of AC motor or by structural details characterised by the circuit arrangement or by the kind of wiring
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02PCONTROL OR REGULATION OF ELECTRIC MOTORS, ELECTRIC GENERATORS OR DYNAMO-ELECTRIC CONVERTERS; CONTROLLING TRANSFORMERS, REACTORS OR CHOKE COILS
    • H02P27/00Arrangements or methods for the control of AC motors characterised by the kind of supply voltage
    • H02P27/04Arrangements or methods for the control of AC motors characterised by the kind of supply voltage using variable-frequency supply voltage, e.g. inverter or converter supply voltage
    • H02P27/06Arrangements or methods for the control of AC motors characterised by the kind of supply voltage using variable-frequency supply voltage, e.g. inverter or converter supply voltage using DC to AC converters or inverters
    • H02P27/08Arrangements or methods for the control of AC motors characterised by the kind of supply voltage using variable-frequency supply voltage, e.g. inverter or converter supply voltage using DC to AC converters or inverters with pulse width modulation

Landscapes

  • Engineering & Computer Science (AREA)
  • Power Engineering (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Inverter Devices (AREA)
  • Measurement Of Current Or Voltage (AREA)

Description

本発明は、抵抗素子の両端の電位を検出して電流を検出する電流検出部を備えた回路基板、および、当該回路基板を備えたモータ制御装置に関する。 The present invention relates to a circuit board provided with a current detection unit that detects potentials at both ends of a resistance element and detects a current, and a motor control device provided with the circuit board.

回路基板上の回路に直列に挿入された抵抗素子に電流を流し、抵抗素子の両端の電位を検出して電流値を求める電流検出部が用いられている。特許文献1には、この種の電流検出部によって電流を検出する際に、回路基板上の配線パターンに接続される抵抗素子の両端の電位を検出するにあたって、誤差要因となる半田や配線パターンのインピーダンスの影響を排除して、抵抗素子の両端そのものの電位にできるだけ近い電位を検出できるようにするための構造が開示されている。 A current detection unit is used in which a current is passed through a resistance element inserted in series with a circuit on a circuit board, and the potentials at both ends of the resistance element are detected to obtain a current value. Patent Document 1 describes solder and wiring patterns that cause errors in detecting the potentials at both ends of the resistance element connected to the wiring pattern on the circuit board when the current is detected by this type of current detection unit. A structure for eliminating the influence of impedance and enabling detection of a potential as close as possible to the potential of both ends of the resistance element itself is disclosed.

特開2009−8548号公報Japanese Unexamined Patent Publication No. 2009-8548

複数の抵抗素子を配線パターンによって並列に接続して、複数の抵抗素子の合成抵抗に基づいて電流を検出する電流検出部を回路基板上に設ける場合、各抵抗素子に電流が流れる経路のインピーダンスに差があると、高精度な電流検出を行うことができない。例えば、配線パターン上に設けられた電位検出用の端子と各抵抗素子との配置によっては、電位検出用の端子から各抵抗素子を経由して電流が流れる経路のインピーダンスに差がある場合があり、このような場合には、高精度な電流検出を行うことができない。 When multiple resistance elements are connected in parallel by a wiring pattern and a current detector that detects current based on the combined resistance of multiple resistance elements is provided on the circuit board, the impedance of the path through which the current flows through each resistance element is used. If there is a difference, highly accurate current detection cannot be performed. For example, depending on the arrangement of the potential detection terminal provided on the wiring pattern and each resistance element, there may be a difference in the impedance of the path through which the current flows from the potential detection terminal via each resistance element. In such a case, highly accurate current detection cannot be performed.

以上の問題点に鑑みて、本発明の課題は、複数の抵抗素子を並列に接続した電流検出部による検出精度を向上させることにある。 In view of the above problems, an object of the present invention is to improve the detection accuracy by a current detection unit in which a plurality of resistance elements are connected in parallel.

上記課題を解決するために、本発明は、基板本体と、前記基板本体に形成された配線パターンを流れる被検出電流を検出する電流検出部と、を有する回路基板であって、前記電流検出部は、第1電位検出部が設けられた第1配線領域、および、第2電位検出部が設けられた第2配線領域を備えた電流検出用配線パターンと、前記第1配線領域と前記第2配線領域を介して並列に接続された複数の抵抗素子と、を備え、前記複数の抵抗素子は、最も第1方向の一方側に配置される第1抵抗素子と、最も前記第1方向の他方側に配置される第2抵抗素子を含み、前記第1電位検出部と前記第2電位検出部との間を前記被検出電流が流れる経路として、前記第1抵抗素子を経由する第1経路、および、前記第2抵抗素子を経由する第2経路を備え、前記第1経路は、前記第1電位検出部から前記第1抵抗素子までの第1経路第1部分と、前記第1抵抗素子から前記第2電位検出部までの第1経路
第2部分を備え、前記第2経路は、前記第1電位検出部から前記第2抵抗素子までの第2経路第1部分と、前記第2抵抗素子から前記第2電位検出部までの第2経路第2部分を備え、前記第1経路第1部分と前記第2経路第1部分との経路長の大小関係が、前記第1経路第2部分と前記第2経路第2部分との経路長の大小関係と逆になっていることを特徴とする。
In order to solve the above problems, the present invention is a circuit board having a substrate main body and a current detection unit for detecting a current to be detected flowing through a wiring pattern formed on the substrate main body, and the current detection unit. Is a current detection wiring pattern including a first wiring area provided with a first potential detection unit and a second wiring area provided with a second potential detection unit, the first wiring area, and the second wiring area. A plurality of resistance elements connected in parallel via a wiring region are provided, and the plurality of resistance elements include a first resistance element arranged on one side in the first direction and the other resistance element in the first direction. A first path that includes a second resistance element arranged on the side and passes through the first resistance element as a path through which the detected current flows between the first potential detection unit and the second potential detection unit. A second path via the second resistance element is provided, and the first path is from the first portion of the first path from the first potential detection unit to the first resistance element and from the first resistance element. First path to the second potential detection unit
A second portion is provided, and the second path includes a first portion of the second path from the first potential detection unit to the second resistance element, and a second path from the second resistance element to the second potential detection unit. The second portion of the route is provided, and the magnitude relationship between the first portion of the first route and the first portion of the second route is the path length between the second portion of the first route and the second portion of the second route. It is characterized by the fact that it is the opposite of the magnitude relationship of.

本発明によれば、第1電位検出部と第2電位検出部との間の電位差と、複数の抵抗素子の合成抵抗から被検出電流を求めることができる。また、第1抵抗素子および第2抵抗素子に対して第1電位検出部側の経路部分の経路長の大小関係と、第1抵抗素子および第2抵抗素子に対して第2電位検出部側の経路部分の経路長の大小関係とが逆転する。これにより、第1電位検出部側の経路部分の経路長の差と、第2電位検出部側の経路部分の経路長の差が、両経路部分を合計したときに相殺されるので、複数の経路のインピーダンスの違いに起因して、複数の経路を流れる電流に差が生じ、その結果生じる電流値の検出誤差を少なくすることができる。従って、精度良く電流を検出することができる。また、複数の経路のインピーダンスの違いに起因する検出誤差が、抵抗素子の部品特性に起因する検出誤差を上回らないため、抵抗素子の部品特性を無駄にすることがない。従って、高精度な抵抗素子を用いた場合には、その部品性能を有効に使用して精度良く電流を検出することができる。 According to the present invention, the detected current can be obtained from the potential difference between the first potential detection unit and the second potential detection unit and the combined resistance of a plurality of resistance elements. Further, the magnitude relationship between the path length of the path portion on the first potential detection unit side with respect to the first resistance element and the second resistance element, and the path length on the second potential detection unit side with respect to the first resistance element and the second resistance element. The magnitude relationship of the path length of the path part is reversed. As a result, the difference in the path length of the path portion on the first potential detection unit side and the difference in the path length of the path portion on the second potential detection unit side are offset when the two path portions are totaled . Due to the difference in the impedance of the paths, the currents flowing through the plurality of paths differ, and the detection error of the resulting current value can be reduced. Therefore, the current can be detected with high accuracy. Further, since the detection error due to the difference in impedance of the plurality of paths does not exceed the detection error due to the component characteristics of the resistance element, the component characteristics of the resistance element are not wasted. Therefore, when a highly accurate resistance element is used, the current can be detected with high accuracy by effectively using the component performance.

本発明において、前記第1配線領域と前記第2配線領域は、前記第1方向と直交する第2方向に対向し、前記第1抵抗素子および前記第2抵抗素子のそれぞれは、前記第1配線領域と前記第2配線領域の間を架け渡すように配置される構成を採用することができる。また、本発明において、前記第1電位検出部は、前記第1配線領域上において、前記第2抵抗素子よりも前記第1抵抗素子に近い位置に設けられ、前記第2電位検出部は、前記第2配線領域上において、前記第1抵抗素子よりも前記第2抵抗素子に近い位置に設けられていることが望ましい。このような配置を採用すると、第1抵抗素子および第2抵抗素子に対して第1電位検出部側の経路部分の経路長の大小関係と、第1抵抗素子および第2抵抗素子に対して第2電位検出部側の経路部分の経路長の大小関係とが逆転する。これにより、第1電位検出部側の経路部分の経路長の差と、第2電位検出部側の経路部分の経路長の差が、両経路部分を合計したときに相殺される。従って、第1抵抗素子を経由する電流の経路と第2抵抗素子を経由する電流の経路のインピーダンスの差を小さくすることができる。よって、精度良く電流を検出することができる。 In the present invention, the first wiring region and the second wiring region face each other in a second direction orthogonal to the first direction, and each of the first resistance element and the second resistance element is the first wiring. It is possible to adopt a configuration that is arranged so as to bridge between the area and the second wiring area. Further, in the present invention, the first potential detection unit is provided on the first wiring region at a position closer to the first resistance element than the second resistance element, and the second potential detection unit is the same. It is desirable that the second resistance element is provided at a position closer to the second resistance element than the first resistance element on the second wiring region. When such an arrangement is adopted, the relationship between the magnitude of the path length of the path portion on the first potential detection unit side with respect to the first resistance element and the second resistance element, and the first with respect to the first resistance element and the second resistance element. 2 The relationship between the magnitude of the path length of the path portion on the potential detection unit side is reversed. As a result, the difference in the path length of the path portion on the first potential detection unit side and the difference in the path length of the path portion on the second potential detection unit side are offset when the two path portions are totaled. Therefore, the difference in impedance between the current path passing through the first resistance element and the current path passing through the second resistance element can be reduced. Therefore, the current can be detected with high accuracy.

また、このような位置に第1電位検出部および第2電位検出部を配置した場合には、第1配線領域は第1抵抗素子側の領域のみを広くすればよく、第2配線領域は第2抵抗素子側の領域のみを広くすればよい。従って、不要な領域には配線パターンを形成しないようにすることができるので、電流検出用配線パターンの面積を小さくすることができる。よって、電流検出部の基板専有面積を小さくすることができ、回路基板を小型化することができる。また、回路基板上における回路配置の自由度を大きくすることができる。よって、回路基板の設計の自由度が増大する。 Further, when the first potential detection unit and the second potential detection unit are arranged at such positions, only the region on the first resistance element side needs to be widened in the first wiring region, and the second wiring region is the second wiring region. 2 Only the area on the resistance element side needs to be widened. Therefore, since the wiring pattern can be prevented from being formed in the unnecessary region, the area of the current detection wiring pattern can be reduced. Therefore, the area occupied by the board of the current detection unit can be reduced, and the circuit board can be miniaturized. In addition, the degree of freedom in circuit arrangement on the circuit board can be increased. Therefore, the degree of freedom in designing the circuit board is increased.

本発明において、上記のような配置を実現できる構成を、以下のように規定することができる。すなわち、前記第1電位検出部と前記第2電位検出部は、前記第1抵抗素子の前
記第1方向の一方側の角部のうち、前記第1方向と直交する第2方向の一方側に位置する第1角部と、前記第2抵抗素子の前記第1方向の他方側の角部のうち、前記第2方向の他方側に位置する第2角部とを結ぶ対角線の中点を基準として、前記中点より前記第1方向の一方側で、且つ、前記中点より前記第2方向の一方側の第1対角領域に前記第1電位検出部が配置され、前記中点より前記第1方向の他方側で、且つ、前記中点より前記第2方向の他方側の第2対角領域に前記第2電位検出部が配置されている構成を採用することができる。
In the present invention, a configuration capable of realizing the above arrangement can be defined as follows. That is, before Symbol said second potential detecting section and the first potential detection unit, out of the one side of the corner portion of the first direction of said first resistor element, one side of the second direction perpendicular to the first direction The midpoint of the diagonal line connecting the first corner portion located at and the second corner portion located on the other side of the second direction among the corner portions on the other side of the first direction of the second resistance element. As a reference, the first potential detection unit is arranged on one side of the first direction from the midpoint and in the first diagonal region on one side of the second direction from the midpoint, and the first potential detection unit is arranged from the midpoint. It is possible to adopt a configuration in which the second potential detection unit is arranged on the other side of the first direction and in the second diagonal region on the other side of the second direction from the midpoint.

この配置では、複数の抵抗素子の配置領域の対角線の中点を基準として、対角方向の一方側と他方側に第1電位検出部と第2電位検出部が配置されるようになっている。このような配置では、第1電位検出部側と第2電位検出部側で、第1抵抗素子を通る経路と第2抵抗素子を通る経路の経路長の大小関係が逆転する。従って、2つの経路のインピーダンスの差を小さくすることができ、精度良く電流を検出することができる。更に、このような配置では、対角方向の一方側と他方側の領域のみを広くすればよい。従って、電流検出用配線パターンの面積を小さくすることができる、よって、電流検出部の基板専有面積を小さくすることができ、回路基板を小型化することができる。 In this arrangement, the first potential detection unit and the second potential detection unit are arranged on one side and the other side in the diagonal direction with reference to the midpoint of the diagonal line of the arrangement region of the plurality of resistance elements. .. In such an arrangement, the magnitude relationship between the path lengths of the path passing through the first resistance element and the path passing through the second resistance element is reversed between the first potential detection unit side and the second potential detection unit side. Therefore, the difference between the impedances of the two paths can be reduced, and the current can be detected with high accuracy. Further, in such an arrangement, only the diagonally one-sided and the other-sided regions need be widened. Therefore, the area of the wiring pattern for current detection can be reduced, so that the area occupied by the board of the current detection unit can be reduced, and the circuit board can be miniaturized.

この場合に、前記第1電位検出部と前記第2電位検出部は、前記中点を基準として点対称な位置に設けられていることが望ましい。このようにすると、第1抵抗素子を通る経路と第2抵抗素子を通る経路のインピーダンスを同一もしくはほぼ同一にすることができる。従って、精度良く電流を検出することができる。 In this case, it is desirable that the first potential detection unit and the second potential detection unit are provided at positions symmetrical with respect to the midpoint. By doing so, the impedance of the path passing through the first resistance element and the path passing through the second resistance element can be the same or substantially the same. Therefore, the current can be detected with high accuracy.

本発明において、前記第1電位検出部と前記第2電位検出部の少なくとも一方には、前記基板本体を貫通するスルーホールが形成されていることが望ましい。このようにすると、電位検出用の端子を接続するスルーホールの位置を変更することによって電流が流れる
経路の経路長を調節して、インピーダンスを調節することができる。従って、予め複数のスルーホールを形成しておけば、配線パターンを変更することなく、電流が流れる経路のインピーダンスを調節することができる。また、基板本体の一方の面と他方の面に形成した配線パターンをスルーホールによって導通させることができるため、回路基板の両面に抵抗素子を配置して、電流検出部を構成することができる。更に、基板本体を多層基板とした場合には、基板表面以外の層にも配線パターンを形成してスルーホールを介して導通させることができる。従って、配線パターンの形成面積を広くすることができる。
In the present invention, it is desirable that at least one of the first potential detection unit and the second potential detection unit is formed with a through hole penetrating the substrate main body. In this way, the impedance can be adjusted by adjusting the path length of the path through which the current flows by changing the position of the through hole connecting the potential detection terminal. Therefore, if a plurality of through holes are formed in advance, the impedance of the path through which the current flows can be adjusted without changing the wiring pattern. Further, since the wiring patterns formed on one surface of the substrate body and the other surface can be conducted by through holes, resistance elements can be arranged on both sides of the circuit board to form a current detection unit. Further, when the substrate main body is a multilayer substrate, a wiring pattern can be formed on a layer other than the substrate surface and the wiring can be conducted through the through hole. Therefore, the formation area of the wiring pattern can be widened.

本発明において、前記基板本体の一方の面および他方の面に前記抵抗素子が配置されていることが望ましい。このようにすると、基板本体の片面に全ての抵抗素子を配置する場合と比較して、電流検出部の基板専有面積を小さくすることができる。 In the present invention, it is desirable that the resistance element is arranged on one surface and the other surface of the substrate body. By doing so, the area occupied by the substrate of the current detection unit can be reduced as compared with the case where all the resistance elements are arranged on one side of the substrate main body.

この場合に、前記一方の面と前記他方の面に前記抵抗素子が同一数ずつ配置されていることが望ましい。このようにすると、表裏で抵抗素子の数が異なる場合と比較して、各抵抗素子を経由する経路のインピーダンスの差を小さくすることができる。また、前記一方の面と前記他方の面における前記抵抗素子の配置が同一であることが望ましい。このようにすると、簡単な配置で、各抵抗素子を経由する経路のインピーダンスの差を小さくすることができる。従って、簡単に検出精度を向上させることができる。 In this case, it is desirable that the same number of resistance elements are arranged on the one surface and the other surface. By doing so, it is possible to reduce the difference in impedance of the path passing through each resistance element as compared with the case where the number of resistance elements is different on the front and back sides. Further, it is desirable that the arrangement of the resistance element on the one surface and the other surface is the same. By doing so, it is possible to reduce the difference in impedance of the path passing through each resistance element with a simple arrangement. Therefore, the detection accuracy can be easily improved.

本発明において、前記複数の抵抗素子は、公称抵抗値が同一であることが望ましい。このようにすると、公称抵抗値が異なる複数の抵抗素子を使用して電流検出部を構成する場合と比較して、より簡単に被検出電流を求めることができる。 In the present invention, it is desirable that the plurality of resistance elements have the same nominal resistance value. In this way, the detected current can be obtained more easily as compared with the case where the current detection unit is configured by using a plurality of resistance elements having different nominal resistance values.

次に、本発明のモータ制御装置は、上記の回路基板と、3相の交流電流を供給するインバータ回路と、前記回路基板上の配線パターンを介して前記インバータ回路と接続され、前記インバータ回路から供給される3相の電流をサーボモータのコイルへ供給する出力端子と、を有し、前記電流検出部は、前記インバータ回路と前記出力端子との間に直列に接続され、前記3相のうちの少なくとも2相の電流を検出することを特徴とする。 Next, the motor control device of the present invention is connected to the inverter circuit via the circuit board, the inverter circuit that supplies the three-phase alternating current, and the wiring pattern on the circuit board, and is connected to the inverter circuit from the inverter circuit. It has an output terminal that supplies the supplied three-phase current to the coil of the servo motor, and the current detection unit is connected in series between the inverter circuit and the output terminal, and is out of the three phases. It is characterized by detecting at least two phases of current.

本発明によれば、インバータ回路からサーボモータへ供給される電流を検出する電流検出部を備えているため、サーボモータへ供給される電流値を監視することができる。また、電流検出部は精度良く電流を検出できる。従って、検出した電流値に基づいてフィードバック制御を行うことができ、精度良くサーボモータを制御することができる。また、サーボモータを駆動するための3相の電流の合計値は0になるため、3相のうちの2相の電流を検出すれば、残りの1相の電流値は検出した2相の電流値から求めることができる。従って、3相の電流をそれぞれ電流検出部によって検出する場合と比較して、電流検出部の数が少なくて済む。よって、部品点数および組立工数を削減でき、コスト削減および小型化に有利である。 According to the present invention, since the current detection unit for detecting the current supplied from the inverter circuit to the servo motor is provided, the current value supplied to the servo motor can be monitored. In addition, the current detection unit can detect the current with high accuracy. Therefore, the feedback control can be performed based on the detected current value, and the servomotor can be controlled with high accuracy. Further, since the total value of the three-phase currents for driving the servomotor becomes 0, if the current of two of the three phases is detected, the current value of the remaining one phase is the detected two-phase current. It can be calculated from the value. Therefore, the number of current detection units can be reduced as compared with the case where the three-phase currents are detected by the current detection units. Therefore, the number of parts and the assembly man-hours can be reduced, which is advantageous for cost reduction and miniaturization.

本発明によれば、第1電位検出部と第2電位検出部との間の電位差と、複数の抵抗素子の合成抵抗から被検出電流を求めることができる。また、第1抵抗素子および第2抵抗素子に対して第1電位検出部側の経路部分の経路長の大小関係と、第1抵抗素子および第2抵抗素子に対して第2電位検出部側の経路部分の経路長の大小関係とが逆転する。これにより、第1電位検出部側の経路部分の経路長の差と、第2電位検出部側の経路部分の経路長の差が、両経路部分を合計したときに相殺されるので、複数の経路のインピーダンスの違いに起因して、複数の経路を流れる電流に差が生じ、その結果生じる電流値の検出誤差が、抵抗素子の抵抗値許容差を上回ることを回避することができる。従って、抵抗素子の部品特性に起因する検出誤差を上回る検出誤差が発生するおそれが少ないので、精度良く電流を検出することができる。 According to the present invention, the detected current can be obtained from the potential difference between the first potential detection unit and the second potential detection unit and the combined resistance of a plurality of resistance elements. Further, the magnitude relationship of the path length of the path portion on the first potential detection unit side with respect to the first resistance element and the second resistance element, and the path length on the second potential detection unit side with respect to the first resistance element and the second resistance element. The magnitude relationship of the path length of the path part is reversed. As a result, the difference in the path length of the path portion on the first potential detection unit side and the difference in the path length of the path portion on the second potential detection unit side are offset when the two path portions are totaled . It is possible to prevent a difference in the currents flowing through the plurality of paths due to the difference in the impedance of the paths, and the resulting detection error of the current value exceeding the resistance value tolerance of the resistance element. Therefore, since there is little possibility that a detection error exceeding the detection error due to the component characteristics of the resistance element will occur, the current can be detected with high accuracy.

本発明を適用したモータ制御装置を前面側(斜め右上方)から見た斜視図である。It is a perspective view of the motor control device to which this invention is applied seen from the front side (diagonally upper right). 第1カバー部材の側から見たモータ制御装置の分解斜視図である。It is an exploded perspective view of the motor control device seen from the side of the 1st cover member. モータ制御装置およびサーボモータのブロック図である。It is a block diagram of a motor control device and a servomotor. 電流検出を模式的に示す説明図である。It is explanatory drawing which shows the current detection schematically. 電流検出誤差を示すグラフである。It is a graph which shows the current detection error.

以下に、図面を参照して、本発明を適用した回路基板およびモータ制御装置の実施形態を説明する。本形態のモータ制御装置は、サーボモータを制御するために用いられるサーボアンプである。 Hereinafter, embodiments of a circuit board and a motor control device to which the present invention is applied will be described with reference to the drawings. The motor control device of this embodiment is a servo amplifier used to control a servomotor.

図1は本発明を適用したモータ制御装置1を前面側(斜め右上方)から見た斜視図である。図1の説における「右」は、モータ制御装置1を前面側から見た場合の「右」である。本明細書において、XYZの3方向は互いに直交する方向であり、X方向はモータ制御装置1の幅方向(左右方向)であり、Y方向はモータ制御装置1の上下方向であり、Z方向はモータ制御装置1の前後方向である。また、X方向の一方側(右側)を+X、他方側(左側)を−Xで示し、Y方向の一方側(上側)を+Y、他方側(下側)を−Yで示し、Z方向の一方側(前側)を+Z、他方側(後側)を−Zで示す。 FIG. 1 is a perspective view of the motor control device 1 to which the present invention is applied as viewed from the front side (obliquely upper right). The "right" in the theory of FIG. 1 is the "right" when the motor control device 1 is viewed from the front side. In the present specification, the three directions of XYZ are directions orthogonal to each other, the X direction is the width direction (horizontal direction) of the motor control device 1, the Y direction is the vertical direction of the motor control device 1, and the Z direction is. This is the front-rear direction of the motor control device 1. Further, one side (right side) in the X direction is indicated by + X, the other side (left side) is indicated by -X, one side (upper side) in the Y direction is indicated by + Y, and the other side (lower side) is indicated by -Y, in the Z direction. One side (front side) is indicated by + Z, and the other side (rear side) is indicated by −Z.

(モータ制御装置)
図1に示すように、モータ制御装置1は全体として直方体状である。モータ制御装置1は、幅方向Xの略中央に配置されるフレーム10と、フレーム10に固定されるカバー部材20を備える。カバー部材20は、フレーム10に対して幅方向Xの一方側(+X方向)に配置される第1カバー部材21と、フレーム10に対して幅方向Xの他方側(−X方向)に配置される第2カバー部材22と、第1カバー部材21の前方(+Z方向)に配置される第3カバー部材23を備える。モータ制御装置1の前面の+X方向側(右側)の部分にはコネクタ部24が設けられている。また、モータ制御装置1の前面の−X方向側(左側)の部分には開閉蓋25が設けられている。開閉蓋25の内側には、出力用の端子部(図3参照)が設けられている。
(Motor control device)
As shown in FIG. 1, the motor control device 1 has a rectangular parallelepiped shape as a whole. The motor control device 1 includes a frame 10 arranged substantially in the center of the width direction X, and a cover member 20 fixed to the frame 10. The cover member 20 is arranged on one side (+ X direction) of the width direction X with respect to the frame 10 and on the other side (−X direction) of the width direction X with respect to the frame 10. A second cover member 22 and a third cover member 23 arranged in front of the first cover member 21 (in the + Z direction) are provided. A connector portion 24 is provided on the + X direction side (right side) portion of the front surface of the motor control device 1. Further, an opening / closing lid 25 is provided on a portion of the front surface of the motor control device 1 on the −X direction side (left side). An output terminal portion (see FIG. 3) is provided inside the opening / closing lid 25.

フレーム10は、モータ制御装置1の幅方向Xの中央に配置されるフレーム本体11と、フレーム本体11の後端(−Z方向の端部)に設けられた矩形の背面板12を備える。フレーム本体11にはフック13が形成され、第1カバー部材21および第2カバー部材22は、フック13に対応する位置に形成された係合穴27を備える。第1カバー部材21および第2カバー部材22は、フック13と係合穴27からなるフック機構によってフレーム10に固定される。また、第3カバー部材23は、第1カバー部材21に形成された係合穴28と係合されるフック231を備えており、係合穴28とフック231からなるフック機構によって第1カバー部材21に対して第3カバー部材23が固定される。なお、フレーム10とカバー部材20との固定構造はフック機構以外の構造であってもよい。 The frame 10 includes a frame main body 11 arranged at the center of the motor control device 1 in the width direction X, and a rectangular back plate 12 provided at the rear end (end in the −Z direction) of the frame main body 11. A hook 13 is formed on the frame main body 11, and the first cover member 21 and the second cover member 22 have an engaging hole 27 formed at a position corresponding to the hook 13. The first cover member 21 and the second cover member 22 are fixed to the frame 10 by a hook mechanism including a hook 13 and an engaging hole 27. Further, the third cover member 23 includes a hook 231 that is engaged with the engaging hole 28 formed in the first cover member 21, and the first cover member is provided with a hook mechanism including the engaging hole 28 and the hook 231. The third cover member 23 is fixed to 21. The fixing structure between the frame 10 and the cover member 20 may be a structure other than the hook mechanism.

図2は第1カバー部材21の側から見たモータ制御装置1の分解斜視図である。図2に示すように、第1カバー部材21の内側には、フレーム本体11と一体に形成された放熱フィン30および第1基板40が配置されている。第1基板40は、放熱フィン30と第3カバー部材23との間に配置され、フレーム本体11から+X方向に突出するボス部15にねじ止めされている。また、第2カバー部材22の内側には、第2基板(図示省略)が配置されている。第2基板は、フレーム本体11から−X方向に突出するボス部(図示省略)にねじ止めされている。 FIG. 2 is an exploded perspective view of the motor control device 1 as seen from the side of the first cover member 21. As shown in FIG. 2, inside the first cover member 21, the heat radiation fins 30 and the first substrate 40 integrally formed with the frame main body 11 are arranged. The first substrate 40 is arranged between the heat radiation fin 30 and the third cover member 23, and is screwed to the boss portion 15 protruding from the frame main body 11 in the + X direction. Further, a second substrate (not shown) is arranged inside the second cover member 22. The second substrate is screwed to a boss portion (not shown) protruding in the −X direction from the frame main body 11.

フレーム本体11の−X方向を向く面には、発熱電子部品が固定されている。本形態で
は、発熱電子部品として、後述する整流回路61を構成するダイオードブリッジ43、および、インバータ回路63を構成するIGBTトランジスタ42を備えている。放熱フィン30は、フレーム本体11から発熱電子部品が固定される側とは反対側に突出する。図2に示すように、放熱フィン30の−Y方向側には冷却用のファン32が配置されている。ファン32からの冷却風は+Y方向に送風され、放熱フィン30を経由してモータ制御装置1の天面から排出される。
Heat-generating electronic components are fixed to the surface of the frame body 11 facing the −X direction. In this embodiment, as heat-generating electronic components, a diode bridge 43 constituting the rectifier circuit 61 described later and an IGBT transistor 42 constituting the inverter circuit 63 are provided. The heat radiating fin 30 projects from the frame body 11 to the side opposite to the side to which the heat generating electronic component is fixed. As shown in FIG. 2, a cooling fan 32 is arranged on the −Y direction side of the heat radiation fin 30. The cooling air from the fan 32 is blown in the + Y direction and discharged from the top surface of the motor control device 1 via the heat radiation fins 30.

(制御系)
図3はモータ制御装置1およびサーボモータ2のブロック図である。モータ制御装置1は、開閉蓋25の内側に設けられた端子部を介して、サーボモータ2にU相、V相、W相の3相の電流を供給する。サーボモータ2は出力軸の回転位置を検出するエンコーダ3を備えており、エンコーダ信号は、コネクタ部24を介してモータ制御装置1へ入力される。
(Control system)
FIG. 3 is a block diagram of the motor control device 1 and the servo motor 2. The motor control device 1 supplies a three-phase current of U phase, V phase, and W phase to the servomotor 2 via a terminal portion provided inside the opening / closing lid 25. The servomotor 2 includes an encoder 3 that detects the rotational position of the output shaft, and the encoder signal is input to the motor control device 1 via the connector unit 24.

第1基板40は制御基板である。第1基板40には、制御素子であるMCU51およびゲートドライブIC52を備える制御回路が設けられている。MCU51には、サーボモータ2のエンコーダ3からエンコーダ信号が入力されるとともに、サーボモータ2に供給される3相の電流のうちの2相の電流を検出する電流検出部70からの電流検出信号が入力される。後述するように、電流検出部70は抵抗素子の両端側の2箇所の電位を検出するように構成されている。電流検出部70からの電流検出信号は、A/D変換器80を経由してMCU51に入力される。また、MCU51には、外部からの制御命令がコネクタ部24を介して入力される。 The first board 40 is a control board. The first substrate 40 is provided with a control circuit including an MCU 51 as a control element and a gate drive IC 52. An encoder signal is input to the MCU 51 from the encoder 3 of the servomotor 2, and a current detection signal from the current detection unit 70 that detects the current of two of the three phases supplied to the servomotor 2 is input to the MCU 51. Entered. As will be described later, the current detection unit 70 is configured to detect potentials at two locations on both ends of the resistance element. The current detection signal from the current detection unit 70 is input to the MCU 51 via the A / D converter 80. Further, a control command from the outside is input to the MCU 51 via the connector unit 24.

第2基板(図示省略)はドライバ基板である。第2基板には、商用交流電源60に接続される整流回路61と、整流回路61に接続される平滑コンデンサ62と、平滑コンデンサ62に対して直列に接続されるインバータ回路63と、インバータ回路63からサーボモータ2へ供給される電流を検出する電流検出部70が設けられている。整流回路61は、上述したダイオードブリッジ43により構成されており、商用交流電源60から共有される電源電流を整流して平滑コンデンサ62にチャージする。インバータ回路63は、6個のIGBTトランジスタ42と、各IGBTトランジスタ42に並列接続される環流ダイオード46を備える。 The second board (not shown) is a driver board. On the second board, a rectifier circuit 61 connected to the commercial AC power supply 60, a smoothing capacitor 62 connected to the rectifier circuit 61, an inverter circuit 63 connected in series with the smoothing capacitor 62, and an inverter circuit 63. A current detection unit 70 for detecting the current supplied from the inverter to the servo motor 2 is provided. The rectifier circuit 61 is composed of the diode bridge 43 described above, and rectifies the power supply current shared from the commercial AC power supply 60 to charge the smoothing capacitor 62. The inverter circuit 63 includes six IGBT transistors 42 and a recirculation diode 46 connected in parallel to each IGBT transistor 42.

第1基板40上に設けられたMCU51は、エンコーダ信号および電流検出信号に基づき、ゲートドライブIC52へPWM信号を供給する。ゲートドライブIC52は、PWM信号に基づき、ゲート駆動信号をインバータ回路63へ供給する。これにより、IGBTトランジスタ42のスイッチング動作が行われ、U相、V相、W相のモータ駆動電流が生成される。なお、サーボモータ制御回路を構成するにあたって、インバータ回路63をモジュール化したIPM(インテリジェントパワーモジュール)を用いることもできる。 The MCU 51 provided on the first substrate 40 supplies a PWM signal to the gate drive IC 52 based on the encoder signal and the current detection signal. The gate drive IC 52 supplies the gate drive signal to the inverter circuit 63 based on the PWM signal. As a result, the switching operation of the IGBT transistor 42 is performed, and the U-phase, V-phase, and W-phase motor drive currents are generated. In configuring the servomotor control circuit, an IPM (intelligent power module) in which the inverter circuit 63 is modularized can also be used.

(電流検出部)
モータ制御装置1の端子部には、サーボモータ2のコイルと接続される出力端子29U、29V、29W(図3参照)が設けられている。また、第2基板(図示省略)は、基板本体と、基板本体の表面に形成された配線パターンを備えており、出力端子29U、29V、29Wは、第2基板上の配線パターンを介してインバータ回路63と接続され、インバータ回路63からサーボモータ2のコイルに対してU相、V相、W相のモータ駆動電流が供給される。第2基板には、出力端子29U、29V、29Wとインバータ回路63との間に直列に挿入されてモータ駆動電流を検出する電流検出部70が設けられている。すなわち、第2基板は、本発明を適用した回路基板である。電流検出部70は、第2基板上の2箇所に設けられ、3相のモータ駆動電流のうちの2相の電流値を検出する。本形態では、U相とV相の電流を検出するが、検出する2相は、U相とV相でなくてもよい。3相
のモータ駆動電流の総和は0であるため、MCU51は、2相の電流値から残りの1相の電流値を算出する。
(Current detector)
The terminal portion of the motor control device 1 is provided with output terminals 29U, 29V, 29W (see FIG. 3) connected to the coil of the servomotor 2. Further, the second board (not shown) includes a board body and a wiring pattern formed on the surface of the board body, and the output terminals 29U, 29V, and 29W are inverters via the wiring pattern on the second board. It is connected to the circuit 63, and U-phase, V-phase, and W-phase motor drive currents are supplied from the inverter circuit 63 to the coil of the servo motor 2. The second board is provided with a current detection unit 70 inserted in series between the output terminals 29U, 29V, 29W and the inverter circuit 63 to detect the motor drive current. That is, the second substrate is a circuit board to which the present invention is applied. The current detection unit 70 is provided at two locations on the second substrate and detects the current value of two of the three-phase motor drive currents. In this embodiment, the currents of the U phase and the V phase are detected, but the two phases to be detected do not have to be the U phase and the V phase. Since the total of the three-phase motor drive currents is 0, the MCU 51 calculates the current value of the remaining one phase from the current values of the two phases.

モータ制御装置1は、電流検出部70として、U相のモータ駆動電流を検出する電流検出部70Uと、V相のモータ駆動電流を検出する電流検出部70Vを備える。電流検出部70U、70Vは、いずれも、第2基板上に形成された電流検出用配線パターンおよび複数の抵抗素子を備えている。複数の抵抗素子は抵抗値が同一もしくは同等程度であり、電流検出用配線パターンによって並列に接続されている。 The motor control device 1 includes a current detection unit 70U for detecting the U-phase motor drive current and a current detection unit 70V for detecting the V-phase motor drive current as the current detection unit 70. Each of the current detection units 70U and 70V includes a current detection wiring pattern formed on the second substrate and a plurality of resistance elements. The plurality of resistance elements have the same or similar resistance values, and are connected in parallel by a current detection wiring pattern.

図4は電流検出部70を模式的に示す説明図であり、図4(a)〜図4(c)はそれぞれ、電流検出部70の形態の例である。電流検出部70は、図4(a)〜図4(c)のいずれの形態であってもよい。また、図4(a)〜図4(c)に示す形態は、抵抗素子の数が2であるが、抵抗素子の数は3以上であってもよい。更に、電流検出部は、回路基板の一方の面と他方の面に設けられていてもよい。例えば、回路基板の一方の面と他方の面にそれぞれ電流検出用配線パターンおよび抵抗素子を設けて、回路基板を貫通するスルーホールを介して複数の抵抗素子を並列に接続した形態であってもよい。 FIG. 4 is an explanatory diagram schematically showing the current detection unit 70, and FIGS. 4A to 4C are examples of the form of the current detection unit 70, respectively. The current detection unit 70 may have any of the forms shown in FIGS. 4 (a) to 4 (c). Further, in the form shown in FIGS. 4A to 4C, the number of resistance elements is 2, but the number of resistance elements may be 3 or more. Further, the current detection unit may be provided on one surface and the other surface of the circuit board. For example, even in a form in which a wiring pattern for current detection and a resistance element are provided on one surface and the other surface of the circuit board, and a plurality of resistance elements are connected in parallel via a through hole penetrating the circuit board. good.

図4(a)〜図4(c)に示す電流検出部70は、第1方向RXに配列される2個の抵抗素子(第1抵抗素子R1および第2抵抗素子R2)と、第1方向RXと直交する第2方向RYに対向する第1配線領域71および第2配線領域72を備える。第1配線領域71および第2配線領域72は電流検出用配線パターンを構成している。第1配線領域71には、第1電位検出部73が設けられている。また、第2配線領域72には、第2電位検出部74が設けられている。第1抵抗素子R1および第2抵抗素子R2は、第1配線領域71および第2配線領域72によって並列に接続されている。 The current detection unit 70 shown in FIGS. 4A to 4C has two resistance elements (first resistance element R1 and second resistance element R2) arranged in the first direction RX and the first direction. A first wiring region 71 and a second wiring region 72 facing the second direction RY orthogonal to the RX are provided. The first wiring area 71 and the second wiring area 72 constitute a wiring pattern for current detection. A first potential detection unit 73 is provided in the first wiring region 71. Further, a second potential detection unit 74 is provided in the second wiring region 72. The first resistance element R1 and the second resistance element R2 are connected in parallel by the first wiring region 71 and the second wiring region 72.

電流検出部70は、第1電位検出部73と第2電位検出部74との間を電流が流れるように回路基板上の配線パターンに接続される。電流検出部70は、第1電位検出部73と第2電位検出部74との間を電流が流れる経路として、第1抵抗素子R1を経由する第1経路C1、および、第2抵抗素子R2を経由する第2経路C2を備えている。電流検出部70は、第1抵抗素子R1および第2抵抗素子R2の抵抗値に応じた所定の合成抵抗を持つため、第1電位検出部73と第2電位検出部74の電位差と合成抵抗とに基づいて電流値を計測することができる。電流検出部70は、並列に接続される複数の抵抗素子の抵抗値が同一の場合には、第1抵抗素子R1と第2抵抗素子R2による電流損失(発熱)が均等になるため、素子選定が容易であり、検出精度の計算も容易である。このため、電流値の計測が最も容易である。従って、第1抵抗素子R1および第2抵抗素子R2として、抵抗値が同一のものを用いることが望ましい。 The current detection unit 70 is connected to a wiring pattern on the circuit board so that a current flows between the first potential detection unit 73 and the second potential detection unit 74. The current detection unit 70 uses the first path C1 and the second resistance element R2 via the first resistance element R1 as a path through which the current flows between the first potential detection unit 73 and the second potential detection unit 74. It is provided with a second route C2 via. Since the current detection unit 70 has a predetermined combined resistance corresponding to the resistance values of the first resistance element R1 and the second resistance element R2, the potential difference between the first potential detection unit 73 and the second potential detection unit 74 and the combined resistance The current value can be measured based on. When the resistance values of a plurality of resistance elements connected in parallel are the same, the current detection unit 70 selects the element because the current loss (heat generation) due to the first resistance element R1 and the second resistance element R2 becomes equal. It is easy to calculate the detection accuracy. Therefore, it is easiest to measure the current value. Therefore, it is desirable to use the same resistance value as the first resistance element R1 and the second resistance element R2.

電流検出部70は、第1抵抗素子R1を経由する第1経路C1のインピーダンスと、第2抵抗素子R2を経由する第2経路C2のインピーダンスが等しい場合に、2つの経路に均等に電流を流すことができる。均等に電流が流れると、第1抵抗素子R1および第2抵抗素子R2を並列に接続した場合の合成抵抗に基づいて、最も精度良く電流値を計測することができる。そのため、電流検出部70は、第1経路C1のインピーダンスと、第2経路C2のインピーダンスとの差を小さくするために、第1経路C1の経路長と、第2経路C2の経路長との差が小さい構成を採用している。例えば、第1経路C1のインピーダンスと、第2経路C2のインピーダンスとの差が、第1抵抗素子R1および第2抵抗素子R2の公称抵抗値に対する抵抗値許容差の範囲内となるように構成されている。本形態の電流検出部70は、第1経路C1のインピーダンスと、第2経路C2のインピーダンスとの差に起因する電流値の計測誤差が、第1抵抗素子R1および第2抵抗素子R2の抵抗値許容差に起因する計測誤差以下である。 When the impedance of the first path C1 passing through the first resistance element R1 and the impedance of the second path C2 passing through the second resistance element R2 are equal, the current detection unit 70 causes a current to flow evenly through the two paths. be able to. When the current flows evenly, the current value can be measured with the highest accuracy based on the combined resistance when the first resistance element R1 and the second resistance element R2 are connected in parallel. Therefore, the current detection unit 70 determines the difference between the path length of the first path C1 and the path length of the second path C2 in order to reduce the difference between the impedance of the first path C1 and the impedance of the second path C2. Has adopted a small configuration. For example, the difference between the impedance of the first path C1 and the impedance of the second path C2 is configured to be within the range of the resistance value tolerance with respect to the nominal resistance values of the first resistance element R1 and the second resistance element R2. ing. In the current detection unit 70 of the present embodiment, the measurement error of the current value due to the difference between the impedance of the first path C1 and the impedance of the second path C2 is the resistance value of the first resistance element R1 and the second resistance element R2. It is less than or equal to the measurement error due to the tolerance.

図4(a)の例では、第1経路C1は、第1電位検出部73から第1抵抗素子R1までの第1経路部分C11と、第1抵抗素子R1から第2電位検出部74までの第2経路部分C12を備える。また、第2経路C2は、第1電位検出部73から第2抵抗素子R2までの第1経路部分C21と、第2抵抗素子R2から第2電位検出部74までの第2経路部分C22を備える。また、第1電位検出部73は、第1配線領域71上において、第2抵抗素子R2よりも第1抵抗素子R1に近い位置に配置されている。一方、第2電位検出部74は、第2配線領域72上において、第1抵抗素子R1よりも第2抵抗素子R2に近い位置に配置されている。 In the example of FIG. 4A, the first path C1 is the first path portion C11 from the first potential detection unit 73 to the first resistance element R1 and the first resistance element R1 to the second potential detection unit 74. A second path portion C12 is provided. Further, the second path C2 includes a first path portion C21 from the first potential detection unit 73 to the second resistance element R2, and a second path portion C22 from the second resistance element R2 to the second potential detection unit 74. .. Further, the first potential detection unit 73 is arranged on the first wiring region 71 at a position closer to the first resistance element R1 than to the second resistance element R2. On the other hand, the second potential detection unit 74 is arranged on the second wiring region 72 at a position closer to the second resistance element R2 than to the first resistance element R1.

上記の4箇所の経路部分は、第1経路部分C11と第1経路部分C21との経路長の大小関係が、第2経路部分C12と第2経路部分C22との経路長の大小関係と逆になっている。従って、第1経路部分C11と第1経路部分C21とのインピーダンスの大小関係が、第2経路部分C12と第2経路部分C22とのインピーダンスの大小関係と逆になっている。このように、第1経路C1と第2経路C2において、第1抵抗素子R1および第2抵抗素子R2に対して第1電位検出部73側と第2電位検出部74側で経路長の大小関係が逆になっていれば、第1電位検出部73側と第2電位検出部74側の経路部分のインピーダンスを合計した際に、インピーダンスの差の少なくとも一部が相殺される。従って、第1経路C1全体のインピーダンスと、第2経路C2全体のインピーダンスとの差が小さいので、第1経路C1と第2経路C2のインピーダンスの差に起因する電流値の計測誤差が小さい。 In the above four path portions, the magnitude relationship between the path lengths of the first path portion C11 and the first path portion C21 is opposite to the magnitude relationship between the path lengths of the second path portion C12 and the second route portion C22. It has become. Therefore, the magnitude relationship between the impedances of the first path portion C11 and the first path portion C21 is opposite to the magnitude relationship between the impedances of the second path portion C12 and the second path portion C22. As described above, in the first path C1 and the second path C2, the magnitude relation of the path length between the first potential detection unit 73 side and the second potential detection unit 74 side with respect to the first resistance element R1 and the second resistance element R2. If is reversed, at least a part of the impedance difference is canceled out when the impedances of the path portions on the first potential detection unit 73 side and the second potential detection unit 74 side are totaled. Therefore, since the difference between the impedance of the entire first path C1 and the impedance of the entire second path C2 is small, the measurement error of the current value due to the difference between the impedances of the first path C1 and the second path C2 is small.

図4(a)の例では、第1抵抗素子R1および第2抵抗素子R2に対して第1電位検出部73側と第2電位検出部74側で経路長の大小関係を逆転させるために、第1電位検出部73と第2電位検出部74は、以下のように配置される。すなわち、第1抵抗素子R1と第1抵抗素子R1の配置領域は全体として矩形であり、その対角位置の角部(第1角部E1と第2角部E2)の中点Dを基準として、対角方向に位置する第1対角領域F1と第2対角領域F2の一方に第1電位検出部73が配置され、他方に第2電位検出部74が配置されている。 In the example of FIG. 4A, in order to reverse the magnitude relationship of the path length between the first potential detection unit 73 side and the second potential detection unit 74 side with respect to the first resistance element R1 and the second resistance element R2, The first potential detection unit 73 and the second potential detection unit 74 are arranged as follows. That is, the arrangement region of the first resistance element R1 and the first resistance element R1 is rectangular as a whole, and the midpoint D of the diagonal corner portions (first corner portion E1 and second corner portion E2) is used as a reference. The first potential detection unit 73 is arranged on one of the first diagonal region F1 and the second diagonal region F2 located diagonally, and the second potential detection unit 74 is arranged on the other side.

言い換えると、第1抵抗素子R1の第1方向RXの一方側RX1の縁に設けられた2箇所の角部のうちで第2方向RYの一方側RY1に位置する第1角部E1と、第2抵抗素子R2の第1方向RXの他方側RX2の縁に設けられた2箇所の角部のうちで第2方向RYの他方側RY2に位置する第2角部E2とを結ぶ対角線の中点Dを基準として、この中点Dより第1方向RXの一方側RX1で、且つ、中点Dより第2方向RYの一方側RY1の第1対角領域F1に第1電位検出部73が配置されている。また、中点Dより第1方向RXの他方側RX2で、且つ、中点Dより第2方向RYの他方側RY2の第2対角領域F2に第2電位検出部74が配置されている。 In other words, the first corner portion E1 located on one side RY1 of the second direction RY among the two corner portions provided on the edge of the one side RX1 of the first direction RX of the first resistance element R1 and the first. 2 The midpoint of the diagonal line connecting the second corner portion E2 located on the other side RY2 of the second direction RY among the two corner portions provided on the edge of the other side RX2 of the first direction RX of the resistance element R2. With reference to D, the first potential detection unit 73 is arranged on one side RX1 of the first direction RX from the midpoint D and in the first diagonal region F1 of the one side RY1 of the second direction RY from the midpoint D. Has been done. Further, the second potential detection unit 74 is arranged on the other side RX2 of the first direction RX from the midpoint D and in the second diagonal region F2 of the other side RY2 of the second direction RY from the midpoint D.

このように、第1抵抗素子R1および第2抵抗素子R2が配置される矩形領域の対角線の中点Dを基準として対角方向に位置する領域に第1電位検出部73と第2電位検出部74を配置すれば、第1経路C1の経路長と、第2経路C2の経路長の差を小さくすることができる。従って、第1経路C1と第2経路C2のインピーダンスの差を小さくすることができる。 In this way, the first potential detection unit 73 and the second potential detection unit are located diagonally with respect to the midpoint D of the diagonal line of the rectangular region in which the first resistance element R1 and the second resistance element R2 are arranged. By arranging 74, the difference between the path length of the first path C1 and the path length of the second path C2 can be reduced. Therefore, the difference in impedance between the first path C1 and the second path C2 can be reduced.

図4(b)の例は、第1抵抗素子R1と第2抵抗素子R2が第2方向RYにずれた位置に配置されている。このような配置であっても、第1抵抗素子R1と第2抵抗素子R2が配置される領域の対角位置(第1角部E1と第2角部E2)の中点Dを基準として、対角方向に位置する第1対角領域F1と第2対角領域F2の一方に第1電位検出部73を配置し、他方に第2電位検出部74を配置することができる。従って、図4(a)の例と同様に、第1経路C1と第2経路C2の経路長の差を小さくすることができ、第1経路C1と
第2経路C2のインピーダンスの差を小さくすることができる。
In the example of FIG. 4B, the first resistance element R1 and the second resistance element R2 are arranged at positions deviated from each other in the second direction RY. Even with such an arrangement, the midpoint D of the diagonal positions (first corner portion E1 and second corner portion E2) of the region where the first resistance element R1 and the second resistance element R2 are arranged is used as a reference. The first potential detection unit 73 can be arranged in one of the first diagonal region F1 and the second diagonal region F2 located in the diagonal direction, and the second potential detection unit 74 can be arranged in the other. Therefore, similarly to the example of FIG. 4A, the difference in the path lengths of the first path C1 and the second path C2 can be reduced, and the difference in impedance between the first path C1 and the second path C2 can be reduced. be able to.

図4(a)、図4(b)の形態では、第1配線領域71と第2配線領域72は、第1電位検出部73を配置した第1対角領域F1、および、第2電位検出部74を配置した第2対角領域F2に拡がっているが、第1電位検出部73および第2電位検出部74を配置していない側の対角領域(第3対角領域G1および第4対角領域G2)では、電位検出部を設けるために配線パターンを設ける必要がない。従って、第1配線領域71と第2配線領域72は、第3対角領域G1と第4対角領域G2には拡がっておらず、第3対角領域G1と第4対角領域G2では、抵抗素子の側に凹んだ形状となっている。従って、電流検出部70の第2基板上における専有面積が小さい。 In the embodiments of FIGS. 4A and 4B, the first wiring region 71 and the second wiring region 72 are the first diagonal region F1 in which the first potential detection unit 73 is arranged, and the second potential detection. Diagonal regions (third diagonal regions G1 and fourth) on the side where the first potential detection unit 73 and the second potential detection unit 74 are not arranged, although they extend to the second diagonal region F2 in which the unit 74 is arranged. In the diagonal region G2), it is not necessary to provide a wiring pattern in order to provide the potential detection unit. Therefore, the first wiring region 71 and the second wiring region 72 do not extend to the third diagonal region G1 and the fourth diagonal region G2, and in the third diagonal region G1 and the fourth diagonal region G2, the first wiring region 71 and the second wiring region 72 do not extend to the third diagonal region G1 and the fourth diagonal region G2. It has a concave shape on the side of the resistance element. Therefore, the occupied area of the current detection unit 70 on the second substrate is small.

図4(c)に示す電流検出部70は、第1電位検出部73および第2電位検出部74に、基板本体を貫通する複数のスルーホール75が形成されている。このように、予め複数のスルーホール75を形成しておけば、配線パターンを変更することなく、電位差の検出位置を調節することができる。従って、電流検出部70の形成後に第1経路C1と第2経路C2のインピーダンスを調節することができる。また、スルーホール75によって回路基板の一方の面と他方の面に設けられた配線パターンを導通させることができる。従って、複数の抵抗素子を回路基板の一方の面と他方の面に配置して、これらを並列に接続した電流検出部70を構成することができる。更に、回路基板として多層基板を用いた場合には、回路基板の表面に設けられた配線パターンや抵抗素子を、内部の層に設けられた配線パターンと導通させることができる。従って、回路基板を小型化できる。なお、スルーホール75は、第1電位検出部73と第2電位検出部74の一方のみに設けられていてもよい。 In the current detection unit 70 shown in FIG. 4C, a plurality of through holes 75 penetrating the substrate main body are formed in the first potential detection unit 73 and the second potential detection unit 74. In this way, if a plurality of through holes 75 are formed in advance, the detection position of the potential difference can be adjusted without changing the wiring pattern. Therefore, the impedances of the first path C1 and the second path C2 can be adjusted after the formation of the current detection unit 70. Further, the through holes 75 can make the wiring patterns provided on one surface and the other surface of the circuit board conductive. Therefore, a plurality of resistance elements can be arranged on one surface and the other surface of the circuit board to form a current detection unit 70 in which these are connected in parallel. Further, when a multilayer board is used as the circuit board, the wiring pattern or resistance element provided on the surface of the circuit board can be made conductive with the wiring pattern provided on the inner layer. Therefore, the circuit board can be miniaturized. The through hole 75 may be provided only in one of the first potential detection unit 73 and the second potential detection unit 74.

図4(a)〜図4(c)の形態では、中点Dを基準として点対称な位置に第1電位検出部73と第2電位検出部74が配置されている。このような配置では、第1経路C1と第2経路C2の経路長が同一もしくはほぼ同一である。従って、第1経路C1と第2経路C2のインピーダンスの差に起因する計測誤差を小さくすることができる。 In the modes of FIGS. 4A to 4C, the first potential detection unit 73 and the second potential detection unit 74 are arranged at positions symmetrical with respect to the midpoint D. In such an arrangement, the path lengths of the first path C1 and the second path C2 are the same or almost the same. Therefore, the measurement error due to the difference in impedance between the first path C1 and the second path C2 can be reduced.

図5は電流検出誤差を示すグラフである。図5において、実線で示すグラフH1は、比較例の電流検出部(図示省略)の電流検出誤差を示す。比較例の電流検出部は、図4(c)の例で示した第2電位検出部74が第2対角領域F2に設けられているものの、第1電位検出部73は、第1対角領域F1ではなく、第1抵抗素子R1と第2抵抗素子R2からほぼ等しい距離の位置に設けられたものである。また、破線で示すグラフH2は、図4(c)に示す電流検出部70の電流検出誤差を示す。図5のデータから、第1電位検出部73を対角領域に移動させたことによって、電流検出誤差が非常に小さくなることがわかる。 FIG. 5 is a graph showing a current detection error. In FIG. 5, the graph H1 shown by a solid line shows the current detection error of the current detection unit (not shown) of the comparative example. In the current detection unit of the comparative example, the second potential detection unit 74 shown in the example of FIG. 4C is provided in the second diagonal region F2, but the first potential detection unit 73 has the first diagonal. It is not a region F1 but is provided at a position substantially equal to the first resistance element R1 and the second resistance element R2. Further, the graph H2 shown by the broken line shows the current detection error of the current detection unit 70 shown in FIG. 4 (c). From the data of FIG. 5, it can be seen that the current detection error becomes very small by moving the first potential detection unit 73 to the diagonal region.

(本形態の主な効果)
以上のように、本形態のモータ制御装置1の第2基板は、被検出電流が流れる回路パターン(例えば、モータ駆動電流が流れる回路パターン)と、被検出電流を検出する電流検出部70を備えており、電流検出部70は、第1配線領域71と第2配線領域72を介して並列に接続された複数の抵抗素子(例えば、第1抵抗素子R1および第2抵抗素子R2)を備えている。従って、第1配線領域71に設けられた第1電位検出部73と、第2配線領域72に設けられた第2電位検出部74との間の電位差と、複数の抵抗素子の合成抵抗から被検出電流を求めることができる。また、電流検出部70を構成する複数の抵抗素子の抵抗値(公称抵抗値)が同一であれば、抵抗値が異なる複数の抵抗素子を使用して電流検出部70を構成する場合と比較して、より簡単に被検出電流を求めることができる。
(Main effect of this form)
As described above, the second substrate of the motor control device 1 of the present embodiment includes a circuit pattern in which the detected current flows (for example, a circuit pattern in which the motor drive current flows) and a current detection unit 70 for detecting the detected current. The current detection unit 70 includes a plurality of resistance elements (for example, the first resistance element R1 and the second resistance element R2) connected in parallel via the first wiring region 71 and the second wiring region 72. There is. Therefore, it is covered by the potential difference between the first potential detection unit 73 provided in the first wiring region 71 and the second potential detection unit 74 provided in the second wiring region 72, and the combined resistance of the plurality of resistance elements. The detection current can be obtained. Further, if the resistance values (nominal resistance values) of the plurality of resistance elements constituting the current detection unit 70 are the same, as compared with the case where the current detection unit 70 is configured by using a plurality of resistance elements having different resistance values. Therefore, the detected current can be obtained more easily.

また、本形態の電流検出部70は、複数の抵抗素子を経由して電流が流れる複数の経路
(例えば、第1経路C1と第2経路C2)を備えており、これら複数の経路のインピーダンスの差が、電流検出部70を構成する抵抗素子の公称抵抗値に対する抵抗値許容差の範囲内となっている。従って、複数の経路のインピーダンスの違いに起因して、複数の経路を流れる電流に差が生じることによる電流値の検出誤差を少なくすることができる。また、複数の経路のインピーダンスの違いに起因する検出誤差が、抵抗素子の部品特性に起因する検出誤差を上回らないため、抵抗素子の部品特性を無駄にすることがない。従って、高精度な抵抗素子を用いた場合には、その部品性能を有効に使用して精度良く電流を検出することができる。
Further, the current detection unit 70 of the present embodiment includes a plurality of paths (for example, first path C1 and second path C2) through which a current flows via a plurality of resistance elements, and the impedance of the plurality of paths. The difference is within the range of the resistance value tolerance with respect to the nominal resistance value of the resistance element constituting the current detection unit 70. Therefore, it is possible to reduce the detection error of the current value due to the difference in the currents flowing through the plurality of paths due to the difference in the impedances of the plurality of paths. Further, since the detection error due to the difference in impedance of the plurality of paths does not exceed the detection error due to the component characteristics of the resistance element, the component characteristics of the resistance element are not wasted. Therefore, when a highly accurate resistance element is used, the current can be detected with high accuracy by effectively using the component performance.

具体的には、本形態では、第1電位検出部73は、第1配線領域71上において、第2抵抗素子R2よりも第1抵抗素子R1に近い位置に設けられ、第2電位検出部74は、第2配線領域72上において、第1抵抗素子R1よりも第2抵抗素子R2に近い位置に設けられている。これにより、第1経路C1と第2経路C2は、第1電位検出部73側の経路部分の経路長の差と、第2電位検出部74側の経路部分の経路長の差が、両経路部分を合計したときに少なくとも一部が相殺される。従って、第1経路C1と第2経路C2のインピーダンスの差を小さくすることができる。 Specifically, in the present embodiment, the first potential detection unit 73 is provided on the first wiring region 71 at a position closer to the first resistance element R1 than the second resistance element R2, and the second potential detection unit 74. Is provided on the second wiring region 72 at a position closer to the second resistance element R2 than to the first resistance element R1. As a result, in the first path C1 and the second path C2, the difference in the path length of the path portion on the first potential detection unit 73 side and the difference in the path length of the path portion on the second potential detection unit 74 side are both routes. At least part is offset when the parts are summed. Therefore, the difference in impedance between the first path C1 and the second path C2 can be reduced.

また、この配置は、以下のように規定することもできる。すなわち、電流検出部70は、最も第1方向RXの一方側RX1に配置される第1抵抗素子R1と、最も第1方向RXの他方側RX2に配置される第2抵抗素子R2を含み、第1電位検出部73と第2電位検出部74は、第1抵抗素子R1の第1方向RXの一方側RX1の角部のうち、第1方向RXと直交する第2方向RYの一方側RY1に位置する第1角部E1と、第2抵抗素子R2の第1方向RXの他方側RX2の角部のうち、第2方向RYの他方側RY2に位置する第2角部E2とを結ぶ対角線の中点Dを基準として、この中点Dより第1方向RXの一方側RX1で、且つ、中点Dより第2方向RYの一方側RY1の第1対角領域F1に第1電位検出部73が配置され、中点Dより第1方向RXの他方側RX2で、且つ、中点Dより第2方向RYの他方側RY2の第2対角領域F2に第2電位検出部74が配置されている。このように、複数の抵抗素子の配置領域の対角線の中点Dを基準として、対角方向の一方側と他方側に第1電位検出部73と第2電位検出部74を配置することにより、第1経路C1と第2経路C2の経路長の差を小さくすることができ、第1経路C1と第2経路C2のインピーダンスの差を小さくすることができる。 This arrangement can also be specified as follows. That is, the current detection unit 70 includes a first resistance element R1 arranged on one side RX1 of the first direction RX and a second resistance element R2 arranged on the other side RX2 of the most first direction RX. The 1-potential detection unit 73 and the 2nd potential detection unit 74 are located on one side RY1 of the 2nd direction RY orthogonal to the 1st direction RX among the corner portions of the 1st direction RX 1 side RX1 of the 1st resistance element R1. Diagonal line connecting the located first corner portion E1 and the second corner portion E2 located on the other side RY2 of the second direction RY among the corner portions of the other side RX2 of the first direction RX of the second resistance element R2. With the midpoint D as a reference, the first potential detection unit 73 is located on one side RX1 of the first direction RX from the midpoint D and in the first diagonal region F1 of the one side RY1 of the second direction RY from the midpoint D. Is arranged, and the second potential detection unit 74 is arranged in the second diagonal region F2 of the other side RX2 of the first direction RX from the midpoint D and the other side RY2 of the second direction RY from the midpoint D. There is. In this way, by arranging the first potential detection unit 73 and the second potential detection unit 74 on one side and the other side in the diagonal direction with reference to the midpoint D of the diagonal line of the arrangement region of the plurality of resistance elements, the first potential detection unit 73 and the second potential detection unit 74 are arranged. The difference in path length between the first path C1 and the second path C2 can be reduced, and the difference in impedance between the first path C1 and the second path C2 can be reduced.

特に、第1電位検出部73と第2電位検出部74が、中点Dを基準として点対称な位置に設けられていれば、第1抵抗素子R1を通る第1経路C1と第2抵抗素子R2を通る第2経路C2のインピーダンスを同一にすることができる。この場合には、第1経路C1と第2経路C2の経路長の差に起因する検出誤差が発生しない。 In particular, if the first potential detection unit 73 and the second potential detection unit 74 are provided at positions symmetrical with respect to the midpoint D, the first path C1 and the second resistance element passing through the first resistance element R1 are provided. The impedance of the second path C2 passing through R2 can be made the same. In this case, the detection error due to the difference in the path length between the first path C1 and the second path C2 does not occur.

また、本形態のように、第1抵抗素子R1寄りに第1電位検出部73を配置し、第2抵抗素子寄りに第2電位検出部74を配置する場合、第1配線領域71は第1抵抗素子R1側の領域のみを広くすればよく、第2配線領域72は第2抵抗素子R2側の領域のみを広くすればよい。従って、配線パターンが不要な領域に配線パターンを形成しないようにすることにより、電流検出用配線パターンの面積を小さくすることができる。よって、電流検出部70の基板専有面積を小さくすることができ、回路基板を小型化することができる。あるいは、回路基板上における回路配置の自由度を大きくすることができ、回路基板の設計の自由度を増大させることができる。 Further, when the first potential detection unit 73 is arranged near the first resistance element R1 and the second potential detection unit 74 is arranged near the second resistance element as in the present embodiment, the first wiring region 71 is the first. Only the region on the resistance element R1 side may be widened, and the second wiring region 72 may widen only the region on the second resistance element R2 side. Therefore, the area of the current detection wiring pattern can be reduced by preventing the wiring pattern from being formed in an unnecessary region. Therefore, the area occupied by the board of the current detection unit 70 can be reduced, and the circuit board can be miniaturized. Alternatively, the degree of freedom in circuit arrangement on the circuit board can be increased, and the degree of freedom in designing the circuit board can be increased.

また、電流検出部70は、第1電位検出部73と第2電位検出部74に、基板本体を貫通するスルーホール75が形成されている形態を採用することができる。電位を検出する位置に予め複数のスルーホール75を形成しておけば、配線パターンを変更することなく、電流が流れる経路のインピーダンスを調節することができる。更に、基板本体を多層基
板とした場合には、基板表面以外の層にも配線パターンを形成してスルーホール75を介して導通させることができるので、配線パターンの形成面積を広くすることができる。
Further, the current detection unit 70 can adopt a form in which a through hole 75 penetrating the substrate main body is formed in the first potential detection unit 73 and the second potential detection unit 74. If a plurality of through holes 75 are formed in advance at positions where the potential is detected, the impedance of the path through which the current flows can be adjusted without changing the wiring pattern. Further, when the substrate main body is a multilayer substrate, a wiring pattern can be formed in a layer other than the substrate surface and conducted through the through hole 75, so that the formation area of the wiring pattern can be widened. ..

また、基板本体にスルーホール75を形成する場合には、基板本体の両面に抵抗素子を配置してスルーホール75を介して並列に接続して電流検出部70を構成することができ、この場合には、基板本体の片面に全ての抵抗素子を配置する場合と比較して、電流検出部の基板専有面積を小さくすることができる。また、基板本体の両面に抵抗素子を同一数ずつ配置した場合には、簡単な配置で、各抵抗素子を経由する経路のインピーダンスの差を小さくすることができる。従って、簡単に検出精度を向上させることができる。 Further, when the through holes 75 are formed in the substrate body, resistance elements can be arranged on both sides of the substrate body and connected in parallel via the through holes 75 to form the current detection unit 70. In this case. In this case, the area occupied by the board of the current detection unit can be reduced as compared with the case where all the resistance elements are arranged on one side of the board body. Further, when the same number of resistance elements are arranged on both sides of the substrate body, the difference in impedance of the path passing through each resistance element can be reduced by a simple arrangement. Therefore, the detection accuracy can be easily improved.

本形態のモータ制御装置1の第2基板には、3相のモータ駆動電流を供給するインバータ回路63が搭載されており、電流検出部70として、インバータ回路63と、3相のうちの2相のモータ駆動電流を出力する出力端子29U、29Vとの間に直列に接続される電流検出部70U、70Vが設けられている。従って、サーボモータ2へ供給される電流値を精度良く検出できるため、精度良くサーボモータを制御することができる。また、3相のうちの2相の電流のみを検出して残りの1相の電流値は検出した2相の電流値から求めるため、3相の電流をそれぞれ電流検出部70によって検出する場合と比較して、電流検出部70の数が少なくて済む。よって、部品点数および組立工数を削減でき、コスト削減および小型化に有利である。 An inverter circuit 63 that supplies a three-phase motor drive current is mounted on the second substrate of the motor control device 1 of the present embodiment, and the inverter circuit 63 and two of the three phases are used as the current detection unit 70. Current detection units 70U and 70V connected in series with the output terminals 29U and 29V that output the motor drive current of the above are provided. Therefore, since the current value supplied to the servomotor 2 can be detected with high accuracy, the servomotor can be controlled with high accuracy. Further, since only the current of two of the three phases is detected and the current value of the remaining one phase is obtained from the detected current value of the two phases, the current of each of the three phases is detected by the current detection unit 70. In comparison, the number of current detection units 70 can be reduced. Therefore, the number of parts and the assembly man-hours can be reduced, which is advantageous for cost reduction and miniaturization.

(他の実施形態)
上記形態は、モータ駆動電流を検出する電流検出部70を備えた回路基板に本発明を適用したものであるが、電流検出部70は、モータ駆動電流以外の電流を検出するために用いることもできる。
(Other embodiments)
In the above embodiment, the present invention is applied to a circuit board provided with a current detection unit 70 for detecting a motor drive current, but the current detection unit 70 can also be used to detect a current other than the motor drive current. can.

1…モータ制御装置、2…サーボモータ、3…エンコーダ、10…フレーム、11…フレーム本体、12…背面板、13…フック、15…ボス部、20…カバー部材、21…第1カバー部材、22…第2カバー部材、23…第3カバー部材、24…コネクタ部、25…開閉蓋、27…係合穴、28…係合穴、29U、29V、29W…出力端子、30…放熱フィン、32…ファン、40…第1基板、42…IGBTトランジスタ、43…ダイオードブリッジ、44…インシュレータ、46…環流ダイオード、51…MCU、52…ゲートドライブIC、60…商用交流電源、61…整流回路、62…平滑コンデンサ、63…インバータ回路、70…電流検出部、71…第1配線領域、72…第2配線領域、73…第1電位検出部、74…第2電位検出部、75…スルーホール、80…A/D変換器、231…フック、C1…第1経路、C11…第1経路部分、C12…第2経路部分、C2…第2経路、C21…第1経路部分、C22…第2経路部分、D…中点、E1…第1角部、E2…第2角部、F1…第1対角領域、F2…第2対角領域、G1…第3対角領域、G2…第4対角領域、R1…第1抵抗素子、R2…第2抵抗素子、RX…第1方向、RX1…第1方向の一方側、RX2…第1方向の他方側、RY…第2方向、RY1…第2方向の一方側、RY2…第2方向の他方側、X…幅方向、Y…上下方向、Z…前後方向 1 ... motor control device, 2 ... servo motor, 3 ... encoder, 10 ... frame, 11 ... frame body, 12 ... back plate, 13 ... hook, 15 ... boss part, 20 ... cover member, 21 ... first cover member, 22 ... 2nd cover member, 23 ... 3rd cover member, 24 ... Connector part, 25 ... Open / close lid, 27 ... Engagement hole, 28 ... Engagement hole, 29U, 29V, 29W ... Output terminal, 30 ... Radiation fin, 32 ... fan, 40 ... first board, 42 ... IGBT transistor, 43 ... diode bridge, 44 ... insulator, 46 ... recirculation diode, 51 ... MCU, 52 ... gate drive IC, 60 ... commercial AC power supply, 61 ... rectifying circuit, 62 ... Smoothing capacitor, 63 ... Inverter circuit, 70 ... Current detection unit, 71 ... First wiring area, 72 ... Second wiring area, 73 ... First potential detection unit, 74 ... Second potential detection unit, 75 ... Through hole , 80 ... A / D converter, 231 ... Hook, C1 ... 1st path, C11 ... 1st path part, C12 ... 2nd path part, C2 ... 2nd path, C21 ... 1st path part, C22 ... 2nd Path portion, D ... Midpoint, E1 ... 1st corner, E2 ... 2nd corner, F1 ... 1st diagonal region, F2 ... 2nd diagonal region, G1 ... 3rd diagonal region, G2 ... 4th Diagonal region, R1 ... first resistance element, R2 ... second resistance element, RX ... first direction, RX1 ... one side of the first direction, RX2 ... the other side of the first direction, RY ... second direction, RY1 ... One side of the second direction, RY2 ... the other side of the second direction, X ... width direction, Y ... vertical direction, Z ... front-back direction

Claims (11)

基板本体と、前記基板本体に形成された配線パターンを流れる被検出電流を検出する電流検出部と、を有する回路基板であって、
前記電流検出部は、
第1電位検出部が設けられた第1配線領域、および、第2電位検出部が設けられた第2配線領域を備えた電流検出用配線パターンと、
前記第1配線領域と前記第2配線領域を介して並列に接続された複数の抵抗素子と、を備え、
前記複数の抵抗素子は、最も第1方向の一方側に配置される第1抵抗素子と、最も前記第1方向の他方側に配置される第2抵抗素子を含み、
前記第1電位検出部と前記第2電位検出部との間を前記被検出電流が流れる経路として、前記第1抵抗素子を経由する第1経路、および、前記第2抵抗素子を経由する第2経路を備え、
前記第1経路は、前記第1電位検出部から前記第1抵抗素子までの第1経路第1部分と、前記第1抵抗素子から前記第2電位検出部までの第1経路第2部分を備え、
前記第2経路は、前記第1電位検出部から前記第2抵抗素子までの第2経路第1部分と、前記第2抵抗素子から前記第2電位検出部までの第2経路第2部分を備え、
前記第1経路第1部分と前記第2経路第1部分との経路長の大小関係が、前記第1経路第2部分と前記第2経路第2部分との経路長の大小関係と逆になっていることを特徴とする回路基板。
A circuit board having a board body and a current detection unit that detects a current to be detected flowing through a wiring pattern formed on the board body.
The current detection unit
A wiring pattern for current detection including a first wiring area provided with a first potential detection unit and a second wiring area provided with a second potential detection unit, and a wiring pattern for current detection.
A plurality of resistance elements connected in parallel via the first wiring region and the second wiring region are provided.
The plurality of resistance elements include a first resistance element arranged on one side of the first direction and a second resistance element arranged on the other side of the first direction.
As a path through which the detected current flows between the first potential detection unit and the second potential detection unit, a first path via the first resistance element and a second path via the second resistance element. Equipped with a route,
The first path includes a first path first portion from the first potential detection unit to the first resistance element, and a first path second portion from the first resistance element to the second potential detection unit. ,
The second path includes a first portion of the second path from the first potential detection unit to the second resistance element, and a second portion of the second path from the second resistance element to the second potential detection unit. ,
The magnitude relationship between the first portion of the first route and the first portion of the second route is opposite to the magnitude relationship between the second portion of the first route and the second portion of the second route. circuit board, characterized by that.
前記第1配線領域と前記第2配線領域は、前記第1方向と直交する第2方向に対向し、The first wiring area and the second wiring area face each other in a second direction orthogonal to the first direction.
前記第1抵抗素子および前記第2抵抗素子のそれぞれは、前記第1配線領域と前記第2配線領域の間を架け渡すように配置されることを特徴とする請求項1に記載の回路基板。The circuit board according to claim 1, wherein each of the first resistance element and the second resistance element is arranged so as to bridge between the first wiring region and the second wiring region.
記第1電位検出部は、前記第1配線領域上において、前記第2抵抗素子よりも前記第1抵抗素子に近い位置に設けられ、
前記第2電位検出部は、前記第2配線領域上において、前記第1抵抗素子よりも前記第2抵抗素子に近い位置に設けられていることを特徴とする請求項1または2に記載の回路基板。
The first potential detecting unit before SL, in the first wiring region provided at a position closer to the first resistive element than said second resistive element,
The circuit according to claim 1 or 2 , wherein the second potential detection unit is provided at a position closer to the second resistance element than the first resistance element on the second wiring region. substrate.
記第1電位検出部と前記第2電位検出部は、
前記第1抵抗素子の前記第1方向の一方側の角部のうち、前記第1方向と直交する第2方向の一方側に位置する第1角部と、前記第2抵抗素子の前記第1方向の他方側の角部のうち、前記第2方向の他方側に位置する第2角部とを結ぶ対角線の中点を基準として、前記中点より前記第1方向の一方側で、且つ、前記中点より前記第2方向の一方側の第1対角領域に前記第1電位検出部が配置され、前記中点より前記第1方向の他方側で、且つ、前記中点より前記第2方向の他方側の第2対角領域に前記第2電位検出部が配置されていることを特徴とする請求項に記載の回路基板。
Prior Symbol said second potential detecting section and the first potential detection unit,
Of the corner portions on one side of the first resistance element of the first resistance element, the first corner portion located on one side of the second direction orthogonal to the first direction and the first corner portion of the second resistance element. Of the corners on the other side of the direction, one side of the first direction from the midpoint and with reference to the midpoint of the diagonal line connecting the second corner located on the other side of the second direction. The first potential detection unit is arranged in the first diagonal region on one side of the second direction from the midpoint, the other side of the first direction from the midpoint, and the second from the midpoint. The circuit board according to claim 3 , wherein the second potential detection unit is arranged in a second diagonal region on the other side in the direction.
前記第1電位検出部と前記第2電位検出部は、前記中点を基準として点対称な位置に設けられていることを特徴とする請求項に記載の回路基板。 The circuit board according to claim 4 , wherein the first potential detection unit and the second potential detection unit are provided at positions symmetrical with respect to the midpoint. 前記第1電位検出部と前記第2電位検出部の少なくとも一方には、前記基板本体を貫通するスルーホールが形成されていることを特徴とする請求項1からの何れか一項に記載の回路基板。 The invention according to any one of claims 1 to 5 , wherein a through hole penetrating the substrate main body is formed in at least one of the first potential detection unit and the second potential detection unit. Circuit board. 前記基板本体の一方の面および他方の面に前記抵抗素子が配置されていることを特徴とする請求項1からの何れか一項に記載の回路基板。 The circuit board according to any one of claims 1 to 6 , wherein the resistance element is arranged on one surface and the other surface of the substrate body. 前記一方の面と前記他方の面に前記抵抗素子が同一数ずつ配置されていることを特徴とする請求項に記載の回路基板。 The circuit board according to claim 7 , wherein the same number of resistance elements are arranged on one surface and the other surface. 前記一方の面と前記他方の面における前記抵抗素子の配置が同一であることを特徴とする請求項に記載の回路基板。 The circuit board according to claim 8 , wherein the arrangement of the resistance elements on one surface and the other surface is the same. 前記複数の抵抗素子は、公称抵抗値が同一であることを特徴とする請求項1からの何れか一項に記載の回路基板。 The circuit board according to any one of claims 1 to 9 , wherein the plurality of resistance elements have the same nominal resistance value. 請求項1から10の何れか一項に記載の回路基板と、
3相の交流電流を供給するインバータ回路と、
前記回路基板上の配線パターンを介して前記インバータ回路と接続され、前記インバータ回路から供給される3相の電流をサーボモータのコイルへ供給する出力端子と、を有し、前記電流検出部は、前記インバータ回路と前記出力端子との間に直列に接続され、前記3相のうちの少なくとも2相の電流を検出することを特徴とするモータ制御装置。
The circuit board according to any one of claims 1 to 10.
Inverter circuit that supplies three-phase alternating current and
The current detection unit has an output terminal that is connected to the inverter circuit via a wiring pattern on the circuit board and supplies a three-phase current supplied from the inverter circuit to the coil of the servo motor. A motor control device which is connected in series between the inverter circuit and the output terminal and detects a current of at least two of the three phases.
JP2017128802A 2017-06-30 2017-06-30 Circuit board and motor controller Active JP6989305B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP2017128802A JP6989305B2 (en) 2017-06-30 2017-06-30 Circuit board and motor controller
CN201810688513.4A CN109212294B (en) 2017-06-30 2018-06-28 Circuit board and motor control device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2017128802A JP6989305B2 (en) 2017-06-30 2017-06-30 Circuit board and motor controller

Publications (2)

Publication Number Publication Date
JP2019012017A JP2019012017A (en) 2019-01-24
JP6989305B2 true JP6989305B2 (en) 2022-01-05

Family

ID=64989444

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2017128802A Active JP6989305B2 (en) 2017-06-30 2017-06-30 Circuit board and motor controller

Country Status (2)

Country Link
JP (1) JP6989305B2 (en)
CN (1) CN109212294B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113346713B (en) * 2021-04-19 2022-11-11 中国第一汽车股份有限公司 Discrete device and power module package
JP2024140730A (en) 2023-03-28 2024-10-10 株式会社豊田自動織機 Current Detection Circuit
JP7843940B1 (en) * 2024-11-01 2026-04-10 三菱電機株式会社 Current detection circuit board

Family Cites Families (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08307115A (en) * 1995-04-28 1996-11-22 Taise:Kk Transformer coupling method and transformer coupler
GB9813982D0 (en) * 1998-06-30 1998-08-26 Mem Limited Residual current detection device
JP4640559B2 (en) * 2000-12-21 2011-03-02 株式会社安川電機 Inverter device
JP2004304948A (en) * 2003-03-31 2004-10-28 Yaskawa Electric Corp Motor current detection circuit
JP2008275418A (en) * 2007-04-27 2008-11-13 Omron Corp Wiring board, current detection device
JP2009210366A (en) * 2008-03-04 2009-09-17 Taiyosha Electric Co Ltd Current sensing resistor
JP5370753B2 (en) * 2009-06-29 2013-12-18 株式会社デンソー Power converter
JP5727851B2 (en) * 2010-08-09 2015-06-03 矢崎総業株式会社 Method and apparatus for detecting insulation state of ungrounded power supply
JP5724990B2 (en) * 2012-10-31 2015-05-27 ダイキン工業株式会社 Electronic circuit equipment
US9054515B2 (en) * 2013-06-12 2015-06-09 Infineon Technologies Austria Ag Current measurement and overcurrent detection
EP3163741B1 (en) * 2014-06-24 2020-10-14 Panasonic Appliances Refrigeration Devices Singapore Compressor-driving device and freezing cycle apparatus provided with compressor-driving device and with compressor
JP2016176715A (en) * 2015-03-18 2016-10-06 アスモ株式会社 Current detection device
JP6894181B2 (en) * 2015-06-17 2021-06-30 ダイキン工業株式会社 Inverter device

Also Published As

Publication number Publication date
CN109212294A (en) 2019-01-15
JP2019012017A (en) 2019-01-24
CN109212294B (en) 2021-02-26

Similar Documents

Publication Publication Date Title
JP5545334B2 (en) Electronic circuit equipment
US8436500B2 (en) Semiconductor module and motorized equipment using the same
JP6122128B2 (en) Current sensor
JP5289348B2 (en) Automotive power converter
JP5312386B2 (en) Power converter
JP4936466B2 (en) Power semiconductor unit
JP6501023B2 (en) Heat dissipation board for mounting electronic parts
JP6795581B2 (en) Electronic control device
JP6838501B2 (en) Electronic control device and electric power steering device using this
JP6989305B2 (en) Circuit board and motor controller
JP2002034135A (en) Wiring connection structure
EP2808892B1 (en) Inverter unit
JP6745991B2 (en) Semiconductor power module
JP2016115834A (en) Electronic circuit device
JP7099938B2 (en) Power semiconductor device
Tripathi Hardware engineer’s guide to a brushless-DC motor controller: Design and challenges
JP6450853B2 (en) Electronic equipment
JP7331811B2 (en) power converter
JP7136023B2 (en) Circuit boards and circuit board modules
JP6989760B2 (en) Electronics
JP2021141647A (en) Power converter
CN118382812A (en) Current sensor device
JP2009130977A (en) Servo motor control device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20200601

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20210331

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20210406

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20210528

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20211109

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20211202

R150 Certificate of patent or registration of utility model

Ref document number: 6989305

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150