1. Field
Aspects of the present invention generally relate to a technique for preventing a power source of a control unit for updating firmware from being turned off while firmware of an image forming apparatus is being updated.
2. Description of the Related Art
In an image forming apparatus, firmware is updated to extend, change, and upgrade functions of the image forming apparatus. In recent years, a method has prevailed that updates firmware by receiving firmware from an external apparatus connected via a network (refer to Japanese Patent Application Laid-Open No. 2007-310690).
In addition, some low-end image forming apparatuses shut off power supplied to a control unit for controlling operation of an image forming apparatus without executing any processing for ending an application when a user presses a power source switch. Pressing the power source switch while the firmware is being updated in the image forming apparatus interrupts the update of the firmware. This sometimes cannot activate the image forming apparatus.
Aspects of the present invention are generally directed to an image forming apparatus capable of preventing a power source of a control unit for updating firmware from being turned off while the firmware is being updated.
According to an aspect of the present invention, an image forming apparatus operating at least in a first power state and a second power state includes a control unit configured to update firmware and a power source control unit configured to stop supplying power to the control unit in the first power state on condition that a power source switch is operated by a user, and stop supplying power to the control unit in the second power state on condition that the power source control unit receives a request from the control unit for turning off a power source. The control unit performs control so that the image forming apparatus transitions to the second power state when the control unit updates the firmware.
Further features of the present disclosure will become apparent from the following description of exemplary embodiments with reference to the attached drawings.
Various exemplary embodiments will be described in detail below with reference to the drawings.
A first exemplary embodiment is described below with reference to attached drawings.
A printing system 1 includes a client personal computer (PC) 100 and an image forming apparatus 200. In the printing system 1, the client PC 100 and the image forming apparatus 200 communicate with each other via a network 300. The network 300 may be a wire or a wireless network. The client PC 100 and the image forming apparatus 200 may be connected with each other via a local interface such as a universal serial bus (USB) instead of the network 300.
The image forming apparatus 200 includes a control unit 201, an operation unit 202, a printer control unit 203, a printer unit 204, a power source switch 205, and a power source control unit 206. The control unit 201 controls the operation of the units in the image forming apparatus 200. The operation unit 202 includes hard keys for the user performing various operations and a light-emitting diode (LED) and the like for displaying the status of the image forming apparatus 200. The operation unit 202 may include a display panel for displaying images and texts. The printer control unit 203 controls the operation of the printer unit 204. The printer unit 204 includes a fixing device for fixing a toner image transferred to a photosensitive member or a sheet on which the toner image is formed. The power source switch 205 is the one that is operated by the user when the image forming apparatus 200 is turned off, and when the image forming apparatus 200 in an off state is turned on. When the power source switch 205 is operated by the user, a logic value of a signal input to the power source control unit 206 changes. The power source control unit 206 monitors a change in the logic value of the input signal to determine whether the power source switch 205 is operated. The power source switch 205 may be a toggle switch or a seesaw switch. The power source control unit 206 controls power supplied to the image forming apparatus 200. Details of the power source control unit 206 are described below.
The control unit 201 includes a central processing unit (CPU) 301, a random access memory (RAM) 302, a read only memory (ROM) 303, a communication interface (I/F) 304, an operation unit I/F 305, an image processing unit 306, and a printer I/F 307. The CPU 301, the RAM 302, the ROM 303, the communication I/F 304, the operation unit I/F 305, the image processing unit 306, and the printer I/F 307 are communicably connected with one another via a system bus 308.
The CPU 301 controls access to various devices connected to the CPU 301 based on control programs stored in the ROM 303. The RAM 302 is a system work memory for operating the CPU 301. The RAM 302 temporarily stores the image data subjected to image processing by the image processing unit 306. The communication I/F 304 is an interface for connecting the client PC 100 to the system bus 308. The communication I/F 304 is a USB interface or a local area network (LAN) interface, for example. The operation unit I/F 305 is an interface for connecting the operation unit 202 to the system bus 308. The image processing unit 306 performs image processing on the input image data. More specifically, the image processing unit 306 reads the image data stored in the RAM 302 and performs image processing such as enlargement processing, reduction processing, and color adjustment processing, on the read image data. The image data subjected to image processing by the image processing unit 306 is output to the printer control unit 203 via the printer I/F 307.
The printer control unit 203 includes a printer CPU 311, a printer RAM 312, a printer ROM 313, a control unit I/F 314, and a power source control unit I/F 315. The printer CPU 311, the printer RAM 312, the printer ROM 313, the control unit I/F 314, and the power source control unit I/F 315 are communicably connected with one another via a system bus 317.
The printer CPU 311 controls the operation of the printer unit 204 based on control programs stored in the printer ROM 313. The printer RAM 312 is a system work memory for operating the CPU 311. In the present exemplary embodiment, the printer RAM 312 stores information indicating that the power source switch 205 is pressed in a specific state, such as a power on state. The control unit I/F 314 is an interface for communicating with the control unit 201. The power source control unit I/F 315 is provided to notify the power source control unit 206 that the power source switch 205 that can be operated by the user is pressed.
A solid line drawn in
An alternating current (AC) power source is supplied to the image forming apparatus 200 through an electric plug 401. First and second power source units 402 and 403 convert AC power supplied through the electric plug 401 into direct current (DC) power. The first power source unit 402 generates 3.3-volt DC power, for example. A voltage generated by the first power source unit 402 is supplied to the control unit 201, the printer control unit 203, the operation unit 202, and the power source control unit 206. The second power source unit 403 generates 12.0-volt DC power, for example. A voltage generated by the second power source unit 403 is supplied to the printer unit 204. A relay 404 is arranged between the electric plug 401 and the second power source unit 403. The state of the relay 404 is controlled by the power source control unit 206. A relay 405 is arranged between the first power source unit 402, and the printer control unit 203 and the control unit 201. The state of the relay 405 is controlled by the power source control unit 206.
As illustrated in
As illustrated in
As illustrated in
The sleep state is a state where the RAM 302 storing the program being activated is energized and power is supplied to portions required for the image forming apparatus 200 to return from the sleep state. Because the program being activated is stored in the RAM 302 in the sleep state, the image forming apparatus 200 can return to the sleep state more quickly than in a case of returning from the power off state to the standby state, where the program needs to be activated.
As illustrated in
In the sleep state, the control unit 201 transitions to a power saving mode. In the power saving mode, the supply of power to the image processing unit 306 of the control unit 201 is stopped and the RAM 302 transitions to a self-refresh mode. When the control unit 201 is in the power saving mode, a physical layer (PHY) of the communication I/F 304 is in a state capable of receiving a packet, but the supply of power to a media access control (MAC) is stopped.
As illustrated in
The firmware update state is a state to which the image forming apparatus 200 transitions in a case where the control unit 201 updates the firmware.
As illustrated in
In the firmware update state, the control unit 201 transitions to a normal mode. In the normal mode, power is supplied to the entire control unit 201. At this point, the self-refresh mode of the RAM 302 is released. In a case where the control unit 201 is in the normal mode, power is supplied also to the MAC of the communication I/F 304.
As illustrated in
The standby state is a state to which the image apparatus 200 transitions when a job such as a print job is completed.
As illustrated in
As illustrated in
The sleep timer is stopped when the image forming apparatus 200 starts printing and the firmware starts to be updated. The sleep timer is reset when printing is completed or the image forming apparatus 200 transitions to the standby state.
The power source control unit 206 is described in detail below. The power source control unit 206 controls the power state of the image forming apparatus 200. The power source control unit 206 is a processor operating according to a power source control program stored in the printer ROM 313. The power source control unit 206 may be a hardware logic circuit. The first power source unit 402 supplies power to the power source control unit 206. A signal whose logic value is changed when the power source switch 205 is pressed is input to the power source control unit 206. The power source control unit 206 controls states (on-state and off-state) of the relays 404 and 405.
The power source control unit 206 in the present exemplary embodiment executes a different operation depending on a power state of the image forming apparatus 200 when the power source switch 205 is pressed.
In a case where the image forming apparatus 200 is in the standby state, the power source control unit 206 turns off the relays 404 and 405 when the power source switch 205 is pressed. This promptly turns off the power source for the image forming apparatus 200. On the other hand, when the power source switch 205 is pressed in a case where the image forming apparatus 200 is in the sleep state, the power source control unit 206 does not promptly turn off the relay 405. Pressing the power source switch 205 causes the printer RAM 312 to store information indicating that the power source switch 205 has been pressed. The information stored in the printer RAM 312 is periodically monitored by the control unit 201. When the control unit 201 determines that the information is stored in the printer RAM 312, the control unit 201 sends a request for turning off the power source to the power source control unit 206 to cause the power source control unit 206 to turn off the relay 405. The power source control unit 206 that has received the request for turning off the power source turns off the relay 405. In a case where the image forming apparatus 200 is in the firmware update state, even if the power source switch 205 is pressed, the power source control unit 206 does not turn off the relay 405. In the firmware update state, the control unit 201 does not send the request for turning off the power source to the power source control unit 206.
If the communication I/F 304 receives a request for updating the firmware from the client PC 100, the communication I/F 304 notifies the CPU 301 of the request. If the CPU 301 determines that the request for updating the firmware has been made (YES in step S801), in step S802, the CPU 301 performs control so that the image forming apparatus 200 transitions to the firmware update state. More specifically, if the CPU 301 determines that the request for updating the firmware has been made, the CPU 301 transmits a transition instruction to the power source control unit 206 so that the image forming apparatus 200 transitions to the firmware update state. The power source control unit 206 that has received the transition instruction turns off the relay 404 and turns on the relay 405. This causes the image forming apparatus 200 to transition to the firmware update state. If the CPU 301 determines that the image forming apparatus 200 transitions to the firmware update state (YES in step S803), in step S804, the CPU 301 updates the firmware.
The processing illustrated in
In step S901, the CPU 301 inquires of the printer control unit 203 about contents of the printer RAM 312 to determine whether the power source switch 205 has been pressed. As a result of the inquiry, if the printer RAM 312 stores the information indicating that the power source switch 205 has been pressed (YES in step S901), in step S902, the CPU 301 determines whether the firmware is being updated. If the firmware is not being updated (NO in step S902), in step S903, the CPU 301sends a request for turning off the power source to the power source control unit 206. The power source control unit 206 that has received the request for turning off the power source turns off the relay 405 and brings the image forming apparatus 200 into the power off state. In the present exemplary embodiment, if the firmware is being updated (YES in step S902), the CPU 301 does not send the request for turning off the power source to the power source control unit 206. When the update of the firmware is completed, the CPU 301 performs a reboot. More specifically, the CPU 301 resets each unit of the image forming apparatus 200 and performs the reboot of the image forming apparatus 200.
In step S1001, the power source control unit 206 determines whether the power source switch 205 has been pressed. If the power source switch 205 has been pressed (YES in step S1001), in step S1002, the power source control unit 206 determines whether the image forming apparatus 200 is in the standby state. If the image forming apparatus 200 is in the standby state (YES in step S1002), in step S1003, the power source control unit 206 turns off the relays 404 and 405. This brings the image forming apparatus 200 into the power off state.
On the other hand, if the image forming apparatus 200 is not in the standby state but in the sleep state or in the firmware update state (NO in step S1002), in step S1004, the power source control unit 206 causes the printer RAM 312 to store the information indicating that the power source switch 205 has been pressed.
If the power source switch 205 has not been pressed (NO in step S1001), in step S1005, the power source control unit 206 determines whether a request for turning off the power source transmitted from the control unit 201 has been received. If the request for turning off the power source has been received (YES in step 1005), the power source control unit 206 turns off the relays 404 and 405. This brings the image forming apparatus 200 into the power off state.
Thus, the power source control unit 206 turns off the relay 405 on the condition that the power source switch 205 has been pressed or the request for turning off the power source has been received from the control unit 201.
Thus, in the present exemplary embodiment, if the request for updating the firmware has been received from the client PC 100, the image forming apparatus 200 transitions to the firmware update state. Even if the power source switch 205 has been pressed in the firmware update state, the image forming apparatus 200 does not transition to the power off state unless the control unit 201 sends the request for turning off the power source to the power source control unit 206. This can prevent power supply to the control unit 201 updating the firmware from being stopped while the firmware is being updated.
In the present exemplary embodiment, an example is described in which the image forming apparatus 200 transitions to the firmware update state while the firmware is being updated. However, the image forming apparatus 200 may transition to the sleep state while the firmware is being updated. Although the control unit 201 transitions to the power saving mode in the sleep state, power supply to the CPU 301 is maintained, so that the processing according to the flow chart illustrated in
In the present exemplary embodiment, an example is described in which power supply to the control unit 201 is stopped. In another exemplary embodiment, the control unit 201 may be brought into a reset state.
The functions illustrated in the flow charts in the present exemplary embodiment can also be realized by executing software (programs) acquired via a network or various storage media using a processing devices (a CPU or a processor) of a personal computer.
Additional embodiments can also be realized by a computer of a system or apparatus that reads out and executes computer executable instructions recorded on a storage medium (e.g., computer-readable storage medium) to perform 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). The computer may comprise one or more of a central processing unit (CPU), micro processing unit (MPU), or other circuitry, and may include a network of separate computers or separate computer processors. 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 been described with reference to exemplary embodiments, it is to be understood that these exemplary embodiments are not seen to be limiting. 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 the benefit of Japanese Patent Application No. 2013-244123 filed Nov. 26, 2013, which is hereby incorporated by reference herein in its entirety.
Number | Date | Country | Kind |
---|---|---|---|
2013-244123 | Nov 2013 | JP | national |