Method, device and electronic system for monitoring secondary power equipment
By setting the reference level and real-time monitoring of the capacitor voltage of the secondary power equipment, the problem of data loss in the memory system during the sudden power outage event is solved, and the accurate monitoring and calibration of the status of the secondary power equipment is achieved, reducing the error rate.
Patent Information
- Application Number
- CN201910329968.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2018-08-23
- Filing Date
- 2019-04-23
- Publication Date
- 2024-12-03
- Estimated Expiration
- 2039-04-23
AI Technical Summary
The memory system may cause data loss or incomplete operation during a sudden power outage event, and it is difficult for the prior art to effectively monitor and calibrate the status of secondary power equipment, resulting in misjudgment and errors.
By supplying power from the charging unit to the secondary power equipment, setting the reference parameters using the voltage of the capacitor, and setting the reference level for monitoring the status of the secondary power equipment through the calibration unit and the level setting unit, monitoring the secondary power in real time The status of the device should prevent misjudgment.
Accurate monitoring of the status of secondary power equipment is achieved, errors caused by sample changes or temperature changes are reduced, and data integrity and operational integrity of the memory system in sudden power outage events are ensured.
Smart Images

Figure CN110858495B_ABST
Abstract
Description
[0001] CROSS-REFERENCE TO RELATED APPLICATIONS
[0002] This application claims the benefit of Korean Patent Application No. 10-2018-0098767 filed on August 23, 2018, in the Korean Intellectual Property Office, the disclosure of which is incorporated herein by reference in its entirety. Technical Field
[0003] The inventive concept relates to an electric power device, and more particularly, to a secondary electric power device for secondary power supply, and an electronic system including the secondary electric power device. Background Art
[0004] A memory system including a memory device and a memory controller generally operates by receiving power supplied from an external source. Meanwhile, during the operation of the memory system, a sudden power off (SPO) event may occur in which power is suddenly cut off. The memory controller stores data by using a volatile memory, so the data stored in the volatile memory may be lost, or an ongoing operation (e.g., an erase operation, a write operation, etc.) in the memory device may not be completed when the SPO event occurs. To solve this problem, the memory system may complete the ongoing operation by using a secondary power device and perform a data backup operation. Summary of the invention
[0005] The inventive concept provides a method and an apparatus for monitoring a secondary power device, in which a state of the secondary power device can be accurately checked, and an electronic system including the apparatus.
[0006] According to one aspect of the inventive concept, a method for monitoring a secondary power device is provided, the method comprising: charging the secondary power device including at least one capacitor by supplying power from a charging unit to the secondary power device; setting a first reference parameter by a calibration unit in a first calibration interval by using the voltage of the at least one capacitor; setting a second reference parameter by the calibration unit in a second calibration interval by using the voltage of the at least one capacitor and the first reference parameter; setting a reference level for checking a state of the secondary power device by a level setting unit by using the second reference parameter; and monitoring the state of the secondary power device by using the reference level by a monitoring unit.
[0007] According to another aspect of the inventive concept, a method for monitoring a secondary power device is provided, the method comprising: charging the secondary power device including at least one capacitor by supplying power from a charging unit to the secondary power device; setting a first reference parameter by a calibration unit in a first calibration interval by using the voltage of the at least one capacitor, wherein the voltage fluctuates between a local maximum value and a local minimum value; setting a second reference parameter by the calibration unit in a second calibration interval by using the voltage of the at least one capacitor and the first reference parameter; setting a reference level for checking a state of the secondary power device by a level setting unit by using the second reference parameter, wherein the reference level is set to a range of ±△ about a center value set to the second reference parameter; and monitoring the state of the secondary power device by a monitoring unit by using the reference level, wherein operations from setting the first reference parameter to setting the reference level are repeated at a set time period.
[0008] According to another aspect of the inventive concept, a method for monitoring a secondary power device is provided, the method comprising: charging the secondary power device including at least one capacitor by supplying power from a charging unit to the secondary power device; setting a first reference parameter by a calibration unit in a first calibration interval by using the voltage of the at least one capacitor, wherein the voltage fluctuates between a local maximum value and a local minimum value; setting a second reference parameter by the calibration unit in a second calibration interval by using the voltage of the at least one capacitor and the first reference parameter; setting a reference level for checking the state of the secondary power device, wherein the reference level is set to a range of ±△ about a center value set to the second reference parameter; and monitoring the state of the secondary power device by using the reference level, wherein after setting the second reference parameter, the voltage of the at least one capacitor is used to further set the second reference parameter and set the reference level to calibrate the reference level in real time.
[0009] According to another aspect of the inventive concept, there is provided an apparatus for monitoring a secondary power device, the apparatus comprising: a voltage measuring unit configured to measure a voltage of at least one capacitor of the secondary power device; a calibration unit configured to set a first reference parameter and a second reference parameter by using the voltage of the at least one capacitor; a level setting unit configured to set a reference level for checking a state of the secondary power device by using the second reference parameter; and a monitoring unit comprising a discharge time measuring unit and a determination unit, wherein the discharge time measuring unit is configured to measure a discharge time of the at least one capacitor by using a reference level, and the determination unit is configured to determine the state of the secondary power device by comparing the discharge time with a set reference time.
[0010] According to another aspect of the inventive concept, there is provided an electronic system for monitoring a secondary power device, comprising: a power loss protection (PLP) unit, comprising: a secondary power device including at least one capacitor; and a charging unit configured to supply power to the secondary power device; a main system unit including a controller and at least one memory chip; and a power unit operably connected between the PLP unit and the main system unit, the power unit supplying power to the main system unit, wherein a monitoring device for monitoring the state of the secondary power device is arranged in one of the PLP unit and the main system unit, wherein the monitoring device comprises: a voltage measuring unit configured to measure the voltage of the at least one capacitor; a calibration unit configured to set a first reference parameter and a second reference parameter by using the voltage of the at least one capacitor; a level setting unit configured to set a reference level for checking the state of the secondary power device by using the second reference parameter; and a monitoring unit comprising a discharge time measuring unit and a determination unit, wherein the discharge time measuring unit is configured to measure the discharge time of the at least one capacitor by using a reference level, and the determination unit is configured to determine the state of the secondary power device by comparing the discharge time with a set reference time.
[0011] According to another aspect of the inventive concept, a method for monitoring a secondary power device is provided, comprising: a charging unit charging the secondary power device; in a first interval, measuring a capacitor voltage of the secondary power device; detecting a first local minimum and a first local maximum of the capacitor voltage measured in the first interval; setting a first reference parameter based on the detected local minimum and local maximum; in a second interval, measuring the capacitor voltage of the secondary power device; setting a second reference parameter based on the value of the capacitor voltage measured in the second interval and the first reference parameter; setting a reference level to a range centered on the voltage set to the second reference parameter; in a third interval, measuring the capacitor voltage of the secondary power device; measuring a discharge time of the capacitor voltage in the third interval by using the capacitor voltage measured in the third interval and the reference level; and comparing the discharge time with the set reference time to determine whether the secondary power device is operating abnormally. BRIEF DESCRIPTION OF THE DRAWINGS
[0012] Embodiments of the inventive concept will be more clearly understood through the following detailed description in conjunction with the accompanying drawings.
[0013] Figure 1 is a schematic flow chart of an embodiment of a method for monitoring a secondary power device.
[0014] Figure 2 It is shown Figure 1 FIG. 1 is a diagram of a detailed process of a monitoring method of a secondary power device.
[0015] Figure 3 is Figure 1 A detailed flow chart of the operation of setting a first reference parameter in a monitoring method of a secondary power device.
[0016] Figure 4 is Figure 1 A detailed flow chart of the operation of setting a second reference parameter in a monitoring method of a secondary power device.
[0017] Figure 5A and 5B is used to describe Figure 1 A detailed diagram of an operation of setting a reference level in a monitoring method of a secondary power device.
[0018] Fig. 6A and 6B is Figure 1 A detailed flowchart of the operation of monitoring a secondary power device in a monitoring method of a secondary power device.
[0019] Figure 7 It is surveillance Figure 6B Detailed diagram of the operation of the secondary power equipment.
[0020] Figure 8 and Fig. 9 is a schematic flow chart of an embodiment of a method for monitoring a secondary power device.
[0021] Fig.10 It is a schematic structural block diagram of an embodiment of a monitoring device for secondary power equipment.
[0022] Fig.11A and 11B yes Fig.10 Detailed circuit diagram of the DC-DC converter portion of the charging unit of the secondary power equipment monitoring device.
[0023] Fig. 12A and 12B yes Fig.10 A structural block diagram of a location where a monitoring device is arranged in an electronic system including a secondary power device.
[0024] Fig.13 is a schematic structural block diagram of an embodiment of an electronic system including a monitoring device for a secondary power device.
[0025] Fig.14A and 14B yes Fig.13 Conceptual diagram of power supply processing in an electronic system. DETAILED DESCRIPTION
[0026] Hereinafter, the embodiments will be described in detail with reference to the accompanying drawings. In the accompanying drawings, the same elements are marked with the same reference numerals, and their repeated description will be omitted.
[0027] Figure 1 FIG. 1 is a schematic flow chart of an embodiment of a method for monitoring a secondary power device. Figure 1 The description will also refer to Fig.10 .
[0028] refer to Figure 1 According to the monitoring method of the secondary power device of the present embodiment, first, the secondary power device 200 (see Fig.10 ) is charged (S110). The secondary power device 200 may include at least two capacitors 210, and the capacitors are connected using at least one of a series connection method, a series and parallel connection method, and a parallel connection method. The charging unit 300 may include, for example, a DC-DC converter. Fig.11A and 11B The DC-DC converter is described in more detail. Charging may refer to charging the capacitor 210 in the secondary power device 200. In addition, charging may indicate periodically and repeatedly charging the secondary power device 200 by using the charging unit 300. In addition, charging may continue until the method of monitoring the secondary power device 200 ends.
[0029] Next, the first reference parameter Par1 is set by using the voltage of the capacitor 210 of the secondary power device 200 (see Figure 2 Par1) (S120). The voltage of the capacitor 210 can be measured using the voltage measuring unit 110. Thus, the first reference parameter Par1 can be set using the voltage of the capacitor 210 obtained by using the voltage measuring unit 110. At the same time, not all voltages of the capacitor 210 measured using the voltage measuring unit 110 are stored, but only a certain voltage can be stored. For example, in a certain section or time interval, only the maximum value and / or the minimum value can be stored from the measured voltage of the capacitor 210 via comparison logic. Comparison logic may refer to logic by which two values are compared to calculate a higher value or a lower value as a result value, wherein a newly input value is continuously compared with the result value to calculate the maximum value or the minimum value in the relevant section or interval. The first reference parameter Par1 can be set to the average value of the maximum value and the minimum value in the voltage of the capacitor 210 measured in the section or interval. This will be referred to later. Figure 2 and 3 The operation of setting the first reference parameter Par 1 is described in more detail.
[0030] Next, the second reference parameter Par2 is set by using the voltage of the capacitor 210 of the charging unit 300 and the first reference parameter Par1 (see Figure 2)(S130). The method of setting the second reference parameter Par2 described briefly is performed as follows: First, the voltage of the capacitor 210 of each section or interval is measured, and here, the local maximum value and the local minimum value of the voltage of the capacitor 210 of each section or interval are detected. Next, a first average value and a second average value are calculated, the first average value is the average value of the local maximum value, and the second average value is the average value of the local minimum value, and the average value of the first average value and the second average value is set as the second reference parameter Par2. Figure 2 and 4 The operation of setting the second reference parameter Par2 is described in more detail.
[0031] After the second reference parameter Par2 is set, the reference level RL (see Figure 2 )(S140). The reference level RL may be set to, for example, a range of ±△ relative to the second reference parameter Par2. In other words, the reference level RL may be set to a range from "second reference parameter Par2-△" to "second reference parameter Par2+△". △ may be set to a fixed value. In addition, △ may be set to be proportional to a specific value. Figure 5A and 5B The setting of the reference level RL is described in more detail.
[0032] After setting the reference level RL, the secondary power device 200 is monitored in real time by using the reference level RL (S150). Monitoring may refer to an operation of determining whether the secondary power device 200 is in a normal state or in an abnormal state by using the voltage of the capacitor 210 of the secondary power device 200. For example, the discharge time for the voltage of the capacitor 210 of the secondary power device 200 to drop to within the reference level RL may be measured, and then the state of the secondary power device 200 may be determined by comparing the discharge time with the reference time. As a specific example, when the discharge time of the capacitor 210 is equal to the reference time within a set error range, it may be determined that the secondary power device 200 is in a normal state; and when the discharge time of the capacitor 210 is not equal to the reference time within a set error range, it may be determined that the secondary power device 200 is in an abnormal state. Figures 6A to 7 The monitoring of the secondary power device 200 is described in more detail.
[0033] According to an embodiment of the monitoring method of a secondary power device, the first and second reference parameters Par1 and Par2 can be set by using the actual voltage of the capacitor 210 of the secondary power device 200, and the reference level as the detection level for checking the state of the secondary power device 200 can also be set by using the second reference parameter Par2. In other words, according to an embodiment of the monitoring method of a secondary power device, the reference level for checking the state of the secondary power device 200 is automatically set according to the environment of the device (e.g., the environment or operating temperature), thereby preventing an error in checking the state of the secondary power device 200, which may occur due to an error in the charging voltage or the discharging voltage according to the sample variation based on the environment of the device. In addition, by monitoring the secondary power device 200 in real time using a reference level that is continuously calibrated in real time, the error rate can be minimized compared to a method according to the prior art in which sample data extracted at a specific time is used.
[0034] For reference, in a typical monitoring method of a secondary power device according to the prior art, a sample of a section relative to the capacitor voltage is extracted, and a fixed detection level is used, and here errors may occur due to sample variations when checking the state of the secondary power device. For example, it can generally be assumed that the voltage of the capacitor of the secondary power device fluctuates between about 20.6V and about 20.0V according to the charging operation of the charging unit. In addition, it is assumed that the detection level is between about 20.5V and about 20.1V. When the sample variation is about ±5%, the maximum capacitor voltage may fluctuate between about 21.53V and about 21V. The minimum capacitor voltage may fluctuate between about 19.57V and about 19.0V. Therefore, when the detection level is maintained between about 20.5V and about 20.1V, the capacitor voltage may be outside the detection level, making it impossible to check the state of the secondary power device. In other words, in order to check the state of the secondary power device, the discharge time for the capacitor voltage to drop to a detection level of approximately 20.5V to approximately 20.1V is measured, and when the capacitor voltage fluctuates within a range outside the detection level, it is impossible to measure the discharge time at all, and thus, the state of the secondary power device may not be correctly checked.
[0035] Sample variations may occur due to, for example, errors in the circuit of the charging unit itself or interference caused by peripheral circuits. The higher the voltage, the greater the sample variation. At the same time, secondary power devices generally involve sample variations, and such sample variations may cause the secondary power device to be determined to be in an abnormal state or may even make it impossible to determine its state, and thus may be a serious problem in the monitoring method of the secondary power device. In addition, the capacitor voltage may also change not only due to sample variations but also due to temperature changes caused by the operation of the device or changes in the ambient temperature, and when a fixed detection level is also applied in these cases, errors may occur when checking the state of the secondary power device.
[0036] However, according to the monitoring method of the secondary power device 200, the reference level for checking the state of the secondary power device is automatically set through the above-mentioned processing, and the reference level is used to check the state of the secondary power device 200, thereby preventing errors in the state check of the secondary power device 200 that may occur due to sample variation or temperature change. In addition, as the reference level is continuously calibrated in real time, the secondary power device 200 is monitored in real time, and the error rate of the state check of the secondary power device 200 can be minimized accordingly.
[0037] Figure 2 It is shown Figure 1 FIG. 1 is a diagram of a detailed process of a monitoring method of a secondary power device. Figure 3 is Figure 1 A detailed flow chart of the operation of setting a first reference parameter in a monitoring method of a secondary power device. Figure 4 is Figure 1 A detailed flow chart of the operation of setting the second reference parameter in the monitoring method of the secondary power device of FIG. Fig.10 .
[0038] refer to Figure 2 and 3 , when the power is turned on (P-On), the capacitor 210 of the secondary power device 200 may be charged. Next, charging is performed until a set level, and after a certain period of time is delayed from the start time t0 of receiving the full charge signal, a first reference parameter Par1 may be set in a first calibration section or interval (first calibration) from time t1 to a second time t2.
[0039] The voltage of the capacitor 210 may have a ripple shape, as shown by the charging operation of the charging unit 300. In other words, the voltage of the capacitor 210 may be charged to a certain voltage via the charging of the charging unit 300, and then the voltage is reduced via natural discharge to be reduced to below a certain voltage, and here the voltage of the capacitor 210 is charged again by the charging unit 300. In this way, the voltage of the capacitor 210 may have a ripple shape. The first calibration section or interval (first calibration) may be set to include several to several tens of voltage ripples of the capacitor 210.
[0040] The first reference parameter Par1 can be set through the following process.
[0041] The voltage measuring unit 110 repeatedly or continuously measures the voltage of the capacitor 210, and detects the maximum value Max of the voltage of the capacitor 210 in the first calibration section or interval (first calibration) via comparison logic. Moreover, the voltage measuring unit 110 detects the minimum value Min of the voltage of the capacitor in the first calibration section or interval (first calibration) via comparison logic (S124). The multiple ripples may include multiple local maxima and multiple local minima. The local maximum and the local minimum may indicate the maximum voltage and the minimum voltage in one ripple, respectively. Therefore, the maximum value Max may be the maximum value among multiple local maxima, and the minimum value Min may be the minimum value among multiple local minima. The operation of detecting the maximum value (S122) and the operation of detecting the minimum value (S124) may be performed in any order. In addition, the operation of detecting the maximum value (S122) and the operation of detecting the minimum value (S124) may be performed in combination.
[0042] Next, the average value of the maximum value Max and the minimum value Min is set as the first reference parameter Par1 (S126). Figure 2 In a first calibration section or interval (first calibration), the dotted line centerline may correspond to a first reference parameter Par1. The first reference parameter Par1 may be set to extract local maxima and local minima in a next, second calibration section or interval (second calibration).
[0043] refer to Figure 2 and 4 , after setting the first reference parameter Par1, the second reference parameter Par2 may be set in a second calibration section or interval (second calibration) from the second time t2 to the third time t3. The second calibration section or interval (second calibration) may be set to several to several tens of voltage ripples of the capacitor 210 included in the second calibration section or interval (second calibration). According to one embodiment, there may be a delay time between the first calibration section or interval (first calibration) and the second calibration section or interval (second calibration).
[0044] The second reference parameter Par2 can be set through the following process.
[0045] By using the first reference parameter Par1, the voltage of the capacitor 210 in the second calibration section or interval (second calibration) is classified as a high state or a low state (S132). In other words, the section or interval where the voltage is equal to or higher than the first reference parameter Par1 is set as a high state section or interval, and the section or interval where the voltage is less than the first reference parameter Par1 is set as a low state section or interval. Based on the first reference parameter Par1, the second calibration section or interval (second calibration) can be classified into a plurality of high state sections or intervals and a plurality of low state sections or intervals by this classification.
[0046] Next, a first local maximum value of a high state segment or interval may be detected, and a first average value Max Points AVG as an average value of the first local maximum values may be calculated (S134). Each first local maximum value may be detected by applying comparison logic to the voltage measurement of each high state segment or interval. In addition, a first local minimum value of a low state segment or interval may be detected, and a second average value Min Points AVG as an average value of the first local minimum values may be calculated (S136). Each first local minimum value may be detected by applying comparison logic to the voltage measurement of each low state segment or interval. Figure 2 In a second calibration segment or interval (second calibration), the thin upper elliptic curve may cover the area of the first local maximum and the thin lower elliptic curve may cover the area of the first local minimum.
[0047] The operation (S134) of calculating the first average value Max Points AVG and the operation (S136) of calculating the second average value Min Points AVG may be performed in any order. In addition, the operation (S132) of classifying the segments or intervals into high-state intervals and low-state intervals, the operation (S134) of calculating the first average value, and the operation (S136) of calculating the second average value may be performed in combination. For example, the voltage of the capacitor 210 measured using the voltage measuring unit 110 may be classified into a high-state segment or interval, or a low-state segment or interval by comparing it with the first reference parameter Par1, and the local maximum value or the local minimum value in each high-state segment or interval and each low-state segment or interval may also be detected by comparison logic.
[0048] Next, the average value of the first average value Max Points AVG and the second average value Min Points AVG is set as the second reference parameter Par2 (S138). Figure 2In a second calibration section or interval (second calibration), the point-line centerline may correspond to a second reference parameter Par2.
[0049] After setting the second reference parameter Par2, in the reference level setting and monitoring section or interval (RL setting and monitoring) after the third time t3, the setting of the reference level RL and the monitoring of the secondary power device 200 may be performed. The reference level RL may be set by using the second reference parameter Par2. For example, the reference level RL may be set to a range of ±△, where the second reference parameter Par2 is the center value. Figure 5A and 5B The setting of the reference level RL is described in more detail.
[0050] The monitoring of the secondary power device 200 may be performed by measuring the discharge time DCHt of the capacitor 210 using the reference level RL and determining whether the secondary power device 200 is in a normal state by comparing the discharge time DCHt with the reference time Rt. Figures 6A to 7 Describe monitoring in more detail.
[0051] Figure 5A and 5B is used to describe Figure 1 A detailed diagram of an operation of setting a reference level in a monitoring method of a secondary power device.
[0052] refer to Figure 5A , the reference level RL1 can be set within the range of ±△1, where the second reference parameter Par2 is the center value. That is, the reference level RL1 can be set within the range from "Par2-△1" to "Par2+△1". Here, △1 can be a fixed value. Since △1 is a fixed value, the reference level RL1 can have a uniform height regardless of the ripple height of the voltage of the capacitor 210. Here, the ripple size can be defined as, for example, the difference between the first average value and the second average value. For example, it can be assumed that the voltage of the capacitor 210 has a center value of 25V corresponding to the second reference parameter Par2, and the ripple size is 1V, and △1 is set to a fixed value of 0.3V. The reference level RL1 can be set to a range of 25±0.3V. On the other hand, it can be assumed that the voltage of the capacitor 210 has a center value of 25V corresponding to the second reference parameter Par2 and the ripple size is 2V. Then, △1 is fixed to 0.3V, so the reference level RL1 can still be set to a range of 25±0.3V.
[0053] refer to Figure 5B, the reference level RL2 can be set to a range of ±△2, where the second reference parameter Par2 is the center value. △2 can be a value that varies in proportion to a specific value. For example, △2 can be set to a percentage (%) relative to the difference between the first average value and the second average value (i.e., relative to the ripple size) described above.
[0054] For example, it can be assumed that the voltage of the capacitor 210 has a center value of 25V corresponding to the second reference parameter Par2 of 25V and a ripple size of 1V, and Δ2 is set to a change value of 30% of the ripple size. Δ2 can be 0.3V, and the reference level RL2 can be set in the range of 25±0.3V. At the same time, it can be assumed that the voltage of the capacitor 210 has a center value of 25V corresponding to the second reference parameter Par2 and a ripple size of 2V. Then, Δ2 is 0.6V, so the reference level RL2 can be set in the range of 25±0.6V.
[0055] Fig. 6A and 6B is Figure 1 A detailed flowchart of the operation of monitoring a secondary power device in a monitoring method of a secondary power device. Figure 7 It is surveillance Figure 6B For better understanding, refer to the detailed diagram of the operation of the secondary power equipment. Figure 2 and 10 .
[0056] refer to Fig. 6A First, the discharge time DCHt of the capacitor 210 is measured by using the reference level RL (S151). The discharge time DCHt of the capacitor 210 may refer to the time from the voltage of the capacitor 210 to the high voltage V of the reference level RL. H Drops to a low voltage V L The reference level RL high voltage V H Can correspond to the "second reference parameter Par2+△", and the low voltage V L It can correspond to the “second reference parameter Par2-△”.
[0057] Next, it is determined whether the discharge time DCHt of the capacitor 210 is equal to the reference time Rt within the set error range (S153). The mark "≒" may indicate that the discharge time DCHt of the capacitor 210 is equal to the reference time Rt within the set error range. For example, when the set error range is ±5% and the difference between the discharge time DCHt of the capacitor 210 and the reference time Rt is within ±5%, it may be determined that the discharge time DCHt of the capacitor 210 is equal to the reference time Rt within the set error range; when the difference between the discharge time DCHt of the capacitor 210 and the reference time Rt exceeds ±5%, the discharge time DCHt of the capacitor 210 and the reference time Rt may be determined to be unequal. In detail, for example, when the reference time is 3 ms and the discharge time DCHt of the capacitor 210 is within a range of about 2.85 ms to about 3.15 ms, the discharge time DCHt of the capacitor 210 and the reference time Rt may be determined to be equal; when the discharge time DCHt of the capacitor 210 is outside the range of 2.85 ms to 3.15 ms, the discharge time DCHt of the capacitor 210 and the reference time Rt may be determined to be unequal. The set range is not limited to ±5%. For example, when accurate determination is required, the set range may be set to less than ±5%.
[0058] When the discharge time DCHt of the capacitor 210 and the reference time Rt are equal within the set error range (Yes), it is determined that the secondary power device 200 is in a normal state (S155).
[0059] When the discharge time DCHt of the capacitor 210 and the reference time Rt are not equal within the set error range (No), it is determined that the secondary power device 200 is in an abnormal state (S157). Next, an alarm message or a warning signal is sent to warn of the abnormal state of the secondary power device 200, and the cause of the abnormal state is analyzed (S159). According to one embodiment, the operation of warning and cause analysis (S159) may include an operation of calibrating the charging unit 300 to maintain the secondary power device 200 in a normal state as much as possible, or an operation of repairing or replacing the secondary power device 200.
[0060] refer to Figure 6B and 7 First, the discharge time DCHt of the plurality of capacitors 210 is measured by using the reference level RL (S151a). Figure 7 As shown in , the discharge time DCHt of the capacitor 210 can be continuously measured with respect to each voltage ripple of the capacitor 210. However, according to one embodiment, the discharge time DCHt of the capacitor 210 can also be intermittently measured with respect to the ripple of the capacitor 210. Figure 7In FIG. 1 , ten discharge times DCHt of the capacitor 210 are measured, but the number of the measured discharge times DCHt is not limited thereto.
[0061] Next, an average discharge time ADCHt is calculated relative to a plurality of discharge times DCHt of the capacitor 210 (S152). In addition, it is determined whether the calculated average discharge time ADCHt is equal to the reference time Rt within a set error range (S153a). It is determined whether the calculated average discharge time ADCHt is equal to the reference time Rt within a set error range as shown in the reference Fig. 6A In addition, the operations (S155), (S157) and (S159) after determining (S153a) are the same as those in the reference Fig. 6A The operations are the same as those described in the embodiments.
[0062] For reference, when a plurality of discharge times DCHt of the capacitor 210 are used in monitoring the secondary power device 200, the accuracy of checking the state of the secondary power device 200 can be increased. For example, even if the secondary power device 200 is in a normal state, some factors may cause the voltage form of the capacitor 210 to be abnormal in a certain section or interval, and thus, the discharge time DCHt of the capacitor 210 may also appear abnormal. When the discharge time DCHt of the capacitor 210 is measured for the above-mentioned section or interval by chance and used to check the state of the secondary power device 200, an error may occur in which the secondary power device 200 is indicated as abnormal although the secondary power device 200 is in a normal state. On the other hand, when several discharge times DCHt of the capacitor 210 are measured and the average discharge time ADCHt thereof is used to monitor the secondary power device 200, errors in the state check of the secondary power device 200 can be significantly reduced.
[0063] Figure 8 and 9 is a schematic flow chart of an embodiment of a method for monitoring a secondary power device. Fig.10 Describe the monitoring method, which is described above Figures 1 to 7 provided, and therefore will be briefly provided or omitted here.
[0064] refer to Figure 8 In the present embodiment of the monitoring method of the secondary power device, as mentioned above with reference to Figure 1 The operations from operation S110 of charging the secondary power device to operation S150 of monitoring the secondary power device are performed as described. The description of each operation is as described above with reference to Figure 1 provided in the description.
[0065] Next, it is determined whether to continue monitoring (S160). When monitoring is stopped (No), the monitoring method of the secondary power device is terminated.
[0066] When monitoring is continued (Yes), it is determined whether the set time period has passed (S170). When the set time period has passed (Yes), the operation S120 of setting the first reference parameter is performed again. According to one embodiment, the method may proceed to the operation S110 of charging the secondary power device.
[0067] When the set time period has not passed (No), the operation S150 of monitoring the secondary power device is performed. By periodically resetting the first and second reference parameters Par1 and Par2 again and then resetting the reference level RL according to the reset first and second parameters Par1 and Par2, the reliability of monitoring the secondary power device can be increased.
[0068] refer to Fig. 9 According to the present embodiment of the monitoring method of the secondary power device, as mentioned above with reference to Figure 1 The operations from operation S110 of charging the secondary power device to operation S150 of monitoring the secondary power device are performed as described. The description of each operation is as described above with reference to Figure 1 provided in the description.
[0069] Next, it is determined whether to continue monitoring (S160). When monitoring is stopped (No), the monitoring method of the secondary power device is terminated.
[0070] When monitoring is continued (Yes), the voltage of the capacitor 210 is detected (S180). Next, the method proceeds to operation S130 of setting the second reference parameter Par2 again. Meanwhile, in operation S130 of resetting the second reference parameter, the second reference parameter Par2 may be set using the newly detected voltage.
[0071] According to the monitoring method of the secondary power device of the present embodiment, after setting the reference level RL, since the measured voltage of the capacitor 210 is used to reset the second reference parameter Par2 and the reference level RL is reset according to the second reference parameter Par2, the reference level RL can be calibrated in real time based on the voltage of the capacitor 210, and the reference level RL can be used to check the state of the secondary power device 200. Therefore, according to the monitoring method of the secondary power device of the present embodiment, the accuracy of checking the state of the secondary power device 200 can be further increased.
[0072] Fig.10 It is a schematic structural block diagram of an embodiment of a monitoring device for secondary power equipment.
[0073] refer to Fig.10The monitoring device 100 of the secondary power device according to the present embodiment (hereinafter referred to as “monitoring device”) may include a voltage measuring unit 110, a calibration unit 130, a level setting unit 150, and a monitoring unit 170. The monitoring device 100 may perform monitoring to check the state of the secondary power device 200.
[0074] Before describing the monitoring apparatus 100 , the secondary power device 200 and the charging unit 300 to be monitored will be described.
[0075] When a sudden power outage (SPO) occurs, in which an external power source for supplying power to an electronic system (e.g., a memory system) is interrupted, the secondary power device 200 supplies the electronic system (e.g., a memory system) with energy accumulated in the secondary power device 200 to allow ongoing operations to be completed and data to be backed up. However, when a defect is caused in the secondary power device 200, the rated power level is not supplied to the memory system in the case of SPO, and thus, serious data loss may be caused in the memory system. Therefore, in order to prevent data loss in the memory system in the case of SPO, the secondary power device 200 is monitored periodically or in real time to check the status of the secondary power device 200, and when a defect is present, the secondary power device 200 may have to be repaired or replaced. Fig.10 As shown in , the secondary power device 200 may include at least two capacitors 210 connected in parallel to each other. However, the secondary power device 200 is not limited to the parallel structure of the capacitors 210, and the capacitors 210 of the secondary power device 200 may also be arranged in a series structure or a series-parallel structure.
[0076] The charging unit 300 may supply power to the secondary power device 200 to charge the capacitor 210. When charge is accumulated in the capacitor 210 via charging through the charging unit 300 and thus the voltage of the capacitor 210 reaches a set high voltage, the charging by the charging unit 300 stops. When the charging stops, natural discharge occurs in which charge leaks from the capacitor 210 little by little, and thus the voltage of the capacitor 210 gradually decreases. The voltage of the capacitor 210 continues to decrease until it reaches the set low voltage, and then the charging operation of the charging unit 300 is restarted, and charging in the capacitor 210 of the secondary power device 200 is performed again.
[0077] The charging operation of the charging unit 300 is repeatedly performed during a certain period when the secondary power device 200 is in a normal state, and thus, the voltage of the capacitor 210 may have a form that fluctuates between a high voltage and a low voltage. However, when the secondary power device 200 is in an abnormal state, for example, when a defect such as a short circuit or an open circuit occurs in some of the capacitors 210 of the secondary power device 200, the voltage of the capacitor 210 has a form different from that when the capacitor 210 is in a normal state.
[0078] In detail, for example, when the capacitor 210 is in a normal state, the voltage of the capacitor 210 may periodically alternate between a high voltage and a low voltage between a discharge time T1 and a charge time T2. When an open circuit defect occurs in the capacitor 210 as an abnormal state, the natural discharge may be slowed down and the discharge time may be longer than the discharge time T1. However, depending on the situation, when an open circuit defect occurs in the capacitor 210, the discharge time may be shorter than the discharge time T1. At the same time, when a short circuit defect occurs in the capacitor 210 as an abnormal state, the charge of the capacitor 210 may be discharged quickly, and the discharge time may be much shorter than the discharge time T1. When a short circuit defect occurs, the charge is not accumulated in the capacitor 210, so the voltage of the capacitor 210 decreases continuously and eventually drops to the ground state.
[0079] Thus, by measuring the discharge time of the capacitor 210 of the secondary power device 200 and analyzing it, the state of the secondary power device 200 can be determined. At the same time, the charging operation of the secondary power device 200 in the charging unit 300 is performed by using a DC-DC converter, and this will refer to Fig.11A and 11B Describe in more detail.
[0080] The voltage measuring unit 110 can measure the voltage of the capacitor 210 of the secondary power device 200. Due to limited memory capacity, not all measurements of the voltage of the capacitor 210 measured using the voltage measuring unit 110 are stored and processed, but only those voltages corresponding to certain conditions are stored and processed. For example, as described above with respect to the monitoring method of the secondary power device 200, the maximum and minimum values of the voltage of the capacitor 210 can be detected in a first calibration section or interval (first calibration) via comparison logic, and the local maximum and local minimum values of the voltage of the capacitor 210 can be detected in a second calibration section or interval (second calibration). In the reference level setting and monitoring section or interval (RL setting and monitoring), the voltage of the capacitor 210 can be used to detect the discharge time DCHt by comparing the voltage of the capacitor 210 with the reference level RL. In addition, the voltage of the capacitor 210 in the reference level setting and monitoring section (RL setting and monitoring) can be used to newly set the second reference parameter Par2, as described above with reference to Fig. 9 The monitoring method of the secondary power device 200 is described.
[0081] The calibration unit 130 may set the first reference parameter Par1 and the second reference parameter Par2 based on the voltage of the capacitor 210 of the secondary power device 200 detected using the voltage measuring unit 110. The method of setting the first reference parameter Par1 and the second reference parameter Par2 is as described in reference to Figures 2 to 4 As described in the description.
[0082] The level setting unit 150 may set a reference level RL for checking the state of the secondary power device 200 by using the second reference parameter Par2, wherein the second reference parameter Par2 is set using the calibration unit 130. The method of setting the reference level RL is as follows: Figure 5A and 5B As described in the description.
[0083] The monitoring unit 170 may check the state of the secondary power device 200 by detecting the discharge time of the capacitor 210 of the secondary power device 200 using the reference level RL which is set using the level setting unit 150. The monitoring unit 170 may include a discharge time detection unit 172 (DCHt MU) and a determination unit 174 (DET).
[0084] The discharge time detection unit 172 can detect the discharge time DCHt of the capacitor 210 of the secondary power device 200 by using the reference level RL. For example, the discharge time detection unit 172 can detect the discharge time DCHt during which the voltage of the capacitor 210 decreases from the high voltage V of the reference level RL to the low voltage V of the capacitor 210. H Discharge to low voltage V L The determination unit 174 may determine the state of the secondary power device 200 by comparing the discharge time DCHt with the reference time Rt. The detection of the discharge time and the checking of the state of the secondary power device 200 performed by the monitoring unit 170 are as described above with reference to FIG. 6A to FIG. 7 As described in the description.
[0085] The monitoring device 100 according to the present embodiment automatically sets the reference level for checking the state of the secondary power device 200 according to the above-mentioned process, and can use the reference level to check the state of the secondary power device 200, thereby preventing errors in checking the state of the secondary power device 200 that may occur due to sample variation or temperature change. In addition, when the reference level is continuously calibrated in real time, the secondary power device 200 is monitored in real time, thereby minimizing the error rate of checking the state of the secondary power device 200.
[0086] Fig.11A and11B yes Fig.10 Detailed circuit diagram of a DC-DC converter portion of a charging unit 300 of a monitoring apparatus 100 for a secondary power device 200.
[0087] refer to Fig.11A and 11B In the monitoring apparatus 100 according to the present embodiment, the charging unit 300 that charges the secondary power device 200 may include a DC-DC converter. However, the charging unit 300 is not limited to the DC-DC converter. For example, a buffer circuit including a switching element may also be used as the charging unit 300.
[0088] DC-DC converters are generally classified as either boost converters or buck converters. A boost converter boosts an input DC voltage level and outputs DC power having a boosted DC voltage level greater than the input DC voltage level, while a buck converter decreases an input DC voltage level and outputs DC power having a DC voltage level less than the input DC voltage level. Fig.11A As shown in FIG. 1 , the charging unit 300 may include a buck converter 300 a, and the buck converter 300 a may include a switch 310, an inductor 320, a diode 330, and a capacitor 340. For reference, the capacitor 340 may be included in the buck converter 300 a, as shown in FIG. Fig.11A However, the capacitor 340 may also be regarded as a part of the secondary power device 200 to be charged.
[0089] An example operation of the buck converter 300b will be briefly described. Fig.11A When the diode 330 is closed as shown in the upper part of , current is applied from the power supply 301 to the inductor 320, thereby increasing the current flowing through the inductor 320 and accumulating energy in the inductor 320 accordingly. The energy is transferred to the output terminal to increase the output voltage Vo, that is, the voltage of the capacitor 340. Here, the diode 330 is reverse biased, so no current flows to the diode 330. Next, as Fig.11A As shown in the lower part of , when the switch 310 is opened, a closed circuit is formed via the inductor 320, the diode 330 and the capacitor 340. Here, the current flowing through the inductor 320 gradually decreases through the closed circuit, and thus, the output voltage Vo (i.e., the voltage of the capacitor 340) decreases. This may correspond to the natural discharge of the capacitor 340. At the same time, the average voltage of the output voltage Vo may be controlled based on the ratio of the time when the switch 310 is closed and opened. In addition, the maximum output voltage may be achieved when the switch 310 is closed, and the output voltage level may always be equal to or less than the input voltage level from the power supply 301. The switch 310 may be formed by a field effect transistor (FET) that is easy to control. When describing Fig. 11BWhen the buck converter 300b is described in detail, the control of the switch 310 will be described in further detail.
[0090] like Fig. 11B As shown in FIG. 1 , the buck converter 300 b may include a pair of switches 310 a and 310 b, an inductor 320, and a capacitor 340. The switches 310 a and 310 b may both be n-type FETs, such as Fig. 11B For example, the pair of switches 310a and 310b may be an N-type FET and a P-type FET, respectively, and when the switches 310a and 310b are in this combination, a completely identical pulse width modulation (PWM) signal may be input to each of the switches 310a and 310b.
[0091] The operation of the buck converter 300b will be briefly described. The buck converter 300b can be operated in two different modes based on the on / off state of the switches 310a and 310b. For example, the first mode is an operation mode in which the first switch 310a is turned on and the second switch 310b is turned off, and when a current is applied from the power supply 301 to the inductor 320, more current flows through the inductor 320, so that energy is accumulated in the inductor 320, and the energy is transferred to the output terminal, thereby increasing the output voltage Vo, that is, the voltage of the capacitor 340. The second mode is an operation mode in which the first switch 310a is turned off and the second mode switch 310b is turned on, and a closed circuit is formed via the inductor 320 and the capacitor 340. The current flowing through the inductor 320 flows through the closed circuit, gradually decreasing until the first switch 310a is turned on in the next cycle. Therefore, the output voltage Vo decreases.
[0092] Based on this principle, the controller 400a senses the output voltage Vo, and when the output voltage Vo is relatively low, the on-period of the first switch 310a may be increased and the on-period of the second switch 310b may be reduced, thereby increasing the output voltage Vo. In addition, when the output voltage Vo is high, the on-period of the first switch 310a may be reduced, and the on-period of the second switch 310b may be increased, thereby reducing the output voltage Vo. For example, when the controller 400a adjusts the duty cycle of the PWM signal output to each of the first switch 310a and the second switch 310b based on the output voltage Vo, a voltage within a certain range may be maintained in the capacitor 340.
[0093] Fig. 12A and 12B yes Fig.10 A structural block diagram of a location where a monitoring apparatus 100 is arranged in an electronic system including a secondary power device.
[0094] refer to Fig. 12A, the monitoring device 100 according to the present embodiment can be integrated in a main system integrated circuit (IC) 500 or a main system block together with a controller 400. The secondary power device 200 and the charging unit 300 can be arranged in a power loss protection (PLP) IC 700 or a PLP block. Since the monitoring device 100 is arranged in the main system IC 500, the state of the secondary power device 200 can be monitored, and information about the state of the secondary power device 200 can be immediately transmitted to the controller 400. Thus, the control of the charging unit 300 via the controller 400 can be quickly performed.
[0095] Here, the controller 400 may control the charging unit 300 based on the result received from the monitoring device 100. For example, in the case where a defect is caused in the secondary power device 200, the control of the charging unit 300 may include modifying the charging condition of the charging unit 300 to maintain the secondary power device 200 in a normal state as much as possible. In addition, when a defect occurs in the secondary power device 200, the controller 400 may modify the memory write operation mode in the electronic system to which power is to be supplied (for example, in the memory system), and allow data to be stored in the main memory in real time. For example, when a defect is caused in the secondary power device 200, the controller 400 may modify the write-back mode to the write-through mode of the memory system.
[0096] For reference, the memory write operation mode may include a write-back mode and a write-through mode. In the write-back mode, the data is first recorded to the cache, and the data stored in the cache is recorded to the main memory only when necessary, that is, the data is recorded in the background operation by using the CPU wait state time of the CPU. In the write-through mode, the data write operation is performed simultaneously and in parallel in the cache and the main memory, and the write-through mode may indicate a mode in which the data write operation is performed immediately and instantaneously rather than during idle time. In the write-through mode, when a data read operation is required on the cache during a write operation on the cache, the write operation and the read operation are performed as simultaneous operations. On the other hand, in the write-back mode, when a read operation is required during a write operation, the write operation is interrupted, and the write operation is resumed after the read operation is completed.
[0097] When the secondary power device 200 is in a normal state, a write-back mode with high efficiency can usually be used. However, when the secondary power device 200 is in an abnormal state, data loss may be caused in the write-back mode. Therefore, the controller 400 can change the memory write operation mode to the write-through mode to minimize data loss.
[0098] Furthermore, when a defect is caused in the secondary power device 200 , the controller 400 may generate, for example, a warning signal to notify the user so that the user should repair or replace the secondary power device 200 .
[0099] refer to Fig. 12B , the monitoring device 100 according to the present embodiment may be arranged in the PLP IC 700a together with the charging unit 300. When the monitoring device 100 is arranged in the PLP IC 700a, the PLP IC 700a may further include an event generating unit 450. In more detail, when the monitoring device 100 is arranged in the PLP IC 700a and monitors the state of the secondary power device 200, the information about the state of the secondary power device 200 obtained by using the monitoring device 100 will be sent to the controller 400 in the main system IC 500a. Thus, the event generating unit 450 may be arranged in the PLP IC 700a. The event generating unit 450 may send the information about the state of the secondary power device 200 as an event signal such as an interrupt signal to the controller 400 of the main system IC 500a. For example, when a defect is caused in the secondary power device 200 while the event generation unit 450 periodically transmits a high signal to the controller 400 , the event generation unit 450 transmits a low signal to the controller 400 , thereby transmitting information about the state of the secondary power device 200 to the controller 400 .
[0100] exist Fig. 12A and 12B In the figure, although the secondary power device 200 is arranged separately from the PLP IC 700 or the PLP IC 700a, this illustration is to show how the secondary power device 200 is connected to the monitoring apparatus 100 and the controller 400, and in fact, the secondary power device 200 may be arranged in the PLP IC 700 or 700a to be included as a part of the PLP IC 700 or 700a. However, the secondary power device 200 may also be arranged separately from the PLP IC 700 or 700a.
[0101] Fig.13 1 is a schematic structural block diagram of an embodiment of an electronic system 1000 including a monitoring device for a secondary power device.
[0102] refer to Fig.13 According to the present embodiment, the electronic system 1000 may include a PLP block or unit 700 or 700a, a power supply block or unit 900, and a main system block or unit 500 or 500a. The PLP block or unit 700 or 700a and the main system block or unit 500 or 500a may refer to Fig. 12A or 12B PLP IC 700 or 700a and main system IC 500 or 500a.
[0103] The PLP block or unit 700 or 700a can prevent the loss of power supplied to the main system block or unit 500 or 500a. The PLP block or unit 700 or 700a may include, for example, the secondary power device 200 and / or the charging unit 300. Fig.13 In the embodiment, the secondary power device 200 is shown as being arranged separately from the PLP block 700 or 700a, which may allow for easier description. Fig.14A and 14B As described above, the secondary power device 200 may be arranged in the PLP block or unit 700 or 700a and be regarded as a part of the PLP block 700 or 700a.
[0104] The monitoring device 100 and the event generation unit 450 may be arranged in a PLP block or unit 700 or 700a, such as Fig. 12B When the monitoring apparatus 100 and the event generating unit 450 are arranged in the PLP block or unit 700 or 700a, the monitoring apparatus 100 may not be arranged in the main system block or unit 500 or 500a.
[0105] The power supply block or unit 900 may perform a function of supplying power received from the PLP block or unit 700 or 700a to the main system block or unit 500 or 500a. The power supply block or unit 900 may correspond to, for example, a power input / output terminal of the main system block or unit 500 or 500a.
[0106] The main system block or unit 500 or 500a may include a controller 400, a first memory chip 510 and a second memory chip 520. One of the first memory chip 510 and the second memory chip 520 may be a cache memory and the other may be a main memory. According to one embodiment, the chip corresponding to the main memory may have a multi-stacked structure. Depending on the type of the main memory, the electronic system 1000 may correspond to one of a solid state drive (SSD) module, a DRAM module and a flash memory module. In the SSD module, DRAM may be used as a cache memory, and NAND may be used as a main memory. However, the electronic system 1000 is not limited to the above-mentioned memory modules. For example, the electronic system 1000 may be any electronic device using a secondary power device.
[0107] Meanwhile, in the electronic system 1000 according to the present embodiment, the main system block 500 or 500a can use relatively high energy as backup energy. For example, the main system block 500 or 500a can use 10mJ or more energy as backup energy. For example, the electronic system 1000 according to the present embodiment can be an SSD module, in which the main system block 500 or 500a uses 10mJ or more energy as backup energy. However, the type of the electronic system 1000 according to the present embodiment is not limited to the SSD module.
[0108] The controller 400 may control the operation of the main system block 500 or 500a, such as data reading, writing or erasing, in which case it may also be referred to as a memory controller. The controller 400 may also control the charging unit 300 of the PLP block 700 or 700a by receiving information about the state of the secondary power device 200 from the monitoring device 100.
[0109] The monitoring device 100 may be arranged in the main system block 500 or 500a, such as Fig. 12A When the monitoring device 100 is arranged in the main system block 500 or 500a, the controller 400 may directly receive information about the state of the secondary power device 200 from the monitoring device 100. When the monitoring device 100 is arranged in the main system block 500 or 500a, the monitoring device 100 and the event generating unit 450 may not be arranged in the PLP block 700 or 700a.
[0110] Fig.14A and 14B yes Fig.13 A conceptual diagram of a power supply process in an electronic system 1000 is shown.
[0111] refer to Fig.14A and 14B , when the external power supply Ext is normally supplied, such as by Fig.14A As shown by the thick arrow in FIG. 1 , power can be supplied from the external power source Ext to the main system block 500 or 500a through the PLP block 700 or 700a and the power supply block 900. In addition, power from the external power source Ext can be supplied to the charging unit 300 in the PLP block 700 or 700a, and the charging operation of the secondary power device 200 by using the charging unit 300 can be periodically and repeatedly performed.
[0112] When the external power source Ext is abnormal or unavailable for any reason and thus an SPO situation occurs, power may be supplied from the secondary power device 200 to the main system block 500 or 500a through the PLP block 700 or 700a and the power supply block 900, as shown by Fig. 14BAs shown by the thick arrow in FIG. 1 . Thus, when the main system block 500 or 500a in the SPO situation continues to operate by using the power of the secondary power device 200, data loss can be prevented. When there is a defect in the secondary power device 200, the main system block 500 or 500a cannot use the power of the secondary power device 200 in the SPO situation, so data loss is inevitable.
[0113] The electronic system 1000 according to the present embodiment may include the monitoring device 100 as described above. Thus, the state of the secondary power device 200 can be checked by monitoring the secondary power device 200 in real time, and when a defect is caused in the secondary power device 200, operations such as controlling the charging unit 300 or repairing or replacing the secondary power device 200 can be performed. In summary, according to the electronic system 1000 of the present embodiment, data loss that may occur in the main system block 500 or 500a in the SPO case due to a defect in the secondary power device 200 can be prevented.
[0114] While the inventive concept has been particularly shown and described with reference to embodiments thereof, it will be understood that various changes in form and details may be made therein without departing from the spirit and scope of the appended claims.
Claims
1. A method for monitoring a secondary power device, the method include: charging the secondary power device by the charging unit by supplying power from the charging unit to the secondary power device including at least one capacitor; setting, by the calibration unit, a first reference parameter in a first calibration interval by using a voltage of the at least one capacitor; setting, by the calibration unit, a second reference parameter in a second calibration interval by using the voltage of the at least one capacitor and the first reference parameter; setting, by a level setting unit, a reference level for checking the state of the secondary power device by using the second reference parameter; as well as The state of the secondary power device is monitored by a monitoring unit by using the reference level.
2. The method of claim 1 , wherein the voltage of the at least one capacitor fluctuates between a local maximum value and a local minimum value via a charging operation of the charging unit, The first reference parameter is set include: detecting a maximum value of a voltage of the at least one capacitor in the first calibration interval; detecting a minimum value of a voltage of the at least one capacitor in the first calibration interval; as well as An average value of the maximum value and the minimum value is set as the first reference parameter.
3. The method according to claim 2, wherein the second reference parameter is set include: classifying, during the second calibration interval, a voltage of the at least one capacitor into a high state interval and a low state interval by using the first reference parameter; in the second calibration interval, detecting a first local maximum in the high state interval and calculating a first average value that is an average value of the first local maximum values; In the second calibration interval, detecting a first local minimum in the low state interval and calculating a second average value that is an average value of the first local minimum values; and An average of the first average value and the second average value is set as the second reference parameter. 4 . The method of claim 3 , wherein setting the reference level comprises setting a range of ±Δ about a center value set as the second reference parameter as the reference level. 5 . The method of claim 4 , wherein Δ is set to a fixed value or a percentage (%) with respect to a difference between the first average value and the second average value.
6. The method according to claim 1, further comprising: include: measuring a discharge time of the at least one capacitor by using the reference level; as well as The discharge time is compared with a set reference time to determine whether the secondary power device is operating abnormally.
7. The method according to claim 6, further comprising: include: Obtaining an average discharge time by measuring a plurality of discharge times of the at least one capacitor and averaging the measured discharge times; as well as The average discharge time is compared with the reference time to determine whether the secondary power device is operating abnormally.
8. The method of claim 1, wherein the reference level is calibrated by repeatedly performing the operations from setting the first reference parameter to setting the reference level at a set period of time, or When resetting the second reference parameter and resetting the reference level, the reference level is calibrated in real time by using the voltage of the at least one capacitor detected after setting the second reference parameter.
9. A method for monitoring a secondary power device, the method include: charging the secondary power device including at least one capacitor by the charging unit by supplying power from the charging unit to the secondary power device; setting, by the calibration unit, a first reference parameter in a first calibration interval by using a voltage of the at least one capacitor, wherein the voltage fluctuates between a local maximum and a local minimum; setting, by the calibration unit, a second reference parameter in a second calibration interval by using the voltage of the at least one capacitor and the first reference parameter; setting, by a level setting unit, a reference level to a range of ±Δ about a center value set as the second reference parameter; as well as monitoring the state of the secondary power device by a monitoring unit by using the reference level, The operations from setting the first reference parameter to setting the reference level are repeated within a set period of time.
10. The method according to claim 9, further comprising: include: setting the first reference parameter to an average of a maximum value and a minimum value of a voltage of the at least one capacitor in the first calibration interval; classifying the voltage of the at least one capacitor in the second calibration interval into a high state interval and a low state interval by using the first reference parameter; detecting a first local maximum from the high state interval; calculating a first average value that is an average value of the first local maxima; detecting a first local minimum from the low state interval; calculating a second average value that is an average value of the first local minima; and An average of the first average value and the second average value is set as the second reference parameter.
11. The method of claim 9, further comprising: include: measuring a discharge time from a voltage of the at least one capacitor corresponding to the second reference parameter +Δ to a voltage of the at least one capacitor corresponding to the second reference parameter −Δ; as well as The discharge time is compared with a set reference time to determine whether the secondary power device is operating abnormally.
12. A method for monitoring a secondary power device, the method include: charging the secondary power device by the charging unit by supplying power from the charging unit to the secondary power device including at least one capacitor; setting, by the calibration unit, a first reference parameter in a first calibration interval by using a voltage of the at least one capacitor, wherein the voltage fluctuates between a local maximum and a local minimum; setting, by the calibration unit, a second reference parameter in a second calibration interval by using the voltage of the at least one capacitor and the first reference parameter; setting a reference level for checking the state of the secondary power device, wherein the reference level is set to a range of ±Δ about a center value set to a second reference parameter; as well as monitoring the state of the secondary power device by using the reference level, After setting the second reference parameter, the voltage of the at least one capacitor is used to further set the second reference parameter and set the reference level, so as to calibrate the reference level in real time.
13. The method of claim 12, further comprising: include: setting the first reference parameter to an average of a maximum value and a minimum value of the voltage of the at least one capacitor in the first calibration interval, classifying a voltage of the at least one capacitor into a high state interval and a low state interval by using the first reference parameter; detecting a first local maximum from the high state interval; Calculating a first average value, where the first average value is an average value of the first local maximum values; detecting a first local minimum from the low state interval; Calculating a second average value, where the second average value is an average value of the first local minimum values; as well as setting the average of the first average value and the second average value as the second reference parameter, In the setting of the reference level, △ is set as a fixed value or a percentage (%) relative to the difference between the first average value and the second average value.
14. The method of claim 12, further comprising: include: measuring a discharge time from a voltage of the at least one capacitor corresponding to the second reference parameter +Δ to a voltage of the at least one capacitor corresponding to the second reference parameter −Δ; The average discharge time is obtained by measuring multiple discharge times and averaging them; as well as The average discharge time is compared with a set reference time to determine whether the secondary power device is operating abnormally.
15. A device for monitoring a secondary power device, the device include: a voltage measuring unit configured to measure a voltage of at least one capacitor of the secondary power device; a calibration unit configured to set a first reference parameter and a second reference parameter by using a voltage of the at least one capacitor; a level setting unit configured to set a reference level using the second reference parameter; as well as Monitoring unit, comprising: Discharge time measurement unit, and Determine the unit, The discharge time measurement unit is configured to measure a discharge time of the at least one capacitor by using the reference level, and the determination unit is configured to determine the state of the secondary power device by comparing the discharge time with a set reference time.
16. The device according to claim 15, in, The voltage of the at least one capacitor fluctuates between a local maximum value and a local minimum value via a charging operation of the charging unit, wherein, in a first calibration interval, the first reference parameter is set to an average value of a maximum value and a minimum value of a voltage of the at least one capacitor, and In a second calibration interval, the voltage of the at least one capacitor is classified into a high state interval and a low state interval by using the first reference parameter, and a first average value which is an average value of a first local maximum value of the high state interval and a second average value which is an average value of a first local minimum value of the low state interval are calculated, and the second reference parameter is set to an average value of the first average value and the second average value.
17. The apparatus of claim 16, wherein the reference level is set to a range of ±△ about a center value as the second reference parameter, and Here, Δ is set to a fixed value or a percentage (%) relative to the difference between the first average value and the second average value.
18. The device according to claim 15, in, calibrating the reference level by repeatedly performing the setting of the first reference parameter and the second reference parameter and the reference level for a set period of time, or When resetting the second reference parameter and resetting the reference level, the reference level is calibrated in real time by using the voltage of the at least one capacitor detected after setting the second reference parameter.
19. An electronic system for monitoring secondary power equipment, include: Power loss protection unit, including: A secondary power device comprising at least one capacitor, and a charging unit configured to supply power to the secondary power device; a main system unit including a controller and at least one memory chip; and a power unit, operatively connected between the power loss protection unit and the main system unit, the power unit supplying power to the main system unit, wherein a monitoring device for monitoring the state of the secondary power device is arranged in one of the power loss protection unit and the main system unit, The monitoring device comprises: a voltage measuring unit configured to measure a voltage of the at least one capacitor; a calibration unit configured to set a first reference parameter and a second reference parameter by using a voltage of the at least one capacitor; a level setting unit configured to set a reference level for checking a state of the secondary power device by using the second reference parameter; and Monitoring unit, comprising: Discharge time measurement unit, and Determine the unit, The discharge time measurement unit is configured to measure a discharge time of the at least one capacitor by using the reference level, and the determination unit is configured to determine the state of the secondary power device by comparing the discharge time with a set reference time.
20. The electronic system as claimed in claim 19, in, When the monitoring device is arranged in the power loss protection unit, the power loss protection unit further comprises an event generating unit, The event generating unit is configured to transmit a monitoring result of the secondary power device by the monitoring apparatus to a memory controller of the main system unit.
21. A method for monitoring a secondary power device, include: The charging unit charges the secondary power device; In a first interval, measuring a capacitor voltage of the secondary power device; detecting a first local minimum and a first local maximum of the capacitor voltage measured in the first interval; setting a first reference parameter based on the detected first local minimum and first local maximum; In a second interval, measuring a capacitor voltage of the secondary power device; setting a second reference parameter based on the capacitor voltage measured in the second interval and the first reference parameter; setting the reference level to a range centered around the voltage set as the second reference parameter; In a third interval, measuring a capacitor voltage of the secondary power device; measuring a discharge time of the capacitor voltage in the third interval by using the capacitor voltage measured in the third interval and the reference level; as well as The discharge time is compared with a set reference time to determine whether the secondary power device is operating abnormally.
22. The method of claim 21, in, Setting a second reference parameter based on the measured capacitor voltage in the second interval and the first reference parameter comprises: In the second interval, classifying the measured capacitor voltage into a high state interval and a low state interval using the first reference parameter; In the second interval, detecting a second local maximum in the high state interval, and calculating a first average value that is an average value of the second local maximum values; detecting a second local minimum in the low state interval in the second interval, and calculating a second average value that is an average value of the second local minimum values; and An average of the first average value and the second average value is set as the second reference parameter.
23. The method of claim 22, wherein each of the first local maxima is extracted from each of the high state intervals via comparison logic, and Wherein each of the first local minima is extracted from each of the low state intervals via comparison logic.
24. The method of claim 22, wherein the range is ±Δ, and wherein Δ is set as a percentage (%) with respect to a difference between the first average value and the second average value.
25. The method of claim 21, wherein the range is ±Δ, and wherein Δ is set to a fixed value.
