Control device and actuation method for control device
The control device ensures reliable operation by using a second region with higher reliability to execute recovery processes accurately, addressing sticking failures and maintaining safe control over controlled parts.
Patent Information
- Application Number
- JP2023061896
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-04-06
- Publication Date
- 2024-10-18
AI Technical Summary
Existing control devices face reliability issues when abnormal conditions such as sticking failures occur, leading to potential damage or loss of control over controlled parts, especially when failures occur in transmission paths or memory storing recovery processes.
A control device is designed with a first region and a second region, where the second region has higher reliability than the first, incorporating a sequence signal generation and detection system that converts signals into a digital pattern, ensuring reliable recovery processes are executed even if failures occur in the first region.
The control device maintains high reliability by executing accurate recovery processes through the second region, even if failures occur in the first region, preventing erroneous operations and ensuring safe control over the controlled part.
Smart Images

Figure 2024148611000001_ABST
Abstract
Description
[Technical field]
[0001] An embodiment of the present invention relates to a control device having a first region and a second region that is more reliable than the first region, and a method of operating a control device having a first region and a second region that is more reliable than the first region. [Background technology]
[0002] When a control device that controls a controlled unit such as a motor in real time detects an abnormality, the control device and the controlled unit perform control to operate safely. In particular, when an abnormality occurs in which a short circuit or an open circuit continues, that is, a so-called stuck fault, the controlled unit may be damaged or go out of control. Depending on the location of the stuck fault, the control device may not be able to execute control to operate safely. [Prior art documents] [Patent documents]
[0003] [Patent Document 1] JP 2020-162370 A Summary of the Invention [Problem to be solved by the invention]
[0004] An object of the present invention is to provide a highly reliable control device and a highly reliable method for operating the control device. [Means for solving the problem]
[0005] A control device of an embodiment includes a first area having a CPU and a sequence signal generating unit, and a second area which is more reliable than the first area and has an abnormality detection unit, a sequence signal detection unit, a first register which stores a plurality of recovery methods in response to an abnormality occurrence, and a second register for selecting one recovery method from the plurality of recovery methods, wherein the sequence signal generating unit converts a first signal which indicates the one recovery method into a sequence signal which includes a second signal which is a digital signal of a predetermined pattern, and upon receiving the second signal, the sequence signal detection unit changes the setting value of the second register.
[0006] An embodiment of an operating method for a control device includes a first area and a second area having higher reliability than the first area, wherein a first register in the second area stores a plurality of recovery methods in the event of an abnormality, a sequence signal generating unit in the first area converts a first signal indicating a recovery method in the event of an abnormality into a sequence signal including a second signal, which is a digital signal of a predetermined pattern, and a sequence signal detecting unit in the second area, upon receiving the second signal, changes a setting value of a second register that indicates the selection of one of the plurality of recovery methods. [Brief description of the drawings]
[0007] [Figure 1] FIG. 1 is a configuration diagram of a drive system including a control device according to an embodiment. [Diagram 2] FIG. 2 is a configuration diagram of a control device according to an embodiment. [Diagram 3] 4 is a flowchart of a method for operating the control device of the embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0008] A control device that controls a controlled device such as a motor in real time performs control to operate safely when it detects an abnormality. In particular, if an abnormality occurs in the control device in which a short circuit or an open circuit continues, that is, a so-called stuck fault, the controlled device may be damaged or go out of control.
[0009] There is known a power supply control device that is configured to perform a fail-safe operation, such as stopping a drive system, which is a safe operation, even if a sticking fault occurs.
[0010] It is particularly important to detect the occurrence of an abnormality and to increase the reliability of the transmission path of the recovery signal in response to the abnormality. For example, the reliability of the transmission path can be improved by multiplexing, which performs recovery processing only when the recovery signal received via two transmission paths is the same signal.
[0011] However, if a lock-on failure occurs in either a circuit that transmits a signal to a transmission path or a circuit that receives a signal from the transmission path, reliability will not improve even if the transmission paths are multiplexed.
[0012] A control device that can select one recovery process from among multiple recovery processes has higher performance than a control device that can only perform a certain fail-safe operation process as a recovery process. However, a control device that can select one recovery process from among multiple recovery processes cannot execute a recovery process if a failure occurs in the memory that stores the multiple recovery processes. Also, if a fixation failure occurs in the transmission path for selecting the recovery process, there is a risk that the wrong recovery process will be executed.
[0013] The present embodiment has been devised in consideration of the above circumstances.
[0014] Hereinafter, the control device 1 of the embodiment will be described in detail with reference to the drawings. In the drawings based on the embodiment, illustration and reference numerals of some components are omitted.
[0015] 1, the control device 1 of the embodiment constitutes a drive system 9 together with an operation unit 2, a motor 3 which is a controlled unit, and a power source 4. That is, the control device 1 of the embodiment is an MCD (motor control driver) that controls the motor 3 based on a feedback signal from the motor 3 or an operation signal from the operation unit 2.
[0016] The control device 1 has a first area 10 and a second area 20. The first area 10, which is a functional block, has a drive frequency of 40 MHz, which is a first drive frequency F1. The drive voltage of the first area 10 is a first drive voltage V1, which is 1.5 V. The second area 20, which is a power supply control block that receives power from the power supply 4, has a drive frequency of 32 kHz, which is a second drive frequency F2. The drive voltage of the second area 20 is a second drive voltage V2, which is 5 V.
[0017] Since the second driving frequency F2 of the second region 20 is lower than the first driving frequency F1 of the first region 10, the second region 20 is more reliable than the first region 10. Furthermore, since the second driving voltage V2 of the second region 20 is higher than the first driving voltage V1 of the first region 10, the second region 20 is more reliable than the first region 10. Therefore, even if an abnormality occurs in the first region 10, the second region 20 can be expected to operate normally.
[0018] 2, the first area 10 has a motor control unit 11, a CPU 12, a sequence signal generating unit 13, a first clock 14, a monitor 15, and a bus 16. The second area 20 has a control signal transmitting / receiving unit 21, a power supply circuit 22, a power supply / reset control unit 23 (hereinafter also referred to as the "power supply control unit 23"), an abnormality detection unit 24, a register 25, a sequence signal detection unit 26, and a second clock 27.
[0019] The motor control unit 11 in the first area 10 receives a feedback signal from the motor 3 or an operation signal from the operation unit 2, and transmits and receives a signal to and from a control signal transmitting / receiving unit 21 in the second area 20 via a transmission path 31. The control signal transmitting / receiving unit 21 transmits and receives a signal from the motor control unit 11 to and from the motor 3. The CPU 12 reads, for example, a program in a memory (not shown) and controls the entire control device 1. The first clock 14 generates a signal of a first drive frequency F1.
[0020] The sequence signal generating unit 13 converts the first signal instructing the recovery method into a sequence signal including a second signal, which is a digital signal of a predetermined pattern. Specifically, the sequence signal generating unit 13 converts each 1-bit data of the first signal into specific 3-bit data including an inverted signal.
[0021] The control signal transmitting / receiving unit 21 of the second area 20 transmits and receives a control signal to control the motor 3. The power supply circuit 22 is a DC / DC converter that converts power from an external power supply 4 into drive power for the control device 1. For example, the power supply circuit 22 converts power of the second drive voltage V2 into power of the first drive voltage V1 and supplies it to the first area 10. When the power voltage from the power supply 4 is not the second drive voltage V2, the power supply circuit 22 converts the power voltage from the power supply 4 into the second drive voltage V2. The power supply control unit 23 controls the entire second area 20, and performs a recovery process to return to normal operation when an abnormality occurs.
[0022] The register 25 includes a first register 25A and a second register 25B. The first register 25A stores control data including a plurality of recovery methods. The second register 25B stores a setting value that indicates one of the plurality of recovery methods stored in the first register 25A. The abnormality detection unit 24 detects an operational abnormality of the control device 1. The sequence signal detection unit 26 receives a sequence signal from the sequence signal generation unit 13 and changes the setting value of the second register 25B. The second clock 27 generates a signal of a second drive frequency F2.
[0023] For example, at the time of startup, a plurality of return methods are stored in the first register 25A. The first register 25A may be a non-rewritable storage unit implemented by hard-wired implementation using dedicated hardware, rather than a storage unit that can be rewritten by software. That is, in the present invention, the "register" does not only mean a general register, but also means a "storage unit" that stores data. The first register 25A and the second register 25B may be separate storage units with different configurations.
[0024] When an abnormality occurs, recovery processing is performed by one of the recovery methods selected based on the setting of the second register 25B that was set by a signal from the first area 10 before the abnormality occurred.
[0025] That is, the setting value of the second register 25B in which the setting value for selecting the recovery method is stored is set during normal operation, for example, by a sequence signal from the first area 10 at start-up. The sequence signal includes a second signal obtained by converting a first signal instructing the recovery method into a digital signal of a predetermined pattern.
[0026] If a sticking failure occurs in the transmission path 32 between the first area 10 and the second area 20, an erroneous signal may be transmitted to the second area 20. However, unless the sequence signal detection unit 26 receives a sequence signal including a digital signal of a predetermined pattern, the setting value of the second register 25B is not changed. Therefore, even if an erroneous signal is transmitted to the sequence signal detection unit 26 due to a sticking failure, the setting value of the second register 25B is not changed.
[0027] A recovery process for an abnormality detected by the abnormality detection unit 24 is executed by the power supply control unit 23 in the second domain 20. All data required for the recovery process (multiple recovery process methods and a recovery process instruction to be selected) is stored in advance before the occurrence of the abnormality in the second domain 20, which is more reliable than the first domain 10. In other words, the recovery process does not involve the less reliable first domain 10. And even if a sticking failure occurs in the transmission path of the signal that selects the recovery process, the recovery process method will not be changed erroneously.
[0028] Therefore, the control device 1 is highly reliable.
[0029] The operation method of the control device 1 will now be described with reference to the flow chart of FIG.
[0030] <Step S10> Start When the control device 1 is started, first, power of, for example, the second driving voltage V2 is supplied to the second region 20. The power supply circuit 22 converts the power of the second driving voltage V2 into power of the first driving voltage V1 and supplies it to the first region 10.
[0031] The CPU 12 reads the setting data stored in a memory (not shown) and starts up. At this time, a plurality of return methods are also stored in the first register 25A of the second area 20. As already described, the first register 25A is a non-volatile memory, and a plurality of return methods may be stored before the control device 1 starts up.
[0032] The plurality of recovery methods are, for example, any one of the following four types: (A) doing nothing, (B) issuing a reset instruction for the first area 10, (C) restarting the power supply to the first area 10 after cutting off the power supply, and (D) restarting the power supply to the first area 10 after cutting off the power supply, and issuing a reset instruction for the second area 20. The recovery methods are stored in the first register 25A of the highly reliable second area 20.
[0033] <Step S20> Sequence signal generation Furthermore, the CPU 12 selects one of (A) to (D) in accordance with, for example, a user setting, and transmits a first signal to the sequence signal generating unit 13. The sequence signal generating unit 13 converts the first signal into a second signal.
[0034] For example, if the control device 1 is expected to be used in an environment where temperature abnormalities are likely to occur, the CPU 12 selects (C), and if the control device 1 is expected to be used in an environment where temperature abnormalities are likely to occur, the CPU 12 selects (D).
[0035] That is, when the sequence signal generating unit 13 receives a first signal, it converts the first signal into a sequence signal that is transmitted to the second area 20 via the transmission path 32. The transmission path 32 is a single signal line. The sequence signal includes a second signal that is a digital signal of a predetermined pattern. The second signal is a digital signal of 3 bits or more in length that includes an inverted bit. Below, an example will be described in which the second signal is a (010) signal.
[0036] When 1-bit signals are successively input as a first signal from the CPU 12, the sequence signal generating unit 13 converts each 1-bit signal into a 3-bit second signal and outputs it sequentially as a sequence signal.
[0037] <Step S30> Receiving sequence signal <Step S40> Setting the second register When the sequence signal detection unit 26 receives the second signal, that is, a (010) signal, it inverts the bits of the second register 25B. For example, if the second register 25B is (0), the sequence signal detection unit 26 transmits a signal that changes the bit to (1).
[0038] The setting of second register 25B is, for example, reconverted to the first signal indicative of the restoration method by inverting the least significant bit every time a (010) signal is received. When setting one of the four types of restoration (A) to (D) according to the user's setting, second register 25B only needs to be able to set two bits of data. The number of bits that can be set in second register 25B is appropriately set according to the number of restoration methods.
[0039] <Step S50> Real-time control The CPU 12 performs real-time control based on a feedback signal from the motor 3, etc., so that the motor 3 is driven under preset conditions.
[0040] <Step S60> Abnormality detected? For example, if the voltage of a part of the circuit in the first area 10 becomes an overvoltage state, the abnormality detection unit 24 determines that an abnormality has occurred (YES). For example, an overvoltage state occurs when destruction due to static electricity or control failure due to noise occurs, causing a short circuit between the transmission line of the first drive voltage V1 and the transmission line of the second drive voltage V2, or when the power voltage from the power source 4 exceeds the maximum allowable voltage.
[0041] <Step S70> Processing selection based on second register The power supply control unit 23 selects one of the plurality of recovery methods stored in the first register 25A based on the set value of the second register 25B.
[0042] <Step S80> Recovery process For example, when the setting of the second register 25B is (A) do nothing, the power supply control unit 23 continues to control the motor 3 based on the control information before the occurrence of the abnormality. The power supply control unit 23 performs the recovery process based on the setting stored in the second register 25B from among the multiple recovery methods stored in the first register 25A. That is, the recovery process is performed by the components of the second area 20 that have high reliability.
[0043] Then, in the control device 1, the first signal is converted into a second signal and transmitted to the second area 20. Therefore, even if a sticking failure occurs in the transmission path 32 of the sequence signal, an erroneous signal will not be recognized as the first signal. For example, even if a sticking failure occurs and a signal consisting of successive (1) signals is transmitted to the second area 20, the sequence signal detection unit 26 will not regard the signal consisting of successive (1) signals as the first signal. Therefore, the operation method of the control device 1 is highly reliable because an erroneous return method will not be performed due to an erroneous transmission of a sequence signal.
[0044] The data on the recovery process method stored in the register 25 of the second area 20, which is more reliable than the first area 10, is unlikely to be damaged even if an abnormality occurs in part of the first area 10. The register 25 is set not to be reset even when the first signal is an instruction to reset the second area 20. When resetting the first area 10, the power supply control unit 23 may transmit a reset cause to the monitor 15 before the reset.
[0045] The sequence signal generating unit 13 may be configured as hardware. However, if a sticking fault occurs in the sequence signal generating unit 13 configured as hardware, the sequence signal generating unit 13 may output a 3-bit signal, for example, a (010) signal, continuously. For this reason, it is preferable that the sequence signal generating unit 13 generates the second signal by software.
[0046] In order to further improve the transmission reliability, the second signal is preferably 6 bits or more long, including a pre-signal of 3 bits or more long that does not include an inversion bit, and a main signal of 3 bits or more long that includes an inversion bit and follows the pre-signal. For example, the second signal is preferably a 6-bit (000010) signal that includes a pre-signal consisting of (000) and a main signal consisting of (010).
[0047] The second signal including the pre-signal and the main signal is more reliable than the second signal including only the main signal.
[0048] When a sticking fault occurs in the transmission path 32 of the sequence signal, the sequence signal including the second signal is not transmitted to the sequence signal detection unit 26, and therefore the state of the second register 25B is not updated. When the state of the second register 25B is not updated even if the CPU 12 transmits the first signal, the CPU 12 performs processing for the sticking fault that is stored in advance in the first register 25A. For example, the CPU 12 issues a warning to notify the user of the occurrence of the sticking fault, or safely stops the motor 3.
[0049] The first region 10 and the second region 20 are driven at different driving frequencies. Therefore, in order to transmit and receive signals between the first region 10 and the second region 20, the first region 10 and the second region 20 usually need to operate synchronously with each other.
[0050] That is, if the clock of the second region 20 is switched while the sequence signal detection unit 26 of the second region 20 is receiving a signal from the first region 10, the sequence signal detection unit 26 cannot complete receiving the signal. For this reason, it is necessary to control the start of the first clock signal of the first region 10 and the start of the second clock signal of the second region 20 so that they coincide with each other.
[0051] However, by utilizing the fact that the second driving frequency F2 of the second region 20 is lower than the first driving frequency F1 of the first region 10, the synchronization process can be simplified. For example, if the second driving frequency F2 is 1 / 20 or less of the first driving frequency F1, the sequence signal generating unit 13 of the first region 10 can simply start transmitting the first sequence signal based on the clock signal of the second region 20, and the sequence signal detecting unit 26 of the second region 20 can operate independently of the clock signal of the first region 10.
[0052] In addition, such software-controlled synchronization has the advantage of suppressing variations in the number of synchronization cycles, which is unavoidable in hardware-controlled synchronization. If the number of synchronization cycles varies, the success or failure of detection of the sequence signal will vary depending on the variation, so in this respect, software-controlled synchronization is also effective.
[0053] In the above description, the control device 1 is an MCD that controls the motor 3, but the control device 1 of this embodiment may be a driver that controls various controlled units in real time.
[0054] Moreover, the reason why the second region 20 is more reliable than the first region 10 is not limited to the driving frequency and driving voltage. That is, the second region 20 and the first region 10 may have the same driving frequency, or the second region 20 and the first region 10 may have the same driving voltage.
[0055] Although some embodiments of the invention have been described, these embodiments are presented as examples and are not intended to limit the scope of the invention. These novel embodiments can be implemented in various other forms, and various omissions, substitutions, and modifications can be made without departing from the spirit of the invention. These embodiments and their modifications are included in the scope and spirit of the invention, and are included in the scope of the invention and its equivalents described in the claims. [Explanation of symbols]
[0056] 1. Control device 2…Operation unit 3... Motor 4…Power supply 9… Drive system 10. The first area 11... Motor control unit 12... CPU 13... Sequence signal generator 14… First Clock 15…Monitor 16… Bus 20...Second Region 21... Control signal transmission / reception section 22…Power circuit 23... Power / reset control section 24... Abnormality detection section 25… Register 25A… First resistor 25B: Second register 26... Sequence signal detector 27… 2nd clock
Claims
1. a first area having a CPU and a sequence signal generating unit; a second area having higher reliability than the first area and including an abnormality detection unit, a sequence signal detection unit, a first register for storing a plurality of recovery methods for the occurrence of an abnormality, and a second register for selecting one of the plurality of recovery methods; the sequence signal generating unit converts a first signal instructing the one of the recovery methods into a sequence signal including a second signal which is a digital signal of a predetermined pattern; The control device, wherein the sequence signal detection unit changes a setting value of the second register when the sequence signal detection unit receives the second signal.
2. 2. The control device according to claim 1, wherein the second signal is 3 bits or more long and includes an inverted bit.
3. 3. The control device according to claim 2, wherein the second signal is 6 bits or more in length.
4. The control device of claim 1, characterized in that the second signal includes a pre-signal having a length of 3 bits or more and not including an inversion bit, and a main signal having a length of 3 bits or more and including an inversion bit following the pre-signal.
5. 2. The control device according to claim 1, wherein the sequence signal generating section generates the second signal by using software.
6. 2. The control device according to claim 1, wherein a driving voltage of the second region is higher than a driving voltage of the first region.
7. 2. The control device according to claim 1, wherein the second driving frequency of the second region is lower than the first driving frequency of the first region.
8. the second driving frequency is equal to or less than 1 / 20 of the first driving frequency, A clock signal of the second domain is transmitted to the first domain; 8. The control device according to claim 7, wherein the sequence signal generating section starts transmitting the sequence signal in synchronization with the clock signal in the second domain.
9. 1. A method for operating a control device having a first region and a second region having a higher reliability than the first region, comprising the steps of: a first register in the second area stores a plurality of recovery methods for the occurrence of an abnormality; a sequence signal generating unit in the first area converts a first signal, which indicates a method of returning from the occurrence of an abnormality, into a sequence signal including a second signal, which is a digital signal of a predetermined pattern; A method for operating a control device, characterized in that, when the sequence signal detection unit in the second area receives the second signal, it changes the setting value of a second register that instructs the selection of one recovery method from the multiple recovery methods.
Citation Information
Patent Citations
Parity adding system
JP1985010845A
Cache error processing system
JP1989318128A
Stroboscope charging device
JP1999044907A
Endoscope
JP2005218728A
Control device for industrial robot
JP2006346797A
Cited By
Printing system, printing apparatus, printing method, information processing apparatus, and non-transitory computer-readable storage medium storing program
EP4708018A1
