Redundancy system
The redundant system achieves standardized terminal settings for microcomputers by configuring identical terminal arrangements, addressing non-standardization issues and minimizing errors in terminal assignment.
Patent Information
- Application Number
- JP2024025956
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2024-02-22
- Publication Date
- 2025-09-03
AI Technical Summary
Existing redundant systems require different terminal settings for microcomputers when using SPI communication, leading to non-standardized configurations and potential errors in terminal assignment.
A redundant system design where both microcomputers have identical terminal settings, with specific communication channels functioning as masters and slaves, allowing for standardized terminal assignments and reducing errors.
Enables standardized terminal settings for microcomputers, reducing errors and simplifying software usage, thereby enhancing product consistency and reducing layout mistakes.
Smart Images

Figure 2025128929000001_ABST
Abstract
Description
[Technical Field]
[0001] The present invention relates to redundant systems. [Background technology]
[0002] Conventionally, there is known a redundant system in which a target device such as a motor is controlled by a plurality of control units, and if one system stops, the other system detects this and operates on the other system alone. For example, Patent Document 1 discloses a two-system redundant system in which two drive control units that can communicate with each other control two motor windings, respectively. [Prior art documents] [Patent documents]
[0003] [Patent Document 1] Patent Publication No. 2021-035075 Summary of the Invention [Problem to be solved by the invention]
[0004] Incidentally, for communication between two control units (microcomputers), serial communication known as SPI (Serial Peripheral Interface) communication is used. When bidirectional communication between microcomputers is performed using SPI communication, if the same channel is set as master and slave, different terminal settings are required for one microcomputer and the other microcomputer.
[0005] The present disclosure is intended to solve the above-mentioned problems, and aims to provide a redundant system that allows the terminal settings of two systems of microcomputers to be standardized. [Means for solving the problem]
[0006] In order to achieve the above-mentioned object, one embodiment of the present disclosure provides a redundant system comprising: a first microcontroller having a first communication channel and a second communication channel and controlling a controlled device in a first system; and a second microcontroller having a first communication channel and a second communication channel whose terminals are arranged in the same manner as the first microcontroller, and controlling the controlled device in a second system configured in parallel with the first system, and connected to the first microcontroller by their terminals, wherein the first communication channel of the first microcontroller and the first communication channel of the second microcontroller are both set as masters, and the second communication channel of the first microcontroller and the second communication channel of the second microcontroller are both set as slaves, the first communication channel of the first microcontroller is connected to the second communication channel of the second microcontroller, and the first communication channel of the second microcontroller is connected to the second communication channel of the first microcontroller. [Effects of the Invention]
[0007] According to the present disclosure, in a redundant system, the terminal settings of two systems of microcomputers can be made common. [Brief explanation of the drawings]
[0008] [Figure 1] FIG. 1 is a schematic diagram showing an example of the schematic configuration of a redundant system according to this embodiment. [Figure 2] FIG. 2 is a schematic diagram showing an example of a general configuration of terminal connections of the microcomputer shown in FIG.
[0009] (Embodiment) Hereinafter, embodiments according to the present disclosure will be described in detail with reference to the drawings. However, the present invention is not limited to these embodiments. Furthermore, the components in the following embodiments include those that are easily replaceable by those skilled in the art, those that are substantially identical, or those that are equivalent. Furthermore, the components in the following embodiments can be variously omitted, replaced, or modified without departing from the gist of the present disclosure. In the following embodiments, components necessary for illustrating the embodiments will be described, and other components will be omitted. The same components will be assigned the same reference numerals, and different components will be assigned different reference numerals.
[0010] FIG. 1 is a schematic diagram showing an example of the general configuration of a redundant system according to this embodiment. The redundant system 1 shown in FIG. 1 controls the drive of a motor M, which is a device to be controlled. The redundant system 1 and the motor M are used, for example, in an electric steering device of a vehicle, and apply a steering assist force to the steering shaft of the vehicle. That is, the redundant system 1 drives the motor M, and the driving force of the motor M applies the steering assist force to the steering shaft. Note that the redundant system of the present disclosure is not limited to one that controls the drive of the motor M, but is also applicable to a redundant system that controls a device to be controlled by coordinating two systems configured in parallel.
[0011] The redundant system 1 includes a first microcomputer 10, a first motor driver 12, a first sensor group 14, and a first CAN interface 16, as well as a second microcomputer 20, a second motor driver 22, a second sensor group 24, and a second CAN interface 26. The motor M has a first winding 18 and a second winding 28. The redundant system 1 is controlled by a central control device 30 of an apparatus in which the redundant system 1 and the motor M are installed.
[0012] Hereinafter, the combination of the first microcomputer 10, first motor driver 12, first sensor group 14, first CAN interface 16, etc., which are involved in the energization control of the first winding 18, will be referred to as the first system L1. Also, the combination of the second microcomputer 20, second motor driver 22, second sensor group 24, second CAN interface 26, etc., which are involved in the energization control of the second winding 28, will be referred to as the second system L2. The first system L1 and the second system L2 are arranged in parallel and equally spaced.
[0013] The first microcomputer 10 constitutes a control unit of the first system L1. The first microcomputer 10 controls each unit of the first system L1, thereby energizing the first winding 18 of the motor M and driving the motor M. The first microcomputer 10 has an arithmetic circuit such as a CPU (Central Processing Unit), memory circuits such as a RAM (Random Access Memory) and a ROM (Read Only Memory), input / output circuits, etc.
[0014] The first microcomputer 10 energizes a first winding 18 of the motor M via a first motor driver 12, and controls the driving of the motor M. The first microcomputer 10 acquires various measurement data from a first sensor group 14. The first microcomputer 10 acquires predetermined control signals from a central control device 30 via a first CAN interface 16. The first microcomputer 10 is connected to a second microcomputer 20 via a wired connection via ports (terminals) to perform bidirectional communication.
[0015] The second microcomputer 20 constitutes the control unit of the second system L2. The second microcomputer 20 controls each component of the second system L2, thereby energizing the second winding 28 of the motor M and driving the motor M. The second microcomputer 20 includes an arithmetic circuit such as a CPU, memory circuits such as RAM and ROM, input / output circuits, etc. The second microcomputer 20 has the same configuration as the first microcomputer 10 and can be arranged in place of the first microcomputer 10.
[0016] The second microcomputer 20 energizes the second winding 28 of the motor M via a second motor driver 22, and controls the driving of the motor M. The second microcomputer 20 acquires various measurement data from a second sensor group 24. The second microcomputer 20 acquires predetermined control signals from a central control device 30 via a second CAN interface 26. The second microcomputer 20 is connected to the first microcomputer 10 via a wired connection via ports (terminals) to perform bidirectional communication.
[0017] In order to control the motor M, the first motor driver 12 controls the amount, direction, timing, etc. of current flowing through the first winding 18 of the motor M, thereby controlling the direction and number of rotations of the motor M. The first motor driver 12 controls the motor M based on a predetermined control signal sent from the first microcomputer 10.
[0018] In order to control the motor M, the second motor driver 22 controls the direction and speed of rotation of the motor M by controlling the amount, direction, timing, etc. of current flowing through the second winding 28 of the motor M. The second motor driver 22 controls the motor M based on a predetermined control signal sent from the second microcomputer 20. The second motor driver 22 has the same configuration as the first motor driver 12, and can be arranged in place of the first motor driver 12.
[0019] The first sensor group 14 includes various sensors. In order to control the motor M, the first sensor group 14 includes, for example, an angular displacement sensor that detects the rotation angle of the motor M, a temperature sensor that detects the temperatures of the first winding 18 and the surface of the motor M, and the like. The various sensors output their respective measurement data to the first microcomputer 10.
[0020] The second sensor group 24 includes various sensors. In order to control the motor M, the second sensor group 24 includes, for example, an angular displacement sensor that detects the rotation angle of the motor M, a temperature sensor that detects the temperature of the second winding 28 and the surface of the motor M, and the like. The various sensors output their respective measurement data to the second microcomputer 20. The second sensor group 24 has the same configuration as the first sensor group 14, and can be arranged in place of the first sensor group 14.
[0021] The first CAN interface 16 is a communication terminal connected to the communication network of the redundant system 1 and the device in which the motor M is mounted in order to control the motor M. The first CAN interface 16 is illustrated as being of CAN (Controller Area Network) standard, but interfaces of other standards may also be used.
[0022] The second CAN interface 26 is a communication terminal connected to the communication network of the redundant system 1 and the device in which the motor M is installed in order to control the motor M. The second CAN interface 26 is illustrated as being CAN standard, but interfaces conforming to other standards may also be used. The second CAN interface 26 has the same configuration as the first CAN interface 16 and can be arranged in place of the first CAN interface 16.
[0023] The motor M is a multi-phase AC motor and includes a rotor, a stator, a first winding 18, a second winding 28, and a housing that accommodates these. The stator is fixed to the housing, and the first winding 18 and the second winding 28 are wound around the stator. The rotor is rotatable relative to the stator, and rotates integrally with the output shaft.
[0024] The first winding 18 and the second winding 28 of the motor M have the same electrical characteristics and are wound on a common stator with a mutual offset of 30 electrical degrees in a cancel-out manner. Accordingly, the first winding 18 and the second winding 28 are controlled so that phase currents with a phase offset of 30 degrees are passed through them.
[0025] In the redundant system 1, when both the first microcomputer 10 and the second microcomputer 20 are normal and the inter-microcomputer communication is normal, the first system L1 and the second system L2 cooperate to control the drive of the motor M. In the redundant system 1, the first microcomputer 10 and the second microcomputer 20 request each other to send a normal operation signal indicating that they are operating normally. Upon receiving the request from each other, the first microcomputer 10 and the second microcomputer 20 each send a normal operation signal.
[0026] In the redundant system 1, for example, if an abnormality occurs in the first microcomputer 10, the first system L1 is stopped, and the second microcomputer 20 controls the drive of the motor M using only the second system L2. Also, in the redundant system 1, for example, if an abnormality occurs in the second microcomputer 20, the second system L2 is stopped, and the first microcomputer 10 controls the drive of the motor M using only the first system L1.
[0027] FIG. 2 is a schematic diagram showing an example of a schematic configuration of port (terminal) connections of the microcomputers shown in FIG. 1. As shown in FIG. 2, the first microcomputer 10 and the second microcomputer 20 have a plurality of ports. Different channels are assigned to each port. The first microcomputer 10 of this embodiment has a first communication channel 110, a second communication channel 120, and a device connection channel group 130. The second microcomputer 20 of this embodiment has a first communication channel 210, a second communication channel 220, and a device connection channel group 230.
[0028] The first communication channel 110 of the first microcomputer 10 and the first communication channel 210 of the second microcomputer 20 are equivalent in terms of physical configuration and functionality, and the port arrangements in each microcomputer are the same. The first communication channels 110 and 210 function as masters. The second communication channel 120 of the first microcomputer 10 and the second communication channel 220 of the second microcomputer 20 are equivalent in terms of physical configuration and functionality, and the port arrangements in each microcomputer are the same. The second communication channels 120 and 220 function as slaves. The first communication channel 110, which is the master of the first microcomputer 10, connects to the second communication channel 220, which is the slave of the second microcomputer 20. The first communication channel 210, which is the master of the second microcomputer 20, connects to the second communication channel 120, which is the slave of the first microcomputer 10.
[0029] In this embodiment, the first communication channel 110 of the first microcomputer 10 includes a first port 112, a second port 114, and a third port 116. The first communication channel 210 of the second microcomputer 20 includes a first port 212, a second port 214, and a third port 216. The second communication channel 120 of the first microcomputer 10 includes a fourth port 122, a fifth port 124, and a sixth port 126. The second communication channel 220 of the second microcomputer 20 includes a fourth port 222, a fifth port 224, and a sixth port 226.
[0030] In this embodiment, the first ports 112, 212 are assigned to SDO (Serial Data Out). The sixth ports 126, 226 are assigned to SDI (Serial Data In). The first ports 112, 212 as masters connect to the sixth ports 226, 126 as slaves. The first ports 112, 212 transmit data to the sixth ports 226, 126, and the sixth ports 226, 126 receive data from the first ports 112, 212. The first ports 112, 212 request, for example, the transmission of a normal operation signal indicating that they are operating normally.
[0031] The second ports 114, 214 and the fourth ports 122, 222 are assigned to SCL (Serial CLK). The second ports 114, 214 as masters connect to the fourth ports 222, 122 as slaves. The second ports 114, 214 send clock signals to the fourth ports 222, 122 to achieve synchronization.
[0032] The third port 116, 216 is assigned to SDI. The fifth port 124, 224 is assigned to SDO. The third port 116, 216 as a master connects to the fifth port 224, 124 as a slave. The fifth port 224, 124 transmits data to the third port 116, 216, and the third port 116, 216 receives data from the fifth port 224, 124. The fifth port 224, 124 transmits, for example, a normal operation signal indicating that it is operating normally.
[0033] The device connection channel group 130 of the first microcomputer 10 is a channel different from both the first communication channel 110 and the second communication channel 120. The device connection channel group 230 of the second microcomputer 20 is a channel different from both the first communication channel 210 and the second communication channel 220. The device connection channel group 130 of the first microcomputer 10 and the device connection channel group 230 of the second microcomputer 20 are equivalent in physical configuration and functionality, and the port arrangements in each microcomputer are the same. The device connection channel group 130 of the first microcomputer 10 and the device connection channel group 230 of the second microcomputer 20 are connected to various peripheral devices for controlling the motor M, which is a controlled device. The peripheral devices connected to the device connection channel group 130 of the first microcomputer 10 are equivalent in physical configuration and functionality to the peripheral devices connected to the device connection channel group 230 of the second microcomputer 20.
[0034] The device connection channel group 130 of the first microcomputer 10 includes one or more channels. The device connection channel group 230 of the second microcomputer 20 includes one or more channels. The channels in the device connection channel group 130 of the first microcomputer 10 and the channels in the device connection channel group 230 of the second microcomputer 20 are the same in number and arrangement. In this embodiment, the device connection channel group 130 of the first microcomputer 10 includes a first connection channel 132, a second connection channel 134, and a third connection channel 136. The device connection channel group 230 of the second microcomputer 20 includes a first connection channel 232, a second connection channel 234, and a third connection channel 236.
[0035] In this embodiment, the first connection channels 132, 232 are connected to first devices 142, 242 as peripheral devices. The second connection channels 134, 234 are connected to second devices 144, 244 as peripheral devices. The third connection channels 136, 236 are connected to third devices 146, 246 as peripheral devices. The first devices 142, 242, the second devices 144, 244, and the third devices 146, 246 may be separate devices or may represent different ports of a single device.
[0036] The first device 142, the second device 144, and the third device 146 are arranged in the first system L1. The first device 142, the second device 144, and the third device 146 may include, for example, the first motor driver 12, the first sensor group 14, or the first CAN interface 16 shown in FIG. 1, and are composed of devices other than the first microcomputer 10 and the second microcomputer 20 connected to each other. The first device 242, the second device 244, and the third device 246 are arranged in the second system L2. The first device 242, the second device 244, and the third device 246 may include, for example, the second motor driver 22, the second sensor group 24, or the second CAN interface 26 shown in FIG. 1, and are composed of devices other than the first microcomputer 10 and the second microcomputer 20 connected to each other.
[0037] The first devices 142 and 242 are devices of the same type, have the same configuration, and are equally arranged in the first system L1 and the second system L2. The second devices 144 and 244 are devices of the same type, have the same configuration, and are equally arranged in the first system L1 and the second system L2. The third devices 146 and 246 are devices of the same type, have the same configuration, and are equally arranged in the first system L1 and the second system L2.
[0038] The above provides an example of the number of channels and terminal settings in an embodiment, but as long as they are common to the first microcontroller 10 and the second microcontroller, the number of channels and the assignment to each port (terminal settings) can be changed depending on the equipment to be controlled and the control, and are not limited to this embodiment.
[0039] (Effects of the embodiment) The redundant system 1 described in the embodiment can be understood, for example, as follows.
[0040] The redundant system 1 includes a first microcomputer 10 having a first communication channel 110 and a second communication channel 120 and controlling a control target device (a motor M in this embodiment) through a first system L1, and a second microcomputer 20 having a first communication channel 210 and a second communication channel 220 with terminals arranged in the same manner as the first microcomputer 10, controlling the control target device (a motor M) through a second system L2 configured in parallel with the first system L1, and connected to the first microcomputer 10 through terminals. The first communication channel 110 of the microcontroller 10 and the first communication channel 210 of the second microcontroller 20 are both set as masters, the second communication channel 120 of the first microcontroller 10 and the second communication channel 220 of the second microcontroller 20 are both set as slaves, the first communication channel 110 of the first microcontroller 10 and the second communication channel 220 of the second microcontroller 20 are connected, and the first communication channel 210 of the second microcontroller 20 and the second communication channel 120 of the first microcontroller 10 are connected.
[0041] In the redundant system 1, the first microcomputer 10 and the second microcomputer 20 can assign the same ports (terminals) to the same channels. Since the first microcomputer 10, which is the microcomputer used for the first system L1, and the second microcomputer 20, which is the microcomputer used for the second system L2, can have the same terminal settings, the same software can be used to assign terminals, and products can be standardized. This reduces errors in terminal assignment and shortens the assignment work. Furthermore, because the first microcomputer 10 and the second microcomputer 20 are essentially identical, it is possible to avoid layout errors due to mistaking the microcomputers. [Explanation of symbols]
[0042] 1. Redundant System 10 First microcomputer 12 First motor driver 14 First Sensor Group 18 First Winding 20 Second microcomputer 22 Second motor driver 24 Second Sensor Group 28 Second winding 110,210 First communication channel 120,220 Second communication channel 130,230 device connection channels L1 1st system L2 2nd system M Motor (control target device)
Claims
[Claim 1] a first microcomputer having a first communication channel and a second communication channel and controlling a control target device through a first system; a second microcomputer having a first communication channel and a second communication channel, the terminals of which are arranged in the same manner as those of the first microcomputer, and controlling the control target device through a second system configured in parallel with the first system, the second microcomputer being connected to the first microcomputer through terminals; Equipped with a first communication channel of the first microcomputer and a first communication channel of the second microcomputer are both set as masters; the second communication channel of the first microcomputer and the second communication channel of the second microcomputer are both set as slaves; a first communication channel of the first microcomputer and a second communication channel of the second microcomputer are connected to each other; A first communication channel of the second microcomputer is connected to a second communication channel of the first microcomputer. Redundant system.
Citation Information
Patent Citations
Rotary electric machine control device
JP2021035075A