Electric device

By strategically switching signal lines based on power states, the electrical device minimizes the number of terminals monitoring return factors, enhancing power efficiency and circuit simplicity.

JP2024149379APending Publication Date: 2024-10-18CANON KK
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
JP2024004660
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-04-07
Filing Date
2024-01-16
Publication Date
2024-10-18

AI Technical Summary

Technical Problem

Existing electrical devices with shared signal lines for power state transitions face an increase in the number of terminals monitoring return factors, leading to inefficiencies.

Method used

Implement a switching mechanism that connects signal lines differently based on the power state, ensuring only relevant lines are connected to the return control unit in power-saving mode, reducing unnecessary terminals and simplifying the circuit.

Benefits of technology

This approach effectively reduces the number of terminals monitoring return factors while maintaining efficient power state transitions, thereby optimizing power consumption and circuit complexity.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024149379000001_ABST
    Figure 2024149379000001_ABST
Patent Text Reader

Abstract

To reduce the number of terminals on a circuit side for monitoring a return factor, while sharing a signal line.SOLUTION: An electric device comprises: main control means; power supply control means configured to control a power state of the main control means; return control means configured to determine whether to return the power state to a first state or not when the power state is a second state that is lower in power consumption than the first state; and switching means configured to switch connection destinations of a plurality of signal lines. The plurality of signal lines includes: a first signal line; and a second signal line to which a signal serving as a return factor for returning the power state from the second state to the first state is input. In the first state, the switching means connects the first signal line and the second signal line to the main control means; and in the second state, the switching means does not connect the first signal line to the return control means while connecting the second signal line to the return control means.SELECTED DRAWING: Figure 5
Need to check novelty before this filing date? Find Prior Art

Description

[Technical Field]

[0001] The present invention relates to a power control technique for electrical equipment. [Background technology]

[0002] To reduce power consumption, electrical devices are known that transition to a power-saving mode when certain conditions are met and return to a normal power mode when a return trigger is met. Patent Document 1 discloses a device that switches the use of a shared terminal shared by a main CPU and a sub-CPU that monitors return triggers when the main CPU transitions its power state. Signal lines can be shared among multiple control circuits, simplifying the circuit. [Prior art documents] [Patent documents]

[0003] [Patent Document 1] Japanese Patent Application Laid-Open No. 2007-241464 Summary of the Invention [Problem to be solved by the invention]

[0004] However, if there are many shared signal lines, the number of terminals on the circuit side that monitors the cause of recovery may increase unnecessarily, and there is room for improvement.

[0005] The present invention provides a technique that can reduce the number of terminals on the circuit side that monitors the cause of recovery while allowing for the sharing of signal lines. [Means for solving the problem]

[0006] According to the present invention, An electrical device, a main control means for controlling the electrical equipment; power supply control means for controlling the power state of the main control means; a restoration control means for determining whether to restore the power state to the first state when the power state is a second state in which power consumption is lower than that of the first state; a switching means for switching the connection destinations of the plurality of signal lines; The plurality of signal lines are a first signal line; a second signal line to which a signal that causes the power state to be restored from the second state to the first state is input, The switching means In the first state, the first signal line and the second signal line are connected to the main control means; In the second state, the second signal line is connected to the recovery control means, while the first signal line is not connected to the recovery control means. An electrical device characterized by the above features is provided. [Effects of the Invention]

[0007] According to the present invention, it is possible to provide a technique that can reduce the number of terminals on the circuit side that monitors the cause of recovery while sharing signal lines. [Brief explanation of the drawings]

[0008] [Figure 1] 1 is a block diagram of an electrical device according to an embodiment of the present invention; [Figure 2] Schematic diagram of part of the electrical device in Figure 1. [Figure 3] 2 is a flowchart showing an example of processing executed by the electrical device of FIG. 1; [Figure 4] FIG. [Figure 5] FIG. [Figure 6] 2 is a flowchart showing an example of processing executed by the electrical device of FIG. 1; [Figure 7] 10 is a circuit diagram of a portion of another example of an electrical device. [Figure 8] 8 is a flowchart showing an example of processing executed by the electrical device of FIG. 7. [Figure 9]8 is a flowchart showing an example of processing executed by the electrical device of FIG. 7. [Figure 10] 10 is a circuit diagram of a portion of another example of an electrical device. [Figure 11] 11 is a flowchart showing an example of processing executed by the electrical device of FIG. 10; [Figure 12] 11 is a flowchart showing an example of processing executed by the electrical device of FIG. 10; [Figure 13] 10 is a circuit diagram of a portion of another example of an electrical device. [Figure 14] FIG. 14 is a diagram illustrating the operation of the example in FIG. 13. [Figure 15] FIG. 14 is a diagram illustrating the operation of the example in FIG. 13. [Figure 16] 10 is a circuit diagram of a portion of another example of an electrical device. DETAILED DESCRIPTION OF THE INVENTION

[0009] Hereinafter, embodiments will be described in detail with reference to the accompanying drawings. Note that the following embodiments do not limit the scope of the invention claimed. Although multiple features are described in the embodiments, not all of these multiple features are necessarily essential to the invention, and multiple features may be combined arbitrarily. Furthermore, in the accompanying drawings, the same reference numerals are used to designate the same or similar components, and redundant explanations will be omitted.

[0010] First Embodiment <Outline of Electrical Equipment> 1 is a block diagram of an electrical device 10 according to one embodiment of the present invention. The electrical device 10 of this embodiment is, for example, a printer that prints images on a recording medium such as paper, such as an inkjet printer that prints images by ejecting ink onto the recording medium. However, the present invention is also applicable to various electrical devices other than printers.

[0011] The recording device 10 comprises a main control unit 11, a sub-control unit 12, a power supply control unit 15, a print control unit 16, and a read control unit 17. Each control unit may be an electric circuit equipped with a processor, a storage device such as a semiconductor memory, and an input / output interface, or each control unit may be an ASIC.

[0012] The main control unit 11 is a main controller that controls the entire electrical device 10, and executes programs stored in the RAM 13 and ROM 14 to control the print control unit 16 and the read control unit 17. The RAM 13 is a volatile storage that temporarily stores programs and data. The ROM 14 is a non-volatile storage that can store programs and parameters.

[0013] The print control unit 16 controls the print mechanism 22. The print mechanism 22 includes a transport mechanism for the recording medium and a recording head that ejects ink. The read control unit 17 controls the read mechanism 23. The read mechanism 23 is a scanner that includes a transport mechanism for transporting an original document and a sensor for reading an image from the original document. As one of its functions, the electrical device 10 can print an image read from an original document by the read mechanism 23 onto a recording medium by the print mechanism 22. As another of its functions, the electrical device 10 can also print an image represented by image data received from a host computer (not shown) onto a recording medium by the print mechanism 22.

[0014] The sub-controller 12 is a sub-controller that performs processing related to switching the power state of the main control unit 11. In this embodiment, the power state of the main control unit 11 has two types: a normal power state (normal mode) and a power-saving state (power-saving mode) in which the power consumption of the main control unit 11 is lower than in the normal state. When in the power-saving state, the sub-controller 12 executes return control to determine whether or not to return the power state of the main control unit 11 to the normal state.

[0015] The power supply control unit 15 controls the supply of power to each component of the electrical device 10. In this embodiment, the power supply control unit 15 switches the power state of the main control unit 11 between a normal state and a power saving state. In the power saving state, power is not supplied to the main control unit 11. When the power supply control unit 15 receives a reset signal from the sub-control unit 12, it puts the main control unit 11 into the power saving state, and when it receives a reset release signal from the sub-control unit 12, it puts the main control unit 11 into the normal power state.

[0016] The operation panel 19 includes a light-emitting unit 20 that displays information to the user, and an operation unit 21 that accepts user operations. The light-emitting unit 20 indicates the power-on / off state of the main control unit 11, i.e., the power state (normal power state / power-saving state) and whether or not an error has occurred, by turning on or off a light-emitting element. The operation unit 21 has a plurality of keys (switches) that accept input operations such as instructions to switch the power-on / off state of the main control unit 11. The switching unit 18 is a selector circuit that switches the connection destination of the signal line of the operation panel 19.

[0017] FIG. 2 is a circuit diagram showing a specific example of the switching unit 18 and the operation panel 19. The light-emitting unit 20 has two LEDs 20a and 20b, which are light-emitting elements, and the operation unit 21 has two keys 21a and 21b, which are switches. In this embodiment, the LED 20a indicates the power on / off state of the main control unit 11, and the key 21a is a power key (power key). When the main control unit 11 is in a normal power state, the LED 20a is lit. If the user presses the key 21a while the LED 20a is lit, i.e., in a normal power state, the main control unit 11 transitions to a power-saving state and turns off the LED 20a. If the user presses the key 21a while the LED 20a is off, i.e., in a power-saving state, the main control unit 11 returns to the normal power state and turns on the LED 20a. The LED 20b is lit when the electrical device 10 is in an error state and is turned off when the electrical device 10 is in a normal state. The key 21b is a key used by the user to instruct the start of printing, and pressing it starts printing.

[0018] Signal lines L1, L2, and L3 connected to the LEDs and keys are signal lines that make up the key matrix. LEDs 20a and 20b are connected between signal line L1 and signal line L2. The anode of LED 20a is connected to signal line L1, and the cathode is connected to signal line L2. The anode of LED 20b is connected to signal line L2, and the cathode is connected to signal line L1. Key 21a is provided to connect and disconnect signal line L1 and signal line L3, and a resistor element R2 is connected in series to key 21b. Key 21b is provided to connect and disconnect signal line L2 and signal line L3, and a resistor element R2 is connected in series to key 21b.

[0019] The sub-controller 12 has an input / output port 12a. The input / output port 12a is connected to a resistive element R1 which is a pull-up resistor. The main controller 11 has input / output ports 11a to 11c. The input / output ports 11a to 11c are each connected to a resistive element R1 which is a pull-up resistor.

[0020] The switching unit 18 has terminals 181 to 189. The terminal 181 is selectively connected to the terminal 184 or the terminal 185. The terminal 182 is selectively connected to the terminal 186 or the terminal 187. The terminal 183 is selectively connected to the terminal 188 or the terminal 189.

[0021] Terminal 181 is connected to signal line L1. Terminal 182 is connected to signal line L2. Terminal 183 is connected to signal line L2. Terminals 186 and 188 are connected to GND. Terminal 184 is connected to input / output port 12a. Terminal 185 is connected to input / output port 11a. Terminal 187 is connected to input / output port 11b. Terminal 189 is connected to input / output port 11c.

[0022] 2 shows the state of the switching unit 18 when the main control unit 11 is in a normal power state. Terminals 181 and 185 are connected, terminals 182 and 187 are connected, and terminals 183 and 189 are connected. The main control unit 11 controls the illumination of the LEDs 20a and 20b and the operation detection of the keys 21a and 21b using a key matrix method. In the key matrix method, a key detection state that detects the depression of the keys 21a and 21b and an LED control state that controls the turning on and off of the LEDs 20a and 20b are repeatedly and sequentially performed.

[0023] In the key detection state, the main control unit 11 periodically switches the input / output ports 11a to 11c between the input state and the output state. For example, the main control unit 11 sets the input / output ports 11a and 11b to the input state, and the input / output port 11c to the output state (low state). Because the input / output ports 11a to 11c are pulled up by the resistive element R1, when the low state is confirmed at the input / output ports 11a and 11b, it is determined that the key 21a or 21b has been pressed.

[0024] In the LED control state, the main control unit 11 switches the output state of the input / output ports at regular intervals. By setting input / output ports 11b and 11c to a low state and input / output port 11a to a high or low state, it controls the turning on and off of LED 20a. By setting input / output ports 11a and 11c to a low state and input / output port 11b to a high or low state, it controls the turning on and off of LED 20b.

[0025] When the main control unit 11 is in the power saving state, the switching unit 18 connects terminals 181 and 184, connects terminals 182 and 186, and connects terminals 183 and 188. Signal line L1 is connected to the input / output port 12a of the sub-control unit 12, while signal lines L2 and L3 are not connected to the sub-control unit 12 but are connected to GND. The sub-control unit 12 monitors the signal level (High, Low) input to the input / output port 12a. Specifically, it detects pressing of key 21a, which is a factor in returning from the power saving state to the normal power state.

[0026] Of the signal lines L1 to L3 controlled by the main control unit 11 in a key matrix manner in the normal power state, only the signal line L1 connected to the key 21a related to the cause of returning from the power saving state is connected to the sub-control unit 12 in the power saving state. In other words, only the signal line L1, which inputs a signal that is generated based on the operation of the key 21a and is the cause of returning, is connected to the sub-control unit 12. The remaining signal lines L2 and L3 are connected to GND in the power saving state. This connection switching allows the main control unit 11 and the sub-control unit 12 to share the signal line L1, while suppressing an increase in the number of terminals of the sub-control unit 12 that monitors the cause of returning. Moreover, pressing the key 21a, which is the cause of returning, can be detected by the simple process of simply monitoring a change in the level of the input signal to the input / output port 12a.

[0027] In this embodiment, the power supply control unit 15 controls the connection switching of the switching unit 18. The connection destinations of the terminals 181 to 183 may be switched simultaneously. However, in this embodiment, since a key matrix system is employed, if the connection destinations of the terminals 181 to 183 are switched simultaneously, a signal may leak from the sub-control unit 12 to the main control unit 11 depending on the order of switching. Therefore, in this embodiment, when transitioning from the normal power state to the power saving state, the connection destinations of the terminals 182 and 183 are switched first, and then the connection destination of the terminal 181 is switched. Conversely, when transitioning from the power saving state to the normal power state, the connection destination of the terminal 181 is switched first, and then the connection destinations of the terminals 182 and 183 are switched. This makes it possible to prevent damage to the main control means due to leakage.

[0028] <Processing example> An example of the processing performed by the main control unit 11, the sub control unit 12, and the power supply control unit 15 in relation to the transition of the power state will now be described. Fig. 3 is a flowchart showing an example of the processing performed when transitioning from the normal power state to the power saving state.

[0029] In the normal power state, the main control unit 11 monitors the state of the electronic device 10 (S1) and determines whether to transition to the power saving state (S2). A condition for transitioning to the power saving state is, for example, when the user presses the key 21a. The sub-control unit 12 monitors for a notification of transition to the power saving state from the main control unit 11 (S11).

[0030] When the main control unit 11 determines that the conditions for transitioning to the power saving state are met, the main control unit 11 notifies the sub-control unit 12 of the transition to the power saving state (S3). Upon receiving the notification, the sub-control unit 12 outputs a reset signal to the power supply control unit 15 (S12). Upon receiving the reset signal, the power supply control unit 15 performs switching control of the switching unit 18. First, the terminals 182 and 183 are connected to the terminals 186 and 188 (S22). As shown in FIG. 4, the connection destinations of the signal lines L2 and L3 are switched from the input / output ports 11b and 11c of the main control unit 11 to GND. Next, the power supply control unit 15 connects the terminal 181 to the terminal 184 (S23). As shown in FIG. 5, the connection destination of the signal line L1 is switched from the input / output port 11a of the main control unit 11 to the input / output port 12a of the sub-control unit 12.

[0031] After the switching is completed, the power supply control unit 15 stops the power supply to the main control unit 11 (S24), and the main control unit 11 transitions to a power saving state. The sub-control unit 12 starts monitoring the return conditions for the main control unit 11 to return to the normal power state from the power saving state (S13).

[0032] FIG. 6 is a flowchart showing an example of processing when transitioning from the power saving state to the normal power state. The sub-controller 12 monitors the return condition (S13) and determines whether the return condition is met (S14). In this embodiment, the return condition is when the key 21a is pressed by the user. If the sub-controller 12 determines that the return condition is met, it outputs a reset release signal to the power supply controller 15 (S15). Upon receiving the reset release signal, the power supply controller 15 controls the switching of the switching unit 18. First, the terminal 181 is connected to the terminal 185 (S26). The connection destination of the signal line L1 is switched from the input / output port 12a of the sub-controller 12 to the input / output port 11a of the main controller 11. Next, the power supply controller 15 connects the terminals 182 and 183 to the terminals 187 and 189 (S27). The connection destination of the signal lines L2 and L3 is switched from GND to the input / output ports 11b and 11c of the main controller 11.

[0033] After the switching is complete, the power supply control unit 15 supplies power to the main control unit 11 (S28), and the main control unit 11 transitions to the normal power state. The sub-control unit 12 ends monitoring the recovery conditions (S16). The main control unit 11 starts various controls (S4). The controls that are started include key-matrix control of the operation panel 19.

[0034] Second Embodiment In the first embodiment, the power supply control unit 15 performed the switching control of the switching unit 18, but the sub-control unit 12 may also perform this control. Fig. 7 is a circuit diagram showing a specific example of the switching unit 18 and operation panel 19 in this embodiment. It shows the state of the switching unit 18 when the main control unit 11 is in a normal power state. The difference between the example in Fig. 2 and the example in Fig. 7 is that the switching unit 18 and the sub-control unit 12 are connected by wiring so that the sub-control unit 12 can control the switching of the switching unit 18, and there is no wiring between the power supply control unit 15 and the switching unit 18.

[0035] 8 is a flowchart showing an example of processing when transitioning from the normal power state to the power saving state in this embodiment. Processing that differs from the example in FIG. 3 will be described.

[0036] When the sub-controller 12 receives a notification of transition to the power saving state from the main controller 11, it performs switching control of the switching unit 18. First, it connects the terminals 182 and 183 to the terminals 186 and 188 (S31). As shown in FIG. 4, the connection destination of the signal lines L2 and L3 is switched from the input / output ports 11b and 11c of the main controller 11 to GND. Next, the sub-controller 12 connects the terminal 181 to the terminal 184 (S32). As shown in FIG. 5, the connection destination of the signal line L1 is switched from the input / output port 11a of the main controller 11 to the input / output port 12a of the sub-controller 12.

[0037] After the switching is complete, the sub-controller 12 receives the notification and outputs a reset signal to the power supply controller 15 (S12). The power supply controller 15 stops the power supply to the main controller 11 (S24), and the main controller 11 transitions to a power saving state. In this embodiment, the power supply controller 15 does not perform switching control such as S22 and S23 in Fig. 3. The sub-controller 12 starts monitoring the return conditions for the main controller 11 to return from the power saving state to the normal power state (S13).

[0038] 9 is a flowchart showing an example of processing when transitioning from a power saving state to a normal power state in this embodiment. Processing that differs from the example in FIG. 6 will be described.

[0039] When the sub-controller 12 determines that the recovery condition is met, it performs switching control of the switching unit 18. First, it connects terminal 181 to terminal 185 (S33). The connection destination of signal line L1 is switched from input / output port 12a of the sub-controller 12 to input / output port 11a of the main control unit 11. Next, the sub-controller 12 connects terminals 182 and 183 to terminals 187 and 189 (S34). The connection destination of signal lines L2 and L3 is switched from GND to input / output ports 11b and 11c of the main control unit 11.

[0040] After the switching is completed, the sub-controller 12 outputs a reset release signal to the power supply controller 15 (S15). The power supply controller 15, which has received the reset release signal, supplies power to the main controller 11 (S28), and the main controller 11 transitions to the normal power state. In this embodiment, the power supply controller 15 does not perform switching control such as S26 and S27 in FIG. 6. The sub-controller 12 ends monitoring the return conditions (S16). The main controller 11 starts various controls (S4). The controls that are started include key-matrix control of the operation panel 19.

[0041] Third Embodiment In the first embodiment, the power supply control unit 15 performed the switching control of the switching unit 18, but the main control unit 11 may also perform this control. Fig. 10 is a circuit diagram showing a specific example of the switching unit 18 and the operation panel 19 in this embodiment. This diagram shows the state of the switching unit 18 when the main control unit 11 is in a normal power state. The difference between the example in Fig. 2 and the example in Fig. 10 is that the switching unit 18 and the main control unit 11 are connected by wiring so that the main control unit 11 can control the switching of the switching unit 18, and there is no wiring between the power supply control unit 15 and the switching unit 18.

[0042] 11 is a flowchart showing an example of processing when transitioning from the normal power state to the power saving state in this embodiment. Processing that differs from the example in FIG.

[0043] When the main control unit 11 determines that the conditions for transitioning to the power saving state are met, it performs switching control of the switching unit 18. First, the terminals 182 and 182 are connected to the terminals 186 and 188 (S41). As shown in FIG. 4, the connection destinations of the signal lines L2 and L3 are switched from the input / output ports 11b and 11c of the main control unit 11 to GND. Next, the main control unit 11 connects the terminal 181 to the terminal 184 (S42). As shown in FIG. 5, the connection destination of the signal line L1 is switched from the input / output port 11a of the main control unit 11 to the input / output port 12a of the sub-control unit 12.

[0044] After the switching is complete, the main control unit 11 notifies the sub-control unit 12 of the transition to the power saving state (S3). Upon receiving the notification, the sub-control unit 12 outputs a reset signal to the power supply control unit 15 (S12). The power supply control unit 15 stops the power supply to the main control unit 11 (S24), and the main control unit 11 transitions to the power saving state. In this embodiment, the power supply control unit 15 does not perform switching control such as S22 and S23 in Fig. 3. The sub-control unit 12 begins monitoring the return conditions for the main control unit 11 to return from the power saving state to the normal power state (S13).

[0045] 12 is a flowchart showing an example of processing when transitioning from a power saving state to a normal power state in this embodiment. Processing that differs from the example in FIG. 6 will be described.

[0046] Upon receiving the reset release signal, the power supply control unit 15 supplies power to the main control unit 11 (S28). In this embodiment, the power supply control unit 15 does not perform switching control such as S26 and S27 in Fig. 6. The main control unit 11 transitions to the normal power state. The sub-control unit 12 ends monitoring the recovery conditions (S16).

[0047] The main control unit 11 performs switching control of the switching unit 18. First, the terminal 181 is connected to the terminal 185 (S43). The connection destination of the signal line L1 is switched from the input / output port 12a of the sub-control unit 12 to the input / output port 11a of the main control unit 11. Next, the power supply control unit 15 connects the terminals 182 and 183 to the terminals 185 and 187 (S44). The connection destination of the signal lines L2 and L3 is switched from GND to the input / output ports 11b and 11c of the main control unit 11. Thereafter, the main control unit 11 starts various controls (S4). The controls that are started include key matrix control for the operation panel 19.

[0048] <Fourth embodiment> In the first to third embodiments, the signal lines constituting the key matrix are configured with three signal lines L1 to L3, but may be configured with four or more signal lines. Also, when the power state of the main control unit 11 transitions from the normal power state to the power saving state, only one signal line (signal line L1) is connected from the main control unit 11 to the sub-control unit 12, but two or more signal lines may be connected.

[0049] Fifth Embodiment In the first to third embodiments, all of the signal lines constituting the key matrix are switched by the switching unit 18, but the signal lines may be switched within the key matrix. Fig. 13 is a circuit diagram showing a specific example of the switching unit 18 and operation panel 19 in this embodiment. Note that here, as in the first embodiment, the power supply control unit 15 controls the connection switching of the switching unit 18. However, as in the second and third embodiments, the sub-control unit 12 or the main control unit 11 may control the connection switching of the switching unit 18.

[0050] Fig. 13 shows the state of the switching unit 18 when the main control unit 11 is in a normal power state. In the example of Fig. 13, the input / output port 12a of the sub-control unit 12 is connected to a terminal 184 via a signal line L10. The input / output ports 11a to 11c of the main control unit 11 are connected to signal lines L11 to L13. The signal line L11 is connected to a terminal 185, and the signal line L13 is connected to a terminal 189. The key 21b is provided to connect and disconnect the signal lines L12 and L13, and a resistor element R2 is connected in series to the key 21b.

[0051] The LEDs 20a and 20b constituting the light-emitting unit 20 are connected between the signal lines L11 and L12. The light-emitting unit 20 is provided between the main control unit 11 and the switching unit 18. The anode of the LED 20a is connected to the signal line L11, and the cathode is connected to the signal line L12. The anode of the LED 20b is connected to the signal line L13, and the cathode is connected to the signal line L12. The key 21a is provided to connect and disconnect the terminals 181 and 183 via the signal lines L14 and L15, and a resistor element R2 is connected in series. The terminal 181 is selectively connected to the terminal 184 or the terminal 185. The terminal 183 is selectively connected to the terminal 188 or the terminal 189. The terminal 188 is connected to GND.

[0052] 13 is different from the example of FIG. 2 in that the key 21a that causes the power-saving return is disconnected from the key matrix circuit, and the switching unit 18 is connected to signal lines L14, L15 so that the key 21a alone is connected to the sub-controller 12. Of the keys 21a and 21b that make up the operation unit 21, the key 21b is provided between the main controller 11 and the switching unit 18. The switching unit 18 is provided between the main controller 11 or the sub-controller 12 and the key 21a.

[0053] In the first to third embodiments, to prevent leakage, it was necessary to perform switching control on all signal lines constituting the key matrix configuration. However, in this embodiment, when in power saving mode, if the total number of keys to be detected by the sub-control unit 12 for pressing and the total number of LEDs to be controlled for lighting and extinguishing are N, then this can be achieved by switching (N+1) of them. Therefore, the configuration of the switching unit 18 can be simplified.

[0054] When the processing example of FIG. 3 is applied to this embodiment, processing that differs from the first embodiment will be described.

[0055] When the sub-controller 12 receives a command to transition to a power saving state from the main controller 11 (S3), the power controller 15 performs switching control of the switching unit 18. As switching control, first, the terminal 183 is connected to 188 (S22). FIG. 14 shows an example of this, where the connection destination of the signal line L15 is switched from the input / output port 11c of the main controller 11 to GND. Next, the power controller 15 connects the terminal 181 to the terminal 184 (S23). FIG. 15 shows an example of this, where the connection destination of the signal line L14 is switched from the input / output port 11a of the main controller 11 to the input / output port 12a of the sub-controller 12.

[0056] When the processing example of FIG. 6 is applied to this embodiment, processing that differs from the first embodiment will be described.

[0057] Upon receiving the reset release signal, the power supply control unit 15 performs switching control of the switching unit 18. First, it connects the terminal 181 to 185 (S26). As shown in FIG. 14, the connection destination of the signal line L12 is switched from the input / output port 12a of the sub-control unit 12 to the input / output port 11a of the main control unit 11. Next, the power supply control unit 15 connects the terminal 183 to the terminal 189 (S27). The connection destination of the signal line L15 is switched from GND to the input / output port 11c of the main control unit 11. Thereafter, the power supply control unit 15 supplies power to the main control unit 11 (S28), and the main control unit 11 transitions to the normal power state. The sub-control unit 12 ends monitoring the recovery conditions (S16). The main control unit 11 starts various controls (S4). The controls that are started include key-matrix control of the operation panel 19.

[0058] Sixth Embodiment The number of signal lines constituting the key matrix may be four or more. Furthermore, when the power state of the main control unit 11 transitions from the normal power state to the power saving state, the number of signal lines whose connection is switched from the main control unit 11 to the sub-control unit 12 may be two or more. Figure 16 is a circuit diagram showing a specific example of the switching unit 18 and operation panel 19 in this embodiment.

[0059] The example in Fig. 16 differs from the example in Fig. 2 in that the key 21a that causes the return from power saving and the LED 20c that indicates the state by turning on or off during power saving are separated from the key matrix circuit. Furthermore, the switching unit 18 is connected to signal lines L31 to L33 so that the key 21a and the LED 20c are connected to the sub-control unit 12. Here, an embodiment will be described in which the key matrix is ​​made up of four signal lines, and detection of pressing one key and turning on or off one LED are controlled during power saving.

[0060] Signal lines L31 to L34 are signal lines that constitute the key matrix. LED 20a is connected between signal line L31 and signal line L32. The anode of LED 20a is connected to signal line L32, and the cathode is connected to signal line L31. LED 20b is connected between signal line L32 and signal line L33. The anode of LED 20b is connected to signal line L33, and the cathode is connected to signal line L32. LED 20c is connected between signal line L43 and signal line L42. The anode of LED 20c is connected to signal line L43, and the cathode is connected to signal line L42. Of LEDs 20a to 20c that constitute the light-emitting unit 20, LEDs 20a and 20b are provided between the main control unit 11 and the switching unit 18. The switching unit 18 is provided between the main control unit 11 and LED 20c.

[0061] Key 21a is provided to connect / disconnect signal line L41 and signal line L42, and a resistor element R2 is connected in series to key 21a. Key 21b is provided to connect / disconnect signal line L32 and signal line L34, and a resistor element R2 is connected in series to key 21a. Key 21c is provided to connect / disconnect signal line L33 and signal line L34, and a resistor element R2 is connected in series to key 21a. Of keys 21a to 21c that constitute operation unit 21, keys 21b and 21c are provided between main control unit 11 and switching unit 18. Switching unit 18 is provided between main control unit 11 or sub-control unit 12 and key 21a.

[0062] The sub-controller 12 has input / output ports 12a and 12b. The input / output ports 12a and 12b are pulled up to Vcc via resistor element R1. The main controller 11 has input / output ports 11a to 11d. The input / output ports 11a to 11d are each pulled up to Vdd via resistor element R1. Here, Vcc is a power supply that is always supplied regardless of whether the device is in a power-saving state or a normal state. Vdd is a power supply that is supplied only in the normal state, that is, when power is supplied to the main controller 11, and is not supplied in the power-saving state.

[0063] The switching unit 18 has terminals 1801 to 1803. The terminal 1801 is selectively connected to the terminal 1802 or the terminal 1803. The switching unit 18 also has terminals 1811 to 1813. The terminal 1811 is selectively connected to the terminal 1812 or the terminal 1813. The switching unit 18 also has terminals 1811 to 1813. The terminal 1821 is selectively connected to the terminal 1822 or the terminal 1823.

[0064] Terminal 1801 is connected to signal line L41. Terminal 1811 is connected to signal line L43. Terminal 1821 is connected to signal line L42. Terminal 1802 is connected to input / output port 12a of the sub-controller 12 via signal line L21. Terminal 1812 is connected to input / output port 12b of the sub-controller 12 via signal line L22. Terminal 1803 is connected to input / output port 11a of the main controller 11 via signal line L31. Terminal 1813 is connected to input / output port 11b of the main controller 11 via signal line L32. Terminal 1823 is connected to input / output port 11c of the main controller 11 via signal line L33. Terminal 1822 is connected to GND.

[0065] 16 shows the state of the switching unit 18 when the main control unit 11 is in the normal power state. Terminals 1801 and 1803 are connected, terminals 1811 and 1813 are connected, and terminals 1821 and 1823 are connected. The main control unit 11 controls the turning on and off of the LEDs 20a to 20c and detects pressing of the keys 21a to 21c using a key matrix method. A key detection state for detecting pressing of the keys 21a to 21c and an LED control state for controlling the turning on and off of the LEDs 20a and 20b are repeatedly executed in sequence.

[0066] In the key detection state, the main control unit 11 switches the input / output ports 11a to 11d between the input state and the output state at regular intervals. For example, the main control unit 11 sets the input / output ports 11a to 11c to the input state, and the input / output port 11d to the output state (low state). Since the input / output ports 11b to 11c are pulled up by the resistive element R1, when a low state is confirmed at the input / output port 11b, it is determined that the key 21b has been pressed. When a low state is confirmed at the input / output port 11c, it is determined that the key 21c has been pressed.

[0067] Next, input / output ports 11a, 11b, and 11d are set to the input state, and input / output port 11c is set to the output state (low state). Since input / output port 11a is pulled up by resistor element R1, when the low state is confirmed at input / output port 11a, it is determined that key 21a has been pressed.

[0068] In the LED control state, the main control unit 11 switches the output states of the input / output ports at regular intervals. By setting input / output ports 11a and 11d to a low state and input / output ports 11b and 11c to a high or low state, the main control unit 11 controls the turning on and off of LED 20a. By setting input / output ports 11a, 11b, and 11d to a low state and input / output port 11c to a high or low state, the main control unit 11 controls the turning on and off of LED 20b. By setting input / output ports 11c and 11d to a low state and input / output ports 11a and 11b to a high or low state, the main control unit 11 controls the turning on and off of LED 20c.

[0069] When the main control unit 11 is in the power saving state, the switching unit 18 connects terminals 1801 and 1802, terminals 1811 and 1812, and terminals 1821 and 1822. Signal lines L41 and L43 are connected to input / output ports 12a and 12b of the sub-control unit 12, while signal line L42 is not connected to the sub-control unit 12 but is connected to GND. The sub-control unit 12 monitors the signal level (High, Low) input to the input / output port 12a and detects pressing of key 21a, which is a cause of returning from the power saving state to the normal power state. The sub-control unit 12 also controls the output of the signal level (High, Low) at input / output port 12b and controls the turning on and off of LED 20c.

[0070] In the power saving state, the signal lines L41 and L43 connected to the key 21a related to the cause of returning from the power saving state and the LED 20c which controls the lighting on and off in the power saving state are connected to the sub-controller 12, and the signal line L42 is connected to GND. The signal line L34 is not subject to the switching control of the connection destination.

[0071] This connection switching makes it possible to suppress an increase in the number of terminals of the sub-controller 12 that monitors recovery factors, while allowing the main control unit 11 and the sub-controller 12 to share the signal lines L41 and L43. Moreover, the detection of pressing of the key 21a, which is a recovery factor, and the control of turning on and off the LED 20c can be performed by simple processing of only monitoring the input signal to the input / output port 12a and controlling the output at the input / output port 12b.

[0072] In the first to third embodiments, to prevent leakage, it was necessary to perform switching control on all signal lines constituting the key matrix configuration. However, in this embodiment, if the total number of keys to be detected as pressed by the sub-control unit 12 in the power saving state and the total number of LEDs to be turned on and off by the sub-control unit 12 in the power saving state is N, then this can be achieved by switching (N+1) of them. Therefore, the configuration of the switching unit 18 can be simplified.

[0073] <Other embodiments> The signal that causes the printer to return may be a signal based on a user's key operation, a return instruction signal from the host computer, or a print start signal. Also, although the power state of the main control unit 11 is described as being of two types, the normal power state and the power saving state, it may be of three or more types.

[0074] The present invention can also be realized by supplying a program that realizes one or more functions of the above-described embodiments to a system or device via a network or a storage medium, and having one or more processors in the computer of the system or device read and execute the program.The present invention can also be realized by a circuit (e.g., ASIC) that realizes one or more functions.

[0075] <Disclosure of Embodiments> The above-described embodiment discloses the following inventions.

[0076] Item 1. An electrical device, a main control means for controlling the electrical equipment; power supply control means for controlling the power state of the main control means; a restoration control means for determining whether to restore the power state to the first state when the power state is a second state in which power consumption is lower than that of the first state; a switching means for switching the connection destinations of the plurality of signal lines; The plurality of signal lines are a first signal line; a second signal line to which a signal that causes the power state to be restored from the second state to the first state is input, The switching means In the first state, the first signal line and the second signal line are connected to the main control means; In the second state, the second signal line is connected to the recovery control means, while the first signal line is not connected to the recovery control means. An electrical device characterized by:

[0077] Item 2. The electrical device according to item 1, The switching means In the first state, the plurality of signal lines are connected to the main control means; In the second state, only the second signal line among the plurality of signal lines is connected to the recovery control means. An electrical device characterized by:

[0078] Item 3. The electrical device according to item 1 or 2, an operation unit that receives an operation by a user on the electrical device; The signal that serves as a return factor is a signal that is generated based on an operation of the operating means. An electrical device characterized by:

[0079] Item 4. The electrical device according to item 1 or 2, an operation unit that receives an operation by a user on the electrical device; Signals generated based on operations on the operating means are input to the plurality of signal lines. An electrical device characterized by:

[0080] Item 5. The electrical device according to any one of items 1 to 4, In the second state, the switching means connects the first signal line to GND. An electrical device characterized by:

[0081] Item 6. The electrical device according to any one of items 1 to 4, In the second state, the switching means connects the plurality of signal lines, except for the second signal line, to GND. An electrical device characterized by:

[0082] Item 7. The electrical device according to any one of items 1 to 6, the restoration control means outputs a reset signal to the power supply control means when controlling the power state of the main control means to change from the first state to the second state. An electrical device characterized by:

[0083] Item 8. Item 5. The electrical device according to item 5, When the power state is controlled from the first state to the second state, the switching means connects the first signal line to GND and then connects the second signal line to the recovery control means. An electrical device characterized by:

[0084] Item 9. Item 6. The electrical device according to item 6, When the power state is controlled from the first state to the second state, the switching means connects the plurality of signal lines, except for the second signal line, to GND, and then connects the second signal line to the recovery control means. An electrical device characterized by:

[0085] Item 10. Item 5. The electrical device according to item 5, When the power state is controlled from the second state to the first state, the switching means connects the second signal line to the main control means and then connects the first signal line to the main control means. An electrical device characterized by:

[0086] Item 11. Item 6. The electrical device according to item 6, when the power state is controlled from the second state to the first state, the switching means connects the second signal line to the main control means, and then connects the remaining signal lines of the plurality of signal lines to the main control means. An electrical device characterized by:

[0087] Item 12. The electrical device according to any one of items 1 to 11, The switching means is controlled by the power supply control means. An electrical device characterized by:

[0088] Item 13. The electrical device according to any one of items 1 to 11, The switching means is controlled by the return control means. An electrical device characterized by:

[0089] Item 14. The electrical device according to any one of items 1 to 11, The switching means is controlled by the main control means. An electrical device characterized by:

[0090] Item 15. The electrical device according to any one of items 1 to 14, the plurality of signal lines are signal lines that form a key matrix, the main control means has a plurality of ports to which the plurality of signal lines are connected; An electrical device characterized by:

[0091] Item 16. The electrical device according to any one of items 5, 6, 8 to 11, the plurality of signal lines are signal lines that form a key matrix, the main control means has a plurality of first ports to which the plurality of signal lines are connected, the recovery control means has a second port to which the second signal line is connected, the plurality of first ports and the second port are each connected to a pull-up resistor; An electrical device characterized by:

[0092] Item 17. An electrical device, a main control means for controlling the electrical equipment; power supply control means for controlling the power state of the main control means; a restoration control means for determining whether to restore the power state to the first state when the power state is a second state in which power consumption is lower than that of the first state; a switching means for switching the connection destination of the first signal line (L14, L41) to the second signal line (L11, L22) or the third signal line (L10, L21); the first signal line is a signal line through which a key operation signal is input, the second signal line is a signal line connected to the main control means and the LED (20a); the third signal line is a signal line connected to the return control means, The switching means In the first state, the first signal line is connected to the second signal line; In the second state, the first signal line is connected to the third signal line. An electrical device characterized by:

[0093] Item 18. Item 17: The electrical device according to item 17, the switching means switches the connection destination of the fourth signal line (L42) to GND or the fifth signal line (L33), the key is a key for connecting and disconnecting the first signal line and the fourth signal line, the fifth signal line is a signal line connected to the main control means, The switching means In the first state, the fourth signal line is connected to the fifth signal line; In the second state, the fourth signal line is connected to the GND; When the power state is controlled from the first state to the second state, the switching means connects the fourth signal line to the GND and then connects the first signal line to the third signal line. An electrical device characterized by:

[0094] Item 19. Item 17 or 18, the electrical device according to item 17 or 18, the switching means switches the connection destination of the sixth signal line (L43) to the seventh signal line (L32) or the eighth signal line (L22); the sixth signal line is a signal line connected to an LED (20c), the seventh signal line is a signal line connected to the main control means, the eighth signal line is a signal line connected to the return control means, The switching means In the first state, the sixth signal line is connected to the seventh signal line; In the second state, the sixth signal line is connected to the eighth signal line. An electrical device characterized by:

[0095] The invention is not limited to the above-described embodiments, and various changes and modifications can be made without departing from the spirit and scope of the invention. Accordingly, the following claims are appended to apprise the public of the scope of the invention. [Explanation of symbols]

[0096] 10 Electrical equipment, 11 Main control unit, 12 Sub-control unit, 13 Power supply control unit, 18 Switching unit, L1 to L3 Signal lines

Claims

1. An electrical device comprising: A main control means for controlling the electrical equipment; a power supply control means for controlling the power state of the main control means; a restoration control means for determining whether or not to restore the power state to the first state when the power state is a second state in which power consumption is smaller than that of the first state; A switching means for switching the connection destination of the plurality of signal lines, The plurality of signal lines include A first signal line; a second signal line to which a signal that serves as a return trigger for returning the power state from the second state to the first state is input, The switching means is In the first state, the first signal line and the second signal line are connected to the main control means; In the second state, the second signal line is connected to the recovery control means, while the first signal line is not connected to the recovery control means.

1. An electrical device comprising:

2. 2. The electrical device according to claim 1 , The switching means is In the first state, the plurality of signal lines are connected to the main control means; In the second state, only the second signal line among the plurality of signal lines is connected to the recovery control means.

1. An electrical device comprising:

3. The electrical device according to claim 1 or 2, an operation unit that receives an operation of the electrical device by a user; The signal that serves as a return factor is a signal that is generated based on an operation of the operating means.

1. An electrical device comprising:

4. The electrical device according to claim 1 or 2, an operation unit that receives an operation of the electrical device by a user; A signal generated based on an operation of the operating means is input to the plurality of signal lines.

1. An electrical device comprising:

5. 2. The electrical device according to claim 1 , In the second state, the switching means connects the first signal line to GND.

1. An electrical device comprising:

6. 2. The electrical device according to claim 1 , In the second state, the switching means connects the plurality of signal lines, except for the second signal line, to GND.

1. An electrical device comprising:

7. 2. The electrical device according to claim 1 , the recovery control means outputs a reset signal to the power supply control means when controlling the power state of the main control means to change from the first state to the second state.

1. An electrical device comprising:

8. 6. An electrical device according to claim 5, When the power state is controlled from the first state to the second state, the switching means connects the first signal line to GND, and then connects the second signal line to the recovery control means.

1. An electrical device comprising:

9. 7. An electrical device according to claim 6, When the power state is controlled from the first state to the second state, the switching means connects the plurality of signal lines, except for the second signal line, to GND, and then connects the second signal line to the recovery control means.

1. An electrical device comprising:

10. 6. An electrical device according to claim 5, When the power state is controlled from the second state to the first state, the switching means connects the second signal line to the main control means, and then connects the first signal line to the main control means.

1. An electrical device comprising:

11. 7. An electrical device according to claim 6, when the power state is controlled from the second state to the first state, the switching means connects the second signal line to the main control means, and then connects the remaining signal lines of the plurality of signal lines to the main control means.

1. An electrical device comprising:

12. 2. The electrical device according to claim 1 , The switching means is controlled by the power supply control means.

1. An electrical device comprising:

13. 2. The electrical device according to claim 1 , The switching means is controlled by the return control means.

1. An electrical device comprising:

14. 2. The electrical device according to claim 1 , The switching means is controlled by the main control means.

1. An electrical device comprising:

15. 2. The electrical device according to claim 1 , the plurality of signal lines are signal lines constituting a key matrix, the main control means has a plurality of ports to which the plurality of signal lines are connected; 1. An electrical device comprising:

16. An electrical device according to any one of claims 5 to 11, the plurality of signal lines are signal lines constituting a key matrix, the main control means has a plurality of first ports to which the plurality of signal lines are connected; the recovery control means has a second port to which the second signal line is connected, The plurality of first ports and the second port are each connected to a pull-up resistor.

1. An electrical device comprising:

17. An electrical device comprising: A main control means for controlling the electrical equipment; a power supply control means for controlling the power state of the main control means; a restoration control means for determining whether or not to restore the power state to the first state when the power state is a second state in which power consumption is smaller than that of the first state; a switching means for switching a connection destination of the first signal line to the second signal line or the third signal line, the first signal line is a signal line through which a key operation signal is input, the second signal line is a signal line connected to the main control means and an LED; the third signal line is a signal line connected to the return control means, The switching means is In the first state, the first signal line is connected to the second signal line; In the second state, the first signal line is connected to the third signal line.

1. An electrical device comprising:

18. 18. An electrical device according to claim 17, the switching means switches a connection destination of the fourth signal line to GND or a fifth signal line; the key is a key for connecting and disconnecting the first signal line and the fourth signal line, the fifth signal line is a signal line connected to the main control means, The switching means is In the first state, the fourth signal line is connected to the fifth signal line; In the second state, the fourth signal line is connected to the GND; when the power state is controlled from the first state to the second state, the switching means connects the fourth signal line to the GND, and then connects the first signal line to the third signal line.

1. An electrical device comprising:

19. 18. An electrical device according to claim 17, the switching means switches a connection destination of the sixth signal line to the seventh signal line or the eighth signal line, the sixth signal line is a signal line connected to an LED, the seventh signal line is a signal line connected to the main control means, the eighth signal line is a signal line connected to the return control means, The switching means is In the first state, the sixth signal line is connected to the seventh signal line; In the second state, the sixth signal line is connected to the eighth signal line.

1. An electrical device comprising:

Citation Information

Patent Citations

  • Data processor

    JP2007241464A