CONTROL DEVICE, IMAGE FORMING APPARATUS, AND CONTROL METHOD FOR THE CONTROL DEVICE
The control device addresses communication failures by detecting abnormalities in the second control unit and restoring power and communication to the first unit, enabling effective transfer of operation history and preventing interconnect abnormalities.
Patent Information
- Application Number
- JP2021007764
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2021-01-21
- Publication Date
- 2024-12-03
- Estimated Expiration
- 2041-01-21
AI Technical Summary
Existing methods fail to effectively transfer operation history from a sub-control unit to a main control unit when the watchdog timer times out during energy-saving mode, leading to communication failures and potential abnormalities in the interconnect, preventing access to memory and information.
A control device with a first and second control unit, where the second unit detects abnormalities and initiates power restoration and communication reestablishment to the first unit, including a communication interface, abnormality detection, and a reset generation unit to manage power and reset signals, ensuring operation history transfer without loss.
Ensures operation history is transferred from the second control unit to the first unit even when power is cut off, allowing investigation of malfunctions and restoring normal operation.
Smart Images

Figure 0007593130000001 
Figure 0007593130000002 
Figure 0007593130000003
Abstract
Description
[Technical field]
[0001] The present invention relates to a control device, an image forming apparatus, and a control method for the control device. [Background technology]
[0002] A method is known in which a watchdog timer is used to monitor whether a CPU (Central Processing Unit) is operating normally, and when the watchdog timer times out, the power to the entire system is turned back on. Also known is a method in which power is forcibly supplied to a main control unit that controls the entire device when a watchdog timer in a sub-control unit times out during an energy-saving mode in which the supply of power to the main control unit that controls the entire device is stopped (for example, see Patent Document 1).
[0003] Furthermore, a method is known in which, when a watchdog timer in an I / O (Input / Output) controller times out during an energy-saving mode, the main control unit is restarted and a predetermined circuit in the I / O controller is reset except for the communication means (see, for example, Patent Document 2). Also, a method is known in which, when a watchdog timer in a sub-controller times out during an energy-saving mode, the sub-controller is restarted and the main control unit is restored from the power-saving state (see, for example, Patent Document 3). Summary of the Invention [Problem to be solved by the invention]
[0004] For example, if a communication interface unit in the sub-controller that communicates with the main control unit stops operating during the energy saving mode, simply restarting the main control unit when the watchdog timer times out will not allow the main control unit to access the memory, etc. in the sub-controller. Therefore, the main control unit will not be able to obtain information stored in the memory when the watchdog timer times out. Also, when the sub-controller has an interconnect that connects the circuits in the sub-controller to each other, there is a risk that the interconnect will go into an abnormal state due to a runaway of the sub-controller in the sub-controller. If the interconnect goes into an abnormal state, the main control unit will not be able to access the memory, etc. in the sub-controller and will not be able to obtain information stored in the memory.
[0005] The disclosed technology aims to transfer the operation history of the second control unit to the first control unit without losing it when an abnormality occurs in the second control unit in a second operating mode in which the power supply to the first control unit is cut off. [Means for solving the problem]
[0006] In order to solve the above technical problems, a control device according to one embodiment of the present invention includes a first control unit including a first controller, which operates in a first operation mode and is powered off in a second operation mode that consumes less power than the first operation mode; a second control unit including a second controller that operates in the first operation mode and the second operation mode; and a power supply control unit that controls power supplies to the first control unit and the second control unit, wherein the second control unit includes a communication interface unit that communicates with the first control unit and stops operating in the second operation mode, an abnormality detection unit that detects an abnormality in the second controller, and a system control unit that starts operation of the communication interface unit and causes the power supply control unit to start up the first control unit based on detection of the abnormality by the abnormality detection unit in the second operation mode. the system control unit includes an interconnect that mutually connects the second controller, the communication interface unit, the abnormality detection unit, and the system control unit, and a reset generation unit that generates a reset signal to be output to each of a plurality of resettable circuits in the second control unit, the system control unit issues a release instruction to the reset generation unit to release the reset of the interconnect based on the detection of the abnormality by the abnormality detection unit, and the reset generation unit temporarily sets the reset signal to be output to the interconnect to a reset state and then sets it to a reset-release state based on the release instruction. It is characterized by: Effect of the Invention
[0007] If an abnormality occurs in the second control unit in the second operating mode in which the power supply to the first control unit is cut off, the operating history of the second control unit can be transferred to the first control unit without being lost. [Brief description of the drawings]
[0008] [Figure 1] 1 is a block diagram showing an example of a control device according to a first embodiment of the present invention. [Diagram 2] 2 is a sequence diagram showing an example of an operation of the control device of FIG. 1. [Diagram 3] FIG. 6 is a block diagram showing an example of a control device according to a second embodiment of the present invention. [Figure 4] 4 is a sequence diagram showing an example of an operation of the control device of FIG. 3. [Diagram 5] 4 is a sequence diagram showing another example of the operation of the control device of FIG. 3. [Figure 6] FIG. 11 is a block diagram showing an example of a control device according to a third embodiment of the present invention. [Figure 7] 7 is a sequence diagram showing an example of the operation of the control device of FIG. 6. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0009] Hereinafter, the embodiments will be described with reference to the drawings. In the following, the same reference numerals as the signal names are used for signal lines through which information such as signals is transmitted. In addition, in each drawing, the same components are given the same reference numerals, and duplicated explanations may be omitted.
[0010] (First embodiment) Fig. 1 is a block diagram showing an example of a control device according to a first embodiment of the present invention. The control device 100 shown in Fig. 1 includes a power supply control unit 10, a main system 20, a subsystem 30, and a device 40. The main system 20 is an example of a first control unit, and the subsystem 30 is an example of a second control unit.
[0011] For example, device 40 is an image forming unit that forms an image, a display, or a mechanical part of a robot. When device 40 functions as an image forming unit, device 40 has a scanner that reads an image recorded on a paper medium or the like to form image data, and a plotter or printer that forms an image on a paper medium or the like using the image data. Device 40 that functions as an image forming unit, a display, or a mechanical part of a robot returns from a standby state (an energy saving mode described later) and operates based on an operation of an operation unit (not shown) by a user or the like.
[0012] Among the elements shown in FIG. 1, elements enclosed in bold frames operate in a normal mode, which is one of the operation modes, and stop operating in an energy saving mode, which is another of the operation modes. Elements not enclosed in bold frames in FIG. 1 operate in the normal mode and the energy saving mode. Hereinafter, the energy saving mode is also referred to as the energy saving mode. The normal mode is an example of a first operation mode, and the energy saving mode is an example of a second operation mode.
[0013] The main system 20 has a main CPU (Central Processing Unit) 21 and an interface (I / F) section 22. During the normal mode, the main CPU 21 operates by receiving a power supply PSM (power supply voltage) from the power supply control section 10. During the normal mode, the main system 20 controls the overall operation of the control device 100 and also controls the device 40 to realize the operation of the device 40. The main CPU 21 is an example of a first controller.
[0014] The main system 20 stops operating during a period when the power supply PSM is not supplied from the power supply control unit 10 (energy saving mode). The main CPU 21 operates by executing a control program during normal mode and stops operating during energy saving mode. The interface unit 22 has, for example, a PCIe (Peripheral Component Interconnect express) interface, but may have other interfaces such as a serial interface.
[0015] The subsystem 30 has a sub-CPU 31, an interface unit 32 (PCIe interface), an interconnect 33, a WDT (watchdog timer) 34, a RAM 35, and a system controller 36. The sub-CPU 31 controls the entire control device 100 in place of the main CPU 21 during energy saving mode. The sub-CPU 31 always operates regardless of the operation mode. The sub-CPU 31 is an example of a second controller, and the interface unit 32 is an example of a communication interface unit.
[0016] The main CPU 21 controls the operation of the device 40 and performs processes with a high load, resulting in a large circuit scale and high power consumption. In contrast, the sub-CPU 31 does not perform processes associated with the operation of the device 40, so the circuit scale and power consumption can be made smaller than those of the main CPU 21. Therefore, the power consumption of the control device 100 in the energy saving mode in which the device 40 does not operate can be further reduced compared to the normal mode. The main CPU 21 and the sub-CPU 31 may be processors or controllers other than CPUs.
[0017] The interface unit 32 has a physical interface unit (PHY) (not shown) including an analog circuit. The physical interface unit has a power-down mode. In the normal mode, the interface unit 32 communicates with the interface unit 22 of the main system 20 by using packets (PCIe packets). In the energy saving mode, the interface unit 32 stops operating in response to assertion of an energy saving mode signal ECOMD from the system controller 36. At this time, the physical interface unit is set to the power-down mode.
[0018] During the energy saving mode in which the operation of the main system 20 is stopped, the operation of the circuits in the subsystem 30 connected to the main system 20 is stopped, thereby making it possible to further reduce the power consumption of the control device 100 during the energy saving mode. In addition, when the interface unit 22 has a serial interface, the interface unit 32 has a serial interface corresponding to the interface unit 22.
[0019] The interconnect 33 has an internal bus (not shown) that interconnects internal circuits such as the sub-CPU 31, the interface unit 32, the WDT 34, and the RAM 35. For example, the sub-CPU 31 inputs and outputs information to and from the interface unit 32 via the interconnect 33, reads and writes information from and to the RAM 35, and sets the count value of the WDT 34, etc.
[0020] The WDT 34 has a counter unit 341 and an output switching unit 342. The counter unit 341 updates the count value in synchronization with a clock signal, and resets the count value in response to a reset signal output from the sub CPU 31. If the counter unit 341 counts up to a preset count value before receiving a reset signal from the sub CPU 31, it outputs a timeout signal TO to the output switching unit 342. The WDT 34 is an example of an abnormality detection unit that detects an abnormality in the sub CPU 31.
[0021] When the output switching unit 342 receives the timeout signal TO while the energy saving mode determination signal ECO indicates the energy saving mode, the output switching unit 342 asserts the stall release signal STEXIT. When the output switching unit 342 receives the timeout signal TO while the energy saving mode determination signal ECO indicates the normal mode, the output switching unit 342 maintains the negated level of the stall release signal STEXIT. For example, the energy saving mode determination signal ECO is maintained at a high level during the energy saving mode, and is maintained at a low level during the normal mode.
[0022] The RAM 35 stores work data used by the sub CPU 31 and the operation history of each circuit in the subsystem 30. The RAM 35 may store programs executed by the sub CPU 31.
[0023] The system controller 36 controls the entire subsystem 30. During the energy saving mode, the system controller 36 maintains the main start signal MBT at a negated level and maintains the energy saving mode signal ECOMD at an asserted level. During the energy saving mode, the system controller 36 asserts the main start signal MBT and negates the energy saving mode signal ECOMD in response to assertion of the stall release signal STEXIT. Then, the system controller 36 returns the main CPU 21 and the interface unit 32 from the energy saving mode to the normal mode. The system controller 36 is an example of a system control unit.
[0024] While the main startup signal MBT is negated, the power supply control unit 10 stops supplying the power supply PSM to the main system 20 and sets the main system 20 to an energy saving mode. In response to assertion of the main startup signal MBT, the power supply control unit 10 supplies the power supply PSM to the main system 20 and starts up the main system 20.
[0025] Fig. 2 is a sequence diagram showing an example of the operation of the control device 100 of Fig. 1. That is, Fig. 2 shows an example of a control method of the control device 100. In Fig. 2, vertically long rectangles indicate that each circuit is in operation. Black circles in the rectangles indicate that information such as signals is being relayed. In the initial state of Fig. 2, the main system 20 and the interface unit 32 of the subsystem 30 are stopped in the energy saving mode (energy saving in progress).
[0026] For example, during the energy saving mode, the interface unit 32 is in a reset state upon receiving a reset signal at an assert level, and the supply of a clock signal is stopped. Also, the physical interface unit (PHY) of the interface unit 32 is set to a power down mode. During the energy saving mode, the operation of the device 40 (not shown) is also stopped.
[0027] The sub CPU 31 periodically resets the WDT 34, and the WDT 34 avoids timeout by being reset. If the sub CPU 31 goes out of control for some reason, the sub CPU 31 cannot reset the WDT 34. As a result, a timeout occurs in the WDT 34 (fires). When the WDT 34 times out, it outputs a stall release signal STEXT to the system controller 36.
[0028] In response to the stall release signal STEXIT, the system controller 36 outputs the main start-up signal MBT to the power supply control unit 10 (from the negate level to the assert level). In addition, in response to the stall release signal STEXIT, the system controller 36 sets the energy saving mode signal ECOMD, which is output to the interface unit 32, from the assert level to the negate level.
[0029] In response to the negation of the energy saving mode signal ECOMD, the interface unit 32 is released from the reset state and the supply of the clock signal begins. This allows the interface unit 32 to be started by the energy saving mode signal ECOMD, and allows communication with the main system 20 to be enabled. Then, the operation mode of the subsystem 30 transitions from the energy saving mode to the normal mode.
[0030] In response to the main startup signal MBT, the power supply control unit 10 supplies the power supply PSM to the main system 20. The main system 20 is started by the supply of the power supply PSM, and the main CPU 21 and the interface unit 22 start operating. As a result, the operation mode of the main system 20 transitions from the energy saving mode to the normal mode.
[0031] When the main system 20 is started and the interface unit 32 of the subsystem 30 starts operating, the main CPU 21 becomes able to access the RAM 35. The main CPU 21 then reads and accesses the RAM 35 via the interface units 22, 32 and the interconnect 33, and reads out historical information on the operation of the subsystem 30 from the RAM 35. This makes it possible to use the historical information to investigate the cause of a malfunction in the subsystem 30. Although not shown in the figure, the control device 100 is then rebooted and resumes operation.
[0032] As described above, in the first embodiment, the system controller 36 starts up the main system 20 and causes the interface unit 32 to start operation based on the stall release signal STEXIT output by the WDT 34 when the sub CPU 31 goes out of control during the energy saving mode. This allows the main CPU 21 to read out historical information about the operation of the subsystem 30 from the RAM 35 via the interface units 22, 32 and the interconnect 33. Therefore, the cause of the malfunction of the subsystem 30 can be investigated using the historical information read out while the sub CPU 31 is out of control.
[0033] In response to the energy saving mode signal ECOMD, the reset state of the interface unit 32 is released and the supply of a clock signal to the interface unit 32 is started, thereby making it possible to communicate with the main system 20 .
[0034] Second embodiment Fig. 3 is a block diagram showing an example of a control device according to a second embodiment of the present invention. The same elements as those in Fig. 1 are given the same reference numerals, and detailed description will be omitted. The control device 100A shown in Fig. 3 has a power supply control unit 10A and a subsystem 30A instead of the power supply control unit 10 and the subsystem 30 in Fig. 1. The other configurations of the control device 100A are the same as those in Fig. 1.
[0035] Subsystem 30A has a WDT 34A and a system controller 36A instead of the WDT 34 and the system controller 36 of subsystem 30 in Fig. 1. Furthermore, subsystem 30A additionally includes a reset generator 37A compared to subsystem 30 in Fig. 1. Other configurations of subsystem 30A are similar to those of subsystem 30 in Fig. 1.
[0036] The WDT 34A is similar to the WDT 34 in FIG. 1, except that it has an output switching unit 342A instead of the output switching unit 342 in FIG. 1. If the output switching unit 342A receives a timeout signal TO while the energy saving mode determination signal ECO indicates the energy saving mode, it asserts the stall release signal STEXIT and maintains the restart signal REBT at a negated level. The restart signal REBT is output to the power supply control unit 10A. If the output switching unit 342 receives a timeout signal TO while the energy saving mode determination signal ECO indicates the normal mode, it maintains the stall release signal STEXIT at a negated level and asserts the restart signal REBT.
[0037] The system controller 36A has the same function as the system controller 36 in FIG. 1, except that during the power saving mode, in response to assertion of the stall release signal STEXIT, the system controller 36A asserts the interconnect reset control signal ICRSTCNT.
[0038] The reset generation unit 37A has a function of generating a reset signal to be output to each of a plurality of resettable circuits in the subsystem 30A. The reset generation unit 37A temporarily sets the interconnect reset signal ICRST to a reset level in response to assertion of the interconnect reset control signal ICRSTCNT. For example, the reset generation unit 37A issues a reset pulse to the interconnect 33 by setting the interconnect reset signal ICRST to a low level, which is the reset level, and then returning it to a high level.
[0039] The interconnect 33 initializes the internal circuit by resetting the internal circuit in response to the reset pulse of the interconnect reset signal ICRST. When the sub CPU 31 is running out of control, the interconnect 33 may not operate normally, for example, by repeatedly receiving an invalid access request from the sub CPU 31. In this embodiment, by resetting the interconnect 33 when the sub CPU 31 is running out of control, the interconnect 33 that may have stopped operating normally can be restored to a normal state.
[0040] 1, the power supply control unit 10A has a function of restarting the power supply PSM supplied to the main system 20 and the power supply PSS supplied to the subsystem 30A in response to assertion of a restart signal REBT. Here, restarting means cutting off the power supplies PSM and PSS once and then supplying them again. For example, each of the main system 20 and the subsystem 30A is restarted by resetting the internal circuitry with a built-in power-on reset circuit based on the restart of the corresponding power supplies PSM and PSS.
[0041] Fig. 4 is a sequence diagram showing an example of the operation of the control device 100A of Fig. 3. That is, Fig. 4 shows an example of a control method of the control device 100A. Detailed description of the same operations as those in Fig. 2 will be omitted.
[0042] 4, in response to assertion of the stall release signal STEXIT during the energy saving mode, the system controller 36A asserts the main start-up signal MBT and the interconnect reset control signal ICRSTCNT and negates the energy saving mode signal ECOMD. The assertion of the interconnect reset control signal ICRSTCNT is an example of a release instruction to release the reset of the interconnect 33.
[0043] In response to the assertion of the interconnect reset control signal ICRSTCNT, the reset generation unit 37A temporarily asserts the interconnect reset signal ICRST to set the interconnect to a reset state. After this, the reset generation unit 37A negates the interconnect reset signal ICRST to set the interconnect to a reset release state. In this manner, the reset generation unit 37A outputs a reset pulse to the interconnect 33. In response to the reset pulse of the interconnect reset signal ICRST, the interconnect 33 is reset and set to an initial state. Other operations in FIG. 4 are the same as those in FIG. 2.
[0044] Fig. 5 is a sequence diagram showing another example of the operation of the control device 100A of Fig. 3. That is, Fig. 5 shows an example of a control method of the control device 100A. Detailed description of the same operations as those in Fig. 2 will be omitted. Fig. 5 shows the operation in the normal mode, and in the initial state of Fig. 5, each circuit of the main system 20 and each circuit of the subsystem 30A are operating.
[0045] As in Fig. 2, the sub CPU 31 periodically resets the WDT 34A, and the WDT 34A avoids a timeout by being reset. If the sub CPU 31 goes out of control for some reason, a timeout occurs (fires) in the WDT 34A. In the normal mode, the energy saving mode determination signal ECO in Fig. 3 is set to a low level. Therefore, in response to the occurrence of a timeout, the WDT 34A outputs a restart signal REBT to the power supply control unit 10A.
[0046] In response to the restart signal REBT, the power supply control unit 10A restarts the power supply PSM to the main system 20 and the power supply PSS to the subsystem 30. This makes it possible to restart the main CPU 21 and the sub CPU 31, respectively, and to resume the operations of the main system 20 and the subsystem 30.
[0047] As described above, the second embodiment can also provide the same effects as the first embodiment. For example, when the sub-CPU 31 goes out of control during the energy saving mode, the main system 20 can be started and the interface unit 32 can be made to start operation. This allows the main system 20 to read out operation history information of the subsystem 30 from the subsystem 30 while the sub-CPU 31 is out of control, and the cause of the malfunction of the subsystem 30 can be investigated.
[0048] Furthermore, in the second embodiment, by resetting the interconnect 33 when the sub-CPU 31 goes out of control in the energy saving mode, the interconnect 33 that may have become malfunctioning can be restored to a normal state.
[0049] The output switching unit 342A of the WDT 34A can assert either the stall release signal STEXIT or the restart signal REBT depending on the logic level of the energy saving mode determination signal ECO when the timeout signal TO is generated. This allows the control device 100A to optimally return to the energy saving mode or normal mode when the sub CPU 31 goes out of control.
[0050] (Third embodiment) Fig. 6 is a block diagram showing an example of a control device according to a third embodiment of the present invention. The same elements as those in Figs. 1 and 3 are given the same reference numerals, and detailed description thereof will be omitted. The control device 100B shown in Fig. 6 has a subsystem 30B instead of the subsystem 30A in Fig. 3. The other configurations of the control device 100B are the same as those in Fig. 3.
[0051] Subsystem 30B has a system controller 36B and a reset generation unit 37B instead of system controller 36A and reset generation unit 37A in Fig. 3. Furthermore, subsystem 30B adds a clock generation unit 38B to subsystem 30A in Fig. 3. The other configuration of subsystem 30B is similar to that of subsystem 30A in Fig. 3.
[0052] In response to the assertion of the stall release signal STEXT, the system controller 36B sets the interconnect reset control signal ICRSTCNT and the reset control signal RSTCNT from the negate level to the assert level. In response to the assertion of the stall release signal STEXT, the system controller 36B sets the clock mask signal CLKMSK from the assert level to the negate level. The assertion of the reset control signal RSTCNT is an example of a stop instruction that stops the operation of the sub CPU 31.
[0053] The reset generation unit 37B temporarily asserts the interconnect reset signal ICRST in response to the assertion of the interconnect reset control signal ICRSTCNT. Also, in response to the assertion of the reset control signal RSTCNT, the reset generation unit 37B sets the CPU reset signal CRST from the negate level to the assert level (the reset state of the sub CPU 31) and maintains the set assert level.
[0054] Furthermore, in response to the assertion of the reset control signal RSTCNT, the reset generation unit 37B sets the reset signal RST supplied to each of the predetermined circuits from the assert level to the negate level. Here, the predetermined circuits are circuits that are set to a reset state during the energy saving mode. The reset state of the predetermined circuits is released by the negation of the corresponding reset signal RST, and the predetermined circuits become operable. If the WDT 34A times out during the energy saving mode, the main CPU 21, which is started up due to the timeout, can access each circuit in the subsystem 30B by resuming the operation of the above-mentioned predetermined circuits.
[0055] In addition, while the reset control signal RSTCNT is negated in the energy saving mode, the reset generation unit 37B asserts the reset signal RST supplied to each of the above-mentioned predetermined circuits, and stops the operation of the above-mentioned predetermined circuits. By stopping the operation of the predetermined circuits in the subsystem 30B that do not need to operate in the energy saving mode, it is possible to reduce the power consumption of the subsystem 30B in the energy saving mode.
[0056] The sub CPU 31 operates while the CPU reset signal CRST is negated. The sub CPU 31 is reset by asserting the CPU reset signal CRST, and maintains the reset state while the CPU reset signal CRST is asserted. This makes it possible to stop the operation of the runaway sub CPU 31 when the WDT 34 times out during power saving mode, and to prevent malfunction of the sub CPU 31, such as erroneous rewriting of the RAM 35.
[0057] The clock generating unit 38B has a function of generating a clock signal CLK to be output to each of the clock synchronous circuits in the subsystem 30B. In the energy saving mode, the clock generating unit 38B stops supplying the clock signal CLK to each of the above-mentioned predetermined circuits while the clock mask signal CLKMSK is asserted. This makes it possible to suppress charging and discharging of the above-mentioned predetermined circuits due to the clock signal CLK during the energy saving mode, and further reduce the power consumption of the subsystem 30B.
[0058] In the energy saving mode, the clock generating unit 38B resumes supply of the clock signal CLK to each of the above-mentioned predetermined circuits in response to the negation of the clock mask signal CLKMSK. This allows the main CPU 21, which has been started up due to a timeout, to access each circuit in the subsystem 30B.
[0059] Fig. 7 is a sequence diagram showing an example of the operation of the control device 100B in Fig. 6. That is, Fig. 7 shows an example of a control method of the control device 100B. Detailed description of the same operations as those in Fig. 2 and Fig. 4 will be omitted.
[0060] 7, in response to assertion of the stall release signal STEXIT during the energy saving mode, the system controller 36B asserts the main start signal MBT, the interconnect reset control signal ICRSTCNT, and the reset control signal RSTCNT, and negates the energy saving mode signal ECOMD and the clock mask signal CLKMSK.
[0061] In response to the assertion of the reset control signal RSTCNT, the reset generation unit 37B sets the CPU reset signal CRST of the negated level to the asserted level, and stops the operation of the sub CPU 31. By stopping the operation of the sub CPU 31 during runaway, it is possible to prevent problems such as loss of data in the RAM 35 due to the continuation of the runaway.
[0062] In addition, in response to the assertion of the reset control signal RSTCNT, the reset generation unit 37B sets the reset signal RST (not shown) supplied to each of the predetermined circuits to a negate level. In response to the negation of the clock mask signal CLKMSK, the clock generation unit 38B resumes the supply of the clock signal CLK to each of the predetermined circuits. The negation of the reset signal RST and the resumption of the supply of the clock signal CLK cause the predetermined circuits to start operating.
[0063] As described above, the third embodiment can also provide the same effects as the first and second embodiments. Furthermore, in the third embodiment, when the WDT 34A times out during the energy saving mode, the operation of the runaway sub-CPU 31 can be stopped by the CPU reset signal CRST generated by the reset generating unit 37B. As a result, it is possible to prevent the sub-CPU 31 from malfunctioning, such as erroneously rewriting the RAM 35.
[0064] When the sub-CPU 31 is out of control in the energy saving mode, the clock generating unit 38B can resume the supply of the clock signal CLK to each of the predetermined circuits in response to the negation of the clock mask signal CLKMSK. This allows the main CPU 21, which is started up due to a timeout of the WDT 34A, to access each circuit in the subsystem 30B.
[0065] The reset generation unit 37B can assert the reset signal RST supplied to the above-mentioned predetermined circuit while the reset control signal RSTCNT is negated in the energy saving mode, and stop the operation of the predetermined circuit. By stopping the operation of the predetermined circuit in the subsystem 30B that does not need to operate in the energy saving mode, the power consumption of the subsystem 30B in the energy saving mode can be further reduced.
[0066] Although the present invention has been described above based on the embodiments, the present invention is not limited to the requirements shown in the above embodiments. These points can be changed without departing from the spirit of the present invention, and can be appropriately determined according to the application form. [Explanation of symbols]
[0067] 10, 10A Power Supply Control Unit 20 Main System 21 Main CPU 22 Interface section 30, 30A, 30B Subsystem 31 Sub CPU 32 Interface section 33 Interconnect 34 WDT (Watchdog Timer) 35 RAM 36, 36A, 36B System Controller 37A, 37B Reset generation section 38B Clock Generation Unit 40 equipment 100, 100A, 100B Control device 341 Counter section 342, 342A output switching section CLK Clock signal CLKMSK Clock mask signal CRST CPU reset signal ECO Energy saving mode judgement signal ECOMD Energy saving mode signal ICRST Interconnect Reset Signal ICRSTCNT Interconnect reset control signal MBT main start signal PSM power supply PSS power supply REBT restart signal RST Reset signal STEXT stall release signal TO Timeout signal [Prior art documents] [Patent documents]
[0068] [Patent Document 1] Patent No. 3315941 [Patent Document 2] JP 2007-286859 A [Patent Document 3] JP 2015-135556 A
Claims
1. a first control unit including a first controller, which operates in a first operation mode and is powered off in a second operation mode that consumes less power than the first operation mode; a second control unit including a second controller that operates in the first operation mode and in the second operation mode; a power supply control unit that controls power supplies of the first control unit and the second control unit; having The second control unit is a communication interface unit that communicates with the first control unit and stops operating in the second operation mode; an abnormality detection unit that detects an abnormality in the second controller; a system control unit that causes the communication interface unit to start an operation and the power supply control unit to start the first control unit based on detection of the abnormality by the abnormality detection unit in the second operation mode; an interconnect that connects the second controller, the communication interface unit, the abnormality detection unit, and the system control unit to one another; a reset generating unit that generates a reset signal to be output to each of a plurality of resettable circuits in the second control unit; having the system control unit issues a release instruction to the reset generation unit to release the reset of the interconnect based on the detection of the abnormality by the abnormality detection unit; The reset generation unit temporarily sets a reset signal to be output to the interconnect to a reset state based on the release instruction, and then sets the reset signal to a reset release state. A control device comprising:
2. the system control unit further issues a stop instruction to the reset generation unit to stop operation of the second controller based on the detection of the abnormality by the abnormality detection unit; The reset generation unit sets a reset signal to be output to the second controller to a reset state based on the stop instruction. The control device according to claim 1 .
3. the second control unit has a clock generating unit that generates a clock signal to be output to each of the clock synchronization circuits in the second control unit; The system control unit instructs the reset generation unit to release the reset state of the communication interface unit based on the detection of the abnormality by the abnormality detection unit, and instructs the clock generation unit to supply a clock signal to the communication interface unit. The control device according to claim 1 or 2, characterized in that
4. the abnormality detection unit outputs a restart signal to the power supply control unit when detecting an abnormality in the second controller in the first operation mode; The power supply control unit restarts the first control unit and the second control unit based on the restart signal.
4. The control device according to claim 1, wherein:
5. 5. The control device according to claim 1, further comprising an image forming unit that forms an image under the control of the first control unit during the first operation mode. An image forming apparatus comprising:
6. a first control unit including a first controller, which operates in a first operation mode and is powered off in a second operation mode that consumes less power than the first operation mode; a second control unit including a second controller which operates in the first operation mode and the second operation mode; and a power control unit which controls power supplies of the first control unit and the second control unit, wherein the second control unit has a communication interface unit which communicates with the first control unit and which stops operating in the second operation mode, an abnormality detection unit which detects an abnormality in the second controller, a system control unit, an interconnect which mutually connects the second controller, the communication interface unit, the abnormality detection unit, and the system control unit, and a reset generation unit which generates a reset signal to be output to each of a plurality of resettable circuits in the second control unit, the system control unit, based on the detection of the abnormality by the abnormality detection unit during the second operation mode, causing the communication interface unit to start operating; causing the power supply control unit to start up the first control unit; issuing a release instruction to the reset generation unit to release the reset of the interconnect; The reset generation unit temporarily sets a reset signal to be output to the interconnect to a reset state based on the release instruction, and then sets the reset signal to a reset release state. A control method for a control device comprising the steps of:
Citation Information
Patent Citations
Control unit and image forming device
JP2007286859A
Image processor and image processing method
JP2008131603A
Information processor, electronic control unit for vehicle, and data storage method
JP2012173919A
Information processor, and image processor
JP2014048865A
Information processor, control method, and control program
JP2015135556A
