Motor controller
The motor control device addresses the complexity and size issues of existing devices by using digital communication between control units and pre-driver ICs, enhancing safety and simplifying the configuration.
Patent Information
- Application Number
- JP2023212711
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-12-18
- Publication Date
- 2025-06-30
AI Technical Summary
Existing motor control devices with two sets of motor windings become complex and larger when additional redundancy is added for functional safety, particularly in configurations with four systems.
A motor control device that includes driver circuits, pre-driver ICs, and control units, where the pre-driver ICs are capable of digital communication and output drive signals to switching elements in the driver circuits, simplifying the configuration compared to analog communication.
The solution simplifies the configuration of the motor control device, enhances functional safety, and reduces the device size by enabling digital communication between the control units and pre-driver ICs.
Smart Images

Figure 2025096795000001_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to a motor control device.
Background Art
[0002] Conventionally, a motor control device for controlling a motor having two sets of motor windings is known. For example, in Patent Document 1, it has a two-system configuration in which an inverter circuit and a control unit are provided corresponding to the motor windings.
Prior Art Documents
Patent Documents
[0003]
Patent Document 1
Summary of the Invention
Problems to be Solved by the Invention
[0004] Generally, the command from the microcomputer to the pre-driver is analog communication. Here, when further redundancy is added, for example, to four systems, etc., from the perspective of functional safety, the configuration may become complicated and the device may become larger.
[0005] The present invention has been made in view of the above problems, and an object thereof is to provide a motor control device capable of simplifying the configuration.
Means for Solving the Problems
[0006] The motor control device of the present invention controls the drive of a motor (11) having motor windings (121 to 124), and includes driver circuits (51 to 54), pre-driver ICs (61 to 64), and control units (21 to 24). The driver circuits have a plurality of switching elements (511 to 516, 521 to 526) for switching the energization of the motor windings. The pre-driver ICs have a pre-driver circuit (611) for outputting a drive signal to the switching elements and are capable of digital communication. The control units calculate a drive command for the motor and output the drive command to the pre-driver ICs by digital communication. Thereby, the configuration can be simplified compared to the case of outputting the drive command by analog communication.
Brief Description of the Drawings
[0007]
Figure 1
Figure 2
Figure 3
Figure 4
Figure 5
Figure 6
Figure 7
Figure 8
Figure 9
Figure 10
Figure 11
Figure 12
Figure 13
Figure 14
Figure 15
Figure 16
Figure 17
Figure 18
Figure 19
Figure 20
Figure 21
Figure 22
Figure 23
Figure 24
Figure 25
Figure 26
Figure 27
Figure 28
Figure 29
Figure 30
Figure 31
Figure 32
Figure 33
Figure 34
Figure 35
Figure 36
Figure 37
Figure 38
Figure 39
Figure 40
Figure 41
Figure 42
Figure 43
Figure 44
Figure 45
Figure 46
Figure 47
Figure 48
Figure 49
Figure 50
Figure 51
Figure 52
Figure 53
Figure 54
Figure 55
Figure 56
Embodiments for Carrying Out the Invention
[0008] Hereinafter, motor control according to the present invention will be described with reference to the drawings. In the following, in a plurality of embodiments, substantially the same configurations are denoted by the same reference numerals and the description thereof is omitted.
[0009] (First Embodiment) The first embodiment is shown in FIGS. 1 to 28. As shown in FIG. 1, the drive device 10 includes a motor 11 and an ECU 15 as a communication device, and is applied to an electric power steering device 5 which is a steering device for assisting a steering operation of a vehicle, for example. FIG. 1 shows the overall configuration of a steering system 90 including the electric power steering device 5. The steering system 90 includes a steering wheel 91 which is a steering member, a steering shaft 92, a pinion gear 96, a rack shaft 97, a wheel 98, and the electric power steering device 5 and the like.
[0010] The steering wheel 91 is connected to a steering shaft 92. A torque sensor 93 for detecting a steering torque is provided on the steering shaft 92. A pinion gear 96 is provided at the tip of the steering shaft 92. The pinion gear 96 meshes with a rack shaft 97. A pair of wheels 98 are connected to both ends of the rack shaft 97 via tie rods or the like.
[0011] When the driver rotates the steering wheel 91, the steering shaft 92 connected to the steering wheel 91 rotates. The rotational motion of the steering shaft 92 is converted into a linear motion of the rack shaft 97 by the pinion gear 96. The pair of wheels 98 are steered at an angle corresponding to the displacement amount of the rack shaft 97.
[0012] The electric power steering device 5 includes a drive device 10 and a reduction gear 6 or the like as a power transmission unit that decelerates the rotation of the motor 11 and transmits it to the rack shaft 97. The electric power steering device 5 of the present embodiment is a so-called "rack assist type", but it may be a so-called "column assist type" or the like that transmits the rotation of the motor 11 to the steering shaft 92.
[0013] The drive device 10 has an ECU 15 integrally provided on one side in the axial direction of the motor 11 and is a so-called "mechatronic type". The ECU 15 has a connector 16 and is connected to the vehicle power supply 7, the vehicle communication network 8, and the torque sensor 93 via the connector 16. The vehicle power supply 7 includes power supplies 501 and 502 described later. The vehicle communication network 8 is, for example, a CAN (Controller Area Network) and is described as "CAN" in the figure.
[0014] The ECU 15 is arranged coaxially with the motor 11 on the side opposite to the output shaft of the motor 11. Here, "coaxial" means that, for example, errors and misalignments related to assembly and design are allowed. Hereinafter, the axial direction of the motor 11 is regarded as the axial direction of the drive device 10 and is simply referred to as the "axial direction". The same applies to the "radial direction" and the "circumferential direction".
[0015] As shown in FIG. 2, the motor 11 is, for example, a three-phase brushless motor and has four motor windings 121 to 124. The motor 11 outputs part or all of the torque required for steering, is driven by the electric power supplied from the power supplies 501 and 502, and rotates the reduction gear 6 forward and backward.
[0016] The ECU 15 includes a microcomputer 21, 23, power supply ICs 31, 33, communication units 36, 38, oscillators 41, 43, driver circuits 51 to 54, pre-driver ICs 61 to 64, and position sensors 66 to 69, etc. Note that the descriptions with subscripts such as "1", "2", "1A", "2A", "1B", "2B", etc. indicate that they are provided correspondingly, and for the components that can be identified by the subscripts, the reference signs are appropriately omitted. Each component constituting the ECU 15 is mounted on a substrate 75 provided substantially parallel to one end face in the axial direction of the motor 11 (see FIG. 1). In FIG. 1, one substrate 75 is shown, but a plurality of substrates may be used.
[0017] The microcomputer 21 has arithmetic cores 211, 212 with lockstep. The microcomputer 23 has arithmetic cores 231, 232 with lockstep. The microcomputers 21, 23 are provided so as to be able to transmit and receive information to and from each other by inter-microcomputer communication. In the present embodiment, the microcomputers 21, 23 are similarly configured, but their performance and configuration details may be different. The details of the microcomputers 21, 23 will be described later.
[0018] The microcomputer 21 is supplied with electric power from the power supply IC 31, and the microcomputer 23 is supplied with electric power from the power supply IC 33. The power supply ICs 31, 33 are power management ICs (PMIC). In the present embodiment, the components above the dashed-dotted line in FIG. 2 are supplied with electric power from the power supply 501, and the components below the dashed-dotted line are supplied with electric power from the power supply 502. That is, the drive device 10 of the present embodiment is a "two-power-supply system" supplied with electric power from two power supplies 501, 502.
[0019] The communication units 36 and 38 are used for transmitting and receiving various information. The communication units 36 and 38 are connected to the vehicle communication network 8 and acquire vehicle signals from the vehicle communication network 8. The oscillators 41 and 43 are clock sources such as crystal oscillators or ceramic oscillators, for example.
[0020] As shown in FIG. 3, the driver circuit 51 has six switching elements 511 to 516 and is provided corresponding to the winding 121. The driver circuit 52 has six switching elements 521 to 526 and is provided corresponding to the winding 122. The driver circuit 53 has six switching elements and is provided corresponding to the winding 123. The driver circuit 54 has six switching elements and is provided corresponding to the winding 124. Motor relays 131 to 134 are provided between the driver circuits 51 to 54 and the windings 121 to 124 (see FIG. 39).
[0021] In the driver circuit 51, the switching elements 511 to 513 are provided on the high potential side, the switching elements 514 to 516 are provided on the low potential side, and they are bridge-connected. The switching elements 511 and 514 are connected to the U phase of the winding 121, the switching elements 512 and 515 are connected to the V phase of the winding 121, and the switching elements 513 and 516 are connected to the W phase of the winding 121.
[0022] Also, in the driver circuit 52, the switching elements 521 to 523 are provided on the high potential side, the switching elements 524 to 526 are provided on the low potential side, and they are bridge-connected. The switching elements 521 and 524 are connected to the U phase of the winding 122, the switching elements 522 and 525 are connected to the V phase of the winding 122, and the switching elements 523 and 526 are connected to the W phase of the winding 122. Hereinafter, the switching element on the high potential side is appropriately referred to as the upper arm element, and the switching element on the low potential side is referred to as the lower arm element. The switching element in this embodiment is a MOSFET, but it may also be an IGBT, a bipolar transistor, or the like.
[0023] Driver circuits 51 and 52 are connected to power supply 501. Between power supply 501 and driver circuit 51, a power relay 551, a reverse connection protection relay 556, a choke coil 562, and a capacitor 566 are provided. Choke coil 561 and capacitor 566 constitute a filter circuit. Between power supply 501 and driver circuit 52, a power relay 552, a reverse connection protection relay 557, a choke coil 562, and a capacitor 567 are provided. Choke coil 562 and capacitor 567 constitute a filter circuit. Driver circuits 53 and 54 are connected to power supply 502. The circuit configurations of driver circuits 53 and 54 and the power relays, reverse connection protection relays, and filter circuits provided between power supply 502 and driver circuits 53 and 54 are the same as those of driver circuits 51 and 52, power relays 551 and 552, etc., and thus the description thereof is omitted.
[0024] Returning to FIG. 2, pre-driver ICs 61 to 64 are provided corresponding to driver circuits 51 to 54. Pre-driver ICs 61 and 62 are provided so as to be digitally communicable with microcomputer 21, and pre-driver ICs 63 and 64 are provided so as to be digitally communicable with microcomputer 23. Microcomputers 21 and 23 transmit drive commands for three phases of motor 11 as a set of digital signals to each of pre-driver ICs 61 to 64.
[0025] Specifically, pre-driver IC 61 is communicably connected to arithmetic core 211, pre-driver IC 62 is communicably connected to arithmetic core 212, pre-driver IC 63 is communicably connected to arithmetic core 231, and pre-driver IC 64 is communicably connected to arithmetic core 232. Also, communication lines connecting pre-driver ICs 61 to 64 and arithmetic cores 211, 212, 231, and 232 are connected by inter-system connection line 25.
[0026] By digitizing the communication between the microcontroller and the pre-driver and providing the inter-system connection line 25, even if an abnormality occurs in one arithmetic core, for example, it is possible to continue issuing commands from other normal arithmetic cores to all pre-driver ICs 61 to 64. The inter-system connection line 25 means that the four connection lines connecting the core and the pre-driver IC are connected so as to have the same potential. Therefore, even if a disconnection occurs at the location indicated by the arrow mid in FIG. 2, for example, it is possible to exchange signals between the arithmetic cores 1A, 1B and the pre-drivers 2A, 2B.
[0027] An isolator 28, which will be described later, is provided on the inter-system connection line 25 (not shown in FIG. 2). The isolator 28 may be provided at any location on the inter-system connection line 25. Also, the same effect can be obtained by imparting an isolator function to necessary components.
[0028] The position sensors 66 to 69 detect the rotation of the motor 11. The position sensors 66 to 69 are respectively connected to the arithmetic cores 211, 212, 231, and 232. The communication lines connecting the position sensors 66 to 69 and the microcontrollers 21 and 23 are connected by the inter-system connection line 256. The communication lines connecting the power supply ICs 31 and 33 and the microcontrollers 21 and 23 are connected by the inter-system connection line 257, and the communication lines connecting the communication units 36 and 38 and the microcontrollers 21 and 23 are connected by the inter-system connection line 258. Note that the inter-system connection lines 256 to 258 may be omitted.
[0029] The pre-driver IC will be described with reference to FIG. 4. Here, the pre-driver IC 61 will be described as an example. As shown in FIG. 4, the pre-driver IC 61 includes a three-phase pre-driver circuit 611 that transmits a gate signal to the switching elements constituting the driver circuit 51. The pre-driver IC 61 also includes a current detection circuit 612, a temperature detection circuit 613, an abnormality detection unit 614, a relay driver circuit 621, and the like.
[0030] The pre-driver circuit 611 outputs a gate signal as a drive signal to the switching elements 511 to 516 based on a drive command from the microcomputer 21. The current detection circuit 612 detects the motor current based on the detection values of the current detection elements 517 to 519. The current detection elements 517 to 519 in the present embodiment are current sense MOSs, which are built in a low-side chip 713 described later. The current sense MOS may be built in a high-side chip 712, or may be a chip separate from the upper and lower arm elements.
[0031] Also, as shown in FIG. 5, the current detection element 531 may be a shunt resistor provided in each phase arm. In the example of FIG. 5, a shunt resistor is provided on the low potential side of the lower arm element, but it may be provided on the high potential side of the upper arm element. Furthermore, as shown in FIG. 6, the current detection element 532 may be a Hall element provided between the connection point of the upper and lower arm elements and the motor winding. In FIGS. 5 and 6, the current detection elements 531 and 532 are described as being provided in the driver component 701 described later, but they may be provided outside the driver component 701. Note that the description of the motor relay 131 is omitted in FIG. 6.
[0032] Returning to FIG. 4, the temperature detection circuit 613 detects the temperature of the driver circuit 50 and the pre-driver IC 61 itself based on the detection value of a temperature detection element (not shown). The abnormality detection unit 614 monitors the abnormality of the driver circuit 50 based on the potential difference between the gate and source of the elements constituting the driver circuit 50, the potential difference between the drain and source, and the drive command from the microcomputer 21. For example, the abnormality detection unit 614 monitors abnormalities such as short circuits and terminal open based on the potential difference. Also, the abnormality detection unit 614 monitors overheat abnormalities based on temperature information and abnormalities of the pre-driver IC 61 itself.
[0033] The relay driver circuit 621 outputs a gate signal as a drive signal to the power relay 551, the reverse connection protection relay 556, and the motor relay 131 based on a drive command from the microcomputer 21.
[0034] The pre-driver IC 61 transmits the current detection value, temperature information, and abnormality information to the microcomputer 21. The information transmission from the pre-driver IC 61 to the microcomputer 21 may be digital communication or analog communication.
[0035] In this embodiment, the provided driver circuits 51 to 54 and the pre-driver ICs 61 to 64 are provided in the same package as one driver component 701 to 704. In FIGS. 7 and 8, the driver component 701 having the driver circuit 51 and the pre-driver IC 61 is illustrated. In FIG. 7, the sealing portion 749 is omitted for the explanation of the inside of the component, and in FIG. 8, the hatching of the sealing portion 749 is omitted.
[0036] As shown in FIGS. 7 and 8, the driver component 701 includes a control chip 711, a high-side chip 712, a low-side chip 713, an intermediate clip 715, a ground clip 716, a lead frame 72, etc., and is sealed with a sealing portion 749. The sealing portion 749 is formed in a substantially rectangular shape in plan view, and terminals are formed along the outer edge. Regardless of the terminal arrangement and shape, it may be a non-lead type or may be formed to protrude outside the sealing portion 749. Further, a temperature detection element such as a temperature-sensitive diode is provided in the driver component 701. The temperature detection element may be incorporated in the high-side chip 712 or the low-side chip 713, similar to the current detection elements 517 to 519.
[0037] The lead frame 72 includes a control land 721, a power land 722, an output land 723, and a ground land 724. The back side of the lead frame 72 is exposed from the sealing portion 749 and is electrically connected to the wiring pattern of the substrate 75 by soldering or the like. Note that not all lands need to be connected to the back side of the substrate 75. Hereinafter, the region on the control land 721 side is defined as the IC region Ric, and the region on the power land 722 side is defined as the drive element region Rd. Also, in the driver component 701, the end on the power land 722 side (the upper side on the paper surface of FIG. 7) is defined as the element side end, and the end on the control land 721 side (the lower side on the paper surface of FIG. 7) is defined as the IC side end.
[0038] The control chip 711 constitutes the pre-driver IC61 and is arranged on the control land 721. In this embodiment, the control land 721 on which the control chip 711 is mounted is at the ground potential. However, when the back side of the control chip 711 is insulated, the potential of the control land 721 may be a potential other than the ground potential, such as the power supply potential.
[0039] The control terminals, which are terminals provided in the control region Rc, are connected to the microcomputer 21, the power supply IC31, and other pre-driver ICs 62 to 64, etc. The control terminals include a clock signal terminal, a PWM frequency synchronization terminal, a sample hold terminal, etc. Also, when the communication between the microcomputer 21 and the pre-driver IC61 is, for example, SPI communication, a chip select terminal, a MISO terminal, a MOSI terminal, etc. are included.
[0040] Each of the three high-side chips 712 incorporates an upper arm element for each phase, and each of the three low-side chips 713 incorporates a lower arm element for each phase. Also, current detection elements 517 to 519 are incorporated in the low-side chip 713.
[0041] The three high-side chips 712 are arranged on the power land 722, which is at the power supply potential. The high-side chips 712 are arranged side by side horizontally such that the gate electrodes face the control chip 711 side and are along the long side of the control chip 711. The high-side chips 712 have their source electrodes facing upward, and the drain electrodes provided on the back side are connected to the power land 722. On the upper side of the high-side chips 712, an intermediate clip 715, a low-side chip 713, and a ground clip 716 are stacked in this order from the high-side chip 712 side, forming a stack structure.
[0042] The intermediate clip 715 is a conductive metal plate formed of, for example, copper or the like, and is provided for each of the three high-side chips 712. The intermediate clip 715 is connected to the source electrode of the high-side chip 712 on the lower surface side and is connected to the drain electrode of the low-side chip 713 on the upper surface side. The intermediate clip 715 is arranged so as to be shifted to such an extent that the signal line 718 can be connected on the control chip 711 side of the high-side chip 712. The end portion of the intermediate clip 715 on the side opposite to the control chip 711 is bent downward and connected to the output land 723. The output land 723 is connected to the motor terminal and is connected to each phase of the motor winding 121 via the substrate wiring or the like.
[0043] When the direction in which the high-side chips 712 are adjacent to each other is defined as the width direction (the "first direction" in the figure), the intermediate clip 715 is spaced apart in the width direction to such an extent that insulation can be ensured from the adjacent frames, and is formed wider than the high-side chips 712. The area of the intermediate clip 715 is formed larger than that of the high-side chips 712. By forming the area of the intermediate clip 715 as large as possible, the heat dissipation efficiency is enhanced.
[0044] The ground clip 716 is a conductive plate formed of, for example, copper or the like, and is provided across the three low-side chips 713. The ground clip 716 is arranged so as to be shifted to such an extent that the signal line 718 can be connected on the control chip 711 side of the low-side chip 713. The ground clip 716 is bent downward on one side in the width direction and connected to the ground land 724. In the present embodiment, the ground clip 716 is provided in the sealing portion 749, but the top surface side may be exposed from the sealing portion 749.
[0045] The high-side chip 712 and the low-side chip 713 are connected to the control chip 711 via the signal line 718. In this embodiment, although the high-side chip 712 and the low-side chip 713 are stacked, they are offset and stacked in a stepped manner to ensure a non-overlapping area that does not overlap with the components provided on the upper side. Therefore, the signal line 718 can be connected in the non-overlapping area. The connection ends of the signal line 718 on the control chip 711 side are aggregated on one side of the control chip 711. The signal line 718 includes those for gate driving, current detection, and temperature detection. Thereby, inside the driver component 701, the drive element region Rd where a large current is energized and the IC region Ric can be regionally separated.
[0046] The component arrangements on the substrate 75 are shown in FIGS. 9 to 11. FIGS. 9 and 11 show the surface of the substrate 75 on the motor 11 side, and FIG. 10 shows the surface of the substrate 75 opposite to the motor 11. Note that FIG. 11 schematically shows the arrangements of the driver components 701 to 704 and the motor windings 121 to 124 on the substrate 75, and the corresponding pre-driver ICs 61 to 64 and driver circuits 51 to 54 are numbered in parentheses for the control chip 711, the high-side chip 712, and the low-side chip 713. The same applies to FIG. 42 and the like.
[0047] As shown in FIGS. 9 and 11, the driver components 701 to 704 are mounted on the substrate 75. The four driver components 701 to 704 are provided on the surface of the substrate 75 on the motor 11 side. The four driver components 701 to 704 are arranged on concentric circles at generally equal intervals. Further, the driver components 701, 702 and the driver components 703, 704 are arranged symmetrically with respect to the substrate partition line D1. The substrate partition line D1 is a partition line that divides regions with different supply power sources.
[0048] The driver components 701 to 704 are arranged such that the end portions on the element side face radially outward. The motor windings 121 to 124 are connected to the substrate 75 on the radially outer side of the driver components 701 to 704. That is, they are arranged in the order of the control chip 711, the high-side chip 712, the low-side chip 713, and the motor wire connection portion from the radially inner side. The lead wires of the motor windings 121 to 124 are arranged substantially parallel to the end portions on the element side of the driver components 701 to 704 so as to correspond to the phase arrangement of the switching elements in the driver components 701 to 704. Note that the phase arrangement shown in FIG. 11 is an example and may be different. In FIGS. 9 to 11, the winding connection locations to which the lead wires of the motor windings are connected are numbered as the motor windings 121 to 124. The same applies to the power terminals and the signal terminals.
[0049] On the surface of the substrate 75 on the motor 11 side, a rotation detection unit 65 is mounted at a position facing a magnet provided at the end of a shaft (not shown) of the motor 11. In the present embodiment, the rotation detection unit 65 is mounted at the center of the substrate 75. The rotation detection unit 65 includes position sensors 66 to 69.
[0050] The power terminals 761 and 763 are connected to a region on the outer edge side of the substrate 75 that straddles the substrate center line D2 orthogonal to the substrate partition line D1. The power terminals 761 and 763 include a power supply terminal and a ground terminal. Power from the power supply 501 is supplied to the power terminal 761, and power from the power supply 502 is supplied to the power terminal 763. On the substrate 75, power supply ICs 31 and 33 are mounted on the substrate center line D2 and between the rotation detection unit 65 and the power terminals 761 and 763. The power supply ICs 31 and 33 may be arranged at locations other than on the substrate center line D2 as long as they are locations where they can be easily connected to the power terminals 761 and 763 and the microcontrollers 21 and 23. Also, a signal terminal 77 is connected to a region on the outer edge side of the substrate 75 that straddles the substrate partition line D1.
[0051] As shown in FIG. 10, on the surface opposite to the motor 11, on the substrate partition line D1, and on both sides of the substrate center line D2 across it, the microcontrollers 21 and 23 are mounted. Wiring patterns are formed such that power is supplied to the microcontroller 21 from the power terminal 761 and power is supplied to the microcontroller 23 from the power terminal 763. The microcontrollers 21 and 23 are communicably connected, and an isolator 28 is mounted at the connection location of the microcontrollers 21 and 23. In the present embodiment, the isolator 28 is provided at the center of the substrate. Also, on the surface opposite to the motor 11, components such as capacitors and coils constituting the filter circuit are mounted.
[0052] In the present embodiment, the drive device 10 is applied to the electric power steering device 5. Not limited to the electric power steering device 5, for example, when the drive device 10 is applied to a main motor or a brake motor, various components may be made redundant so that safety can be ensured even when a part of the components fails.
[0053] In FIGS. 12 to 15, the communication configuration between the microcontroller and the components is conceptually shown. As conceptually shown in FIG. 12, assuming that the combination of the microcontrollers (or arithmetic cores) M1 and M2 and the components P1 and P2 communicably connected by the communication lines C1 and C2 is a control system, if a failure occurs in the microcontroller M1 or the component P1, which is the first control system, the microcontroller M2 and the component P2, which are the second control system, can continue to operate with 50% of the functions remaining. Here, if a failure occurs at any point in the second control system, control cannot be continued.
[0054] As shown in FIG. 13, as a further redundancy, for example, when the control system is made into three systems, it is possible to continue operating with 66% of the functions remaining at the first failure, and even if a further failure occurs during the operation continuation with one failure and two control systems, it is possible to continue operating with 33% of the functions remaining in the remaining one control system. However, increasing the number of control systems increases the number of components.
[0055] Here, as shown in FIGS. 14(a) and 14(b), assume that microcontrollers M1 and M2 correspond to microcontrollers 21 and 23, and components P1 and P2 correspond to driver components 701 and 703. The driver components 701 and 703 include pre-driver ICs 61 and 63 that control driver circuits 51 and 53, and output drive signals for driving the driver circuits 51 and 53 according to commands transmitted from the microcontrollers 21 and 23. Further, current detection values, driver outputs, abnormality information, temperature information, etc. are transmitted from the driver components 701 and 703 to the microcontrollers 21 and 23 side.
[0056] As shown in FIG. 14(a), when the driver components 701 and 703 are capable of digital communication, by connecting the first communication line C1 and the second communication line C2 with the inter-system connection line 25, for example, when a failure occurs in the microcontroller 21, the microcontroller 23 commands the driver components 701 and 703. Thereby, control can be continued. Also, if the second failure occurs in either of the driver components 701 and 703, control can be continued with the normal microcontroller and driver component. Thereby, even for two control systems, the possibility of continuing operation during a failure can be enhanced. Also, as shown in FIG. 14(b), the driver components 701 and 703 may be connected with the inter-system connection line 25.
[0057] The communication between the microcontrollers 21 and 23 and the components 701 and 703 is, for example, SPI communication, but other communication methods other than SPI such as PSI5, SENT, CAN, Ethernet, Flexray, etc. may also be used, or wireless communication may be used. Also, in FIG. 14 and the like, one communication line is described, but the number of communication lines and terminals can be arbitrarily set according to the communication method and the like.
[0058] As shown in FIG. 14, when the communication lines C1 and C2 are connected with the inter-system connection line 25, if the communication line is connected to a power supply or ground and the voltage is fixed, there is a failure mode in which all the connected microcontrollers and components cannot operate. Also, when the microcontrollers M1 and M2 are connected to different power supplies, there is a risk of failure due to a high voltage being applied to the normal system or a large current flowing into the normal system due to a failure in one control system.
[0059] Therefore, as shown in FIG. 15, an isolator 28 as a system separation component is provided at a location where simultaneous failures are not desired to occur. Note that the description of the isolator 28 is omitted in FIG. 2 and the like. In the example of FIG. 15, the isolator 28 is provided on the inter-system connection line 25, but it may be provided inside, for example, the microcontrollers M1 and M2 or the components P1 and P2. As a configuration for separating between systems, it is only necessary that information can be transmitted while maintaining the potential difference. As the system separation component, instead of an isolator, for example, passive blocking such as a resistor or a buffer may be provided. Also, by making the communication wireless communication, common-mode failures may not occur.
[0060] Specific examples of the communication configuration are shown in FIGS. 16 and 17. In FIGS. 16 and 17, for simplicity, the signal lines of the two cores of each microcontroller are grouped together and the inter-system connection lines are omitted. As shown in FIG. 16, the microcontrollers 21 and 23 can transmit a common clock signal SCLK and MOSI signal to the driver components 701 to 704 provided correspondingly, and can transmit a chip select signal CS_A to the driver components 701 and 703 and a chip select signal CS_B to the driver components 702 and 704. From each of the driver components 701 to 704, an MISO signal can be transmitted to the correspondingly provided microcontrollers 21 and 23.
[0061] The microcontrollers 21 and 23 are provided so as to enable communication between the microcontrollers, and perform synchronization of PWM, synchronization of duty update timing, and synchronization of sample hold timing with respect to the four driver components 701 to 704. The microcontrollers 21 and 23 perform PWM update confirmation with the PWM reflection value and the current detection value by the MISO signal. Also, by configuring to return the driver output from the driver components 701 to 704 to the microcontrollers 21 and 23, PWM update confirmation may be performed. When the driver output is not returned to the microcontrollers 21 and 23 side, the terminals and wirings for returning the driver output can be omitted.
[0062] As shown in FIG. 17, the microcontrollers 21, the driver components 701, and the driver components 702 may be connected in a so-called "daisy chain connection" in which communication lines are connected in a ring. Similarly, the microcontrollers 23, the driver components 703, and the driver components 704 may be connected in a daisy chain connection.
[0063] Specifically, signals from the microcontrollers 21 and 23 are transmitted to the driver components 701 and 703, and the signals are transmitted from the driver components 701 and 703 to the driver components 702 and 704. Then, MISO signals are transmitted from the driver components 702 and 704 to the microcontrollers 21 and 23. In this case, the chip select signal and the sample hold may be made common. Thereby, the number of terminals and the number of wirings can be reduced.
[0064] In the present embodiment, since the communication lines of each control system are connected by the inter-system connection line 25, in the microcontrollers 21 and 23, when communication from other microcontrollers starts, the microcontrollers 21 and 23 do not issue commands so that data does not mix on the communication lines, or commands are output after a predetermined time has elapsed from the responses from the driver components 701 and 703. Also, for commands from the microcontrollers 21 and 23, the command destination may be specified by chip select, ID assignment, or the like.
[0065] FIG. 18 illustrates an example of data transmission and reception. In the present embodiment, the microcontrollers 21 and 23 output an ID and a command to specify the component to be driven. For example, the component to be driven is specified by the ID, and a current command value or an on-duty is transmitted to the component side via MOSI. In the ID method, the component to be driven is specified by the ID, but it is also possible to set an ID for simultaneously commanding a plurality of components. Thereby, for example, the current detection timings of a plurality of components can be made uniform. The specification of the component to be driven may be by the chip select method.
[0066] The driver components 701 and 703 transmit current values and status information to the microcontrollers 21 and 23. Since data transmission from the driver components 701 and 703 is performed via MISO, information can be transmitted even during command transmission from the microcontrollers 21 and 23. However, in order to prevent data transmission timings from different driver components from overlapping, for example, when the transmission from the driver component 701 is completed, the transmission from the driver component 703 is set to start. Also, data arbitration may be performed by setting, for example, to transmit in ID order.
[0067] Figures 19 and 20 schematically show the arrangement of motor windings, and the three-phase wiring is described by a single line. In a concentrated winding motor, there are a plurality of windings in the stator, and by connecting the plurality of windings, a three-phase motor having three input terminals is formed. Depending on the way the windings are connected, it is possible to form a set of three-phase windings or multiple sets of three-phase windings. Figure 19 shows an example of forming two sets of three-phase windings. When windings facing each other at 180° are connected, the wiring related to the connection of the plurality of windings and the configuration of the bus bar carrying the wiring tend to become complicated.
[0068] In this embodiment, the configuration is two power supplies and four motor windings. As shown in Figure 20, for example, when forming four sets of three-phase windings in a concentrated winding motor using a stator of 14 poles and 18 slots, 10 poles and 12 slots, or 8 poles and 12 slots, the connection between the windings arranged opposite to each other becomes unnecessary, so the wiring can be simplified.
[0069] In this embodiment, the substrate 75 is provided on one side in the axial direction of the motor 11, and the configurations corresponding to the respective power supplies are intensively arranged in the regions partitioned by the substrate partition line D1 (see FIGS. 1 and 9 to 11). Further, four sets of motor windings 121 to 124 are assigned to two power supplies 501 and 502 and two microcontrollers 21 and 23. When driving the motor 11 with the four sets of motor windings 121 to 124, the winding sets facing each other at 180° are often driven in the same phase. If the winding sets driven in the same phase are assigned to the same power supply, there is a risk of an increase in size due to the complexity of the members for bundling the wirings, a deterioration in layout due to the cross arrangement of the wirings on the substrate 75, and a common cause failure due to a wiring short circuit.
[0070] Therefore, windings with different driving phases arranged adjacent to each other in the stator are assigned to one power supply system. Specifically, it is configured such that power is supplied from the power supply 501 to the windings 121 and 122, and power is supplied from the power supply 502 to the windings 123 and 124. In this embodiment, since the inter-system connection line 25 is provided, commands to the windings assigned to other power supplies can also be output with one core. Therefore, even if two windings arranged adjacent to each other in the stator and having different driving phases are assigned to the same power supply and arranged, the drivers driven in the same phase can be operated with commands from the same core.
[0071] Further, since the energization phases of the windings assigned to the same power supply are different, the timing at which the drawing current becomes maximum during motor driving is shifted. As a result, compared with the case where a driver circuit driven in the same phase is assigned to the same power supply, the power consumption in the driver circuit can be smoothed, and for example, the smoothing capacitor can be miniaturized. Also, it is possible to achieve the concentration of the components assigned to the same power supply system on one side of the substrate, an improvement in layout, and a reduction in the occurrence of common cause failures due to wiring shorts. In FIG. 20, the windings 121 and 123 energized in the same phase are shown in white, and the windings 122 and 124 energized in the same phase with a phase different from that of the windings 121 and 123 are shown in embossed pattern.
[0072] The communication between the arithmetic cores 211, 212, 231, 232 and the pre-driver ICs 61 to 64 will be described based on FIG. 21. In the description of the communication, for simplicity, the arithmetic core 211 is referred to as "core 1A", the arithmetic core 212 as "core 1B", the arithmetic core 231 as "core 2A", the arithmetic core 232 as "core 2B", the pre-driver IC 61 as "pre-driver 1A", the pre-driver IC 62 as "pre-driver 1B", the pre-driver IC 63 as "pre-driver 2A", and the pre-driver IC 64 as "pre-driver 2B".
[0073] In this embodiment, windings 121 and 123 provided corresponding to the pre-drivers 1A and 2A are wound around the stator facing each other and energized in the same phase. Windings 122 and 124 provided corresponding to the pre-drivers 1B and 2B are wound around the stator facing each other and energized in the same phase. The energization phases of the windings 121 and 123 and the energization phases of the windings 122 and 124 are different. It is assumed that the amplitudes of the currents energized to the windings 121 to 124 are equal.
[0074] As shown in FIG. 21, for the pre-drivers 1A and 2A driven in the same phase, the cores 1A and 2A transmit command signals such as duty command values and various drive permission signals. The pre-drivers 1A and 2A transmit current detection values and status information (such as driver output, abnormality information, and temperature information, etc.) to the cores 1A and 2A. Also, for the pre-drivers 1B and 2B driven in the same phase, the cores 1B and 2B transmit command signals such as duty command values and various drive permission signals. The pre-drivers 1B and 2B transmit current detection values and status information to the cores 1B and 2B.
[0075] In this embodiment, cores 1A and 2A send drive commands to pre-drivers 1A and 2A, and do not send drive commands to pre-drivers 1B and 2B. Here, the pre-drivers 1B and 2B may be configured to also send current detection values and status information to the cores 1A and 2A that have not received drive commands. Similarly, the pre-drivers 1A and 2A may be configured to also send current detection values and status information to the cores 1B and 2B that have not received drive commands. Thereby, in each core, the control state of the entire drive device 10 can be grasped.
[0076] Cores 1A and 2A alternately send commands to pre-drivers 1A and 2A. Similarly, cores 1B and 2B alternately send commands to pre-drivers 1B and 2B. Thereby, the computational load of each core can be reduced.
[0077] As shown in FIG. 22, when one core fails, even if the processing is not changed from the normal state, although the update period is extended, control can be continued without causing a fatal impact. Specifically, for example, when core 2A fails, in group A, the information at the update timing by the command of core 2A is not updated, and the update period is extended. In this case, the previous command value is held at the update timing of core 2A. By using the estimated value from the past data at the update timing of core 2A, the influence of the failure can be reduced.
[0078] At the command update timing of the failed core 2A, commands may be sent from the normal core 1A instead of core 2A. Thereby, a performance degradation including the update period can be prevented. Also, the pre-drivers 1B and 2B that do not use the commands of core 2A can continue control without being affected by the failure of core 2A.
[0079] As shown in FIG. 23, the inter-system connection line 25 may be divided between the A group and the B group that are driven in the same phase. In FIG. 23, the inter-system connection line of the A group is designated as "25A", and the inter-system connection line of the B group is designated as "25B". By dividing the communication lines for each phase, the amount of information on the communication lines can be suppressed. Also, since a common failure mode on the communication lines can be avoided, control can be continued even when an abnormality occurs in one of the communication lines.
[0080] Next, the driving of the power relay and the reverse connection protection relay will be described. As shown in FIG. 24, in this embodiment, the power relays 551 to 554 and the reverse connection protection relays 556 to 559 are provided for each of the driver circuits 51 to 54, and are driven by receiving individual commands from the relay driver circuits 621 to 624 of the corresponding driver circuits 51 to 54 during normal operation. In FIG. 24, the reverse connection protection relays and the reverse connection protection relays are collectively described as "power / reverse connection relays", and the description of the arithmetic core in the microcomputer is omitted. Also, in FIG. 24, although it is described as if the inter-system connection line is divided between the A group and the B group as in FIG. 23, the inter-system connection line may be grouped as in FIG. 2.
[0081] When an abnormality occurs in the pre-driver IC 61, the power relay 551, or the reverse connection protection relay 556, the pre-driver IC 61 side is configured to be in a pull-down (off side) state, and driving by the other pre-driver ICs 62 to 64 is not performed. The same applies when an abnormality occurs in the other pre-driver ICs, power relays, reverse connection protection relays, or motor relays (not shown in FIG. 24).
[0082] Also, when an abnormality occurs in the microcomputer 21, the microcomputer 23 commands the relay driver circuits 621 and 622 in the pre-driver ICs 61 and 62 to drive the power relays 551 and 552 and the reverse connection protection relays 556 and 557. Similarly, when an abnormality occurs in the microcomputer 23, the microcomputer 21 commands the relay driver circuits 623 and 624 in the pre-driver ICs 63 and 64 to drive the power relays 553 and 554 and the reverse connection protection relays 558 and 559. Thereby, even when an abnormality occurs in one microcomputer, the driving of the motor 11 can be continued by driving the relay with a command from the other microcomputer.
[0083] Next, the redundant configuration in the microcomputer will be described with reference to FIG. 25. Here, the microcomputer 21 will be described as an example. The microcomputer 21 includes arithmetic cores 211 and 212, a power control unit 213, a clock control unit 217, and the like.
[0084] The power control unit 213 includes a power supply monitoring unit 214. The power control unit 213 is connected to a plurality of power supply circuits PM1 to PM3. The power supply circuits PM1 and PM2 correspond to the power supply IC 31, and the power supply circuit PM3 corresponds to the power supply IC 33. The power supply IC 31 has, for example, a core power supply voltage output (e.g., about 1.2 [V]) and a power supply output different from the core power supply voltage (e.g., 5 [V]), and the core power supply corresponds to the power supply circuit PM1 and the 5V power supply corresponds to the power supply circuit PM2. Although the power supply circuits PM1 and PM2 correspond to the same power supply IC 31, different voltages are generated inside the power supply IC 31, and they can be regarded as "different power sources". That is, it can be said that the power control unit 213 of the present embodiment has a redundant configuration in which power is supplied from three different power sources.
[0085] The power supply circuit PM1 is input to the power control unit 213 at its original voltage and is used by the arithmetic cores 211 and 212. The power from the power supply circuit PM2 is stepped down by the built-in step-down circuit 215, input to the power control unit 213, and used for core arithmetic operations. The power from the power supply circuit PM3 is stepped down by the step-down circuit 216 outside the microcomputer and input to the power control unit 213. Note that the power supply circuit PM2 may be supplied with power from a separate power source such as a power supply IC 33 or the like, or may be configured to step down the voltage using a step-down circuit outside the microcomputer. The power supply monitoring unit 214 monitors the voltages supplied from each power supply circuit.
[0086] The clock control unit 217 includes a clock monitoring unit 218. The clock control unit 217 acquires a clock signal from the oscillator 41 via the phase-locked loop (PLL) 411. Also, the clock control unit 217 acquires clock signals from the built-in clock circuit 415 and the external clock circuit. In this embodiment, the external clock circuit is another system microcomputer 23, and a clock signal is acquired from the microcomputer 23. Note that the external clock circuit is not limited to another system microcomputer and may be a separately provided clock circuit.
[0087] That is, it can be said that the clock control unit 217 of this embodiment has a redundant configuration in which clocks are supplied from three different clock sources. Hereinafter, the clock signal acquired from the oscillator 41 via the phase-locked loop 411 is referred to as "PLL clock", the clock signal acquired from the built-in clock circuit 219 is referred to as "built-in clock", and the clock signal acquired from the external clock circuit is referred to as "external clock".
[0088] The clock monitoring process of this embodiment will be described based on the flowchart of FIG. 26. Here, the process in the microcomputer 21 will be described, but the same process is also performed in the microcomputer 23. Note that each process in the microcomputers 21 and 23 may be software processing by executing a program stored in advance in a physical memory device such as a ROM (that is, a readable non-transitory tangible recording medium) by the CPU, or may be hardware processing by a dedicated electronic circuit. Hereinafter, the "step" such as step S101 will be omitted and simply denoted by the symbol "S".
[0089] In S101, the clock monitoring unit 218 determines whether the PLL clock and the internal clock match. Note that a deviation within an allowable error range is permitted and it is determined that they match. The same applies to other match determinations. If it is determined that the PLL clock and the internal clock match (S101: YES), the process proceeds to S104. If it is determined that the PLL clock and the internal clock do not match (S101: NO), the process proceeds to S102.
[0090] In S102, the clock monitoring unit 218 determines whether the internal clock and the external clock match. If it is determined that the internal clock and the external clock match (S102: YES), the process proceeds to S105. If it is determined that the internal clock and the external clock do not match (S102: NO), the process proceeds to S103.
[0091] In S103, the clock monitoring unit 218 determines whether the PLL clock and the external clock match. If it is determined that the PLL clock and the external clock match (S103: YES), the process proceeds to S104. If it is determined that the PLL clock and the external clock do not match (S103: NO), the process proceeds to S106.
[0092] In S104, which is the step to proceed when the PLL clock matches the internal clock or the external clock, the clock control unit 217 operates the arithmetic cores 211 and 212 using the PLL clock.
[0093] In S105 which is entered when the PLL clock does not match the built-in clock and the built-in clock matches the external clock, the clock control unit 217 operates the arithmetic cores 211 and 212 using the built-in clock. That is, normally the PLL clock is used, but when the PLL clock is abnormal, it is switched to the built-in clock as a backup clock. At this time, the switched clock is output to the microcontrollers of other control systems, and the arithmetic operations are performed synchronously with the clock received by the other-system microcontrollers. Also, the abnormality monitoring by comparing the built-in clock and the external clock is continued.
[0094] In S106 which is entered when none of the PLL clock, the built-in clock, and the external clock match, the clock control unit 217 stops the operations of the arithmetic cores 211 and 212 and notifies the external IC of the clock abnormality.
[0095] The power supply monitoring process will be described based on the flowchart of FIG. 27. In S201, the power supply monitoring unit 214 determines whether the core power supply voltage supplied from the power supply circuit PM1 is normal. If it is determined that the core power supply voltage from the power supply circuit PM1 is normal (S201: YES), the process proceeds to S202, and the arithmetic cores 211 and 212 are operated with the core power supply voltage from the power supply circuit PM1. If it is determined that the core power supply from the power supply circuit PM1 is not normal (S201: NO), the process proceeds to S203, and the power supply used for the core arithmetic operation is switched from the power supply circuit PM1 to the power supply circuit PM2 or the power supply circuit PM3. Here, the case of switching to the power supply circuit PM2 as a backup power source will be described as an example. For the case of switching to the power supply circuit PM3, since the power supply circuit PM2 can be replaced with the power supply circuit PM3, the description will be omitted.
[0096] In S204, the power supply monitoring unit 214 determines whether the core power supply voltage supplied from the power supply circuit PM2 via the step-down circuit is normal. When it is determined that the core power supply voltage derived from the power supply circuit PM2 is normal (S204: YES), the process proceeds to S205, and the arithmetic cores 211 and 212 are operated with the core power supply voltage derived from the power supply circuit PM2. When it is determined that the core power supply voltage derived from the power supply circuit PM2 is not abnormal (S204: NO), the process proceeds to S206, the operations of the arithmetic cores 211 and 212 are stopped, and the core power supply voltage abnormality is notified to the external IC. Thus, even when a core power supply abnormality occurs in the power supply circuit PM1, the operations of the arithmetic cores 211 and 212 can be continued by using the power supply circuits PM2 and PM3 as backup core power supplies.
[0097] As described above, the ECU15 is a motor control device that controls the drive of the motor 11 having the motor windings 121 to 124, and includes the driver circuits 51 to 54, the pre-driver ICs 61 to 64, and the microcontrollers 21 to 24. The driver circuits 51 to 54 have a plurality of switching elements 511 to 516, 521 to 526 that switch the energization of the motor windings 121 to 124. The pre-driver ICs 61 to 64 have a pre-driver circuit 611 that outputs a drive signal to the switching elements 511 to 516, 521 to 526 and are capable of digital communication. The microcontrollers 21 and 23 calculate a drive command for the motor 11 and output the drive command to the pre-driver ICs 61 to 64 via digital communication. Thus, since a three-phase drive command can be transmitted by a single set of digital communication, the configuration can be simplified compared to the case where the drive command is transmitted to the pre-driver ICs 61 to 64 by analog communication, and redundancy can be easily achieved.
[0098] The pre-driver ICs 61 to 64 have a current detection circuit 612 that detects the motor current and outputs the detection value to the microcontrollers 21 and 23. The pre-driver ICs 61 to 64 have an abnormality detection unit 614 that detects abnormalities in the pre-driver ICs 61 to 64 themselves and the driver circuits 51 to 54 and outputs the abnormality detection result to the microcontrollers 21 and 23. Thus, the drive state of the motor 11 can be transmitted from the pre-driver ICs 61 to 64 to the microcontrollers 21 and 23.
[0099] The microcontrollers 21 and 23 are communicably provided with a plurality of pre-driver ICs 61 to 64. The plurality of pre-driver ICs 61 to 64 transmit information to the microcontrollers 21 and 23 in order. For example, when the microcontroller 21 can communicate with the pre-driver ICs 61 and 63 via the inter-system connection line 25A, the pre-driver ICs 61 and 63 transmit information in order, and so on. The information includes a current detection value, abnormality information, temperature information, and the like. Thereby, it is possible to prevent the mixing of information on the communication line.
[0100] The pre-driver ICs 61 to 64 have relay driver circuits 621 to 624 that drive power relays 551 to 554 provided between the power supplies 501 and 502, reverse connection protection relays 556 to 559, and motor relays 131 to 134 provided between the driver circuits 51 to 54 and the motor windings 121 to 124. Thereby, it is possible to appropriately drive the power relays 551 to 554, the reverse connection protection relays 556 to 559, and the motor relays 131 to 134, which are relay elements other than the switching elements constituting the driver circuits 51 to 54.
[0101] A control system is formed by a combination of a pre-driver IC and a microcontroller that are provided correspondingly and connected by a communication line. A plurality of microcontrollers 21 and 23 are provided. The pre-driver ICs 61 and 62 can be driven by a command from the microcontroller 23 of another system via the inter-system connection line 25 that connects the communication lines between systems. Thereby, even when an abnormality occurs in some of the microcontrollers, the motor 11 can be continuously driven by operating the pre-driver ICs 61 to 64 according to a command from the microcontroller of another system.
[0102] The switching elements include switching elements 511 to 513 which are a plurality of upper arm elements connected to the high potential side, and switching elements 514 to 516, 524 to 526 which are lower arm elements connected to the low potential sides of the switching elements 511 to 513, 521 to 523. A high side chip 712 in which the switching elements 511 to 513 are incorporated, a low side chip 713 in which the switching elements 514 to 516 are incorporated, and a control chip 711 in which the pre-driver IC 61 is incorporated are integrally sealed by a sealing portion 749. Similarly, a drive chip in which switching elements constituting the corresponding driver circuits 52 to 54 are incorporated, and a control chip in which the pre-driver ICs 62 to 64 are incorporated are integrally sealed by the sealing portion 749 respectively. Thereby, the mounting area of the driver circuits 51 to 54 and the pre-driver ICs 61 to 64 can be reduced.
[0103] The low side chip 713 is laminated with a shift so that a part of the paired high side chip 712 does not overlap. Thereby, the driver components 701 to 704 can be miniaturized. Also, by laminating with a shift so that a part of the high side chip 712 does not overlap, a signal line can be connected to the high side chip 712.
[0104] At least one of current detection elements 517 to 519 and a temperature detection element is incorporated in the high side chip 712 or the low side chip 713. Thereby, the configuration related to current detection and temperature detection can be miniaturized.
[0105] (Second Embodiment, Third Embodiment) The second embodiment is shown in FIG. 28. FIG. 28 is a figure corresponding to FIG. 24 of the first embodiment, and the power relay and the reverse connection protection relay are different from those in the above embodiment. In this embodiment, the power relays 551, 553 and the reverse connection protection relays 556, 558 are provided for each power supply. The power relay 551 and the reverse connection protection relay 556 are shared by the driver circuits 51, 52, and the power relay 553 and the reverse connection protection relay 558 are shared by the driver circuits 53, 54.
[0106] The relay driver circuits 621 and 622 drive the power relay 551 and the reverse connection protection relay 556 via the arbitration circuit 571. The relay driver circuits 623 and 624 drive the power relay 553 and the reverse connection protection relay 558 via the arbitration circuit 573. By providing the arbitration circuits 571 and 573, the number of relays can be reduced.
[0107] During normal operation, the arbitration circuit 571 receives the same commands from the relay driver circuits 621 and 622, and drives the power relay 551 and the reverse connection protection relay 556 after taking coordination. When one of the relay driver circuits 621 and 622 is abnormal, the arbitration circuit 571 receives different signals from the relay driver circuits 621 and 622. Therefore, the arbitration circuit 571 preferentially drives the power relay 551 and the reverse connection protection relay 556 with the signal from the normally operating side.
[0108] During normal operation, the arbitration circuit 573 receives the same commands from the relay driver circuits 623 and 624, and drives the power relay 553 and the reverse connection protection relay 558 after taking coordination. When one of the relay driver circuits 623 and 624 is abnormal, the arbitration circuit 573 receives different signals from the relay driver circuits 623 and 624. Therefore, the arbitration circuit 573 preferentially drives the power relay 553 and the reverse connection protection relay 558 with the signal from the normally operating side.
[0109] The third embodiment is shown in FIG. 29. In this embodiment, power relays 551 to 554 and reverse connection protection relays 556 to 559 are provided for each of the driver circuits 51 to 54. In addition, arbitration circuits 571 to 574 are provided.
[0110] The arbitration circuit 571 receives commands from the relay driver circuits 621 and 622 and drives the power relay 551 and the reverse connection protection relay 556. The arbitration circuit 572 receives commands from the relay driver circuits 621 and 622 and drives the power relay 552 and the reverse connection protection relay 557. The arbitration circuit 573 receives commands from the relay driver circuits 623 and 624 and drives the power relay 553 and the reverse connection protection relay 558. The arbitration circuit 574 receives commands from the relay driver circuits 623 and 624 and drives the power relay 554 and the reverse connection protection relay 559. The operations of the arbitration circuits 571 to 574 are substantially the same as those in the second embodiment. As a result, the operation of the motor 11 can be continued even in a wider failure mode. Also, the same effects as those in the above embodiment are achieved.
[0111] (Fourth to Eighth Embodiments) The fourth to eighth embodiments are variations of the redundant configuration. In the description of the redundant system, the power supply, vehicle signal input, and torque signal input are collectively referred to as the "external input system" as appropriate, the power supply IC, communication unit, and oscillator are collectively referred to as the "microcomputer input system", and the pre-driver IC and driver circuit are collectively referred to as the "driver system". The external input system corresponds to the input from the connector 16. Also, the oscillator and the inter-system connection lines are omitted as appropriate. FIG. 30 shows a simplified configuration of the first embodiment. When not referring to the number of cores in the microcomputer, the microcomputer is assumed to have one arithmetic core with lockstep.
[0112] As shown in FIG. 31, in the fourth embodiment, four microcomputers each having one arithmetic core with lockstep are provided. The other configurations are substantially the same as those in the first embodiment. As shown in FIG. 32, in the fifth embodiment, four external input systems are provided, and the power supply, microcomputer, driver, and motor winding are all quadrupled. By quadrupling the power supply, microcomputer, and driver, it is easy to combine with a four-phase motor. Also, when adopting a two-power supply configuration, it is easy to divide the power supply into two systems.
[0113] By providing three or more of all components, control can be continued even if two of the same components fail. Also, as described in the first embodiment, by connecting signal lines with inter-system connection lines, if it is not a failure on the driving side, the same output as in the normal state can be obtained. When providing inter-system connection lines, it is preferable to appropriately insert isolators to avoid common cause failures.
[0114] Also, it is not limited to even-numbered systems such as two systems and four systems, but may be an odd-numbered system, or a mixture of components with an odd number and an even number of components may be present. In the sixth embodiment shown in FIG. 33, it is an example of a three-system configuration in which three each of the external input system, the microcomputer input system, the driver system, and the motor winding are provided. As shown in FIG. 34, when the driver system is three systems, by making the motor winding also three systems, wiring can be performed efficiently.
[0115] On the other hand, when redundancy is achieved by providing a plurality of components, there are concerns about an increase in the number of components, an increase in size, and an increase in the arithmetic processing load. In that case, components that are relatively likely to fail may be made into three or four systems, and components that are relatively unlikely to fail may be made into two systems. For example, when the driver circuit is most likely to fail, as in the seventh embodiment shown in FIG. 35, the driver system is made into four systems and the others are made into two systems.
[0116] Also, as in the eighth embodiment shown in FIG. 36, the ECU 15 is provided with four power supply ICs 31 to 34 and four oscillators 41 to 44, and a plurality (two in FIG. 36) of power supply ICs and oscillators may be provided for one microcomputer. In this embodiment, a total of four arithmetic cores are provided, and each arithmetic core uses a different power supply IC as a power source and a different oscillator as a clock source. Even with this configuration, the same effects as the above embodiments are achieved.
[0117] (Ninth Embodiment) The ninth embodiment is shown in FIGS. 37 and 38. In the above embodiment, it has been described that the arithmetic cores are with lockstep. When the arithmetic cores are with lockstep, redundant arithmetic is performed by the lockstep cores, and abnormality detection is performed by comparing the arithmetic results. On the other hand, when the arithmetic cores are without lockstep cores, arithmetic errors cannot be detected. In the seventh embodiment, there is an example where the arithmetic cores do not have lockstep cores. The microcontrollers 21 and 23 each have three arithmetic cores, and abnormality monitoring is performed by majority voting of the arithmetic results.
[0118] As shown in FIG. 38, the three arithmetic cores 261 to 263 can operate independently and can operate simultaneously based on a common clock. In this case, for example, when momentary noise enters, the arithmetic operations of the three arithmetic cores 261 to 263 may be affected in the same way. Therefore, by using the clock delay device 265 to shift the arithmetic timing, simultaneous occurrence of arithmetic errors can be prevented. Since the comparator 267 for comparing the arithmetic results needs to compare the arithmetic results at the same timing, the delay amounts among the multiple cores are made uniform. By dynamically comparing using the comparator 267, a determination can be made at high speed. Also, instead of comparing with the comparator 267, data may be stored for a certain period of time and then compared collectively by the arithmetic cores 261 to 263. Even with such a configuration, the same effects as the above embodiment can be achieved.
[0119] (Tenth Embodiment) The tenth embodiment is shown in FIGS. 39 to 41. In the tenth embodiment, the operation method in the redundant configuration will be described. For example, in the case of a configuration where four microcontrollers and four motor windings are provided (see FIG. 32), the four microcontrollers may be driven evenly, and the output per set of motor windings may be 25% each.
[0120] Also, two microcontrollers and two sets of motor windings are used as the drive system, and the remaining two each are used as the backup system. During normal times, the motor windings are driven by the drive system so that the output per set of motor windings is 50% each. Also, when an abnormality occurs in the drive system, the drive is switched to the backup system.
[0121] FIG. 39 shows an example in which there are four microcontrollers 21 to 24 and driver circuits 51 to 54, and two sets of motor windings 121 and 123. The microcontrollers 21 and 22 and the driver circuits 51 and 52 are connected to the motor winding 121, and the microcontrollers 23 and 24 and the driver circuits 53 and 54 are connected to the motor winding 123. A motor relay 131 is provided between the driver circuit 51 and the motor winding 121, a motor relay 132 is provided between the driver circuit 52 and the motor winding 122, a motor relay 133 is provided between the driver circuit 53 and the motor winding 123, and a motor relay 134 is provided between the driver circuit 54 and the motor winding 124. The motor relays 131 to 134 each include three switching elements corresponding to each phase. In the figure, the motor relay is described as "SW".
[0122] As shown in FIG. 40, during normal operation, the motor relays 131 and 133 are turned on to energize the motor windings 121 and 123 using the driver circuits 51 and 53 to drive the motor 11. When an abnormality occurs in the microcontroller 21, the motor relay 131 is turned off and the motor relay 132 is turned on from off to energize the motor winding 121 using the driver circuit 52 instead of the driver circuit 51. If the microcontroller 23 is normal, the motor relay 133 remains on and the motor relay 134 remains off.
[0123] Similarly, when an abnormality occurs in the microcontroller 23, the motor relay 133 is turned off and the motor relay 134 is turned on from off to energize the motor winding 123 using the driver circuit 54 instead of the driver circuit 53. If the microcontroller 21 is normal, the motor relay 131 remains on and the motor relay 132 remains off. Thus, even when an abnormality occurs in the microcontrollers 21 and 23, the motor 11 can be continuously driven in the same state as before the abnormality occurred.
[0124] As shown in FIG. 41, the components related to the energization of the motor winding 121 are concentrated and arranged on one side of the substrate 75 (the left side of the paper in the example of FIG. 41), and the components related to the energization of the motor winding 123 are concentrated and arranged on the other side of the substrate 75 (the right side of the paper in the example of FIG. 41).
[0125] On the substrate 75, the power terminals are arranged line-symmetrically with respect to the substrate partition line D1. Also, the lead wires of the motor windings 121 and 123, the driver components 73, and the motor relays 131 to 134 between the motor wires and the driver components are arranged line-symmetrically with respect to the substrate partition line D1 in the configuration corresponding to the motor winding 121 and the configuration for the motor winding 123, and the phase arrangements are arranged in reverse order.
[0126] The driver component 73 is integrally sealed with one high-side chip 712, one low-side chip 713 corresponding to each phase, and a control chip 711 in which a corresponding pre-driver IC is incorporated. The six driver components 73 are arranged side by side with the element-side end facing the motor windings 121 and 123 and the IC-side end facing the substrate partition line D1.
[0127] Inside the driver component 73, they are arranged in the order of the low-side chip 713, the high-side chip 712, and the control chip 711 from the motor windings 121 and 123 side. The low-side chip 713 may be laminated with a shift with respect to the high-side chip 712, or may be placed flat without lamination, or the control chip 711 may be separate. Also, the driver components 701 to 704 of the above embodiment in which a total of six switching elements are modularized may be used. In this case, for the phase arranged in the middle (V phase in the example of FIG. 41), the elements of the drive system and the elements of the backup system are assigned to different modules.
[0128] In Fig. 41, the components of the drive system are shown by solid lines, and the components of the backup system are shown by two-dot chain lines. The driver components of the drive system and the driver components of the backup system corresponding to each phase are adjacent to each other and arranged alternately. Therefore, the high-side chip 712 and the low-side chip 713 used for driving the same phase are arranged adjacent to each other. As a result, it is easy to wire the driver component 73 and the motor windings 121 and 123, and the mounting area of the power section on the substrate can be suppressed. Even with such a configuration, the same effects as those of the above-described embodiment can be achieved.
[0129] (Embodiments 11 to 13) Embodiments 11 to 13 are variations in the power terminal arrangement and connection. When four external input systems are provided as in the 11th embodiment shown in Fig. 42 (see Fig. 32), the power terminals 761 to 764 corresponding to the four connectors are evenly arranged at 90° intervals.
[0130] As in the 12th embodiment shown in Figs. 43 and 44, on the outer edge side of the substrate 75, the power terminal 761 and the power terminal 762, and the power terminal 763 and the power terminal 763 may be arranged side by side at two locations on both sides with the substrate partition line D1 interposed therebetween. When four sets of power terminals 761 to 764 corresponding to the four connectors are provided for the two power supply ICs 31 and 33, the two sets of power terminals 76 are connected to the respective power supply ICs 31 and 33 via the diodes 781 to 784. By electrically connecting between a plurality of power inputs, even when an abnormality of the connector or disconnection of the harness occurs, power supply can be appropriately continued.
[0131] Also, as in the 13th embodiment shown in Figs. 45 to 47, switching elements 786 to 789 may be provided between the connector and the power supply IC instead of the diodes 781 to 784. The switching elements 786 and 787 are connected to the power supply IC 31, and the switching elements 788 and 789 are connected to the power supply IC 33.
[0132] As shown in FIG. 46, during normal operation, both switching elements 786 and 787 are turned on. When an abnormality occurs in power supply 1A, the switching element 786 on the side where the abnormality has occurred is turned off. When an abnormality occurs in power supply 1B, the switching element 787 is turned off. By keeping both switching elements 786 and 787 turned on during normal operation, the power supply to be used can be quickly switched when an abnormality occurs.
[0133] Also, as shown in FIG. 47, during normal operation, the switching element 786 is turned on and the switching element 787 is turned off so that power is supplied from one power supply (for example, power supply 1A). When an abnormality in power supply 1A is detected, the switching element 786 is turned off, and a wake-up signal is sent from the normal microcomputer to the switching element 787 to turn on the switching element 787. Thereby, the current consumption during normal operation can be suppressed. The control of the switching elements 788 and 789 connected to the power supply IC 33 is the same. Even with this configuration, the same effects as those of the above-described embodiment are achieved.
[0134] (14th Embodiment, 15th Embodiment) The 14th embodiment and the 15th embodiment are variations in the substrate arrangement. In the 1st embodiment, the motor windings 121 to 124 are provided on the radially outer side of the driver components 701 to 704 (see FIG. 11). In the 14th embodiment shown in FIG. 48, the motor windings 121 to 124 are provided on the radially inner side of the driver component 701.
[0135] Also, in the 15th embodiment shown in FIG. 49, the driver components 701 and 702 are arranged symmetrically with respect to the substrate center line D2 such that the pre-driver ICs 61 and 62 face the power terminal 76 side. Also, the driver components 703 and 704 are arranged symmetrically with respect to the substrate center line D2 such that the pre-driver ICs 63 and 64 face the power terminal 76 side. The motor windings 121 to 124 are provided on the driver circuit 51 to 54 sides of the driver components 701 to 704. Even with this configuration, the same effects as those of the above-described embodiment are achieved.
[0136] (Embodiment 16) Embodiments 16 to 18 are modification examples of the driver components. Embodiment 16 is shown in FIGS. 50 to 52. FIG. 50 is a diagram corresponding to FIG. 7, showing each component in a simplified manner. In the driver component 705 of the present embodiment, the stacked structure of the chips 712 and 713 is substantially the same as that of the first embodiment.
[0137] The ground land 724 of the lead frame 725 is provided on both sides of the power land 722. The ground clip 741 is bent downward on both sides in the width direction and is connected to the ground land 724.
[0138] As shown in FIG. 52, the control land 726 on which the control chip 711 is disposed is exposed from the back side of the sealing portion 749 at the middle portion in the width direction, and is not exposed from the sealing portion 749 on the outer side in the width direction. In other words, as shown by the dashed square, a part of the control land 726 is in a state of floating from the substrate 75. Thereby, the substrate routing property of the high-side chip 712 and the power line can be ensured. In addition, since the power + line and the GND line are aligned, it becomes easier to arrange noise prevention elements such as snubber elements (not shown). Also, the noise loop can be reduced. Also, the same effects as those of the above embodiment are obtained.
[0139] (Embodiment 17) Embodiment 17 is shown in FIGS. 53 to 55. In the driver component 706 of the present embodiment, the control chip 711 is not built in, and the lead frame 727 does not have the control land 726. The stacked structure of the chips 712 and 713 is substantially the same as that of the first embodiment. Note that the control chip 711 may also be built in this embodiment. Also, in embodiments such as the first embodiment, the control chip 711 may not be built in the driver component but may be provided separately.
[0140] In this embodiment, the ground land 724 is divided for each phase and is arranged on the opposite side of the output land 723 with the power land 722 interposed therebetween. The ground clip 742 is provided for each phase. The ground clip 742 is provided above each low-side chip 713 and is bent downward to be connected to the ground land 724. A notch 743 is formed in the ground clip 742 so that a part of the high-side chip 712 and the low-side chip 713 is exposed on the top surface side. Thereby, a non-overlapping region is secured, and the high-side chip 712 and the low-side chip 713 can be connected to the signal line.
[0141] By dividing the ground clip 742 for each phase and detecting the voltage at both ends on the side of the low-side chip 713 and the side of the ground land 724, the motor current can be detected. That is, in this embodiment, the ground clip 742 also functions as a current detection element. Thereby, the motor current can be detected with a relatively simple configuration.
[0142] (18th Embodiment) The 18th embodiment is shown in FIG. 56. In the driver component 707 of this embodiment, the high-side chip 712 and the low-side chip 713 are not stacked but are placed flat. In this embodiment, from one side, the control chip 711, the high-side chip 712, and the low-side chip 713 are arranged in this order.
[0143] The lead frame 728 of this embodiment has a control land 721, a power land 722, an output land 729, and a ground land 724, and the low-side chip 713 is arranged on the output land 729. The intermediate clip 715 is provided above each high-side chip 712, and one end side is bent downward to be connected to the output land 729.
[0144] In this embodiment, since the high-side chip 712 is arranged between the low-side chip 713 and the control chip 711, it is difficult to directly connect the gate electrode of the low-side chip 713 and the control chip 711. Therefore, in this embodiment, bonding pads are provided on the high-side chip 712, and the gate terminal of the low-side chip 713 and the control chip 711 are connected via the bonding pads of the high-side chip 712. By relaying the high-side chip 712 provided in between, the control chip 711 and the low-side chip 713 can be appropriately connected. Also, the same effects as those of the above embodiment are achieved.
[0145] In the embodiment, the ECU 15 corresponds to the "motor control device", the microcontrollers 21 to 24 correspond to the "control unit", and the power relays 551 to 554, the reverse connection protection relays 556 to 559, and the motor relays 131 to 134 correspond to the "relay elements".
[0146] (Other embodiments) In the above embodiment, examples in which there are 2 to 4 power supply systems and 2 to 4 control systems have been mainly described. In other embodiments, the number of power supply ICs, microcontrollers, arithmetic cores, pre-driver ICs, driver circuits, motor windings, etc. can be arbitrarily set according to the required redundancy, mounting space, etc. Also, the number of easily breakable components (for example, microcontrollers and driver circuits) can be four, and the others can be three, etc., and the number of components may be different.
[0147] In the above embodiment, the electronic components are mainly driver components in which a pre-driver IC is incorporated. In other embodiments, the electronic components only need to be able to communicate digitally with the microcontroller, and may be, for example, a pre-driver IC or a sensor provided separately from the driver circuit. Also, in the above embodiment, the electronic components of each system have been described as being the same. In other embodiments, the electronic components of each system may have different outputs, accuracies, etc.
[0148] In the above embodiment, the communication device is applied to an electric power steering device. In other embodiments, it may be applied to in-vehicle devices other than the electric power steering device, or may be applied to devices other than in-vehicle devices.
[0149] In the present disclosure, "the control unit is communicably provided with a plurality of the pre-driver ICs, and the plurality of the pre-driver ICs transmit information to the control unit in order, and the motor control device according to any one of Items 1 to 3 described above.", "the pre-driver IC has a relay driver circuit (621 to 624) that drives relay elements (126, 551 to 554, 556 to 559) provided at least one of between the power supply (501, 502) and the driver circuit and between the driver circuit and the motor winding, and the motor control device according to any one of Items 1 to 4 described above.", "a combination of the pre-driver IC and the control unit that are correspondingly provided and connected by a communication line is defined as a control system, the control unit is plural, and the pre-driver IC can be driven by a command from the control unit of another system via an inter-system connection line (25) that connects the communication lines between systems, and the motor control device according to any one of Items 1 to 5 described above.", "the switching element includes a plurality of upper arm elements (511 to 512, 521 to 523) connected to the high potential side and a plurality of lower arm elements (514 to 516, 521 to 523) connected to the low potential side of the upper arm element, a high-side chip (712) in which the upper arm element is incorporated, a low-side chip (713) in which the lower arm element is incorporated, and a control chip (711) in which the pre-driver IC is incorporated are integrally sealed by a sealing portion (749), and the motor control device according to any one of Items 1 to 6 described above." may also be used.
[0150] The control unit and its method described in the present disclosure may be implemented by a dedicated computer provided by configuring a processor and a memory programmed to execute one or more functions embodied by a computer program. Alternatively, the control unit and its method described in the present disclosure may be implemented by a dedicated computer provided by configuring a processor with one or more dedicated hardware logic circuits. Or, the control unit and its method described in the present disclosure may be implemented by one or more dedicated computers configured by a combination of a processor and a memory programmed to execute one or more functions and a processor configured by one or more hardware logic circuits. Further, the computer program may be stored in a computer-readable non-transitory tangible recording medium as instructions to be executed by a computer. As described above, the present invention is not limited to the above-described embodiments, and can be implemented in various forms without departing from the gist of the invention.
Explanation of Signs
[0151] 10... Driving device 11... Motor 121~124... Motor windings 15... ECU (Motor control device) 21~24... Microcomputer (Control unit) 51~54... Driver circuit 511~513, 521~523... Switching elements (upper arm elements) 514~516, 524~526... Switching elements (lower arm elements) 61~64... Pre-driver IC 611... Pre-driver circuit 701~707, 73... Driver components (electronic components)
Claims
1. A motor control device for controlling the drive of a motor (11) having motor windings (121 to 124), a driver circuit (51 to 54) having a plurality of switching elements (511 to 516, 521 to 526) for switching the energization of the motor windings, a pre-driver IC (61 to 64) having a pre-driver circuit (611) for outputting a drive signal to the switching element and capable of digital communication, a control unit (21 to 24) for calculating a drive command of the motor and outputting the drive command to the pre-driver IC by digital communication, A motor control device comprising.
2. The motor control device according to claim 1, wherein the pre-driver IC has a current detection circuit (612) for detecting a motor current and outputs a detection value to the control unit.
3. The motor control device according to claim 1 or 2, wherein the pre-driver IC has an abnormality detection unit (614) for detecting an abnormality of the pre-driver IC itself and the driver circuit and outputs an abnormality detection result to the control unit.
4. The control unit is provided communicably with a plurality of the pre-driver ICs, The motor control device according to claim 1, wherein the plurality of pre-driver ICs transmit information to the control unit in order.
5. The motor control device according to claim 1, wherein the pre-driver IC has a relay driver circuit (621 to 624) for driving relay elements (131 to 134, 551 to 554, 556 to 559) provided in at least one of between a power supply (501, 502) and the driver circuit and between the driver circuit and the motor windings.
6. A combination of the pre-driver IC and the control unit provided correspondingly and connected by a communication line is defined as a control system, The control unit is plural, The motor control device according to claim 1, wherein the pre-driver IC is drivable by a command from the control unit of another system via an inter-system connection line (25) connecting the communication lines between systems.
7. The switching element includes a plurality of upper arm elements (511 to 512, 521 to 523) connected to the high potential side and a plurality of lower arm elements (514 to 516, 521 to 523) connected to the low potential side of the upper arm elements, The high-side chip (712) in which the upper arm element is incorporated, the low-side chip (713) in which the lower arm element is incorporated, and the control chip (711) in which the pre-driver IC is incorporated are integrally sealed by a sealing portion (749). The motor control device according to claim 1.
8. The low-side chip is laminated by being shifted so that a part of the paired high-side chip (712) does not overlap. The motor control device according to claim 7.
9. In the high-side chip or the low-side chip, at least one of a current detection element (517 to 519) and a temperature detection element is incorporated. The motor control device according to claim 7 or 8.
Citation Information
Patent Citations
Dynamo-electric machine controller, and electric power steering device using the same
JP2018129995A