The present disclosure relates to an information processing apparatus including a storage, and particularly relates to an information processing apparatus provided with a unit for preventing cache data stored in the storage from being lost when a failure has occurred.
In many cases, in order to ensure security, an information processing apparatus has a function for automatically turning off power when a failure is detected. Herein, a system failure or a power supply failure is considered as a failure occurring in the information processing apparatus.
A failure caused by a phenomenon that the software for operating the information processing apparatus hangs or an operation failure of a device provided inside the information processing apparatus caused by thermal abnormality may be considered as the system failure. The information processing apparatus detects the above-described failure as a system failure.
When the above-described system failure is detected, it is preferable that the power of the information processing apparatus be shut down as quickly as possible in order to return the information processing apparatus to a safe state as soon as possible. Therefore, the information processing apparatus has a function of automatically turning off the power when a failure is detected, different from a case of a normal shutdown.
Further, for example, a failure caused by the lowering of an input voltage supplied from an external power supply unit can be considered as the power supply failure.
A non-volatile memory such as a hard disk drive (HDD) or a solid-state drive (SSD) is commonly used as a storage included in the information processing apparatus. Further, it is often the case that a storage mounted on the information processing apparatus includes a cache memory in order to maintain high performance.
Data stored in the cache memory will be lost if the power of the storage is turned off. Therefore, in order to retain data even though the power is off, the data has to be written into the storage main body from the cache memory before the power is off.
However, in a case where a failure has occurred, the power of the storage may be shut down suddenly, and thus there is a risk in which data stored in the cache memory is lost. Therefore, when the information processing apparatus is reactivated, there is a possibility that not only the data stored in the cache memory is lost but also an error occurs in the operation of the information processing apparatus itself because of loss of saved data.
Japanese Patent Application Laid-Open No. 2000-122813 discusses a disk array apparatus which detects the occurrence of a blackout when an amount of input power is lowered to a certain amount or less, and quickly stops writing of data and normally terminates the data writing process by outputting a reset signal to a storage.
Further, in order to ensure that cache data is written into the storage even in a case where a failure, such as lowering of input voltage, has occurred, a large amount of power will be necessary because the information processing apparatus needs to continuously operate as a system. Therefore, detecting the lowering of an input voltage at a high threshold voltage value or providing a high-capacity capacitor to the system may be considered.
However, if lowering of the input voltage is detected at a high threshold voltage value, lowering of the voltage within a range practically having no influence may be determined as a failure. Further, if a high-capacity capacitor is provided to the system, cost or power consumption of the hardware will be increased.
According to an aspect of some embodiments, an information processing apparatus includes a plurality of devices including a storage, a power supply control unit configured to execute power supply control for turning on and off power of the plurality of devices, and a failure detection unit configured to detect a failure occurring in the information processing apparatus, wherein, in a case where the failure detection unit detects a failure occurring in the information processing apparatus, the power supply control unit turns off power of the storage after turning off power of at least one of the devices other than the storage.
Further features of various embodiments will become apparent from the following description of exemplary embodiments with reference to the attached drawings.
Hereinafter, an exemplary embodiment will be described with reference to the appended drawings.
A first exemplary embodiment will be described below. In the present exemplary embodiment, an image forming apparatus 100 configured as an information processing apparatus 101 having a printer and a reader will be described. However, in addition to the image forming apparatus, an apparatus such as a personal computer (PC) can be also configured by using a similar information processing apparatus 101.
In the image forming apparatus 100 in
The CPU 105 executes a software program to control the entirety of the information processing apparatus 101.
A random access memory (RAM) 107 is used for temporarily storing data when the CPU 105 controls the image forming apparatus 100. A read only memory (ROM) 106 stores an activation program and various setting values of the image forming apparatus 100.
The information processing apparatus 101 is connected to a local area network (LAN) 117 via a LAN controller 115 and a LAN interface (I/F) 116.
A storage 109 is connected to the CPU 105 via a storage control unit 108. The storage 109 is configured of a non-volatile storage medium, such as a hard disk drive (HDD) or a solid state drive (SSD). Further, separate from a storage main body, the storage 109 further includes a cache memory for temporarily saving data.
The CPU 105 and the storage control unit 108 are connected to each other using a serial advanced technology attachment (hereinafter, referred to as “SATA”). The storage 109 may be directly connected to the CPU 105 if the storage control unit 108 is not arranged thereon.
According to an instruction from the CPU 105, the storage control unit 108 communicates with the storage 109 to read or write data.
Further, a parallel advanced technology attachment (hereinafter, referred to as “PATA”) I/F may be used in place of the SATA. Although a detailed description will be omitted, processing similar to the processing executed using the SATA will be executed by using a PATA command.
An operation unit 119 includes a liquid crystal panel and hard keys for executing operation, and accepts an instruction input by a user. The operation unit I/F 118 serves as an interface that connects the information processing apparatus 101 and the operation unit 119.
The CPU 105 is connected to a reader 112 via a reader I/F 111. The reader 112 includes an auto-document feeder (ADF) and a scanner unit, and reads an image of a document placed on the ADF or a document positioning plate. The image processing unit 110 generates image data from the read image.
Further, the CPU 105 is connected to a printer 114 via a printer I/F 113. Based on the image data generated by the image processing unit 110, the printer 114 prints an image on a sheet.
A power supply control unit 104 detects a failure, such as a system failure or a power supply failure, occurring in the information processing apparatus 101.
Further, the power supply control unit 104 executes power control of the image forming apparatus 100. In other words, as described below in
As described above, in the present exemplary embodiment, the power supply control unit 104 has both of the function for detecting a failure and the function for executing control of supplying or stopping power. However, the respective functions may be executed by different devices.
The image forming apparatus 100 includes a power saving mode, as a power mode, in addition to a normal mode. The power supply control unit 104 may execute control of changing the power mode of the image forming apparatus 100. However, in the block diagram of the hardware configuration of the image forming apparatus 100 illustrated in
The power received from the power supply 102 is supplied to a first power supply unit 201 and a second power supply unit 202.
The first power supply unit 201 corresponds to the main power supply unit 103 illustrated in
In
The power supply control unit 104 outputs power supply control signals 220 to 226 to power supply units 202 and 204 to 209 in order to enable devices 105, 108 to 110, 112, and 114 to be turned ON and OFF individually.
Herein, each of the devices and a corresponding power supply unit for supplying power to the device are collectively called a “block”.
Specifically, the CPU 105 and the CPU power supply unit 204 constitute one block, and the image processing unit 110 and the image processing power supply unit 205 also constitute one block. Similarly, the storage control unit 108 and the storage control power supply unit 206, the storage 109 and the storage power supply unit 207, the printer 114 and the printer power supply unit 208, and the reader 112 and the reader power supply unit 209 constitute respective blocks.
When the respective blocks are to be turned off, the power supply control unit 104 not only turns off the power supply to the power supply units 204 to 209 but also activates charge elimination circuits 210 to 215 to regulate the respective blocks.
Herein, “charge elimination” refers to processing for eliminating electric charges accumulated in the device through a ground, and the charge elimination circuit is a circuit that is provided for that purpose.
Further, in
Further, in order to suppress the power consumption, with respect to a block including a device having a large power load, such as the printer 114 or the reader 112, a second power supply unit 202 is arranged separately from the first power supply unit 201. Then, the power supply control unit 104 supplies power to the printer 114 or the reader 112 via the second power supply unit 202 only when necessary.
Hereinafter, exemplary embodiments will be described briefly.
In a first exemplary embodiment, when a failure is detected, power supplied to the blocks other than the storage 109 is turned off, so that a load of the power supply unit for supplying power to each of the blocks is reduced. With this configuration, a period of time the power can be supplied to the storage 109 is extended, so that the time for writing cache data into the main body of the storage 109 can be secured.
Further, in a second exemplary embodiment, a power supply control signal transmitted to the storage power supply unit 207 is changed depending on a structure of a power supply switch (SW), so that the time for writing cache data into the main body of the storage 109 can be secured even in a case where a state of the power supply SW cannot be confirmed.
Further, in a third exemplary embodiment, a load of the power supply unit is reduced quickly by executing reset control of the storage control unit 108.
Furthermore, in a fourth exemplary embodiment, a load of the power supply unit is reduced more quickly by combining the reset control of the storage power supply unit 207 and the storage control unit 108.
In the first exemplary embodiment, when a failure is detected, the power supply control unit 104 turns off the power supplied to the blocks other than the storage 109. With this configuration, a load of the main power supply unit 103 for supplying power to each of the blocks is reduced, and a period of time the power can be supplied to the storage 109 is extended, so that the time for writing cache data into the main body of the storage 109 can be secured.
In S301, the power supply control unit 104 determines whether a failure is detected.
The power supply control unit 104 detects failures such as a system failure and a power supply failure.
For example, a failure caused by a software hang and an operation failure of a device caused by a thermal abnormality may be considered as system failures. Further, for example, a failure occurring in the input voltage supplied from the power supply unit may be considered as the power supply failure.
In addition, the image forming apparatus 100 executes normal operation until the power supply control unit 104 detects a failure in S301. When the normal operation is executed, the power supply control unit 104 executes power supply control of each of the blocks according to an instruction from the CPU 105. For example, power supply control executed in the normal operation may be control for shifting a power mode to a power saving mode and returning from the power saving mode or shutdown control.
Further, in a state where the power of the image forming apparatus 100 is off, the CPU 105 waits for a user instruction for turning on the power. On the other hand, in a state where the image forming apparatus 100 is activated, the CPU 105 receives a user instruction for turning off the power and transmits an instruction for shifting a power state to a shutdown state to each of the blocks.
In S301, when the power supply control unit 104 detects a failure (YES in S301), the processing proceeds to S302.
In S302, the power supply control unit 104 turns off the power of the blocks other than the storage 109. Specifically, the power supply control unit 104 transmits the power supply control signals 220 to 222 and 224 to 226 to the power supply units 202, 204 to 206, 208, and 209 illustrated in
Then, in S303, the power supply control unit 104 determines whether a certain period of time (t1) has passed after turning off the power of each of the blocks other than the storage 109. As it is often the case that a device, such as the HDD or the SSD, has a function for internally shifting cache data within a certain period of time after communication is disconnected, the power supply control unit 104 waits until the certain period of time (t1) has passed in order to secure the time for that function.
In S303, if the power supply control unit 104 determines that the certain period of time (t1) has passed (YES in S303), the processing proceeds to S304.
Then, in S304, the power supply control unit 104 turns off the power of the storage 109. At this time, as in the case of processing executed on the other power supply units 202, 204 to 206, and 208 to 209, the power supply control unit 104 transmits a power supply control signal 223 to the storage power supply unit 207 to turn off the output. Further, the power supply control unit 104 outputs an on-voltage to a gate of the transistor 230 and enables the charge elimination circuit 213.
As described above, in the present exemplary embodiment, when a failure is detected, the power supply control unit 104 turns off the power of each of the blocks other than the storage 109 and disconnects communication between the blocks in order to reduce a load of the main power supply unit 103. With this configuration, a load of supplying power to each block is reduced, and a period of time the power can be supplied to the storage 109 is extended, so that the time for writing cache data into the main body of the storage 109 can be secured.
In
For example, when a software hang has occurred, the power supply control unit 104 detects a system failure by recognizing a failure relating to delay of an input signal via a watchdog timer (WDT) arranged thereon. Further, the CPU 105 detects a temperature abnormality or an operation failure of the device and transmits an instruction to the power supply control unit 104, so that the power supply control unit 104 detects the failure.
When a system failure is detected, the power supply control unit 104 transmits a turn-off instruction to each of the blocks other than the storage 109 at a timing T412.
Specifically, the turn-off instruction transmitted to each of the blocks other than the storage 109 is an instruction for turning off the power supply units 202, 204 to 206, 208, and 209 and enabling the respective charge elimination circuits 210 to 212, 214, and 215.
When each of the power supply units 202, 204 to 206, 208 and 209 receives the turn-off instruction from the power supply control unit 104, each of the blocks is turned off. The power supply control unit 104 outputs the turn-off instruction and measures the passage of the certain period of time (t1).
When the certain period of time (t1) has passed, the power supply control unit 104 outputs an instruction for turning off the power of the storage 109. Specifically, at a timing T413, the power supply control unit 104 outputs a turn-off instruction to the storage power supply unit 207, enables the charge elimination circuit 213, and stops feeding power to the storage 109.
In
The power supply control unit 104 monitors the voltage input from the power supply 102 to the information processing apparatus 101 and detects a power supply failure when the input voltage is lowered (e.g., in
When a power supply failure is detected, the power supply control unit 104 transmits an instruction for turning off each of the blocks other than the storage 109 at a timing T422.
When each of the power supply units 202, 204 to 206, 208 and 209 receives the turn-off instruction from the power supply control unit 104, the blocks are each turned off.
Herein, because the power supply control unit 104 turns off the blocks other than the storage 109, a load of supplying power to each of the blocks is reduced. Therefore, lowering of the voltage of the power input to the storage power supply unit 207 from the power supply control unit 104 will be moderate.
The power supply control unit 104 outputs the turn-off instruction and measures the passage of the certain period of time (t1).
At this time, depending on a capacity of a capacitor connected to the storage 109 or the power supply control unit 104, the voltage of the input power is lowered at different speed. As a result, there is a possibility that the power supplied to the storage power supply unit 207 is lowered to cause the storage 109 to be turned off before the set certain period of time (t1) has passed.
In a case where the voltage of the input power can be retained for a certain period of time (t1) or longer, a timing chart will be similar to the timing chart illustrated in
For example, if the voltage of the input power becomes a certain voltage or lower (e.g., in
Thereafter, when the voltage of the input power is further lowered (e.g., in
As illustrated in the timing charts in
The second exemplary embodiment will be described. In the second exemplary embodiment, the power supply control unit 104 changes the power supply control signal 223 transmitted to the storage power supply unit 207 depending on the structure of the power supply SW to secure the time for writing cache data into the main body of the storage 109.
Similar to the flowchart in
In S501, the power supply control unit 104 determines whether a failure is detected.
In addition, the image forming apparatus 100 executes normal operation until the power supply control unit 104 detects a failure in S501. When the power supply control unit 104 detects a failure (YES in S501), the processing proceeds to S502.
In S502, the power supply control unit 104 changes the subsequent processing depending on whether a switch structure of the main power supply unit 103 is a rocker SW or a push SW.
If the switch structure is the rocker SW (YES in S502), the processing proceeds to S503. On the other hand, if the switch structure is the push SW (NO in S502), the processing proceeds to S504.
If the structure of the power supply SW is the rocker SW, in S503, the power supply control unit 104 turns off the power of each of the blocks other than the storage 109.
Specifically, the power supply control unit 104 turns off the outputs with respect to the power supply units 202, 204 to 206, 208, and 209, and enables the charge elimination circuits 210 to 212, 214, and 215.
Thereafter, in S505, the power supply control unit 104 determines whether the certain period of time (t1) has passed after turning off the power of the blocks other than the storage 109.
On the other hand, if a structure of the power supply SW is a push SW (NO in S502), the processing proceeds to S504. In S504, the power supply control unit 104 turns off the outputs with respect to the power supply units 202 and 204 to 209, including the storage power supply unit 207. Herein, although the power supply control unit 104 enables the charge elimination circuits 210 to 212, 214, and 215, the power supply control unit 104 maintains a disabled state of the charge elimination circuit 213 of the storage 109.
In the above, a control method for the power supply unit is changed depending on the structure of the power supply SW. This is because the power supply control unit 104 may or may not be able to confirm the state of the power supply SW depending on the structure of the power supply SW when the image forming apparatus 100 is to be returned from a failure.
In a case where the switch structure of the main power supply unit 103 is the rocker SW, the main power supply unit 103 can maintain the off state of the power supply SW when the main power supply unit 103 is turned off because of detection of a failure. Therefore, the power supply control unit 104 can restore the power of the main power supply unit 103 without an error by checking the state of the power supply SW.
On the other hand, if the switch structure of the main power supply unit 103 is the push SW, the main power supply unit 103 cannot maintain the off state of the power supply SW. Therefore, the power supply control unit 104 cannot check the state of the power supply SW, so that power cannot be restored appropriately.
Accordingly, if the switch structure of the main power supply unit 103 is a push SW, a state of the cache memory needs to be maintained as long as possible when a failure has occurred, so that a load of each of the blocks, including the storage 109, needs to be reduced as much as possible. Therefore, the power supply control unit 104 determines a structure of the power supply SW to change a power supply control method for the storage 109.
After the power supply control unit 104 outputs an instruction for turning off the power of each of the blocks, including the storage 109, in S504, the processing proceeds to S505.
Then, in S505, the power supply control unit 104 determines whether the certain period of time (t1) has passed after turning off each of the power supply units.
In S505, if the power supply control unit 104 determines that the certain period of time (t1) has passed (YES in S505), the processing proceeds to S506.
In S506, the power supply control unit 104 determines whether power of the storage 109 is ON. In other words, the power supply control unit 104 checks whether a switch structure of the main power supply unit 103 is the rocker SW or the push SW.
If the power of the storage 109 is ON (YES in S506), the processing proceeds to S507.
Then, in S507, the power supply control unit 104 turns off the power of the storage 109, and the processing proceeds to S508.
If the power of the storage 109 is OFF (NO in S506), the processing proceeds directly to S508.
In S508, the power supply control unit 104 enables the charge elimination circuit 213 of the storage 109.
As described above, in the present exemplary embodiment, when a failure is detected, the power supply control unit 104 changes a control method of the power supplied to the storage 109 depending on whether the SW structure of the main power supply unit 103 is a rocker SW or a push SW. With this configuration, even in a case where a state of the power supply SW cannot be checked because the SW structure of the main power supply unit 103 is a push SW, as much time for writing cache data can be secured as possible, so that loss of data can be prevented or reduced.
Herein, portions different from those illustrated in the timing charts in
In
When the power supply control unit 104 detects a failure, the power supply control unit 104 transmits a turn-off instruction to each of the blocks other than the storage 109 at a timing T612.
When each of the power supply units 202, 204 to 206, 208, and 209 receives the turn-off instruction from the power supply control unit 104, the blocks are each turned off.
The power supply control unit 104 outputs the turn-off instruction and measures the passage of a certain period of time (t1).
When the certain period of time (t1) has passed, the power supply control unit 104 outputs the turn-off instruction to the storage power supply unit 207, enables the charge elimination circuit 213, and stops feeding power to the storage 109 at a timing T613.
Herein, because the power supply SW is a rocker SW, the power supply SW maintains the logic and constantly remains in the ON state even if the power supply control unit 104 detects a failure.
In
When a failure is detected, the power supply control unit 104 turns off the outputs with respect to the power supply units 202 and 204 to 209, including the storage power supply unit 207. However, with respect to the charge elimination circuit 213 of the storage 109, the power supply control unit 104 maintains a disabled state at a timing T622.
When each of the power supply units 202, 204 to 206, 208, and 209 receives the turn-off instruction from the power supply control unit 104, the blocks are each turned off.
The power supply control unit 104 outputs the turn-off instruction and measures the passage of a certain period of time (t1).
When the certain period of time (t1) has passed, the power supply control unit 104 enables the charge elimination circuit 213 of the storage 109 at a timing T623.
Herein, because the power supply SW is a push SW, the logic is not clear when a failure is detected, and thus the power supply SW is fixed to “Low” or “High” unless an instruction is provided by the user. In the power supply control sequence in
In
The power supply control unit 104 monitors the voltage input from the power supply 102 to the information processing apparatus 101 and detects a power supply failure when the input voltage is lowered (e.g., in
When a failure is detected, the power supply control unit 104 transmits an instruction for turning off each of the blocks other than the storage 109 at a timing T632.
When each of the power supply units 202, 204 to 206, 208, and 209 receives the turn-off instruction from the power supply control unit 104, the respective blocks are each turned off.
Herein, because the power supply control unit 104 turns off each of the blocks other than the storage 109, a load of supplying power to each of the blocks is reduced, so that the lowering of the voltage of the input power will be moderate.
The power supply control unit 104 outputs the turn-off instruction and measures the passage of a certain period of time (t1).
At this time, similar to the case described in
For example, if the voltage of the input power becomes a certain voltage or lower (e.g., in
Thereafter, when the voltage of the input power is lowered further (e.g., in
In
The power supply control unit 104 monitors the voltage input to the information processing apparatus 101 and detects the power supply failure when the input voltage is lowered (e.g., in
When a failure is detected, the power supply control unit 104 turns off the outputs with respect to the power supply units 202 and 204 to 209, including the storage power supply unit 207. However, with respect to the charge elimination circuit 213 of the storage 109, the power supply control unit 104 maintains a disabled state at a timing T642.
When each of the power supply units 202, 204 to 206, 208, and 209 receives the turn-off instruction from the power supply control unit 104, the respective blocks are each turned off.
Herein, because the power supply control unit 104 turns off the power of each of the blocks other than the storage 109, a load of supplying power to each of the blocks is reduced, so that the lowering of the voltage of the input power will be moderate.
After outputting the turn-off instruction, the power supply control unit 104 measures the passage of a certain period of time (t1).
At this time, similar to the case described in
Thereafter, when the input voltage is lowered further (e.g., in
As illustrated in the timing charts in
The third exemplary embodiment will be described. In the third exemplary embodiment, communication between the storage 109 and the storage control unit 108 is disconnected by controlling a reset signal transmitted to the storage control unit 108. With this configuration, a load of the main power supply unit 103 is reduced, and the time for writing the cache data into the main body of the storage 109 can be secured.
A difference between the present exemplary embodiment and the first exemplary embodiment illustrated in
In the example illustrated in
Normally, since the storage control unit 108 operates according to an instruction of the CPU 105, the storage control unit 108 is brought into a reset state by a reset signal transmitted from the CPU 105. In the present exemplary embodiment, in order to quickly execute control when the power supply control unit 104 detects a failure, such as a blackout, the storage control unit 108 can be reset by a reset signal transmitted from the power supply control unit 104 for detecting a failure.
As described above, in the present exemplary embodiment, when a failure has occurred, the power supply control unit 104 can also reset the storage control unit 108. With this configuration, communication between the storage 109 and the storage control unit 108 is disconnected quickly, and the time for writing cache data into the main body of the storage 109 can be secured.
Similar to the flowchart in
Herein, processing different from processing illustrated in the flowchart in
In S801, the power supply control unit 104 determines whether a failure is detected.
The image forming apparatus 100 executes normal operation until the power supply control unit 104 detects a failure in S801.
In S801, when the power supply control unit 104 detects a failure (YES in S801), the processing proceeds to S802.
Then, in S802, the power supply control unit 104 resets the storage control unit 108.
Thereafter, in S803, the power supply control unit 104 determines whether a certain period of time (t1) has passed after resetting the storage control unit 108.
In S803, if the power supply control unit 104 determines that the certain period of time (t1) has passed (YES in S803), the processing proceeds to S804.
Then, in S804, the power supply control unit 104 turns off each of the blocks.
As described above, in the present exemplary embodiment, when the power supply control unit 104 detects a failure, the power supply control unit 104 resets the storage control unit 108. With this configuration, communication between the storage 109 and the storage control unit 108 is disconnected quickly, and more time for writing cache data into the main body of the storage 109 can be secured.
Herein, portions different from those illustrated in the timing charts in
In
When a system failure is detected, the power supply control unit 104 resets the storage control unit 108 at a timing T912.
When the power supply control unit 104 resets the storage control unit 108, communication between the storage control unit 108 and the storage 109 is disconnected.
The power supply control unit 104 resets the storage control unit 108 and measures the passage of a certain period of time (t1).
When the certain period of time (t1) has passed, the power supply control unit 104 transmits a turn-off instruction to each of the power supply units to turn off the respective blocks at a timing T913.
In
The power supply control unit 104 monitors the voltage input to the information processing apparatus 101 and detects a power supply failure when the input voltage is lowered (e.g., in
When a power supply failure is detected, the power supply control unit 104 resets the storage control unit 108 at a timing T922.
When the power supply control unit 104 resets the storage control unit 108, communication between the storage control unit 108 and the storage 109 is disconnected.
The power supply control unit 104 resets the storage control unit 108 and measures the passage of a certain period of time (t1).
At this time, similar to the case described in
For example, if the input voltage becomes a certain voltage or lower at a timing T923 (e.g., in
Thereafter, when the input voltage is lowered further (e.g., in
As illustrated in the timing charts in
The fourth exemplary embodiment will be described. In the fourth exemplary embodiment, by combining the reset control of the storage power supply unit 207 and the storage control unit 108, communication between the storage 109 and the storage control unit 108 can be disconnected more quickly. With this configuration, a load of the main power supply unit 103 can be more reduced, and more time for writing cache data into the main body of the storage 109 can be secured.
A difference between the present exemplary embodiment and the third exemplary embodiment in
When occurrence of a failure is detected, the power supply control unit 104 brings the storage control unit 108 into a reset state while continuously supplying power to the storage power supply unit 207. Therefore, an OR gate 803 is used for an input with respect to the storage power supply unit 207, and a NAND gate 804 is used for an input with respect to the charge elimination circuit 213 of the storage 109.
Herein, the present exemplary embodiment will be described based on the assumption that the storage power supply unit 207 is turned on when an input is “High”, and the storage control unit 108 is brought into a reset state when an input is “Low”. In a normal state, the power supply control unit 104 outputs “high” as both of the power supply control signal 802 and the reset signal 801. Therefore, the storage power supply unit 207 is ON, and the charge elimination circuit 213 is in a disabled state.
When a failure is detected, the power supply control unit 104 outputs “Low” as the reset signal 801. However, the storage power supply unit 207 needs to be maintained in an ON state, and the charge elimination circuit 213 needs to be maintained in the disabled state. Therefore, in order to maintain the ON state of the storage power supply unit 207 even if the power supply control signal 802 and the reset signal 801 are “High” and “Low” respectively, the OR gate 803 is arranged on the input side of the storage power supply unit 207. Further, in order to maintain the disabled state of the charge elimination circuit 213 even if the power supply control signal 802 and the reset signal 801 are “High” and “Low” respectively, the NAND gate 804 is arranged on the input side of the charge elimination circuit 213.
As described above, in the present exemplary embodiment, when a failure is detected, the power supply control unit 104 resets the storage control unit 108 while continuously supplying power to the storage 109. With this configuration, communication between the storage 109 and the storage control unit 108 can be disconnected more quickly, and more time for writing cache data into the main body of the storage 109 can be secured.
Similar to the flowchart in
Herein, processing different from processing illustrated in the flowchart in
In S1101, the power supply control unit 104 determines whether a failure is detected.
The image forming apparatus 100 executes normal operation until the power supply control unit 104 detects a failure in S1101.
When the power supply control unit 104 detects a failure (YES in S1101), the processing proceeds to S1102.
Then, in S1102, the power supply control unit 104 outputs “low” as a control signal to be output when a failure is detected. A reset signal 801 in
When the power supply control unit 104 outputs “Low” as the reset signal 801, the storage control unit 108 is brought into a reset state, so that communication between the storage control unit 108 and the storage 109 is disconnected.
Thereafter, in S1103, the power supply control unit 104 determines whether a certain period of time (t1) has passed after outputting “Low” as the reset signal 801. As it is often the case that a device, such as the HDD or the SSD, has a function for internally shifting cache data within the certain period of time (t1) after communication is disconnected, the power supply control unit 104 waits until the certain period of time (t1) has passed in order to secure the time necessary for that function.
In S1103, if the power supply control unit 104 determines that the certain period of time (t1) has passed (YES in S1103), the processing proceeds to S1104.
Then, in S1104, the power supply control unit 104 changes the power supply control signal 802 to “Low” in order to turn off the power of the storage 109.
As described above, in the present exemplary embodiment, by combining the power supply control of the storage power supply unit 207 and the reset control of the storage control unit 108, communication between the storage 109 and the storage control unit 108 can be disconnected more quickly. With this configuration, a load of the main power supply unit 103 can be more reduced, and more time for writing cache data into the main body of the storage 109 can be secured.
Herein, portions different from those illustrated in the timing chart in
In
The CPU 105 outputs “Low” as the control signal 800, so that an output of the AND gate 701 becomes “Low”. Then, the storage control unit 108 is brought into a reset state, and communication between the storage control unit 108 and the storage 109 is disconnected.
Thereafter, in order to execute shutdown processing, the CPU 105 instructs the power supply control unit 104 to turn of the power when preparation for turning off the power is completed.
The power supply control unit 104 receives the instruction for turning off the power from the CPU 105 and turns off each of the blocks. Herein, with reference to the timing charts in
The power supply control unit 104 receives the instruction from the CPU 105 and changes the outputs of the reset signal 801 and the power supply control signal 802 at a timing T1212. The storage power supply unit 207 is then turned off, the charge elimination circuit 213 is enabled, and the storage 109 is turned off.
In
When a system failure is detected, the power supply control unit 104 changes the reset signal 801 to “Low”.
When the reset signal 801 is changed to “Low”, the storage control unit 108 is brought into a reset state via the AND gate 701. At this time, the power supply control unit 104 also turns off the blocks other than the storage 109. Therefore, the CPU 105 is also changed to a reset state because the power thereof is turned off by the power supply control unit 104. Then, the control signal 800 for resetting the storage control unit 108 is also changed to “Low” accordingly.
On the other hand, in order to continue power feeding of the storage 109, the power supply control unit 104 maintains “High” as the power supply control signal 802 to maintain the storage power supply unit 207 in the ON state and the charge elimination circuit 213 in the disabled state.
The power supply control unit 104 changes the reset signal 801 to “Low” and measures the passage of the certain period of time (t1).
When the certain period of time (t1) has passed, the power supply control unit 104 outputs the turn-off instruction to the storage power supply unit 207 by changing the power supply control signal 802 to “Low” and turns off the power of the storage 109 at a timing T1222.
In
The power supply control unit 104 monitors the voltage input to the image forming apparatus 100 and detects the power supply failure when the input voltage is lowered (e.g., in
When a failure is detected, the power supply control unit 104 changes the reset signal 801 to “Low”.
When the reset signal 801 is changed to “Low”, the storage control unit 108 is brought into a reset state via the AND gate 701. At this time, the power supply control unit 104 also turns off each of the blocks other than the storage 109. The CPU 105 is also changed to a reset state because power thereof is turned off by the power supply control unit 104. Then, the control signal 800 for resetting the storage control unit 108 is also changed to “Low” accordingly.
On the other hand, in order to continue power feeding of the storage 109, the power supply control unit 104 maintains “High” as the power supply control signal 802 to maintain the storage power supply unit 207 in the On state and the charge elimination circuit 213 in the disabled state.
At this time, similar to the case described in
For example, if the voltage of the input power becomes a certain voltage or lower (e.g., in
Thereafter, when the voltage of the input power is further lowered (e.g., in
As illustrated in the timing charts in
Some embodiment(s) can also be realized by a computer of a system or apparatus that reads out and executes computer-executable instructions (e.g., one or more programs) recorded on a storage medium (which may also be referred to more fully as a ‘non-transitory computer-readable storage medium’) to perform the functions of one or more of the above-described embodiment(s) and/or that includes one or more circuits (e.g., application specific integrated circuit (ASIC)) for performing the functions of one or more of the above-described embodiment(s), and by a method performed by the computer of the system or apparatus by, for example, reading out and executing the computer-executable instructions from the storage medium to perform the functions of one or more of the above-described embodiment(s) and/or controlling the one or more circuits to perform the functions of one or more of the above-described embodiment(s). The computer may comprise one or more processors (e.g., central processing unit (CPU), micro processing unit (MPU)) and may include a network of separate computers or separate processors to read out and execute the computer-executable instructions. The computer-executable instructions may be provided to the computer, for example, from a network or the storage medium. The storage medium may include, for example, one or more of a hard disk, a random-access memory (RAM), a read only memory (ROM), a storage of distributed computing systems, an optical disk (such as a compact disc (CD), digital versatile disc (DVD), or Blu-ray Disc (BD)™), a flash memory device, a memory card, and the like.
While the present disclosure has described exemplary embodiments, it is to be understood that some embodiments are not limited to the disclosed exemplary embodiments. The scope of the following claims is to be accorded the broadest interpretation so as to encompass all such modifications and equivalent structures and functions.
This application claims priority to Japanese Patent Application No. 2018-144708, which was filed on Aug. 1, 2018 and which is hereby incorporated by reference herein in its entirety.
Number | Date | Country | Kind |
---|---|---|---|
2018-144708 | Aug 2018 | JP | national |