The present disclosure relates to memory technology. More particularly, the present disclosure relates to a memory device and an operating method thereof.
Data stored in the memory array are more likely to loss when the temperature of the memory device is higher. Therefore, higher refresh rate is needed when the temperature of the memory device becomes higher. However, higher refresh rate causes higher power consumption.
An aspect of the present disclosure is to provide an operating method of a memory device. The operating method includes the following operations: detecting a first temperature of the memory device; determining a first refresh rate according to the first temperature; and refreshing the memory array by the first refresh rate. The first refresh rate is lower than a refresh rate upper threshold.
Another aspect of the present disclosure is to provide a memory device. The memory device includes a temperature sensor, a memory array, and a controller. The temperature sensor is configured to detect a first temperature of the memory device. The controller is configured to determine a first refresh rate according to the first temperature and to refresh the memory array by the first refresh rate. The first refresh rate is lower than a refresh rate upper threshold.
In sum, the refresh rate determined by the controller in the present disclosure is lower than the refresh rate of the JEDEC SPEC regardless of the temperature. Therefore, the power consumption in the present disclosure becomes lower.
The present disclosure can be more fully understood by reading the following detailed description of the embodiment, with reference made to the accompanying drawings as follows:
In order to make the description of the disclosure more detailed and comprehensive, reference will now be made in detail to the accompanying drawings and the following embodiments. However, the provided embodiments are not used to limit the ranges covered by the present disclosure; orders of step description are not used to limit the execution sequence either. Any devices with equivalent effect through rearrangement are also covered by the present disclosure.
The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the disclosure. As used herein, the singular forms “a,” “an” and “the” are intended to include the plural forms as well, unless the context clearly indicates otherwise. It will be further understood that the terms “comprises” and/or “comprising,” or “includes” and/or “including” or “has” and/or “having” when used in this specification, specify the presence of stated features, regions, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, regions, integers, steps, operations, elements, components, and/or groups thereof.
In this document, the term “coupled” may also be termed as “electrically coupled,” and the term “connected” may be termed as “electrically connected.” “Coupled” and “connected” may also be used to indicate that two or more elements cooperate or interact with each other.
Reference is made to
In the operation relationship, the temperature sensor 130 is configured to detect a temperature of the memory device 100. The controller 150 is configured to determine a refresh rate according to the detected temperature. Then, the controller 150 refreshes the memory array 120 by the determined refresh rate. The determined refresh rate is lower than a refresh rate upper threshold. In some embodiments, the refresh rate upper threshold is the refresh rate determined by the JEDEC (Joint Electron Device Engineering Council, JEDEC) spec.
Reference is made to
As illustrated in
As illustrated in
It should be noted that the determined refresh rate in the present disclosure are within the retention of the memory device 100.
Reference is made to
In some embodiments, the controller 150 is further configured to transmit a refresh command by the refresh rate to the memory array 120, and the memory array 120 refreshes when receiving the refresh command. For example, if it is determined by the controller 150 that the refresh rate is f1 Hz(Hertz), the controller 150 transmits a refresh command to the memory array 120 every 1/f1 second. Whenever the memory array 120 receives the refresh command, the memory array 120 refreshes.
In some embodiments, the controller 150 further comprises a counter 155. The counter 155 is configured to receive an oscillator signal and to generate the refresh command according to a pulse number of the oscillator signal and the determined refresh rate.
Reference is made to
To be more detailed, the counter 155 counts the pulse number of the oscillator signal, and the controller 150 generates a refresh command whenever the counter 155 receives four pulses of the oscillator signal. That is, the controller 150 generates the refresh command when the first, fifth, ninth pulses are received by the counter 155, and so on, as shown in P2. Since the controller 150 transmits the refresh command to the memory array 120 when generating the refresh command, the memory array 120 receives the refresh command with the refresh rate of f2, and the memory array 120 refreshes with the refresh rate of f2.
Similarly, Assume that the counter 155 receives the oscillator signal of the pulse curve P1, and the refresh rate determined by the controller 150 according to the detected temperature is the refresh rate with a frequency of f4, in which f4 is ½ of f1. P3 is a pulse curve generated by the controller 150 when the determined refresh rate is f4.
To be more detailed, the counter 155 counts the pulse number of the oscillator signal, and the controller 150 generates a refresh command whenever the counter 155 receives two pulses of the oscillator signal. That is, the controller 150 generates the refresh command when the first, third, fifth, seventh, ninth pulses are received by the counter 155, and so on, as shown in P3. Since the controller 150 transmits the refresh command to the memory array 120 when generating the refresh command, the memory array 120 receives the refresh command with the refresh rate of f4, and the memory array 120 refreshes with the refresh rate of f4.
In some embodiments, the oscillator (not shown) may be implemented in the memory device 100.
Reference is made to
S410: detecting a temperature of the memory device;
S430: determining a refresh rate according to the temperature; and
S450: refreshing the memory array by the refresh rate.
For convenience of explanation and understanding, reference is made to
In operation S410, detecting a temperature of the memory device. In some embodiments, the temperature sensor 130 performs operation S410. For example, temperature sensor 130 detects a temperature of the memory device 100. In some embodiments, the temperature sensor 130 transmits the detected temperature to the controller 150 by a digital command. For example, when the detected temperature is lower than 20 Celsius degrees, the temperature sensor 130 transmits a digital command with 0000 to the controller 150.
In operation S430, determining a refresh rate according to the temperature. In some embodiments, the controller 150 performs operation S430. For example, the controller 150 determines a refresh rate according to the detected temperature transmitted from the temperature sensor 130. The determined refresh rate is lower than a refresh rate upper threshold. In some embodiments, the refresh rate upper threshold is the refresh rate determined by the JEDEC spec. In some embodiments, the higher the detected temperature is, the higher the determined refresh rate is. It should be noted that the determined refresh rate in the present disclosure are within the retention of the memory device 100. That is, the determined refresh rate should not be too low.
In some embodiments, after determining the refresh rate, the controller 150 transmits a refresh command by the determined refresh rate to the memory array 120.
In operation S450, refreshing the memory array by the refresh rate. In some embodiments, the controller 150 performs operation S450. For example, if it is determined by the controller 150 that the refresh rate is f1 Hz (Hertz), the controller 150 transmits a refresh command to the memory array 120 every 1/f1 second. Whenever the memory array 120 receives the refresh command, the memory array 120 refreshes.
In some embodiments, operation method 400 further comprises the following operations: receiving an oscillator signal; and generating the refresh command according to a pulse number of the oscillator signal and the refresh rate. For example, the counter 155 receives an oscillator signal and generates the refresh command according to a pulse number of the oscillator signal and the determined refresh rate.
Reference is made to
It should be noted that, any of the determined refresh rate that is lower than the refresh rate determined by the JEDEC spec and is within the retention of the memory array 120 is within the consideration of the present disclosure.
As a result, the refresh rate determined by the controller 150 in the present disclosure may be lower than the refresh rate of the JEDEC SPEC regardless of the temperature. Therefore, the power consumption in the present disclosure becomes lower.
In some embodiments, the controller 150 may be a circuit, a central processing unit, a central processing unit (CPU), a microprocessor (MCU), or other device having the function of storing, calculating, data reading, signal or information receiving, signal or information transmitting, or other equivalent functionality. In some embodiments, the temperature detector 130 may be a circuit or an element having the function of temperature detecting or other equivalent functionality. In some embodiments, the memory array 120 may be a circuit or an element having the function of data storing or other equivalent functionality. In some embodiments, the memory array 120 includes several memory rows and several memory columns for storing data. In some embodiments, the counter 155 may be a circuit or an element having the function of counting, signal or information receiving, signal or information transmitting, or other equivalent functionality. In some embodiments, the memory device 100 may be implemented as a read-only memory, a flash memory, a floppy disk, a hard disk, an optical disk, a flash disk, a tape, a database or a storage medium having the same function that people in the art can easily think of.
Although the present disclosure has been described in considerable detail with reference to certain embodiments thereof, other embodiments are possible. Therefore, the spirit and scope of the appended claims should not be limited to the description of the embodiments contained herein.
In addition, the above illustrations comprise sequential demonstration operations, but the operations need not be performed in the order shown. The execution of the operations in a different order is within the scope of this disclosure. In the spirit and scope of the embodiments of the present disclosure, the operations may be increased, substituted, changed and/or omitted as the case may be.
It will be apparent to those skilled in the art that various modifications and variations can be made to the structure of the present disclosure without departing from the scope or spirit of the present disclosure. In view of the foregoing, it is intended that the present disclosure cover modifications and variations of the present disclosure provided they fall within the scope of the following claims.