Voltage monitoring circuit, chip and electronic equipment

By using primary and secondary voltage conversion modules in the voltage monitoring circuit to convert analog voltages into digital voltages, the problem of voltage processing distortion is solved and higher monitoring accuracy and reliability are achieved.

CN118566568APending Publication Date: 2024-08-30CHENGDU CHIPSEA INNOVATION TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410880484.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-02
Publication Date
2024-08-30

AI Technical Summary

Technical Problem

During the voltage monitoring process, the collected voltage is easily distorted by processing, resulting in inaccurate monitoring and misoperation.

Method used

A voltage monitoring circuit is provided, including a primary voltage conversion module, a secondary voltage conversion module, a reset control module and a voltage alarm module. By converting an accessed analog voltage set into a corresponding digital voltage set, monitoring of invalid digital voltages is avoided. Improve the accuracy of voltage processing and the precision of subsequent operations.

Benefits of technology

Through secondary monitoring, the reliability and accuracy of voltage monitoring are improved, ensuring the accuracy of reset and alarm operations.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118566568A
    Figure CN118566568A
Patent Text Reader

Abstract

The embodiment of the invention provides a voltage monitoring circuit, a chip and electronic equipment, and the voltage monitoring circuit comprises a primary voltage conversion module, a secondary voltage conversion module, a reset control module and a voltage alarm module. Through the primary voltage conversion module and the secondary voltage conversion module, the accessed analog voltage set can be converted into the corresponding effective digital voltage set, so that voltage monitoring based on invalid digital voltage can be avoided, the accuracy of voltage processing is improved, and the accuracy of subsequent reset and alarm is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of voltage monitoring, and in particular to a voltage monitoring circuit, chip and electronic device. Background Art

[0002] In order to ensure the reliability of work, the power supply voltage or internal voltage of electronic products must meet specific requirements, such as voltage value, fluctuation range, etc. Therefore, a voltage monitoring circuit is required to collect and process each voltage so as to perform corresponding operations in time when the voltage is abnormal.

[0003] However, during the voltage processing process, the collected voltage is easily distorted, resulting in inaccurate voltage monitoring, which can easily lead to subsequent erroneous operations. Summary of the invention

[0004] In view of the above problems, the embodiments of the present application provide a voltage monitoring circuit, a chip and an electronic device to alleviate the technical problem that voltage processing distortion leads to inaccurate subsequent operations.

[0005] In a first aspect, an embodiment of the present application provides a voltage monitoring circuit, which includes a primary voltage conversion module, a secondary voltage conversion module, a reset control module and a voltage alarm module, wherein the primary voltage conversion module is used to convert a first analog voltage set connected to a corresponding valid first digital voltage set; the secondary voltage conversion module is used to convert a second analog voltage set connected to a corresponding valid second digital voltage set, and the second analog voltage set includes the first analog voltage set; the reset control module is used to control the reset state of the system according to the comparison result of at least one digital voltage in the first digital voltage set and the corresponding reset voltage threshold; the voltage alarm module is used to generate corresponding voltage alarm data according to the comparison result of at least one digital voltage in the first digital voltage set and the second digital voltage set and the corresponding operating voltage threshold.

[0006] In a second aspect, an embodiment of the present application further provides a chip, which includes the above-mentioned voltage monitoring circuit.

[0007] In a third aspect, an embodiment of the present application further provides an electronic device, which includes a device body and the above-mentioned chip or voltage monitoring circuit provided in the device body.

[0008] The voltage monitoring circuit, chip and electronic device provided in the embodiments of the present application can convert the connected analog voltage set into a corresponding valid digital voltage set through the primary voltage conversion module and the secondary voltage conversion module, thereby avoiding voltage monitoring based on invalid digital voltages, improving the accuracy of voltage processing, and further improving the accuracy of subsequent reset and alarm.

[0009] Furthermore, since the intersection of the first analog voltage set and the second analog voltage set is the first analog voltage set, and the union of the first analog voltage set and the second analog voltage set is the second analog voltage set, secondary monitoring of each analog voltage in the first analog voltage set is achieved, thereby improving the reliability of voltage monitoring.

[0010] These and other aspects of the present application will become more clearly understood in the description of the following embodiments. BRIEF DESCRIPTION OF THE DRAWINGS

[0011] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For those skilled in the art, other drawings can be obtained based on these drawings without creative work.

[0012] Figure 1 A first principle block diagram of a voltage monitoring circuit provided in an embodiment of the present application is shown.

[0013] Figure 2 The principle block diagram of the primary voltage conversion module and the secondary voltage conversion module is shown.

[0014] Figure 3 A principle block diagram of a code value conversion unit is shown.

[0015] Figure 4 The schematic diagram of the analog-to-digital conversion subunit is shown.

[0016] Figure 5 A schematic diagram of the circuit for effectively selecting a subunit is shown.

[0017] Figure 6 A first principle block diagram of a reset control module is shown.

[0018] Figure 7 A second principle block diagram of the reset control module is shown.

[0019] Figure 8 Shows the functional block diagram of the voltage alarm module.

[0020] Fig. 9 The schematic diagram of the voltage threshold monitoring module is shown.

[0021] Fig.10 A second principle block diagram of a voltage monitoring circuit is shown.

[0022] Fig.11 Shows Fig.10 Circuit schematic diagram of the structure shown.

[0023] Fig.12A third principle block diagram of a voltage monitoring circuit is shown.

[0024] Fig.13 A schematic diagram of the chip structure is shown.

[0025] Fig.14 A schematic structural diagram of an electronic device is shown. DETAILED DESCRIPTION

[0026] The embodiments of the present application are described in detail below, and examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the present application, and cannot be understood as limiting the present application.

[0027] In order to enable those skilled in the art to better understand the solutions of the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, rather than all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without making creative work are within the scope of protection of the present application.

[0028] In the embodiments of the present application, it should be noted that, in this article, relational terms such as first and second, etc. are merely used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any actual relationship or order between these entities or operations.

[0029] Moreover, the terms "comprises," "comprising," or any other variation thereof are intended to encompass non-exclusive inclusion, such that a process, method, article, or apparatus that includes a list of elements includes not only those elements, but also other elements not explicitly listed, or elements inherent to such process, method, article, or apparatus. In the absence of further limitations, an element defined by the phrase "comprising a ..." does not exclude the presence of additional identical elements in the process, method, article, or apparatus that includes the element.

[0030] In the description of the embodiments of the present application, words such as "example" or "for example" are used to indicate examples, illustrations or descriptions. Any embodiment or design described as "example" or "for example" in the embodiments of the present application is not to be interpreted as being more preferred or having more advantages than another embodiment or design. The use of words such as "example" or "for example" is intended to present relative concepts in a clear manner.

[0031] In addition, the "plurality" in the embodiments of the present application refers to two or more than two. In view of this, in the embodiments of the present application, "plurality" can also be understood as "at least two". "At least one" can be understood as one or more, for example, one, two or more. For example, including at least one means including one, two or more, and there is no limit on which ones are included. For example, including at least one of A, B and C, then A, B, C, A and B, A and C, B and C, or A, B and C can be included.

[0032] It should be noted that, in the embodiments of the present application, "and / or" describes the association relationship of the associated objects, indicating that three relationships may exist. For example, A and / or B may represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / ", unless otherwise specified, generally indicates that the associated objects before and after are in an "or" relationship.

[0033] It should be noted that in the embodiments of the present application, "connection" can be understood as electrical connection, and the connection between two electrical components can be a direct or indirect connection between the two electrical components. For example, the connection between A and B can be either a direct connection between A and B or an indirect connection between A and B through one or more other electrical components.

[0034] Figure 1 A principle block diagram of a voltage monitoring circuit 100 is shown. The voltage monitoring circuit 100 includes a primary voltage conversion module 10, a secondary voltage conversion module 20, a reset control module 30 and a voltage alarm module 40. The primary voltage conversion module 10 is connected to the reset control module 30 and the voltage alarm module 40, and the secondary voltage conversion module 20 is connected to the voltage alarm module 40. The voltage monitoring circuit 100 can convert the connected analog voltage set into a corresponding valid digital voltage set through the primary voltage conversion module 10 and the secondary voltage conversion module 20, thereby avoiding voltage monitoring based on an invalid digital voltage DV11, improving the accuracy of voltage processing, and further improving the accuracy of subsequent reset and alarm.

[0035] The present application embodiment provides a voltage monitoring circuit 100. Figures 1 to 12 ,like Figure 1As shown, the voltage monitoring circuit 100 includes a primary voltage conversion module 10, a secondary voltage conversion module 20, a reset control module 30 and a voltage alarm module 40. The primary voltage conversion module 10 is used to convert the connected first analog voltage set AV1 into a corresponding valid first digital voltage set DV1. The secondary voltage conversion module 20 is used to convert the connected second analog voltage set AV2 into a corresponding valid second digital voltage set DV2. The reset control module 30 is used to control the reset state of the system according to the comparison result between at least one digital voltage DV11 in the first digital voltage set DV1 and the corresponding reset voltage threshold. The voltage alarm module 40 is used to generate corresponding voltage alarm data according to the comparison result between at least one digital voltage DV11 in the first digital voltage set DV1 and the second digital voltage set DV2 and the corresponding operating voltage threshold.

[0036] The intersection of the first analog voltage set AV1 and the second analog voltage set AV2 is the first analog voltage set AV1, and the union of the first analog voltage set AV1 and the second analog voltage set AV2 is the second analog voltage set AV2, that is, the second analog voltage set AV2 includes the first analog voltage set AV1.

[0037] It can be understood that the voltage monitoring circuit 100 provided in the embodiment of the present application can convert the connected analog voltage set into a corresponding valid digital voltage set through the primary voltage conversion module 10 and the secondary voltage conversion module 20, thereby avoiding voltage monitoring based on the invalid digital voltage DV11, improving the accuracy of voltage processing, and further improving the accuracy of subsequent reset and alarm.

[0038] In addition, since the intersection of the first analog voltage set AV1 and the second analog voltage set AV2 is the first analog voltage set AV1, and the union of the first analog voltage set AV1 and the second analog voltage set AV2 is the second analog voltage set AV2, secondary monitoring of each analog voltage AV11 in the first analog voltage set AV1 is achieved, thereby improving the reliability of voltage monitoring.

[0039] It should be noted that the first analog voltage set AV1 may be a set of at least one analog voltage AV11. The second analog voltage set AV2 may be a set of at least two analog voltages AV11, and the second analog voltage set AV2 includes each analog voltage AV11 in the first analog voltage set AV1. Correspondingly, the first digital voltage set DV1 is a set of each analog voltage AV11 in the first analog voltage set AV1 converted into a corresponding digital voltage DV11. The second digital voltage set DV2 is a set of each analog voltage AV11 in the second analog voltage set AV2 converted into a corresponding digital voltage DV11.

[0040] Among them, the reset voltage threshold is used as a reference voltage to determine the system reset. When the digital voltage DV11 is greater than or equal to the reset voltage threshold, it means that each analog voltage AV11 in the first analog voltage set AV1 has met the power supply requirement. At this time, the system reset state can be released and enter the normal working state; when the digital voltage DV11 is less than the reset voltage threshold, it means that each analog voltage AV11 in the first analog voltage set AV1 has not met the power supply requirement. At this time, it is necessary to still control the system in the reset state.

[0041] The operating voltage threshold serves as a reference voltage for determining whether to issue a voltage alarm. When the digital voltage DV11 is greater than or equal to the operating voltage threshold, it means that the digital voltage DV11 is too high, and an overvoltage voltage alarm data needs to be issued. When the digital voltage DV11 is less than the operating voltage threshold, it means that the digital voltage DV11 is normal, and normal voltage alarm data can be issued.

[0042] In one embodiment, if Figure 2 As shown, the primary voltage conversion module 10 and the secondary voltage conversion module 20 each include one or more code value conversion units 11 , each code value conversion unit 11 is used to convert an input analog voltage AV11 into a corresponding effective digital voltage DV11 .

[0043] It should be noted that the number of code value conversion units 11 can be set according to the number of analog voltages AV11 , that is, one analog voltage AV11 requires one code value conversion unit 11 to be converted into a corresponding digital voltage DV11 .

[0044] In one embodiment, if Figure 3 As shown, the code value conversion unit 11 includes an analog-to-digital conversion subunit 111 and a valid selection subunit 112. The analog-to-digital conversion subunit 111 is used to convert an analog voltage AV11 connected to a corresponding digital voltage DV11, and output a validity indication signal VALID for indicating whether the digital voltage DV11 is valid; the valid selection subunit 112 is used to select and output a valid digital voltage DV11 according to the validity indication signal VALID.

[0045] It should be noted that the analog-to-digital conversion subunit 111 is connected to the effective selection subunit 112, and the effective selection subunit 112 can receive the digital voltage DV11 and the effectiveness indication signal VALID output by the analog-to-digital conversion subunit 111. When the effectiveness indication signal VALID is valid, it means that the digital voltage DV11 is valid, and the effective selection subunit 112 will directly output the valid digital voltage DV11; and when the effectiveness indication signal VALID is invalid, it means that the digital voltage DV11 is invalid. At this time, the effective selection subunit 112 will not output the invalid digital voltage DV11, but will select to output the last valid digital voltage DV11, so as to avoid outputting the invalid digital voltage DV11 and improve the accuracy of voltage processing.

[0046] In one embodiment, if Figure 4 , Fig.11 As shown, the analog-to-digital conversion subunit 111 includes an analog-to-digital converter, which may be a successive approximation analog-to-digital converter SAR-ADC. By way of example, taking the analog-to-digital converter as a successive approximation analog-to-digital converter SAR-ADC as an example, the successive approximation analog-to-digital converter SAR-ADC may be used to convert an analog voltage AV11 connected to a corresponding digital voltage DV11 according to a mode selection signal, an enable signal, a reset signal, a clock signal, and a conversion trigger control signal, and output a effectiveness indication signal VALID.

[0047] It should be noted that the successive approximation analog-to-digital converter SAR-ADC has input pin ①, input pin ②, input pin ③, input pin ④, input pin ⑤, a first output pin and a second output pin. Among them, pin ① is connected to the mode selection signal. Pin ② is connected to the enable signal. Pin ③ is connected to the reset signal, and the low level is valid. Pin ④ is connected to the clock signal. Pin ⑤ is connected to the conversion trigger control signal, and the high level is valid. The first output pin is used to output the digital voltage DV11. The second output pin is used to output the effectiveness indication signal VALID, and the high level is valid, that is, when the effectiveness indication signal VALID is at a high level, it indicates that the digital voltage DV11 currently output is valid; when the effectiveness indication signal VALID is at a low level, it indicates that the digital voltage DV11 currently output is invalid. Among them, the signals connected to pins ①-⑤ of the successive approximation analog-to-digital converter SAR-ADC can be exemplarily provided by the power management module.

[0048] In some other embodiments, the analog-to-digital converter may also be a Sigma-Delta (Σ-Δ) ADC, a flash analog-to-digital converter (Flash ADC), or a hybrid ADC.

[0049] In one embodiment, if Figure 5 , Fig.11 As shown, the effective selection subunit 112 includes a digital selector MUX and a trigger 1121, the first input terminal of the digital selector MUX is connected to the first output terminal of the analog-to-digital conversion subunit 111, and the control terminal of the digital selector MUX is connected to the second output terminal of the analog-to-digital conversion subunit 111; the data input terminal of the trigger 1121 is connected to the output terminal of the digital selector MUX, and the output terminal Q of the trigger 1121 is connected to the second input terminal of the digital selector MUX.

[0050] It should be noted that the first output end of the analog-to-digital conversion subunit 111 may be the first output pin of the successive approximation analog-to-digital converter SAR-ADC, and the second output end of the analog-to-digital conversion subunit 111 may be the second output pin of the successive approximation analog-to-digital converter SAR-ADC. When the effectiveness indication signal VALID is at a high level, the digital selector MUX directly outputs the current digital voltage DV11 to the data input end of the trigger 1121, and outputs the digital voltage DV11 through its output end Q under the triggering of the clock; and when the effectiveness indication signal VALID is at a low level, the digital selector MUX selects to output the last valid digital voltage DV11 to the data input end of the trigger 1121, and outputs the last valid digital voltage DV11 through its output end Q under the triggering of the clock.

[0051] In one embodiment, if Figure 6 As shown, the reset control module 30 includes a reset release unit 31 and a reset control unit 32. The reset release unit 31 is used to determine the comparison result between a digital voltage DV11 in the first digital voltage set DV1 and a corresponding reset voltage threshold; the reset control unit 32 is used to control the reset state of the system according to the comparison result.

[0052] It should be noted that this embodiment is applicable to the case where the primary voltage conversion module 10 is connected to only one analog voltage AV11. When the digital voltage DV11 converted from the analog voltage AV11 does not meet the reset voltage threshold, the comparison result will be reset by the reset control unit 32.

[0053] In one embodiment, if Figure 7 As shown, the reset control module 30 further includes a logic operation unit 33, and the logic operation unit 33 is used to control the reset state of the system through the reset control unit 32 according to the OR operation result of the multiple comparison results.

[0054] It should be noted that this embodiment is applicable to the case where the primary voltage conversion module 10 is connected to multiple analog voltages AV11. When any of the multiple digital voltages DV11 converted from the multiple analog voltages AV11 does not meet the corresponding reset voltage threshold, the OR operation result will be reset by the reset control unit 32 control system. Among them, the logic operation unit 33 can be exemplarily a digital device such as an OR gate that can realize the OR logic operation function.

[0055] In one embodiment, if Figure 8 As shown, the voltage alarm module 40 includes a voltage threshold monitoring module 41, a hardware security module 42 and a functional safety module 43. The voltage threshold monitoring module 41 is used to determine a first comparison result between each digital voltage DV11 in the first digital voltage set DV1 and the corresponding operating voltage threshold, and to determine a second comparison result between each digital voltage DV11 in the second digital voltage set DV2 and the corresponding operating voltage threshold. The hardware security module 42 is used to generate corresponding first voltage alarm data according to the first comparison result, and output the first voltage alarm data to the system. The functional safety module 43 is used to generate corresponding second voltage alarm data according to the second comparison result, and output the second voltage alarm data to the outside of the system.

[0056] It should be noted that the input end of the voltage threshold monitoring module 41 is connected to the output end of the primary voltage conversion module 10 and the output end of the secondary voltage conversion module 20 to receive the corresponding digital voltage DV11. The output end of the voltage threshold monitoring module 41 is connected to the input end of the hardware security module 42 and the input end of the functional safety module 43 to receive the corresponding first comparison result and second comparison result.

[0057] In one embodiment, if Fig. 9 As shown, the voltage threshold monitoring module 41 includes a voltage threshold monitoring unit 411, and the voltage threshold monitoring unit 411 includes an overvoltage comparison subcircuit 4111 and an undervoltage comparison subcircuit 4112. The overvoltage comparison subcircuit 4111 is used to determine the overvoltage alarm information based on the comparison result of a digital voltage DV11 in the first digital voltage set DV1 or the second digital voltage set DV2 with the corresponding overvoltage threshold; the undervoltage comparison subcircuit 4112 is used to determine the undervoltage alarm information based on the comparison result of a digital voltage DV11 in the first digital voltage set DV1 or the second digital voltage set DV2 with the corresponding undervoltage threshold.

[0058] It should be noted that, when the digital voltage DV11 is greater than or equal to the corresponding overvoltage threshold, it indicates that the digital voltage DV11 is in an overvoltage condition; otherwise, there is no overvoltage condition. When the digital voltage DV11 is less than or equal to the corresponding undervoltage threshold, it indicates that the digital voltage DV11 is in an undervoltage condition; otherwise, there is no undervoltage condition.

[0059] In one embodiment, if Fig.10 As shown, the voltage monitoring circuit 100 further includes a filter module 50 , which is connected between the input end of the voltage threshold monitoring unit 411 and the output end of the primary voltage conversion module 10 or the output end of the secondary voltage conversion module 20 .

[0060] It should be noted that the filter module 50 is used to filter out glitches in the effective digital voltage DV11 to improve the stability of the digital level and avoid false alarms caused by glitches.

[0061] like Fig.11 As shown, the filter module 50 may include one or more filters. In the case of multiple filters, the multiple filters may be connected in series to perform multiple filtering. Exemplarily, the filter module 50 may include 16 filters connected in series.

[0062] Fig.12 The voltage monitoring circuit 100 shown in the figure monitors 7 different analog voltages AV11 (Voltage1 to Voltage7) by way of example. Among them, the primary voltage conversion module 10 is connected to Voltage1 to Voltage3, and the secondary voltage conversion module 20 is connected to Voltage1 to Voltage7, so that the more important Voltage1 to Voltage3 can be monitored twice, ensuring the reliability of monitoring Voltage1 to Voltage3.

[0063] The first code value conversion unit, the second code value conversion unit and the third code value conversion unit configured in the primary voltage conversion module 10 convert Voltage1 to Voltage3 into the corresponding first digital voltage, the second digital voltage and the third digital voltage respectively. The first reset release unit, the second reset release unit and the third reset release unit output three comparison results of the first digital voltage, the second digital voltage and the third digital voltage with the corresponding reset threshold voltage to the logic operation unit 33. When any one of the first digital voltage, the second digital voltage and the third digital voltage does not meet the condition, the OR logic operation result of the logic operation unit 33 will control the system to reset through the reset control unit 32.

[0064] The first voltage threshold monitoring unit, the second voltage threshold monitoring unit and the third voltage threshold monitoring unit in the voltage threshold monitoring module 41 respectively determine whether the first digital voltage, the second digital voltage and the third digital voltage are overvoltage or undervoltage, and output the overvoltage or undervoltage situation to the hardware safety module 42 and the functional safety module 43, so that the hardware safety module 42 and the functional safety module 43 respectively generate corresponding alarm information inside and outside the system.

[0065] The fourth code value conversion unit to the tenth code value conversion unit configured in the secondary voltage conversion module 20 convert Voltage1 to Voltage7 into corresponding first digital voltage to seventh digital voltage respectively. Then after filtering by the filtering module 50, the seven voltage threshold monitoring units in the voltage threshold monitoring module 41 determine whether the filtered first digital voltage to seventh digital voltage has an overvoltage or undervoltage condition, and output the overvoltage or undervoltage condition to the hardware safety module 42 and the functional safety module 43, so that the hardware safety module 42 and the functional safety module 43 respectively generate corresponding alarm information to the inside and outside of the system.

[0066] Among them, Voltage1~Voltage7 can be VEXT voltage, VDDP3 voltage, VDD voltage, VEVRSB voltage, VDDPD voltage, VDDM voltage and VFIO voltage respectively. Among them, VEXT refers to the external digital total power supply of the microcontroller (MCU). VDDP3 refers to the 3.3V power supply of the flash memory (Flash). VDD refers to the MCU digital domain power supply. VEVRSB refers to the external power supply of the Standby domain of the MCU. VDDPD refers to the internal power supply of the Standby domain of the MCU. VDDM refers to the total power supply of the analog circuit. VFIO refers to the IO power supply. Exemplarily, Voltage1~Voltage3 can be VEXT voltage, VDDP3 voltage, VDD voltage respectively. Compared with the lack of monitoring of the digital domain power supply voltage in the traditional technology, the present application can also realize the monitoring of the digital domain power supply voltage in the chip.

[0067] The present application embodiment also provides a chip 200, such as Fig.13 As shown, the chip 200 includes the above-mentioned voltage monitoring circuit 100. The chip 200 is also called an integrated circuit (IC), and the chip 200 can be, but is not limited to, a SOC (System on Chip) chip or a SIP (system in package) chip.

[0068] It can be understood that since the chip 200 provided in the embodiment of the present application includes the above-mentioned voltage monitoring circuit 100, it can also convert the connected analog voltage set into a corresponding valid digital voltage set through the primary voltage conversion module 10 and the secondary voltage conversion module 20, thereby avoiding voltage monitoring based on the invalid digital voltage DV11, improving the accuracy of voltage processing, and further improving the accuracy of subsequent reset and alarm.

[0069] In addition, since the intersection of the first analog voltage set AV1 and the second analog voltage set AV2 is the first analog voltage set AV1, and the union of the first analog voltage set AV1 and the second analog voltage set AV2 is the second analog voltage set AV2, secondary monitoring of each analog voltage AV11 in the first analog voltage set AV1 is achieved, thereby improving the reliability of voltage monitoring.

[0070] The present application embodiment also provides an electronic device 300, such as Fig.14 As shown, the electronic device 300 includes a device body and the above-mentioned chip 200 or voltage monitoring circuit 100 provided in the device body. The electronic device 300 can be but is not limited to a weight scale, a body fat scale, a nutrition scale, an infrared electronic thermometer, a pulse oximeter, a human body composition analyzer, a mobile power supply, a wireless charger, a fast charger, a car charger, an adapter, a display, a USB (Universal Serial Bus) docking station, a stylus, a true wireless headset, a car central control screen, a car, a smart wearable device, a mobile terminal, and a smart home device. Smart wearable devices include but are not limited to smart watches, smart bracelets, and cervical massagers. Mobile terminals include but are not limited to smart phones, laptops, tablet computers, and POS (point of sales terminal). Smart home devices include but are not limited to smart sockets, smart rice cookers, smart sweepers, and smart lights.

[0071] It can be understood that since the electronic device 300 provided in the embodiment of the present application includes the above-mentioned chip 200 or voltage monitoring circuit 100, it can also convert the connected analog voltage set into a corresponding valid digital voltage set through the primary voltage conversion module 10 and the secondary voltage conversion module 20, thereby avoiding voltage monitoring based on the invalid digital voltage DV11, improving the accuracy of voltage processing, and further improving the accuracy of subsequent reset and alarm.

[0072] In addition, since the intersection of the first analog voltage set AV1 and the second analog voltage set AV2 is the first analog voltage set AV1, and the union of the first analog voltage set AV1 and the second analog voltage set AV2 is the second analog voltage set AV2, secondary monitoring of each analog voltage AV11 in the first analog voltage set AV1 is achieved, thereby improving the reliability of voltage monitoring.

[0073] The above are only preferred embodiments of the present application, and are not intended to limit the present application in any form. Although the present application has been disclosed as above with preferred embodiments, it is not intended to limit the present application. Any technical personnel in the field can make some changes or modify the technical contents disclosed above into equivalent embodiments without departing from the scope of the technical solution of the present application. However, any brief modifications, equivalent changes and modifications made to the above embodiments based on the technical essence of the present application without departing from the content of the technical solution of the present application are still within the scope of the technical solution of the present application.

Claims

1. A voltage monitoring circuit, characterized in that: The voltage monitoring circuit comprises: A primary voltage conversion module, the primary voltage conversion module is used to convert an input first analog voltage set into a corresponding valid first digital voltage set; A secondary voltage conversion module, the secondary voltage conversion module is used to convert an accessed second analog voltage set into a corresponding valid second digital voltage set, the second analog voltage set including the first analog voltage set; a reset control module, the reset control module being used to control a reset state of the system according to a comparison result between at least one digital voltage in the first digital voltage set and a corresponding reset voltage threshold; A voltage alarm module is used to generate corresponding voltage alarm data according to a comparison result between at least one digital voltage in the first digital voltage set and the second digital voltage set and a corresponding operating voltage threshold.

2. The voltage monitoring circuit according to claim 1, wherein: The primary voltage conversion module and the secondary voltage conversion module each include one or more code value conversion units, each of which is used to convert an analog voltage connected to a corresponding valid digital voltage.

3. The voltage monitoring circuit according to claim 2, wherein: The code value conversion unit comprises: an analog-to-digital conversion subunit, the analog-to-digital conversion subunit being used to convert an analog voltage received into a corresponding digital voltage, and outputting a validity indication signal for indicating whether the digital voltage is valid; The effective selection subunit is used for selecting and outputting the effective digital voltage according to the effectiveness indication signal.

4. The voltage monitoring circuit according to claim 3, characterized in that: The effective selection subunit comprises: A digital selector, wherein a first input terminal of the digital selector is connected to a first output terminal of the analog-to-digital conversion subunit, and a control terminal of the digital selector is connected to a second output terminal of the analog-to-digital conversion subunit; A trigger, wherein a data input terminal of the trigger is connected to an output terminal of the digital selector, and an output terminal of the trigger is connected to a second input terminal of the digital selector.

5. The voltage monitoring circuit according to claim 1, wherein: The reset control module comprises: a reset release unit, the reset release unit being used to determine a comparison result between a digital voltage in the first digital voltage set and a corresponding reset voltage threshold; A reset control unit is used to control a reset state of the system according to the comparison result.

6. The voltage monitoring circuit according to claim 5, characterized in that: The reset control module further includes a logic operation unit, which is used to control the reset state of the system through the reset control unit according to an OR operation result of a plurality of the comparison results.

7. The voltage monitoring circuit according to claim 1, wherein: The voltage alarm module comprises: a voltage threshold monitoring module, the voltage threshold monitoring module being used to determine a first comparison result between each digital voltage in the first digital voltage set and a corresponding operating voltage threshold, and to determine a second comparison result between each digital voltage in the second digital voltage set and a corresponding operating voltage threshold; a hardware security module, the hardware security module being used to generate corresponding first voltage alarm data according to the first comparison result, and output the first voltage alarm data to the system; A functional safety module is used to generate corresponding second voltage alarm data according to the second comparison result, and output the second voltage alarm data to the outside of the system.

8. The voltage monitoring circuit according to claim 7, wherein: The voltage threshold monitoring module includes a voltage threshold monitoring unit, and the voltage threshold monitoring unit includes: an overvoltage comparison subcircuit, the overvoltage comparison subcircuit being used to determine overvoltage alarm information according to a comparison result between a digital voltage in the first digital voltage set or the second digital voltage set and a corresponding overvoltage threshold; An undervoltage comparison subcircuit is used to determine undervoltage alarm information according to a comparison result between a digital voltage in the first digital voltage set or the second digital voltage set and a corresponding undervoltage threshold.

9. The voltage monitoring circuit according to claim 8, characterized in that: The voltage monitoring circuit further includes a filter module, which is connected between an input terminal of the voltage threshold monitoring unit and an output terminal of the primary voltage conversion module or an output terminal of the secondary voltage conversion module.

10. A chip, characterized in that: The chip comprises the voltage monitoring circuit according to any one of claims 1 to 9.

11. An electronic device, characterized in that: The electronic device comprises a device body and the chip as claimed in claim 10 disposed in the device body.