This application claims the benefit of Korean Patent Application No. 10-2005-0042424, filed on May 20, 2005, and in the Korean Intellectual Property Office, the disclosure of which is incorporated herein in its entirety by reference.
1. Field of the Invention
The present invention relates to a variable constant voltage generator generating a plurality of constant voltages, and more particularly, to a variable constant voltage generator which varies a reference voltage by changing a resistance value through on/off switching, thereby converting an output voltage into a plurality of constant voltages.
2. Description of the Related Art
Conventional constant voltage generators supply a direct current voltage with a stable single value as required by systems such as circuits or semiconductor chips. In detail, conventional constant voltage generators receive an unclean direct current voltage and a plurality of direct current voltages as input voltages, and generate the direct current voltage received from input voltages.
However, when conventional constant voltage generators always supply a uniform single direct current voltage to chips or systems, a variation in power consumption due to operations of chips or systems, data processing in chips can be sensed. Accordingly, while the single direct current voltage is supplied to systems such as smart cards or security chips, an attacker may attempt to hack systems by measuring the power change resulting from an internal operation and data processing and extract statistical data.
Thus, smart cards or security chips that operate using a single direct current voltage are exposed to a power attack at all times.
Also, since a single direct current voltage is continuously supplied to conventional power management systems, systems cannot supply a greater direct current voltage when they must perform a quick process, requiring more power than the normal input power. Instead, since the single direct current voltage is supplied to the systems in a pause state, systems consume unnecessary power.
The present invention provides an apparatus and method for generating a variable constant voltage in order to prevent a power attack and effectively manage power.
According to an aspect of the present invention, there is provided an apparatus for generating a variable constant voltage, the apparatus comprising: a reference voltage controller controlling on/off switches connected to ends of N resistors according to a digital signal value; a variable reference voltage generator generating a reference voltage corresponding to a resistance value obtained by controlling the on/off switches; and a regulator generating a constant voltage based on the reference voltage and an external input voltage.
According to another aspect of the present invention, there is provided a method of generating a variable constant voltage, the method comprising: generating a resistance value by controlling on/off switches connected to each end of N resistors according to a digital signal value; generating a reference voltage corresponding to the resistance value; and generating a constant voltage based on the reference voltage and an external input voltage.
According to still another aspect of the present invention, there is provided a system comprising: a first data processor storing, calculating, and inputting/outputting data to produce a power consumption waveform corresponding to data processing for a stable system power source; a second data processor encoding data to prevent the system against hacking; a fixed constant voltage generator providing the first data processor with a fixed constant voltage; and a variable constant voltage generator controlling on/off switches connected to ends of N resistors according to a digital signal value to produce a random or constant power consumption waveform, generating a reference voltage corresponding to the resistance value, generating a constant voltage based on the reference voltage and an external input voltage, and providing the constant voltage to the second data processor.
The above and other features and advantages of the present invention will become more apparent by describing in detail exemplary embodiments thereof with reference to the attached drawings in which:
Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to the attached drawings.
The reference voltage controller 100 generates digital signals having values 1 and 0 to control on/off switches connected to ends of at least one resistors R1, R2, . . . Rn. The reference voltage controller 100 determines a resistance value Rd by controlling the on/off switches.
The variable reference voltage generator 110 generates a reference voltage Vref corresponding to the resistance value Rd obtained by the reference voltage controller 100. The reference voltage Vref is changed into a plurality of reference constant voltage values according to changes in the resistance value Rd by the reference voltage controller 100.
The regulator 120 comprises an error amplifier 121, a passing device 122, and a sampling device 123 and generates a constant voltage Vout from the reference voltage Vref generated by the variable reference voltage generator 110 and an external input voltage Vin.
The reference voltage controller 200 controls the on/off switches according to a voltage value required by a system or a chip from the apparatus for generating a variable constant voltage. The digital signals output by the reference voltage controller 200 have a value 1 or 0 and control whether resistors R1, R2, . . . Rn are grounded by opening and closing the on/off switches according to the digital signal.
A reference voltage generator 210 produces a resistance value Rd obtained by the on/off switches controlled by the reference voltage controller 200, and MOS transistors M25 through M28. The reference voltage generator 210 returns an input voltage Vin from source terminals of the MOS transistors M25 and M26 using the MOS transistors M27 and M28 and the resistance value Rd, and simultaneously maintains a constant drain voltage of the MOS transistor M28 to generate a reference voltage Vref. Therefore, the reference voltage Vref is not changed by a change in the input voltage Vin but by a change in the combination of the on/off switches turned on and off by the reference voltage controller 200.
A regulator 220 receives the reference voltage Vref generated by the reference voltage generator 210 and an input voltage Vin to generate a constant voltage Vout. The constant voltage Vout has values Vo1, Vo2, . . . Vop according to changes in the reference voltage Vref.
Therefore, the device such as the smart card or the security chip requires security stability against the hacking by the power attack. For security protection, the apparatus for generating the variable constant voltage according to an embodiment of the present invention changes an output voltage for operating the system such as the smart card or the security chip into an internal power module or a single chip, thereby protecting the smart card or the security chip from the hacking.
To produce a random power consumption waveform illustrated in
The random digital signal generated by the reference voltage controller 200 controls resistance switching, thereby randomly performing the resistance switching. Therefore, the variable reference voltage generator 210 generates a random reference voltage Vref_r according to a random resistance value Rd_r obtained by the random resistance switching.
To protect against the hacking by a power attack using the waveform as illustrated in
To this end, when a greater power consumption is measured in an external input voltage generator than is required according to the operation of a memory, input/output interface, system logic, CPU, etc. of a security chip, smart card, or other system, i.e., when the power consumption of the system increases as a current supply increases while the voltage supply remains unchanged, the reference voltage controller 200 perceives the increase in consumption power using an internal module and decreases the reference voltage Vref, thereby reducing the power consumption.
Also, when a smaller power consumption is measured in an external input voltage generator than is required according to the operations of a memory, input/output interface, system logic, CPU, etc. of security chip, smart card, or other systems, i.e., when the power consumption of the system decreases as the current supply decreases while the voltage supply remains unchanged, the reference voltage controller 200 perceives the decrease in the power consumption using the internal module and increases the reference voltage Vref, thereby producing a regular waveform of the power consumption.
The controlling process performed by the reference voltage controller 200 results in the waveform of the power consumption illustrated in
More specifically, assuming that a smart card requires 3 bias voltages, and the reference voltage controllers 100 and 200 generate the variable output voltage Vout at 2.8V, 3V, and 3.2V.
Referring to
Referring to
2.8 volts are applied for a command requiring large power consumption and 3.2 volts are applied to a command requiring small power consumption, thereby maintaining a constant waveform for the power consumption according to the execution command performed by the smart card.
A variable constant voltage generator 460 embedded in a chip or a system provides a variable constant voltage or a fixed output voltage to a memory 410, an input/output interface 420, a CPU 430, and system logic 440 of the chip or the system.
An embodiment of the present invention must be realized within the allowable variable range that does not interfere with accurate data processing. Also, the ranges of a variable reference voltage and a variable output voltage and object modules of the chip or the system must be determined within the allowable variable scope. As a result, hacking caused by a data execution command and data execution processing can be prevented from a power waveform measured by an external input voltage unit 450 of the chip or the system, thereby reducing the system power.
The variable constant voltage generator 580 comprises a reference voltage controller 500, a reference voltage generator 510, and a regulator 520, which correspond to and perform the same functions as the reference voltage controller 200, the reference voltage generator 210, and the regulator 220, respectively, illustrated in
A fixed constant voltage is applied to components performing a data execution command or a user execution command where hacking does not occur to provide a stable system power source, or a stable system power source and accurate data processing, and a variable constant voltage is applied to components in which password is used or critical data processing is performed and to prevent hacking.
In detail, a single constant voltage is applied by the fixed constant voltage generator 670 to a data processor 640 such as a memory 610, input/output interface 620, CPU 630, etc. that precisely processes data and requires a stable system power source.
Here, the data processor 640 does not require a high level of security, and thus the single constant voltage is applied to the fixed constant voltage generator 670 even if the data execution command or the user command is understood from the consumption power waveform, thereby accurately processing data.
On the other hand, a variable constant voltage is applied by the variable constant voltage generator 660 to an encoding processor 650 such as a security chip, a smart card, etc. that processes encoding, thereby producing a random or constant waveform for the power consumption, which prevents an attacker from hacking by means of the waveform for the power consumption.
According to another embodiment of the present invention, a ubiquitous system manages optimum power using a low-power active RFID, a sensor board, a system board, a system on chip (SoC), etc.
The variable constant voltage generator 660 generates a reference constant voltage Vref to supply reference power for operating at a usual signal processing speed. The variable constant voltage generator 660 also generates a reference constant voltage Vrefh greater than the reference constant voltage Vref to supply more power than the reference power when fast signal processing is required or a high performance function is performed. The variable constant voltage generator 660 generates a lower reference constant voltage Vrefh than the reference constant voltage Vref to supply less power than the reference power when low signal processing is required or the system stops operating. Therefore, an optimum power management system is provided. The optimum power management increases the efficiency of the system and extends the lifetime of a battery of the system.
The variable reference voltage generator 110 and 210 generate a reference voltage Vref corresponding to the resistance value Rd. The reference voltage Vref is changed into a plurality of reference constant voltage values according to changes in the resistance value Rd by the on/off switches controlled by the reference voltage controllers 100 and 200 (Operation S720).
The reference voltage Vref generated by the variable reference voltage generator 110 and 210 and an external input voltage Vin are used to generate a constant voltage Vout through the regulator 120 comprising the error amplifier 121, the passing device 122, and the sampling device 123 (Operation S730).
The generation of the resistance value Rd can be based on random digital signals generated by a hardware-based random number generator or an irregular signal device.
The generation of the resistance value Rd can include the generation of a digital signal to produce a constant waveform in which the maximum and minimum amplitudes of system power consumption measured by an external input voltage terminal 150 are constant.
The generation of the resistance value Rd can include the generation of a digital signal that controls the on/off switches connected to the ends of N resistors in order to generate the reference constant voltage Vref for supplying reference power for a usual signal processing speed.
When fast signal processing is required or a high performance function is performed, the generation of the resistance value Rd further includes generating a digital signal for controlling the on/off switches such that a reference constant voltage Vrefh higher than the reference constant voltage Vref to supply more power than the reference power.
When low signal processing is required or the system stops operating, the generation of the resistance value Rd further includes the switching controlling the on/off switches to a lower reference constant voltage Vrefl than the reference constant voltage Vref to supply less power than the reference power.
The present invention can also be embodied as computer readable code on a computer readable recording medium. The computer readable recording medium is any data storage device that can store data which can be thereafter read by a computer system. Examples of the computer readable recording medium include read-only memory (ROM), random-access memory (RAM), CD-ROMs, magnetic tapes, floppy disks, optical data storage devices, and carrier waves. The computer readable recording medium can also be distributed network coupled computer systems so that the computer readable code is stored and executed in a distributed fashion.
The apparatus and method for generating a variable constant voltage according to the present invention generates a plurality of constant voltages by controlling on/off switching, measuring a power consumption waveform, and analyzing statistical data, thereby providing security protection against hacking through a power attack.
Also, the apparatus and method for generating a variable constant voltage according to the present invention generates a plurality of output constant voltages by changing a reference voltage according to system signal processing and system consumption power, so that a ubiquitous system can ensure a efficient computing power consumption using a low-power based active RFID, a sensor board, etc.
While the present invention has been particularly shown and described with reference to exemplary embodiments thereof, it will be understood by those of ordinary skill in the art that various changes in form and details may be made therein without departing from the spirit and scope of the present invention as defined by the following claims.
Number | Date | Country | Kind |
---|---|---|---|
10-2005-0042424 | May 2005 | KR | national |