Information processing device and method for controlling the information processing device

By optimizing the use of primary and secondary batteries through dual volatile memory systems and controlled power supply paths, the device reduces system costs and extends battery life in information processing devices.

JP7578062B2Active Publication Date: 2024-11-06RICOH CO LTD
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
JP2021081542
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Filing Date
2021-05-13
Publication Date
2024-11-06
Estimated Expiration
2041-05-13

AI Technical Summary

Technical Problem

The use of primary batteries with large discharge capacities to ensure data retention during power outages increases system cost in information processing devices.

Method used

An information processing device with dual volatile memory systems and controlled power supply paths using primary and secondary batteries, where the frequency of primary battery use is optimized to reduce discharge capacity needs.

Benefits of technology

This approach allows the use of smaller capacity primary batteries, reducing product costs and extending battery life, thereby minimizing the overall device cost.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007578062000001
    Figure 0007578062000001
  • Figure 0007578062000002
    Figure 0007578062000002
  • Figure 0007578062000003
    Figure 0007578062000003
Patent Text Reader

Abstract

To make it possible to adopt a primary battery with lower discharge capacity to reduce a product cost by controlling the use frequency of a primary battery adequately that is used for retention of data during blockage of the power supply voltage.SOLUTION: An information processing device has: a power supply unit that controls the supply of power supply voltage to a first volatile memory and a second volatile memory; a primary battery outputting a first power supply voltage; a secondary battery outputting a second power supply voltage; a first switch connecting the primary battery to the second volatile memory; a second switch connecting the secondary battery to the second volatile memory; a third switch connecting the secondary battery to the first volatile memory; and a switch control unit that turns off the first switch, turns on the second switch and turns off the third switch if the supply of the power supply voltage ceased normally, and turns on the first switch, turns off the second switch and turns on the third switch if the supply of the power supply voltage ceased abnormally.SELECTED DRAWING: Figure 1
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to an information processing apparatus and a method for controlling the information processing apparatus. [Background technology]

[0002] In systems such as information processing devices that require high reliability, auxiliary power sources such as primary or secondary batteries are used to prevent data stored in volatile memory from being lost when the power supply is normally or abnormally cut off. For example, when the power supply is normally cut off, the data stored in the volatile memory is stored using a primary battery, or the data stored in the volatile memory is saved to a non-volatile memory. When the power supply is abnormally cut off, such as in a power outage, the data stored in the volatile memory is stored using a secondary battery (see, for example, Patent Documents 1 and 2). Summary of the Invention [Problem to be solved by the invention]

[0003] Because primary batteries cannot be recharged, it is necessary to equip the system with a primary battery with a sufficiently large discharge capacity in order to be able to supply power until the end of the product's lifespan. However, the use of a primary battery with a large discharge capacity increases the system cost.

[0004] The disclosed technology aims to reduce product costs by appropriately controlling the frequency of use of primary batteries used to retain data when the power supply voltage is cut off, thereby making it possible to use primary batteries with small discharge capacities. [Means for solving the problem]

[0005] In order to solve the above technical problem, an information processing device of one embodiment of the present invention is characterized in having a first volatile memory operated by a power supply voltage supplied to a first power supply path, a second volatile memory operated by a power supply voltage supplied to a second power supply path, a power supply unit controlling the supply of power supply voltage to the first power supply path and the second power supply path, a primary battery outputting a first power supply voltage to a first power line, a secondary battery outputting a second power supply voltage to a second power line, a first switch connecting the first power supply line to the second power supply path, a second switch connecting the second power supply line to the second power supply path, a third switch connecting the second power supply line to the first power supply path, and a switch control unit which, when the supply of the power supply voltage is stopped normally by control of the power supply unit, turns off the first switch, turns on the second switch, and turns off the third switch, and, when the supply of the power supply voltage is stopped abnormally regardless of the control of the power supply unit, turns on the first switch, turns off the second switch, and turns on the third switch. Effect of the Invention

[0006] By appropriately controlling the usage frequency of the primary battery used to retain data when the power supply voltage is cut off, it is possible to use primary batteries with a small discharge capacity, thereby reducing product costs. [Brief description of the drawings]

[0007] [Figure 1] 1 is a block diagram showing an example of an information processing device according to a first embodiment of the present invention. [Diagram 2] 2 is a circuit diagram illustrating an example of a switch control unit in FIG. 1. [Diagram 3] 3 is a truth table showing the relationship between the input and output of the switch control section of FIG. 2. [Figure 4] 2 is a timing chart showing an example of an operation of the information processing device of FIG. 1. [Diagram 5] 1. FIG. 4 is a timing chart showing another example of the operation of the information processing device of FIG. [Figure 6]FIG. 11 is a block diagram showing an example of an information processing device according to a second embodiment of the present invention. [Figure 7] FIG. 11 is a block diagram showing an example of an information processing device according to a third embodiment of the present invention. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0008] Hereinafter, the embodiments will be described with reference to the drawings. In the following, the same reference numerals as the signal names are used for signal lines through which signals are transmitted, and the same reference numerals as the voltage names are used for voltage lines through which voltages are supplied. Note that in each drawing, the same reference numerals are used for the same components, and duplicated explanations may be omitted.

[0009] (First embodiment) Fig. 1 is a block diagram showing an example of an information processing device according to a first embodiment of the present invention. The information processing device 100 shown in Fig. 1 includes a power supply unit 10, a charging control unit 12, a secondary battery 14, a second power supply monitoring unit 16, an external power supply monitoring unit 18, a voltage generating unit 20, a primary battery 22, and a first power supply monitoring unit 24. The information processing device 100 also includes a system control unit 26, a power supply flag storage unit 28, and a switch control unit 30.

[0010] Furthermore, the information processing device 100 includes voltage generating units 32 and 34, a dynamic random access memory (DRAM) 36, a static random access memory (SRAM) 38, and a non-volatile memory 40. For example, the non-volatile memory 40 is a flash memory or a hard disk drive (HDD). The information processing device 100 also includes switches SW1, SW2, and SW3 and diodes D1, D2, D3, D4, and D5.

[0011] The DRAM 36 is an example of a first volatile memory. The SRAM 38 is an example of a second volatile memory. The switch SW1 is an example of a first switch. The switch SW2 is an example of a second switch. The switch SW3 is an example of a third switch. For example, discrete components such as FETs (Field Effect Transistors) may be used for the switches SW1, SW2, and SW3.

[0012] For example, the information processing device 100 is mounted in the form of a control board in an MFP (Multi-Function Peripheral) having a copy function, a printer function, a scanner function, a fax function, etc., and realizes a fax function. Fig. 1 shows some of the components mounted on the control board. Note that the system in which the information processing device 100 is mounted is not limited to the MFP.

[0013] In response to assertion of a power-on signal PON generated when the information processing device 100 is started up (powered on), the power supply unit 10 outputs an external power supply voltage EVCC supplied to a power terminal (not shown) as a power supply voltage VCC to the charging control unit 12 and the voltage generating units 20, 32, 34, etc. In response to negation of the power-on signal PON generated when the information processing device 100 is shut down (powered off), the power supply unit 10 stops outputting the power supply voltage VCC.

[0014] The charging control unit 12 uses the power supply voltage VCC to charge the secondary battery 14. The secondary battery 14 outputs a first power supply voltage VBAT2 to a power supply line VBAT2. The power supply line VBAT2 is an example of a second power supply line, and the power supply voltage VBAT2 is an example of a second power supply voltage.

[0015] The second power supply monitor 16 sets the monitoring signal VBAT2M to logic 0 when it detects that the power supply voltage VBAT2 is higher than the second threshold voltage VT2 (FIG. 4). The second power supply monitor 16 sets the monitoring signal VBAT2M to logic 1 when it detects that the power supply voltage VBAT2 is equal to or lower than the second threshold voltage VT2. Note that the polarity of the monitoring signal VBAT2M is not limited to the above, and the monitoring signal VBAT2M may be set to logic 1 when the power supply voltage VBAT2 is higher than the second threshold voltage VT2.

[0016] When the external power supply monitor 18 detects that the power supply voltage VCC is higher than the first threshold voltage VT1 (FIG. 4), it sets the monitoring signal VCCM to logic 0. When the external power supply monitor 18 detects that the power supply voltage VCC is equal to or lower than the first threshold voltage VT1, it sets the monitoring signal VCCM to logic 1. Note that the polarity of the monitoring signal VCCM is not limited to the above, and the monitoring signal VCCM may be set to logic 1 when the power supply voltage VCC is higher than the first threshold voltage VT1.

[0017] The voltage generating unit 20 generates a system power supply voltage VSYS and other power supply voltages using the power supply voltage VCC output from the power supply unit 10. The system power supply voltage VSYS is used as an operating voltage for the first power supply monitoring unit 24, the system control unit 26, etc. For example, the other power supply voltages are used as operating voltages for a high-speed serial interface such as PCIe (Peripheral Component Interconnect express), a HDD, or a USB (Universal Serial Bus) interface.

[0018] The primary battery 22 outputs a power supply voltage VBAT1 to the power supply line VBAT1. For example, the value of the power supply voltage VBAT1 is the same as the value of the power supply voltage VBAT2. The power supply line VBAT1 is an example of a first power supply line, and the power supply voltage VBAT1 is an example of a first power supply voltage. The first power supply monitor 24 sets the monitoring signal VBAT1M to logic 0 when the power supply voltage VBAT1 is higher than a predetermined threshold voltage. The first power supply monitor 24 sets the monitoring signal VBAT1M to logic 1 when the power supply voltage VBAT1 is equal to or lower than a predetermined threshold voltage. Note that the polarity of the monitoring signal VBAT1M is not limited to the above, and the monitoring signal VBAT1M may be set to logic 1 when the power supply voltage VBAT1 is higher than a predetermined threshold voltage.

[0019] The system control unit 26 has the form of a chip such as an ASIC (Application Specific Integrated Circuit) or a SoC (System on a Chip). The system control unit 26 has a CPU (Central Processing Unit) 261 and a general-purpose output terminal 262. The CPU 261 controls the overall operation of the information processing device 100 by executing a control program stored in the non-volatile memory 40. The CPU 261 accesses the DRAM 36 and the SRAM 38 to realize the functions of the information processing device 100 and reads and writes data. The CPU 261 also outputs a data signal DT and a trigger signal TRG to the power supply flag storage unit 28 via the general-purpose output terminal 262.

[0020] The power supply flag storage unit 28 is a flip-flop FF that receives the data signal DT at a data terminal D, receives the trigger signal TRG at a clock terminal CLK, and outputs a flag signal VFLG from an output terminal Q. The power supply flag storage unit 28 outputs the logic of the data signal DT received in synchronization with the trigger signal TRG as a start flag signal VFLG to the switch control unit 30. The CPU 261, the general-purpose output terminal 262, and the power supply flag storage unit 28 are an example of a flag signal generation unit that sets the start flag signal VFLG to a start level or a stop level.

[0021] The switch control unit 30 outputs switch control signals SCNT1, SCNT2, and DCNT according to the logic of the monitor signals VCCM, VBAT2M and the startup flag signal VFLG. For example, the switch control unit 30 is provided using discrete components or a PLD (Programmable Logic Device), etc.

[0022] The switch SW1 is off when the switch control signal SCNT1 is a logic 0, and is on when the switch control signal SCNT1 is a logic 1. The switch SW2 is off when the switch control signal SCNT2 is a logic 0, and is on when the switch control signal SCNT2 is a logic 1. The switch SW3 is off when the switch control signal DCNT is a logic 0, and is on when the switch control signal DCNT is a logic 1. Note that the polarities of the switch control signals SCNT1, SCNT2, and DCNT are not limited to those described above, and the switches SW1, SW2, and SW3 may each be on when the switch control signal is a logic 1.

[0023] The anode of the diode D1 is connected to one end of the switch SW1, and the cathode is connected to the power supply path VS. The anode of the diode D2 is connected to one end of the switch SW2, and the cathode is connected to the power supply path VS. The anode of the diode D3 is connected to the power supply line VCC, and the cathode is connected to the power supply path VS.

[0024] The diode D4 has an anode connected to one end of the switch SW3 and a cathode connected to the power supply path VD. The diode D5 has an anode connected to the power supply line VCC and a cathode connected to the power supply path VD.

[0025] The voltage generating unit 32 is connected to the cathodes of the diodes D4 and D5 via a power supply path VD. The power supply path VD is an example of a first power supply path. The voltage generating unit 32 receives a power supply voltage VCC via the diode D5 and the power supply path VD. The voltage generating unit 32 receives a power supply voltage VBAT2 via the switch SW3, the diode D4, and the power supply path VD.

[0026] The voltage generating unit 32 uses the received power supply voltage VCC or power supply voltage VBAT2 to generate a plurality of types of power supply voltages VCCD to be used for the operation of the DRAM 36, and outputs the generated power supply voltages VCCD to the DRAM 36. For example, the plurality of types of power supply voltages VCCD are used as operating voltages for the logic circuits and the input / output circuits of the DRAM 36. The supply timing and cut-off timing of the plurality of types of power supply voltages VCCD generated by the voltage generating unit 32 to the DRAM 36 are controlled by a reset control circuit (not shown).

[0027] The voltage generating unit 34 is connected to the cathodes of the diodes D3, D4, and D5 via a power supply path VS. The power supply path VS is an example of a second power supply path. The voltage generating unit 34 receives a power supply voltage VCC via the diode D3 and the power supply path VS. The voltage generating unit 34 receives a power supply voltage VBAT2 via the switch SW2, the diode D2, and the power supply path VS.

[0028] The voltage generating unit 34 receives the power supply voltage VBAT1 via the switch SW1, the diode D1, and the power supply path VS. The voltage generating unit 34 generates the power supply voltage VCCS using the received power supply voltage VCC, the power supply voltage VBAT2, or the power supply voltage VBAT1, and outputs the generated power supply voltage VCCS to the SRAM 38 as the operating voltage of the SRAM 38. The power supply voltage VCCS is also used as the operating voltage of the second power supply monitor 16, the external power supply monitor 18, the power supply flag storage unit 28, and the switch control unit 30.

[0029] The power supply voltage VCCS is generated using any one of the power supply voltages VCC, VBAT1, and VBAT2. Therefore, during the period when the primary battery 22 can generate the power supply voltage VBAT1, the second power supply monitor 16, the external power supply monitor 18, the power supply flag storage unit 28, and the switch control unit 30 can be operated. Furthermore, during the power-off period of the information processing device 100, during the period when the secondary battery 14 can output the power supply voltage VBAT2, the power supply voltage VCCS is generated using the power supply voltage VBAT2. Since the primary battery 22 is not used during this period, it is possible to suppress a decrease in the capacity of the primary battery 22, and to extend the life of the information processing device 100.

[0030] Although not particularly limited, for example, the DRAM 36 is a DDR (Double Data Rate)-SDRAM (Synchronous Dynamic Random Access Memory). Work data is held in the DRAM 36 while the information processing device 100 is in operation. When the supply of the power supply voltage VCC is cut off due to a power outage or the like, the DRAM 36 can maintain the work data by the power supply voltage VBAT2 from the secondary battery 14. The DRAM 36 has a self-refresh function, and can continue to hold data without being controlled by the system control unit 26 while it is receiving the supply of the power supply voltage VCCD.

[0031] For example, the SRAM 38 is a general-purpose product of a low-power type, but is not limited thereto. The data stored in the SRAM 38 includes important data that must not be lost even in the event of a power failure or other power supply abnormality. Therefore, while the information processing device 100 is stopped, the SRAM 38 receives the power supply voltage VBAT2 from the secondary battery 14 or the power supply voltage VBAT1 from the primary battery 22, and continues to store the data.

[0032] Furthermore, when the supply of the power supply voltage VCC is cut off due to a power outage or the like, the SRAM 38 continues to hold data by receiving the power supply voltage VBAT1 from the primary battery 22. Therefore, even when the supply of the power supply voltage VCC is cut off due to a power outage or the like, the SRAM 38 can hold data until the output of the power supply voltage VBAT1 is stopped due to the end of the life of the primary battery 22.

[0033] Fig. 2 is a circuit diagram showing an example of the switch control section 30 of Fig. 1. The switch control section 30 has inverters IV1 and IV2, a two-input AND circuit AND1, three-input AND circuits AND2 and AND3, and a two-input OR circuit OR.

[0034] The inverter IV1 inverts the logic of the start flag signal VFLG and outputs it to the AND circuits AND2 and AND3. The inverter IV2 inverts the logic of the monitoring signal VBAT2M and outputs it to the AND circuit AND3. The AND circuit AND1 outputs the AND logic of the start flag signal VFLG and the monitoring signal VCCM as a switch control signal DCNT that controls the switch SW3.

[0035] The AND circuit AND3 outputs the AND logic of the inverted logic of the start flag signal VFLG and the inverted logic of the monitoring signal VCCM and the monitoring signal VBAT2M as the switch control signal SCNT2. The OR circuit OR outputs the OR logic of the switch control signal DCNT and the output of the AND circuit AND2 as the switch control signal SCNT1.

[0036] In summary, the switch control signals DCNT, SCNT2, and SCNT1 are generated by equations (1), (2), and (3). In equations (1) to (3), the symbol × indicates logical AND, the symbol + indicates logical OR, and the symbol / indicates negation.

[0037] DCNT = VFLG × VCCM (1) SCNT2= / VFLG×VCCM× / VBAT2M ‥(2) SCNT1=DCNT+ / VFLG×VCCM×VBAT2M ‥(3)

[0038] Fig. 3 is a truth table showing the relationship between the input and output of the switch control unit 30 in Fig. 2. In Fig. 3, a logic 0 of the startup flag signal VFLG indicates that the information processing device 100 is in a power-on sequence or in a power-off sequence when the external power supply voltage EVCC is not being supplied. That is, a logic 0 of the startup flag signal VFLG indicates that the information processing device 100 is not started up (OFF). A logic 1 of the startup flag signal VFLG indicates that the information processing device 100 is starting up (ON; from the completion of the power-on sequence to the start of the power-off sequence).

[0039] A logic 0 of the monitoring signal VCCM indicates that the power supply voltage VCC output from the power supply unit 10 is at a normal value. A logic 1 of the monitoring signal VCCM indicates that the power supply voltage VCC output from the power supply unit 10 has dropped below the normal value. A logic 0 of the monitoring signal VBAT2M indicates that the power supply voltage VBAT2 output from the secondary battery 14 is at a normal value. A logic 1 of the monitoring signal VBAT2M indicates that the power supply voltage VBAT2 output from the secondary battery 14 has dropped below the normal value.

[0040] When the power supply voltage VCC is normal (No.1, No.2, No.5, No.6), the power supply voltage VCC is supplied to the DRAM 36 and the SRAM 38. Therefore, the switch control signals DCNT, SCNT2, and SCNT1 are all set to logic 0, and the switches SW1, SW2, and SW3 are turned off.

[0041] On the other hand, when the power supply voltage VCC is lower than the normal value, the power supply voltage VBAT2 from the secondary battery 14 or the power supply voltage VBAT1 from the primary battery 22 must be supplied to the DRAM 36 and the SRAM 38.

[0042] When the startup flag signal VFLG is logic 0 and the monitoring signal VCCM is logic 1 (No. 3, No. 4), the information processing device 100 is in a power-off state. Because the power supply voltage VCC is not generated, the switch control signal DCNT is set to logic 0 and the switch SW3 is turned off.

[0043] When the boot flag signal VFLG is logic 0 in the power-off state, the CPU 261 has already saved necessary data from the data held in the DRAM 36 to the SRAM 38 or the like in a normal procedure in the power-off sequence before entering the power-off state.

[0044] In the power-off state, when the power supply voltage VBAT2 from the secondary battery 14 is normal, the data in the SRAM 38 is held using the power supply voltage VBAT2 from the secondary battery 14. In this case, the switch control signal SCNT2 is set to logic 1 to turn on the switch SW2, and the switch control signal SCNT1 is set to logic 0 to turn off the switch SW1 (No. 3).

[0045] Furthermore, in the power-off state, if the power supply voltage VBAT2 from the secondary battery 14 becomes lower than the normal value, the data in the SRAM 38 is held using the power supply voltage VBAT1 from the primary battery 22. In this case, the switch control signal SCNT2 is set to logic 0 to turn off the switch SW2, and the switch control signal SCNT1 is set to logic 1 to turn on the switch SW1 (No. 4).

[0046] In this way, when the power supply voltage VBAT2 from the secondary battery 14 is normal, the data in the SRAM 38 can be held using the power supply voltage VBAT2 from the secondary battery 14 without using the power supply voltage VBAT1 from the primary battery 22. The power supply voltage VBAT1 is used when the power supply voltage VBAT2 becomes lower than the normal value. This makes it possible to suppress the decrease in capacity of the primary battery 22, and to extend the life of the primary battery 22. This makes it possible to use a primary battery 22 with a smaller discharge capacity, and the cost of the primary battery can be reduced. When the mounting area of ​​the primary battery 22 on the control board is reduced, the cost of the control board can also be reduced. As a result, the cost of the information processing device 100 can be reduced.

[0047] On the other hand, when the boot flag signal VFLG is logic 1 and the monitoring signal VCCM is logic 1 (No. 7, No. 8), this indicates that the supply of the external power supply voltage EVCC has been cut off due to a power outage or the like during startup of the information processing device 100. In this case, data that needs to be backed up remains in the DRAM 36 and SRAM 38.

[0048] In order to prevent loss of data stored in the DRAM 36 and SRAM 38, the information processing device 100 supplies the power supply voltage VBAT2 from the secondary battery 14 to the DRAM 36, and supplies the power supply voltage VBAT1 from the primary battery 22 to the SRAM 38. For this reason, the switch control signal DCNT is set to logic 1 to turn on the switch SW3, and the switch control signal SCNT1 is set to logic 1 to turn on the switch SW1. Note that in No. 7 and No. 8, the switch control signal SCNT2 is maintained at logic 0, and the switch SW2 is maintained in the off state.

[0049] Fig. 4 is a timing chart showing an example of the operation of the information processing device 100 in Fig. 1. That is, Fig. 4 shows an example of a control method for the information processing device 100. Before the information processing device 100 is started, the power supply unit 10 does not output the power supply voltage VCC, and the power supply voltage VBAT2 from the secondary battery 14 is at a normal value.

[0050] Furthermore, because the previous power-off sequence was executed normally in accordance with the normal procedure, the start-up flag signal VFLG is set to logic 0. Because the power supply voltage VCC is not generated, the monitoring signal VCCM is at logic 1. Because the voltage of the secondary battery 14 is normal, the monitoring signal VBAT2M is at logic 0. For this reason, the switch control signals DCNT, SCNT2, and SCNT1 are set to logic 0, logic 1, and logic 0, respectively.

[0051] Since the switches SW3, SW2, and SW1 are off, on, and off, respectively, the power supply voltage VBAT2 is supplied to the SRAM 38, and data held in the SRAM 38 is maintained. Since the DRAM 36 is not powered, it does not hold data.

[0052] When the information processing device 100 is started and the power-on signal PON is asserted, the power supply unit 10 starts outputting the power supply voltage VCC. The voltage generation unit 20 starts generating the system power supply voltage VSYS. The voltage generation unit 32 starts generating the power supply voltage VCCD for the DRAM 36.

[0053] At timing (a), when the power supply voltage VCC exceeds the first threshold voltage VT1, the monitor signal VCCM changes to logic 0, and the switch control signal SCNT2 changes to logic 0. This turns off the switch SW2, and the voltage generating unit 34 stops using the power supply voltage VBAT2 and uses the power supply voltage VCC to generate the power supply voltage VCCS for the SRAM 38. After this, the CPU 261 executes a power-on sequence.

[0054] After the power-on sequence is completed, at timing (b), the CPU 261 rewrites the logic held in the power supply flag storage unit 28 via the general-purpose output terminal 262, and sets the startup flag signal VFLG to logic 1. That is, the internal state of the information processing device 100 is set to the startup state, and the information processing device 100 executes data processing, etc. Since the states of the switch control signals DCNT, SCNT2, and SCNT1 do not change, the power supply states to the DRAM 36 and SRAM 38 do not change.

[0055] When the CPU 261 stops power supply to the information processing device 100, the CPU 261 executes a normal power-off sequence. After the power-off sequence is completed, at timing (c), the CPU 261 rewrites the logic held in the power supply flag storage unit 28 via the general-purpose output terminal 262, and sets the startup flag signal VFLG to logic 0. That is, the internal state of the information processing device 100 is set to a stopped state. Since the states of the switch control signals DCNT, SCNT2, and SCNT1 do not change, the power supply states to the DRAM 36 and SRAM 38 do not change.

[0056] At timing (d), the system control unit 26 asserts the power-off signal POFF to logic 0. In response to the assertion of the power-off signal POFF, the power supply unit 10 stops generating the power supply voltage VCC. As a result, the power supply voltage VCC gradually decreases.

[0057] At timing (e), the switch control unit 30 determines that the supply of the power supply voltage VCC by the power supply unit 10 has stopped normally because the start flag signal VFLG is logic 0 (stop level) when the power supply voltage VCC becomes equal to or lower than the first threshold voltage VT1. That is, the switch control unit 30 can determine that the power has been normally turned off based on the start flag signal VFLG being logic 0 and the drop in the power supply voltage VCC.

[0058] When the power supply voltage VCC becomes equal to or lower than the first threshold voltage VT1, the monitor signal VCCM changes to logic 1, and the switch control signal SCNT2 changes to logic 1. This turns on the switch SW2, and the voltage generating unit 34 generates the power supply voltage VCCS for the SRAM 38 using the power supply voltage VBAT2 from the secondary battery 14.

[0059] As the discharge of the secondary battery 14 progresses, at timing (f) the power supply voltage VBAT2 from the secondary battery 14 falls below the second threshold voltage VT2, and the monitoring signal VBAT2M changes to logic 1. As a result, the switch control signals SCNT2 and SCNT1 change to logic 0 and logic 1, respectively, turning off the switch SW2 and turning on the switch SW1.

[0060] Then, the voltage generating unit 34 generates a power supply voltage VCCS for the SRAM 38 using the power supply voltage VBAT1 from the primary battery 22. Since the switch control signal DCNT is maintained at logic 0, the switch SW3 remains in the off state and no power is supplied to the DRAM 36. In this way, the switch SW1 is not turned on until the discharge of the secondary battery 14 progresses, so that the use of the power supply voltage VBAT1 from the primary battery 22 can be minimized.

[0061] If the longest power-off period of the information processing device 100 is shorter than the period during which data in the SRAM 38 can be retained by the power supply voltage VBAT2 from the secondary battery 14, charging of the secondary battery 14 can be started before the power supply voltage VBAT2 becomes equal to or lower than the second threshold voltage VT2. In this case, the primary battery 22 with the minimum discharge capacity can be used, and the cost of the information processing device 100 can be further reduced.

[0062] Fig. 5 is a timing diagram showing another example of the operation of the information processing device 100 in Fig. 1. That is, Fig. 5 shows another example of a control method for the information processing device 100. Detailed description of the same operations as those in Fig. 4 will be omitted. The operations up to Fig. 5(b) are the same as those up to Fig. 4(b). For example, the start-up flag signal VFLG is set to logic 1 upon completion of the power-on sequence.

[0063] 5, while the information processing device 100 is executing data processing or the like, a power outage occurs at timing (c), and the supply of the external power supply voltage EVCC to the power supply unit 10 is stopped. As a result, the power supply voltage VCC gradually decreases. The voltage generating unit 20 stops generating the system power supply voltage VSYS, so the operation of the system control unit 26 stops, and the power-off signal POFF gradually changes from logic 1 to logic 0.

[0064] At timing (d), the switch control unit 30 determines that the supply of the power supply voltage VCC by the power supply unit 10 has been abnormally stopped due to a power outage or the like because the start flag signal VFLG is logic 1 (start level) when the power supply voltage VCC becomes equal to or lower than the first threshold voltage VT1. In other words, the switch control unit 30 can determine that the power has been abnormally turned off based on the start flag signal VFLG being logic 1 and the drop in the power supply voltage VCC.

[0065] When the power supply voltage VCC becomes equal to or lower than the first threshold voltage VT1, the monitor signal VCCM changes to logic 1. Since the startup flag signal VFLG, monitor signals VCCM, and VBAT2M are logic 1, logic 1, and logic 0, respectively, the switch control signals DCNT and SCNT2 both change to logic 1.

[0066] As a result, the switch SW3 is turned on, and the voltage generating unit 32 generates a power supply voltage VCCD for the DRAM 36 using the power supply voltage VBAT2 from the secondary battery 14. In addition, the switch SW1 is turned on, and the voltage generating unit 34 generates a power supply voltage VCCS for the SRAM 38 using the power supply voltage VBAT1 from the primary battery 22.

[0067] As the discharge of the secondary battery 14 progresses, at timing (e) the power supply voltage VBAT2 from the secondary battery 14 falls below the second threshold voltage VT2, and the monitoring signal VBAT2M changes to logic 1. However, as described in FIG. 3 (No. 8), the states of the switches SW3, SW2, and SW1 are maintained. As the power supply voltage VBAT2 from the secondary battery 14 drops, the voltage generating unit 32 stops generating the power supply voltage VCCD.

[0068] On the other hand, the voltage generating unit 34 continues to generate the power supply voltage VCCS for the SRAM 38 using the power supply voltage VBAT1 from the primary battery 22. Therefore, the data held in the SRAM 38 is maintained without being lost.

[0069] As described above, in the first embodiment, during the power-off period of the information processing device 100, while the power supply voltage VBAT2 is normal, the data in the SRAM 38 can be held using the power supply voltage VBAT2 from the secondary battery 14 without using the power supply voltage VBAT1 from the primary battery 22. The power supply voltage VBAT1 is used when the power supply voltage VBAT2 becomes lower than the normal value. This makes it possible to suppress the decrease in the capacity of the primary battery 22, and to extend the life of the primary battery 22. Therefore, it becomes possible to use a primary battery 22 with a small discharge capacity, and the cost of the primary battery can be reduced. When the mounting area of ​​the primary battery 22 on the control board is reduced, the cost of the control board can also be reduced. As a result, the cost of the information processing device 100 can be reduced.

[0070] When the switch control unit 30 detects a drop in the power supply voltage VCC through the monitoring signal VCCM, it can determine whether the power has been turned off normally or abnormally, such as due to a power outage, based on the logic of the startup flag signal VFLG.

[0071] The power supply voltage VCCS is generated using any one of the power supply voltages VCC, VBAT1, and VBAT2, and is generated until the capacity of the primary battery 22 runs out. Therefore, during the period when the primary battery 22 can generate the power supply voltage VBAT1, the second power supply monitor 16, the external power supply monitor 18, the power supply flag storage unit 28, and the switch control unit 30 can be operated.

[0072] Furthermore, during a power-off period of the information processing device 100, during a period during which the secondary battery 14 can output the power supply voltage VBAT2, the power supply voltage VCCS is generated using the power supply voltage VBAT2. Therefore, when data in the SRAM 38 is continuously held during a power-off period of the information processing device 100, it is possible to suppress a decrease in the capacity of the primary battery 22, and it is possible to extend the life of the information processing device 100.

[0073] If the longest power-off period of the information processing device 100 is shorter than the period during which data in the SRAM 38 can be retained by the power supply voltage VBAT2 from the secondary battery 14, charging of the secondary battery 14 can be started before the power supply voltage VBAT2 becomes equal to or lower than the second threshold voltage VT2. In this case, the primary battery 22 with the minimum discharge capacity can be used, and the cost of the information processing device 100 can be further reduced.

[0074] Second embodiment FIG. 6 is a block diagram showing an example of an information processing device according to a second embodiment of the present invention. The same elements as those in FIG. 1 are given the same reference numerals, and detailed description thereof will be omitted. In the information processing device 100A shown in FIG. 6, a system control unit 26A is different from the system control unit 26 in FIG. 1. The DRAM 36 and SRAM 38 shown in FIG. 1 are included in the system control unit 26A as DRAM 36A and SRAM 38A. The other configurations of the information processing device 100A are the same as those of the information processing device 100 in FIG. 1. The DRAM 36A is an example of a first volatile memory, and the SRAM 38A is an example of a second volatile memory.

[0075] The system control unit 26A is equipped with a semiconductor chip CHIP1 on which a DRAM 36A is mounted, and a semiconductor chip CHIP2 on which a CPU 261, a general-purpose output terminal 262, and an SRAM 38A are integrated. The system control unit 26A has a SiP (System in a Package) form. The semiconductor chip CHIP1 is an example of a first chip, and the semiconductor chip CHIP2 is an example of a second chip.

[0076] For example, the DRAM 36A mounted on the semiconductor chip CHIP1 may be a bare chip. The SRAM 38A in the semiconductor chip CHIP2 is an SRAM macro integrated with the CPU 261 and the general-purpose output terminal 262. The CPU 261 accesses the DRAM 36A and the SRAM 38A to read and write data. The SRAM macro consumes more power than the low-power general-purpose SRAM 38 (discrete component) shown in FIG. 1. The semiconductor chip CHIP2 may be a microcomputer chip. In this case, the SRAM 38A is an internal RAM of the microcomputer.

[0077] For example, suppose that the power consumption of the SRAM 38A integrated on the semiconductor chip CHIP2 is six times that of the discrete SRAM 38 shown in Fig. 1. If the information processing devices 100 and 100A are designed to have the same life span, the discharge capacity of the primary battery 22 in Fig. 6 needs to be six times that of the primary battery 22 in Fig. 1.

[0078] For example, when designing an information processing device equipped with a discrete SRAM 38 and having a life span of six years, it is assumed that the discharge capacities of the primary battery 22 and secondary battery 14 mounted in the information processing device are 600 mAh and 100 mAh, respectively. Here, it is assumed that the data in SRAM 38 is held using the primary battery 22 while the power supply of the information processing device is cut off, and the capacity of the primary battery 22 required to hold the data in SRAM 38 for one year is 100 mAh.

[0079] If an SRAM 38A integrated on a semiconductor chip that consumes six times as much power is used in this information processing device with a lifespan of six years, the capacity of the primary battery 22 required to hold the data in the SRAM 38A for one year is 600 mAh, and the discharge capacity of the primary battery 22 is 3600 mAh. The discharge capacity of the secondary battery 14 is 100 mAh.

[0080] The information processing device 100A shown in Fig. 6 operates in the same manner as in Figs. 3 to 5. In the information processing device 100A, while the power supply is cut off, the secondary battery 14 is used preferentially to retain the data in the SRAM 38A. For example, assume that no power outage occurs and the discharge capacity (100mAh) of the secondary battery 14 can be entirely used to back up the SRAM 38A. In this case, the data in the SRAM 38A can be retained for two months by the discharge capacity of the secondary battery 14, and furthermore, can be retained for six years (3600mAh / 600mAh) by the discharge capacity of the primary battery 22.

[0081] Furthermore, if the longest power interruption period is shorter than two months, charging of the secondary battery 14 can be started before the power supply voltage VBAT2 from the secondary battery 14 becomes equal to or lower than the second threshold voltage VT2. In this case, the discharge capacity of the primary battery 22 can be further reduced.

[0082] As described above, the second embodiment can provide the same effects as the first embodiment. For example, during a power-off period of the information processing device 100A, the power supply voltage VBAT1 from the primary battery 22 is not used while the power supply voltage VBAT2 is normal, thereby extending the life of the primary battery 22. As a result, the cost of the primary battery can be reduced, and the cost of the information processing device 100A can be reduced.

[0083] Furthermore, in the second embodiment, even when using an SRAM 38 (integrated in the semiconductor chip CHIP2) that consumes more power than a discrete SRAM 38, it is possible to reduce the discharge capacity of the primary battery 22.

[0084] (Third embodiment) FIG. 7 is a block diagram showing an example of an information processing device according to a third embodiment of the present invention. The same elements as those in FIG. 1 and FIG. 6 are given the same reference numerals, and detailed description thereof will be omitted. In the information processing device 100B shown in FIG. 7, the system control unit 26B is different from the system control unit 26 in FIG. 1. The DRAM 36, SRAM 38, power supply flag storage unit 28, and switch control unit 30 shown in FIG. 1 are included in the system control unit 26B as DRAM 36A, SRAM 38A, power supply flag storage unit 28B, and switch control unit 30B. The other configurations of the information processing device 100B are the same as those of the information processing device 100 in FIG. 1.

[0085] The system control unit 26B is equipped with a semiconductor chip CHIP1 equipped with a DRAM 36A, and a semiconductor chip CHIP2 integrated with a CPU 261B, an SRAM 38A, a power supply flag storage unit 28B, and a switch control unit 30B. The system control unit 26B has a SiP form. For example, the semiconductor chip CHIP2 is designed as an ASIC. The CPU 261B and the power supply flag storage unit 28B are an example of a flag signal generation unit that sets the start flag signal VFLG to a start level or a stop level.

[0086] The information processing device 100B shown in Fig. 7 operates in the same manner as in Fig. 3 to Fig. 5. The circuit configuration of the switch control unit 30B is the same as in Fig. 2, and the operation of the switch control unit 30B is shown by the truth table shown in Fig. 3.

[0087] The CPU 261B controls the power supply flag storage unit 28B as a register, which allows the CPU 261B to easily rewrite the logic held in the power supply flag storage unit 28B without going through the general-purpose output terminal 262 shown in FIG.

[0088] As described above, the third embodiment can also provide the same effects as the first and second embodiments. Furthermore, in the third embodiment, the CPU 261B, the SRAM 38A, the power supply flag storage unit 28B, and the switch control unit 30B are integrated in the semiconductor chip CHIP2. This allows the CPU 261B to control the power supply flag storage unit 28B as a register, and allows the data retention operation of the DRAM 36 and the SRAM 38 shown in FIG. 4 and FIG. 5 to be easily performed.

[0089] Although the present invention has been described above based on the embodiments, the present invention is not limited to the requirements shown in the above embodiments. These points can be changed without departing from the spirit of the present invention, and can be appropriately determined according to the application form. [Explanation of symbols]

[0090] 10 Power supply section 12 Charging control unit 14 Secondary battery 16 2nd power supply monitoring section 18 External power supply monitoring section 20 Voltage generation unit 22 Primary battery 24 1st power supply monitoring section 26, 26A, 26B System control section 28 Power supply flag storage section 28, 28B Power supply flag storage section 30, 30B Switch control section 32, 34 Voltage generation unit 36, 36A DRAM 38, 38A SRAM 40 Non-volatile memory 100, 100A, 100B Information processing device 261, 261B CPU 262 General-purpose output terminal CHIP1, CHIP2 Semiconductor chips DCNT Switch control signal EVCC External power supply voltage POFF Power off signal PON Power on signal SCNT1, SCNT2 Switch control signals SW1, SW2, SW3 switches VBAT1, VBAT2 power supply voltage VBAT1M, VBAT2M monitoring signal VCC, VCCD power supply voltage VCCM monitoring signal VCCS power supply voltage VD power supply path VFLG Start flag signal VS Power supply path VSYS System power supply voltage VT1 First threshold voltage VT2 Second threshold voltage [Prior art documents] [Patent documents]

[0091] [Patent Document 1] Japanese Patent Application Publication No. 11-184569 [Patent Document 2] JP 2013-66289 A

Claims

1. a first volatile memory that operates with a power supply voltage supplied to a first power supply path; a second volatile memory that operates with a power supply voltage supplied to a second power supply path; a power supply unit that controls supply of a power supply voltage to the first power supply path and the second power supply path; a primary battery that outputs a first power supply voltage to a first power supply line; a secondary battery that outputs a second power supply voltage to a second power supply line; a first switch that connects the first power line to the second power supply path; a second switch that connects the second power line to the second power supply path; a third switch that connects the second power line to the first power supply path; a switch control unit that turns off the first switch, turns on the second switch, and turns off the third switch when the supply of the power supply voltage is stopped normally under control of the power supply unit, and turns on the first switch, turns off the second switch, and turns on the third switch when the supply of the power supply voltage is stopped abnormally without control by the power supply unit; 13. An information processing device comprising:

2. an external power supply monitoring unit that monitors the power supply voltage; a flag signal generating unit that sets a startup flag signal to a startup level when the power supply unit supplies the power supply voltage, and sets the startup flag signal to a shutdown level when the power supply unit stops supplying the power supply voltage, The switch control unit determines that the supply of the power supply voltage has been stopped normally when the external power supply monitoring unit detects that the power supply voltage is equal to or lower than a first threshold voltage while the startup flag signal is at the stop level, and determines that the supply of the power supply voltage has been stopped abnormally when the external power supply monitoring unit detects that the power supply voltage is equal to or lower than the first threshold voltage while the startup flag signal is at the startup level.

2. The information processing apparatus according to claim 1,

3. the switch control unit, the external power supply monitoring unit, and the flag signal generating unit operate based on a power supply voltage supplied to the second power supply path; 3. The information processing apparatus according to claim 2,

4. a second power supply monitor that monitors the second power supply voltage; The switch control unit turns on the first switch and turns off the second switch when the second power supply monitoring unit detects that the second power supply voltage is equal to or lower than a second threshold voltage after it is determined that the supply of the power supply voltage has been normally stopped.

4. The information processing device according to claim 2 or 3.

5. a package including a first chip on which the first volatile memory is integrated and a second chip on which the second volatile memory and a circuit for accessing the second volatile memory are integrated; 5. The information processing device according to claim 1, wherein:

6. a package having a first chip on which the first volatile memory is integrated and a second chip on which the second volatile memory and the switch control unit are integrated; 5. The information processing device according to claim 1, wherein:

7. 1. A method for controlling an information processing device having: a first volatile memory that operates with a power supply voltage supplied to a first power supply path; a second volatile memory that operates with a power supply voltage supplied to a second power supply path; a power supply unit that controls supply of a power supply voltage to the first power supply path and the second power supply path; a primary battery that outputs a first power supply voltage to a first power line; a secondary battery that outputs a second power supply voltage to a second power line; a first switch that connects the first power line to the second power supply path; a second switch that connects the second power line to the second power supply path; and a third switch that connects the second power line to the first power supply path, When the supply of the power supply voltage is stopped normally under the control of the power supply unit, the first switch is turned off, the second switch is turned on, and the third switch is turned off; when the supply of the power supply voltage is stopped abnormally without the control of the power supply unit, the first switch is turned on, the second switch is turned off, and the third switch is turned on. A method for controlling an information processing device comprising the steps of:

Citation Information

Patent Citations

  • Facsimile equipment

    JP1994152841A

  • Battery operation type information processor

    JP1994259172A

  • Data backup device and data backup method for semiconductor memory

    JP1999184569A

  • Semiconductor memory, semiconductor device, and portable electronic equipment

    JP2004342767A

  • Image forming device

    JP2013066289A