CN115864295A - Method, circuit and chip for judging abnormal protection - Google Patents

Method, circuit and chip for judging abnormal protection Download PDF

Info

Publication number
CN115864295A
CN115864295A CN202211499408.9A CN202211499408A CN115864295A CN 115864295 A CN115864295 A CN 115864295A CN 202211499408 A CN202211499408 A CN 202211499408A CN 115864295 A CN115864295 A CN 115864295A
Authority
CN
China
Prior art keywords
abnormal
protection
proportion
statistical period
signal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202211499408.9A
Other languages
Chinese (zh)
Inventor
卢山
郭安华
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fuman Microelectronics Group Co ltd
Original Assignee
Fuman Microelectronics Group Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fuman Microelectronics Group Co ltd filed Critical Fuman Microelectronics Group Co ltd
Priority to CN202211499408.9A priority Critical patent/CN115864295A/en
Publication of CN115864295A publication Critical patent/CN115864295A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Emergency Protection Circuit Devices (AREA)

Abstract

The invention discloses a method, a circuit and a chip for judging abnormal protection, wherein the method comprises the following steps: and acquiring a detection signal in the statistical period, acquiring the abnormal proportion of the abnormal signal in the statistical period according to the detection signal, and determining whether to trigger abnormal protection according to the abnormal proportion. The abnormal protection judging method adopted by the invention can effectively prevent the occurrence of wrong judging results caused by circuit noise, can avoid the situation that discontinuous abnormal conditions cannot be identified, has higher reliability and improves the accuracy of detecting the abnormal conditions.

Description

Method, circuit and chip for judging abnormal protection
Technical Field
The invention relates to the technical field of abnormal protection, in particular to a method, a circuit and a chip for judging abnormal protection.
Background
In some electronic systems, a power loop usually works in a switching mode or a continuous mode, such as a PWM speed-regulating motor, a switching power supply, and the like, and some abnormal conditions, such as overcurrent of current, overvoltage of output, and over-high temperature, need to be detected and determined, so as to protect the system in time and improve reliability. But the abnormal signal may be noisy for various reasons that if left untreated would make the protection circuit too sensitive to be falsely triggered by noise interference.
Disclosure of Invention
Aiming at the defects in the prior art, the invention provides a judgment method, a circuit and a chip for abnormal protection, which can avoid the situation that the discontinuous abnormal situation can not be identified and improve the accuracy of abnormal detection.
In a first aspect:
the invention provides a method for judging abnormal protection, which comprises the following steps:
acquiring a detection signal in a statistical period;
acquiring the abnormal proportion of the abnormal signal in the statistical period according to the detection signal;
and determining whether to trigger abnormal protection according to the abnormal proportion.
Preferably, the obtaining the abnormal proportion of the abnormal signal in the statistical period according to the detection signal comprises:
acquiring the time sum of the abnormal signals of the detection signals in the time period corresponding to the statistical period;
and acquiring the abnormal proportion according to the time sum.
Preferably, the obtaining the abnormal proportion of the abnormal signal in the statistical period according to the detection signal comprises:
acquiring the pulse number of the detection signals which are abnormal signals in a pulse period corresponding to the statistical period;
and acquiring the abnormal proportion according to the pulse number.
Preferably, the acquiring the abnormal proportion of the abnormal signal in the statistical period according to the detection signal includes:
and in the statistical period, if an abnormal signal is detected, accumulating the abnormal proportion, otherwise, keeping the abnormal proportion unchanged.
Preferably, within the statistical period, there are a plurality of interval-existing abnormal signal continuous intervals.
When the starting point of the counting period is multiple, the acquiring the abnormal proportion of the abnormal signal in the counting period according to the detection signal includes: acquiring the abnormal proportion of the statistical period corresponding to each starting point;
the determining whether to trigger the abnormal protection according to the abnormal proportion comprises: and if the abnormal proportion of the statistical period corresponding to at least one starting point in the plurality of starting points reaches a preset abnormal threshold, judging to trigger abnormal protection.
Preferably, the abnormal protection includes, but is not limited to, overcurrent protection, overtemperature protection, and overvoltage protection.
Preferably, the method is applied to PWM speed regulating motors and switching power supplies.
In a second aspect:
the invention provides a judging circuit for abnormal protection, which comprises:
the detection module is used for acquiring a detection signal in a statistical period;
the abnormal proportion obtaining module is used for obtaining the abnormal proportion of the abnormal signal in the statistical period according to the detection signal;
and the judging module is used for determining whether to trigger the abnormal protection according to the abnormal proportion.
In a third aspect:
the present invention provides an abnormality protection determination chip including the abnormality protection determination circuit according to claim 9.
The invention has the technical effects that: the method can effectively prevent the occurrence of wrong judgment results caused by circuit noise, can avoid the condition that discontinuous abnormal conditions cannot be identified, can have higher reliability, and improves the accuracy of detecting abnormity.
Drawings
In order to more clearly illustrate the detailed description of the invention or the technical solutions in the prior art, the drawings that are needed in the detailed description of the invention or the prior art will be briefly described below. Throughout the drawings, like elements or portions are generally identified by like reference numerals. In the drawings, elements or portions are not necessarily drawn to scale.
FIG. 1 is a diagram illustrating a prior art anomaly detection count;
fig. 2 is a schematic flowchart of a method for determining abnormal protection according to an embodiment;
fig. 3 is a schematic view of a scenario of a determination method for exception protection according to an embodiment;
fig. 4 is another schematic view of a determination method for exception protection according to an embodiment;
fig. 5 is another schematic view of a determination method for exception protection according to an embodiment;
fig. 6 is a schematic structural diagram of a determination circuit for exception protection according to the second embodiment;
fig. 7 is a schematic structural diagram of a detection module according to the second embodiment.
Detailed Description
Embodiments of the present invention will be described in detail below with reference to the accompanying drawings. The following examples are only for illustrating the technical solutions of the present invention more clearly, and therefore are only examples, and the protection scope of the present invention is not limited thereby.
It is to be noted that, unless otherwise specified, technical or scientific terms used herein shall have the ordinary meaning as understood by those skilled in the art to which the invention pertains.
At present, the conventional method is to perform delay or filtering processing on the detected signal, for example, after an overcurrent signal is detected for N consecutive switching cycles, it is determined that Overcurrent (OCP) is triggered and protection is turned on; and continuously generating over-temperature in the http time, judging to trigger over-temperature (OTP) and starting protection. The method mainly uses a certain time delay or a certain number of cycles satisfied by continuous counting as a judgment basis to determine whether to start the abnormal protection. However, this method is too harsh in a sense that if only a small period of time or a few periods of time in the delay time or counting period do not satisfy the condition, the timer or counter will reset the recounting timing, but the abnormal condition may be serious at this time, but the abnormal protection will not be triggered, so that this method still has certain defects.
As shown in fig. 1, for example, when an overcurrent signal is detected at time T1, and no overcurrent signal is detected between times T2 and T3 within a fixed delay time period, the system determines that there is no abnormality, and then, when no overcurrent signal is detected at time T4 within a fixed delay time period, the system determines that there is no abnormality. Similarly, if the count is set to zero at T2, it is equivalent to re-counting at T3. The exception decision is not triggered because the exception signal returns to normal for a short period of time on occasion. However, the total anomaly time is already large at this time, seriously threatening the system reliability. The inventors found that, in the process of determining whether an abnormality occurs, if a signal noise occurs, a phenomenon that an abnormal state cannot be detected is particularly likely to occur.
Specifically, the method for determining the abnormal protection provided by the embodiment of the invention can be applied to scenes including but not limited to over-temperature protection, over-current protection, over-voltage protection and the like.
The first embodiment is as follows:
as shown in fig. 2, an embodiment of the present invention provides a method for determining abnormal protection, including:
and S1, acquiring a detection signal in a statistical period.
In this embodiment, the size of the statistical period may be set based on actual conditions. The statistical period may be a preset number of pulse periods, or a preset time period, and the representation form of the statistical period is not particularly limited.
In this embodiment, the detection signal may be a continuous electrical signal, which may be a pulse signal, a current signal, a voltage signal, or the like.
In some embodiments, the voltage signal may be obtained in real time, and the voltage signal and the reference voltage signal are respectively input to two input terminals of the comparator, and the comparator outputs a detection signal for representing a magnitude relationship between the voltage signal and the reference voltage signal.
And S2, acquiring the abnormal ratio of the abnormal signal in the statistical period according to the detection signal.
In this embodiment, based on the characterization form of the detection signal, a corresponding manner may be selected to determine the abnormal signal corresponding to the detection signal. For example, when the detection signal is a pulse signal, a high-level pulse may be regarded as an abnormal signal; when the detection signal is a voltage signal, the voltage signal having the corresponding voltage value greater than the preset voltage value may be regarded as an abnormal signal.
In this embodiment, the abnormal ratio can be used to characterize how much of the abnormal signal is in the statistical period. In practical application, the proportion of the abnormal signal in the statistical period can be not directly calculated, but a related signal equivalent to the abnormal proportion can be obtained. For example, the signal may be a cumulative number of abnormal signals in a statistical period, a non-abnormal percentage, or the like.
And S3, determining whether to trigger the abnormal protection according to the abnormal proportion.
In this embodiment, it may be determined that the abnormality protection is triggered when the abnormality proportion exceeds a preset abnormality threshold.
Through the implementation of the embodiment of the invention, the occurrence of wrong judgment results caused by circuit noise can be effectively prevented, meanwhile, the situation that discontinuous abnormal conditions cannot be identified can be avoided, higher reliability can be achieved, and the accuracy of detecting the abnormal conditions is improved.
In this embodiment of the present invention, step S2 may include: acquiring the time sum of the detection signals which are abnormal signals in the time period corresponding to the statistical period; and acquiring the abnormal ratio according to the time sum.
In the embodiment of the invention, the abnormal signals and the non-abnormal signals corresponding to the detection signals in the statistical period can be distinguished, and the time sum of the abnormal signals is obtained, namely, the abnormal signals in the statistical period are subjected to accumulation timing. As shown in fig. 3, the time period corresponding to the statistical period is set to Totp, the sum of the abnormal signals is set to Totp _ sum1, and the abnormal percentage is Totp _ sum1/Totp × 100%. In the embodiment of the invention, the abnormal proportion is taken as a determination target, for example, when the abnormal proportion exceeds 80%, the system is determined to be abnormal, and the system starts the abnormal protection.
In this embodiment of the present invention, step S2 may further include: acquiring the pulse number of the detection signal as an abnormal signal in a pulse period corresponding to the statistical period; and acquiring the abnormal occupation ratio according to the pulse number.
In the embodiment of the invention, the abnormal signals and the non-abnormal signals corresponding to the detection signals in the statistical period can be distinguished, and the pulse sum corresponding to the abnormal signals is obtained, namely the abnormal signals in the statistical period are accumulated and counted. As shown in fig. 4, if the pulse period corresponding to the statistical period is set to be notch, and the period number of the abnormal signal is set to be notch _ sum1, the abnormal percentage is notch _ sum 1/notch × 100%. In the embodiment of the invention, the abnormal proportion is taken as a determination object, for example, when the abnormal proportion exceeds 80%, the system is determined to be overcurrent, and the system starts overcurrent protection.
Further, in this embodiment, step S2 may further include: and in the statistical period, if the abnormal signals are detected, accumulating the abnormal proportion, otherwise, keeping the abnormal proportion unchanged.
As shown in fig. 3, the statistical period is from T1 to T7, and the abnormal signal is detected at the stages from T1 to T2, from T3 to T4, and from T5 to T6, and is accumulated by the timer; no abnormal signal is detected in the stages from T2 to T3, from T4 to T5 and from T6 to T7, the timing is not cleared and only is stopped.
Similarly, as shown in fig. 4, OCP1 represents an overcurrent detection output signal in a non-switching state (a continuous operation state, such as an overcurrent state of a power tube in a resistive load driven by the power tube in a normally open state), and OCP2 represents an overcurrent detection output signal in a switching state (such as an overcurrent state of a power tube in a PWM switching control motor). Counting the period from T1 to T7, detecting abnormal signal pulses at stages from T1 to T2, from T3 to T4 and from T5 to T6, and accumulating by a timer; no abnormal signal pulse is detected in the stages from T2 to T3, from T4 to T5 and from T6 to T7, and the timing is not cleared and only stopped.
Further, in the present embodiment, within the statistical period, there may be a plurality of abnormal signal continuous intervals having intervals.
In the present embodiment, in the statistical period, a plurality of abnormal signal continuous intervals with intervals, for example, as shown in fig. 3, T1 to T7, T1 to T2, T3 to T4, T5 to T6 are respectively an abnormal continuous interval, and T2 to T3, T4 to T5, T6 to T7 are respectively a non-abnormal continuous interval. In addition, the Totp _ sum1 may be a continuous time period or a sum of a plurality of time periods. As shown in fig. 4, notch _ sum1 may be a continuous number of cycles or a sum of a number of cycles.
Further, in this embodiment, when the starting point of the statistical period is multiple, step S2 may include: and acquiring abnormal proportion of the statistical period corresponding to each starting point. Step S3 may include: and if the abnormal proportion of the statistical period corresponding to at least one starting point in the plurality of starting points reaches a preset abnormal threshold, judging to trigger abnormal protection.
In the embodiment of the invention, the starting point of counting/timing can be preset no matter a statistical counting mode or a statistical timing mode is adopted. Any one or more of the starting points may be selected as statistical period starting points. As shown in fig. 5, one or more of the times T1, T2, T3, T4, T5, and T6 may be used as a starting point, then an abnormal proportion of the statistical period corresponding to each starting point is obtained, and if the abnormal proportion of the statistical period corresponding to at least one of the starting points reaches a preset abnormal threshold, it is determined that the abnormal protection is triggered, so that the occurrence of the abnormal condition that the abnormality is not detected due to the detection defect can be avoided to the greatest extent.
Further, the embodiment of the invention can be applied to PWM speed regulating motors and switching power supplies.
The second embodiment:
an embodiment of the present invention provides a determination circuit 100 for abnormal protection, as shown in fig. 6, including:
the detection module 11 is configured to obtain a detection signal in a statistical period;
an abnormal proportion obtaining module 12, configured to obtain an abnormal proportion of the abnormal signal in the statistical period according to the detection signal;
and the judging module 13 is used for determining whether to trigger the abnormal protection according to the abnormal proportion.
In the embodiment of the present invention, the detection module 11 may adopt a comparator. As shown in fig. 7, taking the detection of overcurrent as an example, the current is detected in real time and compared with the reference current Iref in real time, and the level of the output of the comparator represents the comparison result. And then acquiring the abnormal proportion of the abnormal signal in the statistical period according to the comparison result, and finally determining whether to trigger the abnormal protection according to the abnormal proportion.
In this embodiment, the size of the statistical period may be set based on actual conditions. The statistical period may be a preset number of pulse periods, or a preset time period, and the representation form of the statistical period is not particularly limited.
In this embodiment, the detection signal may be a continuous electrical signal, which may be a pulse signal, a current signal, a voltage signal, or the like.
In some embodiments, the voltage signal may be obtained in real time, and the voltage signal and the reference voltage signal are respectively input to two input terminals of the comparator, and the comparator outputs a detection signal for representing a magnitude relationship between the voltage signal and the reference voltage signal.
In this embodiment, a corresponding mode may be selected to determine the abnormal signal corresponding to the detection signal based on the characterization form of the detection signal. For example, when the detection signal is a pulse signal, a high-level pulse may be regarded as an abnormal signal; when the detection signal is a voltage signal, the voltage signal having a corresponding voltage value greater than the preset voltage value may be regarded as an abnormal signal.
In this embodiment, the abnormal ratio can be used to characterize how much of the abnormal signal is in the statistical period. In practical application, the proportion of the abnormal signal in the statistical period can be not directly calculated, but a related signal equivalent to the abnormal proportion can be obtained. For example, the signal may be a cumulative number of abnormal signals in a statistical period, a non-abnormal percentage, or the like.
In this embodiment, it may be determined that the abnormality protection is triggered when the abnormality proportion exceeds a preset abnormality threshold.
Through the implementation of the embodiment of the invention, the occurrence of wrong judgment results caused by circuit noise can be effectively prevented, meanwhile, the situation that discontinuous abnormal conditions cannot be identified can be avoided, higher reliability can be achieved, and the accuracy of detecting the abnormal conditions is improved.
Further, the abnormal protection circuit 100 in the embodiment of the present invention may include, but is not limited to, scenarios such as overcurrent protection, over-temperature protection, and overvoltage protection.
Further, the embodiment of the invention is applied to PWM speed regulating motors and switching power supplies.
It should be noted that the technical solution of the abnormality protection circuit 100 according to the second embodiment is the same as that of the abnormality protection method according to the first embodiment, and corresponding contents in the first embodiment may be referred to where not mentioned in the second embodiment, and are not described herein again.
Example three:
the embodiment of the invention provides a judgment chip for abnormal protection, which comprises a judgment circuit for abnormal protection as described in the second embodiment.
For a brief description of the products provided by the embodiments of the present invention, reference may be made to the corresponding contents in the second embodiment.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solution of the present invention, and not to limit the same; while the invention has been described in detail and with reference to the foregoing embodiments, it will be understood by those skilled in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; such modifications and substitutions do not depart from the spirit and scope of the present invention, and they should be construed as being included in the following claims and description.

Claims (10)

1. A method for determining an abnormality protection, comprising:
acquiring a detection signal in a statistical period;
acquiring the abnormal proportion of the abnormal signal in the statistical period according to the detection signal;
and determining whether to trigger abnormal protection according to the abnormal proportion.
2. The method for determining abnormal protection according to claim 1, wherein the obtaining of the abnormal proportion of the abnormal signal in the statistical period based on the detection signal comprises:
acquiring the time sum of the abnormal signals in the time period corresponding to the statistical period;
and acquiring the abnormal proportion according to the time sum.
3. The method for determining abnormal protection according to claim 1, wherein the obtaining the abnormal proportion of the abnormal signal in the statistical period according to the detection signal comprises:
acquiring the pulse number of the detection signal which is an abnormal signal in a pulse period corresponding to the statistical period;
and acquiring the abnormal proportion according to the pulse number.
4. The method for determining abnormal protection according to claim 1, wherein the obtaining of the abnormal proportion of the abnormal signal in the statistical period based on the detection signal comprises:
and in the statistical period, if an abnormal signal is detected, accumulating the abnormal proportion, otherwise, keeping the abnormal proportion unchanged.
5. The method of determining abnormality protection according to claim 4, wherein a plurality of consecutive intervals of the abnormality signal having an interval exist in the statistical period.
6. The method for determining abnormal protection according to claim 1, wherein when the starting point of the statistical period is plural, the obtaining of the abnormal proportion of the abnormal signal in the statistical period based on the detection signal includes: acquiring the abnormal proportion of the statistical period corresponding to each starting point;
the determining whether to trigger the abnormal protection according to the abnormal proportion comprises: and if the abnormal proportion of the statistical period corresponding to at least one starting point in the plurality of starting points reaches a preset abnormal threshold, judging to trigger abnormal protection.
7. The method for determining abnormal protection according to claim 1, wherein the abnormal protection includes but is not limited to overcurrent protection, over-temperature protection, and overvoltage protection.
8. The method for determining abnormal protection according to claim 1, wherein the method is applied to PWM (pulse-width modulation) speed-regulating motors and switching power supplies.
9. An abnormality protection determination circuit, comprising:
the detection module is used for acquiring a detection signal in a statistical period;
the abnormal proportion obtaining module is used for obtaining the abnormal proportion of the abnormal signal in the statistical period according to the detection signal;
and the judging module is used for determining whether to trigger the abnormal protection according to the abnormal proportion.
10. A determination chip for abnormality protection, characterized by comprising the determination circuit for abnormality protection according to claim 9.
CN202211499408.9A 2022-11-28 2022-11-28 Method, circuit and chip for judging abnormal protection Pending CN115864295A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211499408.9A CN115864295A (en) 2022-11-28 2022-11-28 Method, circuit and chip for judging abnormal protection

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211499408.9A CN115864295A (en) 2022-11-28 2022-11-28 Method, circuit and chip for judging abnormal protection

Publications (1)

Publication Number Publication Date
CN115864295A true CN115864295A (en) 2023-03-28

Family

ID=85667091

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211499408.9A Pending CN115864295A (en) 2022-11-28 2022-11-28 Method, circuit and chip for judging abnormal protection

Country Status (1)

Country Link
CN (1) CN115864295A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111025159A (en) * 2019-11-29 2020-04-17 深圳猛犸电动科技有限公司 Method and device for detecting abnormality of electric vehicle battery, intelligent device and storage medium
CN111668804A (en) * 2020-06-22 2020-09-15 联想(北京)有限公司 Overcurrent protection method and device and electronic equipment
CN113931806A (en) * 2020-06-29 2022-01-14 新疆金风科技股份有限公司 Wind generating set and control method, controller and control system thereof
JP2022150475A (en) * 2021-03-26 2022-10-07 ニチコン株式会社 Abnormality detection system of power supply device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111025159A (en) * 2019-11-29 2020-04-17 深圳猛犸电动科技有限公司 Method and device for detecting abnormality of electric vehicle battery, intelligent device and storage medium
CN111668804A (en) * 2020-06-22 2020-09-15 联想(北京)有限公司 Overcurrent protection method and device and electronic equipment
CN113931806A (en) * 2020-06-29 2022-01-14 新疆金风科技股份有限公司 Wind generating set and control method, controller and control system thereof
JP2022150475A (en) * 2021-03-26 2022-10-07 ニチコン株式会社 Abnormality detection system of power supply device

Similar Documents

Publication Publication Date Title
US7636227B2 (en) Noise immune over current protection with inherent current limiting for switching power converter
CN107276571B (en) System and method for high side power switch
CN107872196B (en) Photovoltaic system with voltage limiting device
US7323841B2 (en) Method and apparatus for detecting multiple overcurrent thresholds using a single comparator device
KR20070098598A (en) Methods of detecting arc faults characterized by consecutive periods of arcing
US8315021B2 (en) Motor detecting and protecting apparatus and its method
US11575371B2 (en) Semiconductor device
JP5203056B2 (en) Abnormal current detection device and abnormal current detection method
CN115864295A (en) Method, circuit and chip for judging abnormal protection
US7116239B2 (en) Current sense components failure detection in a multi-phase power system
EP1753119A2 (en) Method and apparatus for detecting multiple overcurrent thresholds using a single comparator device
JP2006025547A (en) Switching power supply device
US20150229122A1 (en) Method and device for recognizing a short circuit in a pwn driver circuit
CN118302923A (en) Abnormality detection device
KR20140079312A (en) Mothod and device for monitoring signal levels
WO2021099429A1 (en) Overcurrent detector
CN108347158B (en) Circuit protection system and method
JP3843332B2 (en) Electromagnetic actuator drive
KR20190070862A (en) Semiconductor device
EP3923431A1 (en) Dc-overcurrent detector
CN110086454B (en) Overload control device of power module
JP6462206B2 (en) Power converter and control method
JP2018085857A (en) Overcurrent protective device
CN220798085U (en) Over-temperature protection circuit
JP4396572B2 (en) Method for resetting signal processing apparatus

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20230328