Control device and communication method for the same
The control device and method address noise oscillation in motor drive systems by limiting communication based on diagnostic signals, reducing electromagnetic interference and improving system reliability.
Patent Information
- Application Number
- JP2023035161
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-03-08
- Publication Date
- 2024-09-20
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
Noise oscillation during communication in motor drive systems causes electromagnetic interference, leading to malfunctions, reduced functionality, and safety risks.
A control device and method that limits communication timing based on diagnostic signals to detect fail states, prohibiting unnecessary communication and reducing noise oscillation.
Reduces noise oscillation and electromagnetic interference by controlling communication timing, thereby minimizing system noise and enhancing electronic device reliability.
Smart Images

Figure 2024126635000001
Abstract
Description
[Technical field]
[0001] The present invention relates to a control device and a communication method in a control device. [Background technology]
[0002] In a motor drive system having an MCU (Micro Controller Unit) and an IC (Integrated Circuit) on the same system, the MCU and the IC periodically communicate (specifically, for example, SPI (Serial Peripheral Interface) communication) for, for example, writing settings to the IC and reading failure information from the IC (for example, see Patent Document 1). [Prior art documents] [Patent documents]
[0003] [Patent Document 1] JP 2014-89672 A Summary of the Invention [Problem to be solved by the invention]
[0004] However, noise occurs during communication, and depending on the frequency and conditions of noise oscillation, the noise oscillation associated with communication may cause electromagnetic interference, which may result in many harmful consequences for electronic devices, such as malfunctions, performance degradation, data loss, and safety risks.
[0005] Therefore, in one aspect, the present invention has an object to provide a technique capable of reducing noise generation due to communication on the same system. [Means for solving the problem]
[0006] In order to solve the above problems, the control device of the present invention may include an MCU and an IC, and the MCU may be equipped with a communication timing judgment unit that outputs a communication verification command when a signal including information indicating whether or not a control object of the combination of the MCU and the IC is in a fail state is input from the IC to the MCU, a signal content judgment unit that judges whether or not the content of the signal indicates a fail state when the communication verification command is input and outputs a communication execution command if the content of the signal indicates a fail state, and a communication unit that executes communication between the MCU and the IC to read out fail information of the IC when the communication execution command is input.
[0007] In the control device according to the present invention, the MCU and the IC may form at least a part of a circuit for controlling driving of a motor.
[0008] The communication method in a control device of the present invention may be a method executed in a control device including an MCU and an IC, and may include a step of determining whether the content of a signal including information indicating whether a control object of a combination of the MCU and the IC is in a fail state when the signal is input from the IC to the MCU, and a step of performing communication between the MCU and the IC to read out fail information of the IC when the content of the signal indicates a fail state.
[0009] In the communication method in a control device according to the present invention, the MCU and the IC may constitute at least a part of a circuit for controlling driving of a motor. Effect of the Invention
[0010] According to one aspect of the present invention, it is possible to reduce noise generation due to communication on the same system. [Brief description of the drawings]
[0011] [Figure 1]1 is a block diagram showing an example of a configuration of a motor control device according to an embodiment of the present invention, in which a communication method in a motor control device according to an embodiment of the present invention is executed. [Diagram 2] FIG. 2 is a diagram illustrating a functional configuration of an MCU of the motor control device according to the embodiment. [Diagram 3] 1 is a diagram illustrating a motor control device and a process of a communication method in the motor control device according to an embodiment. FIG. [Figure 4] 1 is a flow diagram illustrating a processing procedure of a motor control device and a communication method in the motor control device according to an embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0012] Hereinafter, an embodiment of the present invention will be described with reference to the accompanying drawings. In the following embodiment, a communication method in a control device according to the present invention will be described by taking as an example a case where the communication method is executed in an example of the control device according to the present invention shown in FIG.
[0013] (Device Configuration) FIG. 1 is a block diagram showing an example of the configuration of a motor control device 10 according to an embodiment, in which a communication method in a motor control device according to an embodiment is executed, as an example of a specific configuration aspect of a control device and a communication method in a control device according to the present invention.
[0014] The motor control device 10 according to the embodiment is a mechanism for controlling the drive of a three-phase AC motor 20 (three phases: U phase, V phase, and W phase) mounted on a vehicle. Specifically, the three-phase AC motor 20 is a motor that drives an electric oil pump that circulates oil. Here, devices and circuits to which the communication method in a control device according to the present invention can be applied (i.e., the control device according to the present invention) are not limited to devices and circuits for controlling the drive of a motor, and the motor control device 10 shown in FIG. 1 is merely one example of the configuration of a device and circuit to which the communication method in a control device according to the present invention can be applied, so a detailed description will be omitted, but the outline is as follows.
[0015] The motor control device 10 includes a power supply circuit 11, an MCU (Micro Controller Unit) 12, a pre-driver 13, and a FET (Field Effect Transistor) bridge 14.
[0016] The power supply circuit 11 generates DC power supply voltages VCC and VDC. The DC power supply voltage VCC is a power supply voltage (power supply potential) for the MCU 12, and is supplied to a terminal VCC of the MCU 12. The DC power supply voltage VDC is a power supply voltage (drive voltage) for inverter driving the three-phase AC motor 20, and is supplied to a terminal VDC of the pre-driver 13.
[0017] The MCU 12 is configured, for example, as a chip including a CPU (Central Processing Unit), a memory, etc. The CPU of the MCU 12 is configured to read out programs and data stored in the memory and perform predetermined processing.
[0018] The MCU 12 generates control signals UT, UB, VT, VB, WT, and WB and supplies them to the pre-driver 13. The control signals UT and UB are signals for controlling the on / off of a switching element associated with a U phase in the FET bridge 14. The control signals VT and VB are signals for controlling the on / off of a switching element associated with a V phase in the FET bridge 14. The control signals WT and WB are signals for controlling the on / off of a switching element associated with a W phase in the FET bridge 14.
[0019] The pre-driver 13 corresponds to a drive circuit for driving the switching elements in the FET bridge 14, and is configured by an IC (Integrated Circuit). The pre-driver 13 supplies signals for controlling each switching element, which are generated according to control signals UT, UB, VT, VB, WT, and WB supplied from the MCU 12, to control terminals of each switching element of the FET bridge 14 via six output terminals. In other words, the pre-driver 13 controls the switching operation (i.e., on / off) of the six switching elements in the FET bridge 14 based on the control signals UT, UB, VT, VB, WT, and WB supplied from the MCU 12.
[0020] The FET bridge 14 inverter-drives the three-phase AC motor 20 in accordance with signals for controlling the switching operations (i.e., on / off) of the six switching elements, which are supplied from the pre-driver 13 via six input terminals. The FET bridge 14 includes six switching elements for inverter-driving the three-phase AC motor 20, specifically, three upper arm (high side) switching elements located on the upper side of the bridge circuit, and three lower arm (low side) switching elements located on the lower side of the bridge circuit. Each switching element is configured by a field effect transistor (FET). Three output terminals of the FET bridge 14 are connected to three coils (i.e., U-phase coil, V-phase coil, and W-phase coil; not shown) of the three-phase AC motor 20, respectively.
[0021] The MCU 12 and the pre-driver 13 execute communication, specifically, for example, SPI (Serial Peripheral Interface) communication. In the example shown in Fig. 1, the MCU 12 is an SPI main (or an SPI master) and the pre-driver 13 is an SPI subnode (or an SPI slave), and four-wire SPI communication is executed.
[0022] In this case, the MCU 12 as the SPI main transmits, as communication signals, a chip select signal / CS (note that / is placed above CS to represent --), a main output-subnode input signal SDI, and a clock signal SCLK generated by the MCU 12 for synchronizing communication to the pre-driver 13 as the SPI subnode. Also, the pre-driver 13 as the SPI subnode transmits a main input-subnode output signal SDO to the MCU 12 as the SPI main.
[0023] The main output-subnode input signal SDI is data from the MCU 12 (SPI main) to the pre-driver 13 (SPI sub-node) for controlling the switching operations of six switching elements in the FET bridge 14 in the pre-driver 13. The main input-subnode output signal SDO is data from the pre-driver 13 (SPI sub-node) to the MCU 12 (SPI main).
[0024] Also, a diagnostic signal DIAG (specifically, a Hi / Lo signal) is input from the pre-driver 13 to a diagnostic terminal DIAG of the MCU 12. The diagnostic signal DIAG is an electrical signal equivalent to information indicating, for example, an abnormality of the three-phase AC motor 20 (also referred to as "fail information" or "diagnosis information"). When the diagnostic signal DIAG is input, an ECU (Electronic Control Unit; not shown in FIG. 1), which is a higher-level control device of the MCU 12 and the pre-driver 13, checks the contents of the diagnostic signal DIAG and executes fail-safe processing or other processing or control depending on, for example, whether the diagnostic signal DIAG is a diagnostic signal (fail information) indicating a minor abnormality or a diagnostic signal (fail information) indicating an abnormality that requires immediate protection.
[0025] Also, the MCU 12 transmits a reset signal / RESET (note that / is placed above RESET to indicate --) to the enable terminal ENA of the pre-driver 13. For example, when the pre-driver 13 or the three-phase AC motor 20 is to be restored to its original state, the MCU 12 applies the reset signal / RESET to the enable terminal ENA of the pre-driver 13.
[0026] Here, in a system in which the MCU 12 needs to acquire IC failure information (e.g., information indicating an abnormality in the three-phase AC motor 20, or information indicating an overcurrent, overheat, overvoltage, low voltage, or watchdog abnormality in the IC) when an abnormality occurs in a mechanism or device (i.e., the three-phase AC motor 20 in this embodiment) controlled by the motor control device 10 or an abnormality occurs in an IC (i.e., an IC corresponding to the pre-driver 13 in this embodiment), the IC failure information is acquired by communication between the MCU 12 and the IC. However, although it is not known when a failure will occur, it is necessary to detect it early. Therefore, in order to detect a failure that may occur at any time early, it is conceivable to periodically execute communication between the MCU 12 and the IC to acquire IC failure information.
[0027] Furthermore, by configuring the MCU 12 and the IC (i.e., the IC corresponding to the pre-driver 13 in this embodiment) to be able to communicate with each other, it becomes possible to rewrite and change the settings of the IC as appropriate, for example, in accordance with the specifications of the mechanism and equipment controlled by the motor control device 10, the specifications of the mechanism and equipment related to the motor control device 10, and the situation during system operation.
[0028] However, noise occurs during communication, and the noise generated during communication while the system is running may cause electromagnetic interference. Therefore, in order to reduce noise generated by communication, the present invention limits the timing for executing communication and prohibits unnecessary communication.
[0029] (Processing contents) Fig. 2 is a diagram illustrating the functional configuration of the MCU 12 of the motor control device 10 according to the embodiment, as an example of a specific configuration of the control device according to the present invention. Fig. 3 is a diagram illustrating the processing contents of the motor control device 10 according to the embodiment and the communication method in the motor control device, as an example of a specific configuration of the control device and the communication method in the control device according to the present invention. Fig. 4 is a flow chart illustrating the processing procedure of the motor control device 10 according to the embodiment and the communication method in the motor control device.
[0030] The motor control device 10 of the embodiment includes an MCU 12 and a pre-driver 13 that constitute at least a part of a circuit for controlling the driving of a motor, and the MCU 12 is equipped with a communication timing determination unit 121 that outputs a communication verification command when a diagnostic signal DIAG, which includes information indicating whether the mechanism or equipment to be controlled by the combination of the MCU 12 and the pre-driver 13 is in a fail state, is input from the pre-driver 13 to the MCU 12, a signal content determination unit 122 that determines whether the content of the diagnostic signal DIAG indicates a fail state when the communication verification command is input, and outputs a communication execution command if the content of the diagnostic signal DIAG indicates a fail state, and a communication unit 123 that executes communication between the MCU 12 and the pre-driver 13 to read out fail information of the pre-driver 13 when the communication execution command is input.
[0031] Furthermore, the communication method in the motor control device of the embodiment is a method executed in the motor control device including the MCU 12 and the pre-driver 13, and includes the steps of: when a diagnostic signal DIAG including information indicating whether the mechanism or equipment to be controlled by the combination of the MCU 12 and the pre-driver 13 is in a fail state is input from the pre-driver 13 to the MCU 12 (step S1), determining whether the contents of the diagnostic signal DIAG indicate a fail state; and, when the contents of the diagnostic signal DIAG indicate a fail state (step S2: No), executing communication between the MCU 12 and the pre-driver 13 to read out fail information of the pre-driver 13.
[0032] In this embodiment, at the timing when a diagnostic signal DIAG is input from the pre-driver 13 to the MCU 12, a verification is performed as to whether or not to execute communication between the MCU 12 and the pre-driver 13, and based on the result of the verification, communication between the MCU 12 and the pre-driver 13 is executed as necessary to read out the failure information of the pre-driver 13.
[0033] Specifically, first, a diagnostic signal DIAG is input from the pre-driver 13 to the communication timing judgment unit 121 of the MCU 12 (step S1), and then a communication verification command is output from the communication timing judgment unit 121 and input to the signal content judgment unit 122 of the MCU 12. The signal content judgment unit 122 judges whether the content of the input diagnostic signal DIAG indicates a fail state (for example, whether the state of the three-phase AC motor 20 is normal or abnormal) (step S2).
[0034] Here, the signal used in the present invention as a trigger (trigger) for starting verification as to whether or not communication between the MCU 12 and the pre-driver 13 is to be performed is not limited to a signal called a "diagnosis signal", and may be any signal as long as it includes information indicating whether or not the mechanism or device (i.e., the three-phase AC motor 20 in this embodiment) to be controlled by the circuit (particularly, the combination of the MCU 12 and the IC (i.e., the IC corresponding to the pre-driver 13 in this embodiment) that performs communication with the MCU 12) is in a failed state. In other words, the signal used in the present invention as a trigger for starting verification as to whether or not communication between the MCU 12 and the pre-driver 13 is to be performed may be any signal as long as it includes information indicating whether or not the mechanism or device to be controlled by the combination of the MCU 12 and the IC (i.e., the IC corresponding to the pre-driver 13 in this embodiment) that performs communication with the MCU 12 is in a failed state.
[0035] Then, if the contents of the input diagnostic signal DIAG do not indicate a fail state (step S2: Yes), communication between the MCU 12 and the pre-driver 13 for reading out fail information of the pre-driver 13 (for example, information indicating an abnormality in the three-phase AC motor 20) is not executed, and the communication between the MCU 12 and the pre-driver 13 corresponding to the input of one diagnostic signal DIAG (step S1) ends. Then, until the contents of the diagnostic signal DIAG next indicate a fail state, communication related to reading out fail information is not executed between the MCU 12 and the pre-driver 13.
[0036] On the other hand, if the contents of the input diagnostic signal DIAG indicate a fail state (step S2: No), a communication execution command is output from the signal content determination unit 122 of the MCU 12 and input to the communication unit 123 of the MCU 12, and the communication unit 123 executes communication between the MCU 12 and the pre-driver 13 to read out fail information of the pre-driver 13 (for example, information indicating an abnormality in the three-phase AC motor 20) (step S3). This ends the communication between the MCU 12 and the pre-driver 13 corresponding to the input of one diagnostic signal DIAG (step S1). Then, until the contents of the diagnostic signal DIAG next indicate a fail state, communication related to reading out fail information is not executed between the MCU 12 and the pre-driver 13.
[0037] After communication for reading out the fail information is executed (step S3) and the contents of the fail information of the pre-driver 13 are confirmed, the ECU executes fail-safe processing or other processing or control as necessary.
[0038] (Action and effect) According to the motor control device 10 and the communication method in the motor control device of the embodiment, the timing for executing communication for reading out the fail information of the pre-driver 13 in particular is limited and unnecessary communication is prohibited, so that it is possible to reduce the frequency of noise oscillation and limit the circumstances under which noise oscillation occurs, thereby making it possible to reduce noise oscillation due to communication on the same system and ultimately to reduce the occurrence of adverse effects on electronic devices due to electromagnetic interference.
[0039] The above describes an embodiment of the present invention, but the specific configuration of the present invention is not limited to the above embodiment, and the present invention also includes embodiments in which modifications and changes are made to the above embodiment without departing from the gist of the present invention.
[0040] For example, in the above embodiment, the motor control device 10 is configured as a mechanism for controlling the drive of the three-phase AC motor 20 mounted on a vehicle (in other words, the MCU 12 and the pre-driver 13 configure at least a part of a circuit for controlling the drive of the motor), and communication is performed between the MCU 12 and the pre-driver 13, but the control target of the device according to the present invention is not limited to a motor, and the communication partner of the MCU 12 is not limited to the pre-driver 13. In other words, the communication partner with the MCU 12 may be any IC.
[0041] In addition, in the above embodiment, communication is performed between the MCU 12 and the pre-driver 13 (i.e., one IC), but the number of ICs that communicate with the MCU 12 is not limited to one and may be two or more.
[0042] In addition, in the above embodiment, SPI communication is performed between the MCU 12 and the pre-driver 13, but the type and standard of communication performed between the MCU 12 and the pre-driver 13 is not limited to SPI communication, and other types and standards of communication may be performed between the MCU 12 and the pre-driver 13. [Explanation of symbols]
[0043] 10 Motor control device 11 Power circuit 12 MCU 121 Communication timing judgment unit 122 Signal content judgment unit 123 Communications Department 13 Pre-driver 14 FET bridge 20 Three-phase AC motor
Claims
1. Including an MCU and an IC, The MCU includes: a communication timing determination unit that outputs a communication verification command when a signal including information indicating whether a control target of a combination of the MCU and the IC is in a failed state is input from the IC to the MCU; a signal content determination unit that determines whether the content of the signal indicates a fail state when the communication verification command is input, and outputs a communication execution command when the content of the signal indicates a fail state; a communication unit that executes communication between the MCU and the IC to read out fail information of the IC when the communication execution command is input. A control device comprising:
2. The MCU and the IC constitute at least a part of a circuit for controlling the driving of a motor. The control device according to claim 1 .
3. A method carried out in a control device including an MCU and an IC, comprising: a step of determining whether a content of a signal including information indicating whether a control target of a combination of the MCU and the IC is in a fail state when the signal is input from the IC to the MCU, and whether the content of the signal indicates a fail state; and executing communication between the MCU and the IC to read out failure information of the IC when the content of the signal indicates a failure state. A communication method in a control device.
4. The MCU and the IC constitute at least a part of a circuit for controlling the driving of a motor.
4. The communication method in the control device according to claim 3.
Citation Information
Patent Citations
Load driving device, semiconductor device, load driving system, and vehicle
WO2019065395A1
Electronic control device for vehicle
JP2014089672A
