A load characteristic testing method and circuit
By acquiring voltage and current signals during the load characteristic test stage, calculating equivalent impedance and phase relationships, and quickly and accurately detecting load circuit characteristics, it solves the problems of complex detection and misjudgment in the existing technology, and improves detection efficiency and accuracy.
Patent Information
- Application Number
- CN202210173643.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-02-24
- Publication Date
- 2024-10-29
- Estimated Expiration
- 2042-02-24
AI Technical Summary
The existing load circuit testing method cannot quickly and accurately detect the characteristics of the load circuit, especially when the load is connected incorrectly, it cannot detect circuit abnormalities, and the test process is complex and cannot quickly detect the load characteristics of the load circuit.
During the load characteristic test phase, the main control switch is controlled to be in the on state, the voltage signal and current signal at both ends of the load to be tested are obtained, the signals at two moments are randomly selected as the test voltage and test current, the equivalent impedance is calculated, and based on the equation The ratio and phase relationship of the effective impedance can be used to determine the load characteristics, including resistance, inductance and capacitance.
It achieves fast and accurate detection of load circuit characteristics, avoids inconvenient equipment maintenance when circuit faults occur, improves work efficiency, and facilitates equipment diagnosis and protection functions.
Smart Images

Figure CN114563685B_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present invention relate to circuit testing technology, and in particular to a load characteristic testing method and circuit. Background Art
[0002] With the development trend of intelligence in the Industrial 4.0 era, the continuous optimization and updating of intelligent driving technology, the number of intelligent devices in the industrial and automotive fields continues to increase, and the demand for monitoring and safety is increasing. In the circuit system, the judgment of the load circuit characteristics becomes particularly important.
[0003] Existing methods usually only judge whether the load circuit is faulty by the absolute value of the output current or output voltage. When the load in the load circuit is connected incorrectly, the load circuit may still be judged to be normal and the circuit abnormality cannot be detected. Alternatively, existing methods for testing load circuit characteristics require calculation by establishing a load model, which is complex and cannot quickly detect the load characteristics of the load circuit.
[0004] Therefore, how to quickly and accurately detect the load circuit characteristics is crucial. Summary of the invention
[0005] The embodiment of the present invention provides a load characteristic testing method and circuit, which can quickly and accurately detect the load circuit characteristics.
[0006] In a first aspect, an embodiment of the present invention provides a load characteristic testing method, which is implemented by a load characteristic testing circuit, wherein the load characteristic testing circuit includes a main control switch and a power supply, and the load to be tested is electrically connected to the power supply through the main control switch. The load characteristic testing method includes:
[0007] In the load characteristic test phase, the main control switch is controlled to be in an on state, and a voltage signal across the load to be tested and a current signal flowing through the load to be tested are obtained at each moment in the load characteristic test phase;
[0008] Randomly selecting voltage signals and current signals at two different moments in the load characteristic test phase as the test voltage and test current, respectively; the two different moments are respectively a first moment and a second moment, the test voltage at the first moment is a first test voltage, the test current at the first moment is a first test current, the test voltage at the second moment is a second test voltage, and the test current at the second moment is a second test current;
[0009] Determine a first equivalent impedance of the load to be tested according to the first test voltage and the first test current, and determine a second equivalent impedance of the load to be tested according to the second test voltage and the second test current;
[0010] The load characteristics of the load to be measured are determined according to the first equivalent impedance and the second equivalent impedance; the load characteristics include resistance, inductance and capacitance.
[0011] Optionally, determining the load characteristic of the load to be measured according to the first equivalent impedance and the second equivalent impedance includes:
[0012] Determining a phase relationship between the test voltage and the test current at the first moment and the second moment according to the first equivalent impedance and the second equivalent impedance;
[0013] Based on the phase relationship between the test voltage and the test current, the load characteristic of the load to be tested is determined.
[0014] Optionally, the first moment is a moment before the second moment;
[0015] Determining a phase relationship between the test voltage and the test current at the first moment and the second moment according to the first equivalent impedance and the second equivalent impedance includes:
[0016] Determine whether a ratio K of the first equivalent impedance to the second equivalent impedance is within a preset ratio range; the preset ratio range is a neighborhood of 1;
[0017] If so, determining that the phase of the test voltage is the same as the phase of the test current;
[0018] If not, then when the ratio K of the first equivalent impedance to the second equivalent impedance is greater than the upper limit of the preset ratio range, it is determined that the phase of the test voltage leads the phase of the test current; or, when the ratio K of the first equivalent impedance to the second equivalent impedance is less than the lower limit of the preset ratio range, it is determined that the phase of the test voltage lags behind the phase of the test current.
[0019] Optionally, before determining that the phase of the test voltage is the same as the phase of the test current, the method further includes:
[0020] When the ratio K of the first equivalent impedance to the second equivalent impedance remains within the preset ratio range, obtaining the number of times the steps of determining the first equivalent impedance of the load to be tested according to the first test voltage and the first test current, and determining the second equivalent impedance of the load to be tested according to the second test voltage and the second test current are executed as a first execution number;
[0021] Determining whether the first execution number is greater than or equal to a first preset number;
[0022] If so, determining that the phase of the test voltage is the same as the phase of the test current;
[0023] If not, then reselect the voltage signal and the current signal at two different moments in the load characteristic test phase as the test voltage and the test current respectively; the two different moments reselected include a third moment and a fourth moment, and the test voltage at the third moment is used as the first test voltage, the test current at the third moment is used as the first test current, the test voltage at the fourth moment is used as the second test voltage, and the test current at the fourth moment is used as the second test current; wherein at least one of the third moment and the fourth moment is a moment different from both the first moment and the second moment;
[0024] Return to the step of determining a first equivalent impedance of the load to be tested according to the first test voltage and the first test current, and determining a second equivalent impedance of the load to be tested according to the second test voltage and the second test current.
[0025] Optionally, determining the load characteristic of the load to be tested based on a phase relationship between the test voltage and the test current includes:
[0026] If the phase of the test voltage is the same as the phase of the test current, it is determined that the load characteristic of the load to be tested is resistive;
[0027] If the phase of the test voltage is ahead of the phase of the test current, it is determined that the load characteristic of the load to be tested is inductive;
[0028] If the phase of the test voltage lags behind the phase of the test current, it is determined that the load characteristic of the load to be tested is capacitive.
[0029] Optionally, before the load characteristic testing phase, the method further includes:
[0030] In the load state test phase, the main control switch is controlled to be in the on state, and a current signal flowing through the load to be tested at each moment in the load state test phase is obtained;
[0031] Randomly selecting a current signal at a certain moment in the load state test phase as a state judgment signal;
[0032] Determine whether the state judgment signal satisfies a condition that the load is normal; the condition that the load is normal is that the current signal is within a preset current range;
[0033] If yes, it is determined that the load to be tested and the load characteristic test circuit are in a normal state;
[0034] If not, it is determined that the load to be tested and / or the load characteristic test circuit is in a fault state, and the fault state information is uploaded and stored.
[0035] Optionally, before determining that the load to be tested and / or the load characteristic test circuit is in a fault state, the method further includes:
[0036] When the state judgment signal does not meet the condition that the load is normal, obtaining the number of times the step of judging whether the state judgment signal meets the condition that the load is normal is executed as a second execution number;
[0037] Determining whether the second execution number is greater than or equal to a second preset number;
[0038] If yes, it is determined that the load to be tested and / or the load characteristic test circuit is in a fault state;
[0039] If not, then reselect the current signal at another time in the load state test phase as the state judgment signal, and return to the step of judging whether the state judgment signal satisfies the condition that the load is normal.
[0040] Optionally, also include:
[0041] In the load characteristic test phase and / or in the load state test phase before the load characteristic test phase, judging whether a circuit protection start condition is met according to a current voltage signal and a current current signal; the circuit protection start condition includes that the current voltage signal is greater than a voltage threshold, and / or the current current is greater than a current threshold;
[0042] If so, the main control switch is immediately controlled to be disconnected, and the circuit protection status information is uploaded and stored.
[0043] Optionally, before the load characteristic test phase, it also includes: a power-on detection phase;
[0044] The power-on detection phase specifically includes:
[0045] Initializing the load characteristic test circuit, and collecting in real time the input voltage of the input end of the load to be tested, the output voltage and output current of the output end of the load to be tested, and the operating state of the load characteristic test circuit;
[0046] Determine whether the current detection state is a fault according to the current voltage signal, the current signal and the operating state;
[0047] If yes, immediately control the main switch to be disconnected, and upload and store the fault information;
[0048] If not, return to the step of real-time acquisition of the input voltage of the input end of the load to be tested, the output voltage and output current of the output end of the load to be tested, and the operating status of the load characteristic test circuit, until the power-on detection phase ends, and the main control switch is controlled to be normally disconnected.
[0049] Optionally, it further includes: at least one interval waiting stage; the interval waiting stage is located between the power-on detection stage and the load state test stage and / or between the load state test stage and the load characteristic test stage;
[0050] During the interval waiting stage, the main control switch is controlled to be disconnected, and the state of the load characteristic test circuit is initialized.
[0051] In a second aspect, an embodiment of the present invention further provides a load characteristic test circuit, the circuit comprising: a microcontroller, a main control switch, a power supply, a voltage acquisition module and a current acquisition module;
[0052] The load to be tested is electrically connected to the power supply through the main control switch;
[0053] The voltage acquisition module is electrically connected to the two ends of the load to be tested, and is used to collect voltage signals at the two ends of the load to be tested;
[0054] The current acquisition module is electrically connected to the output end of the load to be measured, and is used to collect the current signal flowing through the load to be measured;
[0055] The microcontroller is electrically connected to the control end of the main control switch, the output end of the voltage acquisition module and the output end of the current acquisition module respectively; the microcontroller is used to execute the load characteristic test circuit described in any one of claims 1-11.
[0056] An embodiment of the present invention provides a load characteristic testing method, which obtains a first equivalent impedance and a second equivalent impedance of the load to be tested by acquiring voltage signals at both ends of the load to be tested and a current signal flowing through the load to be tested at each moment in a load characteristic testing phase, and based on the first equivalent impedance and the second equivalent impedance, the load characteristic can be judged by the impedance change of the load to be tested. The method is simple and does not require complex calculations. The load characteristic of the load circuit can be quickly detected, avoiding the inconvenience of equipment maintenance and problem finding when a circuit fails, thereby further improving work efficiency and facilitating the equipment to implement various diagnostic and protection functions. BRIEF DESCRIPTION OF THE DRAWINGS
[0057] Figure 1 A flow chart of a load characteristic testing method provided by an embodiment of the present invention;
[0058] Figure 2A flow chart of another load characteristic testing method provided by an embodiment of the present invention;
[0059] Figure 3 A flow chart of another load characteristic testing method provided by an embodiment of the present invention;
[0060] Figure 4 A flow chart of another load characteristic testing method provided by an embodiment of the present invention;
[0061] Figure 5 A flow chart of another load characteristic testing method provided by an embodiment of the present invention;
[0062] Figure 6 A flow chart of another load characteristic testing method provided by an embodiment of the present invention;
[0063] Figure 7 A flow chart of a power-on detection method provided by an embodiment of the present invention;
[0064] Figure 8 A schematic diagram of the structure of a load characteristic test circuit provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0065] The present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It is to be understood that the specific embodiments described herein are only used to explain the present invention, rather than to limit the present invention. It should also be noted that, for ease of description, only parts related to the present invention, rather than all structures, are shown in the accompanying drawings.
[0066] It should be mentioned before discussing the exemplary embodiments in more detail that some exemplary embodiments are described as processes or methods depicted as flow charts. Although the flow charts describe the steps as sequential processes, many of the steps therein can be implemented in parallel, concurrently or simultaneously. In addition, the order of the steps can be rearranged. The process can be terminated when its operation is completed, but can also have additional steps not included in the accompanying drawings. The process can correspond to a method, function, procedure, subroutine, subprogram, etc.
[0067] The embodiment of the present invention provides a load characteristic testing method. Figure 1 The flowchart of a load characteristic test method provided by an embodiment of the present invention is applicable to detecting load characteristics. The method can be implemented by a load characteristic test circuit. The load characteristic test circuit includes a main control switch and a power supply. The load to be tested is electrically connected to the power supply through the main control switch. The circuit can be implemented by software and / or hardware. Figure 1 As shown, the method includes:
[0068] S1001. In a load characteristic test phase, the main control switch is controlled to be in an on state, and voltage signals at both ends of the load to be tested and current signals flowing through the load to be tested are obtained at each moment in the load characteristic test phase.
[0069] Among them, the load characteristic test phase is very short, which can reach the microsecond level. The load characteristic test phase is affected by the components and materials of the load characteristic test circuit. The embodiment of the present invention does not specifically limit the duration of the load characteristic test phase.
[0070] Specifically, in the load characteristic test stage, after the main control switch is turned on, the voltage signal at both ends of the load to be tested and the current signal flowing through the load to be tested are collected once at a certain interval, that is, the voltage signal at both ends of the load to be tested and the current signal flowing through the load to be tested are collected at each moment, and the time interval is generally less than or equal to 1μs. The embodiment of the present invention does not specifically limit the time interval between adjacent moments.
[0071] S1002. Randomly select voltage signals and current signals at two different times in the load characteristic test phase as test voltage and test current, respectively.
[0072] The two different moments are the first moment and the second moment, the test voltage at the first moment is the first test voltage, the test current at the first moment is the first test current, the test voltage at the second moment is the second test voltage, and the test current at the second moment is the second test current. The test voltage is the voltage signal across the load to be tested, and the test current is the current signal flowing through the load to be tested. The first moment and the second moment can be any two moments in the load characteristic test phase, and the embodiment of the present invention does not make specific limitations.
[0073] S1003 . Determine a first equivalent impedance of the load to be tested according to the first test voltage and the first test current, and determine a second equivalent impedance of the load to be tested according to the second test voltage and the second test current.
[0074] Among them, the part that hinders the current is usually collectively called impedance. In the field of direct current, resistors will hinder the current. In the field of alternating current, in addition to resistors, capacitors and inductors will also hinder the flow of current. Several connected resistors, capacitors and / or inductors can be replaced by one component, and the impedance of this component is the equivalent impedance of the interconnected components.
[0075] S1004: Determine a load characteristic of the load to be measured according to the first equivalent impedance and the second equivalent impedance.
[0076] The load characteristics include resistance, inductance and capacitance, and the load to be tested includes one or more of resistance, capacitance and inductance. Specifically, the load characteristic test phase uses the short time when the main control switch is turned on. In the field of alternating current, the equivalent impedance is affected by the load characteristics of the load to be tested, and the load characteristics are judged by the impedance change of the load to be tested.
[0077] Exemplarily, when entering the load characteristic test phase, the main control switch is turned on, the load characteristic test circuit is in the on state, the current changes from zero to a non-zero state, and during the time period of current change, if the first equivalent impedance and the second equivalent impedance are the same, it means that the impedance of the load to be measured is stable and is a resistive load, and the impedance size is not affected by the frequency of the AC power; if the first equivalent impedance and the second equivalent impedance are different, it means that the impedance of the load to be measured is a reactance, and the impedance size is affected by the frequency of the AC power. The higher the frequency, the larger the reactance, and the load to be measured is an inductive load. The higher the frequency, the smaller the reactance, and the load to be measured is a capacitive load.
[0078] The technical solution of the embodiment of the present invention obtains the first equivalent impedance and the second equivalent impedance of the load to be tested by acquiring the voltage signals at both ends of the load to be tested and the current signal flowing through the load to be tested at each moment in the load characteristic test phase, and based on the first equivalent impedance and the second equivalent impedance, the load characteristics can be judged by the impedance change of the load to be tested. The method is simple and does not require complex calculations. The load characteristics of the load circuit can be quickly detected, avoiding the inconvenience of equipment maintenance and problem finding when the circuit fails, thereby further improving work efficiency and facilitating the equipment to realize various diagnostic and protection functions.
[0079] Optionally, the phase relationship between the test voltage and the test current at the first moment and the second moment is determined by the first equivalent impedance and the second equivalent impedance, and based on the phase relationship between the test voltage and the test current, the load characteristic of the load to be tested is determined. Figure 2 A flow chart of another load characteristic testing method provided by an embodiment of the present invention. Figure 2 As shown, the method includes:
[0080] S2001. In a load characteristic test phase, the main control switch is controlled to be in an on state, and voltage signals at both ends of the load to be tested and current signals flowing through the load to be tested are obtained at each moment in the load characteristic test phase.
[0081] S2002. Randomly select voltage signals and current signals at two different times in the load characteristic test phase as test voltage and test current, respectively.
[0082] S2003. Determine a first equivalent impedance of the load to be tested according to the first test voltage and the first test current, and determine a second equivalent impedance of the load to be tested according to the second test voltage and the second test current.
[0083] S2004. Determine a phase relationship between a test voltage and a test current at a first moment and a second moment according to the first equivalent impedance and the second equivalent impedance.
[0084] S2005. Determine the load characteristics of the load to be tested based on the phase relationship between the test voltage and the test current.
[0085] Optionally, based on the phase relationship between the test voltage and the test current, the load characteristics of the load to be tested are determined, including: if the phase of the test voltage is the same as the phase of the test current, the load characteristics of the load to be tested are determined to be resistive; if the phase of the test voltage leads the phase of the test current, the load characteristics of the load to be tested are determined to be inductive; if the phase of the test voltage lags behind the phase of the test current, the load characteristics of the load to be tested are determined to be capacitive.
[0086] Among them, the phase relationship between the test voltage and the test current is related to the load characteristics of the load to be tested. The equivalent impedance of the resistive load is fixed, and the test voltage and test current of the resistive load are in phase. As time goes by, the equivalent impedance of the load to be tested remains unchanged; the equivalent impedance of the capacitive load will increase with time, the current phase will lead the voltage phase, the current flowing through the load to be tested will gradually decrease, the voltage across the load to be tested will gradually increase, the current phase will gradually approach the voltage phase, and the equivalent impedance of the capacitive load will gradually increase to infinity; the equivalent impedance of the inductive load will decrease with time, the current phase will lag behind the voltage phase, the current flowing through the load to be tested will gradually increase, the voltage across the load to be tested will gradually decrease, the current phase will gradually approach the voltage phase, and the equivalent impedance of the capacitive load will gradually decrease to the minimum value. Specifically, the phase relationship between the test voltage and the test current can be determined according to the rate of change of the equivalent impedance over time, and the load characteristics of the load to be tested can be judged according to the phase relationship between the test voltage and the test current.
[0087] Exemplarily, the equivalent impedance of the load to be measured can be obtained according to the first equivalent impedance and the second equivalent impedance. As time goes by, if the equivalent impedance of the load to be measured does not change with time, the test voltage and the test current are in phase, and the load to be measured is resistive; if the equivalent impedance of the load to be measured increases with time, the test voltage lags behind the test current, and the load to be measured is capacitive; if the equivalent impedance of the load to be measured decreases with time, the test voltage leads the test current, and the load to be measured is inductive.
[0088] The embodiment of the present invention obtains the rate of change of the equivalent impedance with time through the first equivalent impedance and the second equivalent impedance, determines the phase relationship between the test voltage and the test current, and determines the load characteristics of the load to be tested based on the phase relationship between the test voltage and the test current. The method is simple and does not require complex calculations. The load characteristics of the load circuit can be quickly detected, avoiding the inconvenience of equipment maintenance and problem finding when a circuit fails, thereby further improving work efficiency and facilitating the diagnosis and protection functions of the equipment.
[0089] Optionally, to avoid test errors, when the difference between the first equivalent impedance and the second equivalent impedance is small, it can be equivalent to the first equivalent impedance being equal to the second equivalent impedance. For example, when the absolute value of the difference between the first equivalent impedance and the second equivalent impedance is less than or equal to the preset difference, it can be equivalent to the first equivalent impedance being equal to the second equivalent impedance; or when the ratio of the first equivalent impedance to the second equivalent impedance is within a preset ratio range, it can be equivalent to the first equivalent impedance being equal to the second equivalent impedance; wherein the preset difference is a positive number approaching zero, and the preset ratio range is a neighborhood of 1. Taking the example of when the ratio of the first equivalent impedance to the second equivalent impedance is within the preset ratio range, it can be equivalent to the first equivalent impedance being equal to the second equivalent impedance. Figure 3 A flow chart of another load characteristic testing method provided by an embodiment of the present invention. Figure 3 As shown, the method includes:
[0090] S3001. In a load characteristic test phase, the main control switch is controlled to be in an on state, and voltage signals at both ends of the load to be tested and current signals flowing through the load to be tested are obtained at each moment in the load characteristic test phase.
[0091] S3002. Randomly select voltage signals and current signals at two different times in the load characteristic test phase as test voltage and test current, respectively.
[0092] S3003: Determine a first equivalent impedance of the load to be tested according to the first test voltage and the first test current, and determine a second equivalent impedance of the load to be tested according to the second test voltage and the second test current.
[0093] The first moment is a moment before the second moment.
[0094] S3004: Determine whether the ratio K of the first equivalent impedance to the second equivalent impedance is within a preset ratio range. If yes, execute S3005; if no, execute S3006.
[0095] Among them, the preset ratio range is a neighborhood of 1.
[0096] S3005. Determine that the phase of the test voltage is the same as the phase of the test current.
[0097] S3006. When the ratio K of the first equivalent impedance to the second equivalent impedance is greater than the upper limit of the preset ratio range, determine that the phase of the test voltage leads the phase of the test current; or, when the ratio K of the first equivalent impedance to the second equivalent impedance is less than the lower limit of the preset ratio range, determine that the phase of the test voltage lags behind the phase of the test current.
[0098] Specifically, if the ratio K of the first equivalent impedance to the second equivalent impedance is within the preset ratio range, it can be considered that the first equivalent impedance is approximately equal to the second equivalent impedance, and the phase of the test voltage is the same as the phase of the test current; if the ratio of the first equivalent impedance to the second equivalent impedance is greater than the upper limit of the preset ratio range, the first equivalent impedance is greater than the second equivalent impedance, the equivalent impedance decreases with time, and the phase of the test voltage leads the phase of the test current; if the ratio K of the first equivalent impedance to the second equivalent impedance is less than the lower limit of the preset ratio range, the first equivalent impedance is less than the second equivalent impedance, the equivalent impedance increases with time, and the phase of the test voltage lags behind the phase of the test current.
[0099] S3007. Determine the load characteristics of the load to be tested based on the phase relationship between the test voltage and the test current.
[0100] Exemplarily, assuming that the preset ratio range is 0.99998-1.00002, if the ratio K of the first equivalent impedance to the second equivalent impedance is greater than or equal to 0.99998 and less than or equal to 1.00002, it means that the first equivalent impedance is approximately equal to the second equivalent impedance. When the first equivalent impedance is 99.998Ω and the second equivalent impedance is 100.000Ω, it can also be considered that the first equivalent impedance is approximately equal to the second equivalent impedance, which can effectively avoid a measurement error of ±0.002Ω.
[0101] The embodiment of the present invention sets a preset ratio range, judges the relationship between the first equivalent impedance and the second equivalent impedance, determines the phase relationship between the test voltage and the test current, and determines the load characteristics of the load to be tested based on the phase relationship between the test voltage and the test current, thereby avoiding test result errors caused by measurement errors and improving the accuracy of the test results.
[0102] Optionally, the phase of the test voltage is considered to be the same as the phase of the test current only by judging once that the first equivalent impedance is approximately equal to the second equivalent impedance, and the equivalent impedance that changes with time may also be considered to be approximately equal. Therefore, before determining that the phase of the test voltage is the same as the phase of the test current based on the ratio K of the first equivalent impedance to the second equivalent impedance being within the preset ratio range, the first equivalent impedance and the second equivalent impedance are judged to be approximately equal at least twice before the phase of the test voltage can be considered to be the same as the phase of the test current. The second judgment reselects the voltage signal and the current signal at two different times in the load characteristic test stage as the test voltage and the test current, respectively, and determines the phase relationship between the test voltage and the test current based on the change in the equivalent impedance of the second test. Figure 4 A flow chart of another load characteristic testing method provided by an embodiment of the present invention. Figure 4 As shown, the method includes:
[0103] S4001. In a load characteristic test phase, the main control switch is controlled to be in an on state, and voltage signals at both ends of the load to be tested and current signals flowing through the load to be tested are obtained at each moment in the load characteristic test phase.
[0104] S4002. Randomly select voltage signals and current signals at two different times in the load characteristic test phase as test voltage and test current, respectively.
[0105] S4003: Determine a first equivalent impedance of the load to be tested according to the first test voltage and the first test current, and determine a second equivalent impedance of the load to be tested according to the second test voltage and the second test current.
[0106] S4004: Determine whether the ratio K of the first equivalent impedance to the second equivalent impedance is within a preset ratio range. If yes, execute S4005; if no, execute S4009.
[0107] S4005. Obtain the number of times the steps of determining a first equivalent impedance of the load to be tested according to the first test voltage and the first test current, and determining a second equivalent impedance of the load to be tested according to the second test voltage and the second test current are executed as a first execution number.
[0108] Among them, the first execution number is the number of times the steps of determining the first equivalent impedance of the load to be tested according to the first test voltage and the first test current, and determining the second equivalent impedance of the load to be tested according to the second test voltage and the second test current are executed, that is, the number of times the ratio K of the first equivalent impedance to the second equivalent impedance is within the preset ratio range.
[0109] S4006: Determine whether the first execution number is greater than or equal to the first preset number. If not, execute S4007; if yes, execute S4008.
[0110] Among them, the first preset number is generally a limited number greater than 1 such as two or three times, which is used to avoid accidental problems that lead to incorrect test results. For example, for a load to be tested whose actual test voltage phase is not the same as the test current phase, when the first moment and the second moment are close to each other, and because the measurement error makes the ratio K of the first equivalent impedance to the second equivalent impedance within the preset ratio range, it is easy to mistakenly judge that the first equivalent impedance is approximately equal to the second equivalent impedance, resulting in an erroneous result that the phase of the test voltage is the same as the phase of the test current. The limited number of executions is to prevent multiple meaningless tests from wasting time and improve test efficiency.
[0111] S4007. Reselect the voltage signal and current signal at two different times in the load characteristic test phase as the test voltage and test current respectively, and return to execute S4003.
[0112] Among them, the two re-selected different moments include the third moment and the fourth moment, and the test voltage at the third moment is used as the first test voltage, the test current at the third moment is used as the first test current, the test voltage at the fourth moment is used as the second test voltage, and the test current at the fourth moment is used as the second test current; wherein, at least one of the third moment and the fourth moment is a moment different from both the first moment and the second moment, so as to avoid randomness in the test results.
[0113] Optionally, the third moment may be the same moment as the first moment, and the fourth moment may be the moment after the second moment; or, the third moment may be the moment before the first moment, and the fourth moment may be the same moment as the second moment; or, the third moment may be the moment before the first moment, and the fourth moment may be the moment after the second moment. The time interval between the third moment and the fourth moment is greater than the time interval between the first moment and the second moment, so as to avoid the two selected moments being adjacent and misjudging that the first equivalent impedance is approximately equal to the second equivalent impedance. Optionally, the third moment and the fourth moment may also both be the moments before the first moment, and the third moment and the fourth moment may also both be the moments after the second moment, in order to avoid accidental test results. The embodiment of the present invention does not specifically limit the selection of the third moment and the fourth moment.
[0114] S4008. Determine that the phase of the test voltage is the same as the phase of the test current.
[0115] S4009. When the ratio K of the first equivalent impedance to the second equivalent impedance is greater than the upper limit of the preset ratio range, determine that the phase of the test voltage leads the phase of the test current; or, when the ratio K of the first equivalent impedance to the second equivalent impedance is less than the lower limit of the preset ratio range, determine that the phase of the test voltage lags behind the phase of the test current.
[0116] S4010. Determine load characteristics of the load to be tested based on a phase relationship between the test voltage and the test current.
[0117] Exemplarily, the first equivalent impedance of the load to be tested is determined according to the first test voltage and the first test current, and the second equivalent impedance of the load to be tested is determined according to the second test voltage and the second test current, and after determining that the ratio K of the first equivalent impedance to the second equivalent impedance is within a preset ratio range, the first execution number is obtained and it is determined whether the first execution number is greater than or equal to 2 times. If the first execution number is 1 time, the voltage signal and the current signal at the third moment are reselected as the first test voltage and the first test current, respectively, and the voltage signal and the current signal at the fourth moment are reselected as the second test voltage and the second test current, respectively. Then, the first equivalent impedance of the load to be tested is determined again based on the first test voltage and the first test current, and the second equivalent impedance of the load to be tested is determined based on the second test voltage and the second test current. If the ratio K of the first equivalent impedance to the second equivalent impedance is not within the preset ratio range, the phase relationship between the test voltage and the test current is determined according to the upper and lower limits of the preset ratio range. If the ratio K of the first equivalent impedance to the second equivalent impedance is within the preset ratio range, the first execution number is obtained and it is determined whether the first execution number is greater than or equal to 2 times. At this time, the first execution number is 2 times, which meets the first preset number, and it is determined that the phase of the test voltage is the same as the phase of the test current.
[0118] The embodiment of the present invention can avoid incorrect test results due to accidental problems in selecting the first moment and the second moment by repeatedly determining that the ratio K of the first equivalent impedance to the second equivalent impedance is within a preset ratio range, thereby improving the accuracy of the test results.
[0119] Optionally, before performing the load characteristic test, a load status test may be performed to prevent the load to be tested and / or the load characteristic test circuit from being in a fault state, thereby preventing the load characteristic test result from being inaccurate. Figure 5 A flow chart of another load characteristic testing method provided by an embodiment of the present invention. Figure 5 As shown, the method includes:
[0120] S5001. In a load state test phase, the main control switch is controlled to be in an on state, and current signals flowing through the load to be tested at each moment in the load state test phase are obtained.
[0121] Among them, the load state test phase is very short, and is intended to test the circuit state after the circuit is closed, which can reach the microsecond level. The load state test phase is affected by the components and materials of the load characteristic test circuit. The embodiment of the present invention does not specifically limit the duration of the load state test phase.
[0122] Specifically, in the load state test stage, after the main control switch is controlled to be turned on, the current signal flowing through the load to be tested is collected once at a certain interval, that is, the current signal flowing through the load to be tested at each moment is collected, and the time interval is generally less than or equal to 1μs. The embodiment of the present invention does not specifically limit the time interval between adjacent moments.
[0123] S5002. Randomly select a current signal at a certain moment in the load state test phase as a state judgment signal.
[0124] S5003: Determine whether the state determination signal meets the load normal condition. If yes, execute S5004; if no, execute S5005.
[0125] The condition that the load is normal is that the current signal is within a preset current range. The preset current range includes an upper current limit and a lower current limit. When the current signal is between the upper current limit and the lower current limit, the load is normal. At this time, the load to be tested and the load characteristic test circuit can both work normally.
[0126] S5004: Determine that the load to be tested and the load characteristic test circuit are in a normal state, and start executing S5006.
[0127] Specifically, if the load to be tested and the load characteristic test circuit are in a normal state, the load characteristic test can be performed.
[0128] S5005. Determine whether the load to be tested and / or the load characteristic test circuit is in a fault state, and upload and store fault state information.
[0129] Among them, the fault state includes an open circuit state and a short circuit state. Specifically, when the current signal is less than the lower current limit, the load to be measured and / or the load characteristic test circuit are open circuited, and the fault state is an open circuit state at this time; when the current signal is greater than the upper current limit, the load to be measured and the load characteristic test circuit are short circuited, and the fault state is a short circuit state at this time. Exemplarily, according to the current signal at a certain moment in the load state test phase, it can be determined whether the load to be measured and / or the load characteristic test circuit is in a fault state, and components can be connected to the load characteristic test circuit to temporarily record the fault state and upload the fault state to an external device, and the external device stores the fault state information. The load characteristic test circuit in the embodiment of the present invention can also be connected to a storage device to store fault state information, and the embodiment of the present invention does not specifically limit how to upload and store the fault state information.
[0130] S5006. In the load characteristic test phase, the main control switch is controlled to be in an on state, and the voltage signal across the load to be tested and the current signal flowing through the load to be tested are obtained at each moment in the load characteristic test phase.
[0131] S5007. Randomly select voltage signals and current signals at two different times in the load characteristic test phase as test voltage and test current, respectively.
[0132] S5008. Determine a first equivalent impedance of the load to be tested according to the first test voltage and the first test current, and determine a second equivalent impedance of the load to be tested according to the second test voltage and the second test current.
[0133] S5009: Determine the load characteristic of the load to be measured according to the first equivalent impedance and the second equivalent impedance.
[0134] In an embodiment of the present invention, a load status test is performed before the load characteristic test phase, and a current signal flowing through the load to be tested at each moment in the load status test phase is obtained as a status judgment signal. Based on the status judgment signal, it is possible to determine whether the load to be tested and the load characteristic test circuit are in a normal state, thereby avoiding the load to be tested and / or the load characteristic test circuit being in a fault state that damages the circuit and affects the result of the load effect test, thereby further improving the accuracy of the test result.
[0135] Optionally, the current signal flowing through the load to be tested may be affected by the surrounding environment and may have noise at a certain moment in the load characteristic test phase, causing the status judgment signal to be abnormal. This is accidental. When the status judgment signal does not meet the normal load conditions, multiple tests can be performed to determine whether the load to be tested and / or the load characteristic test circuit is in a fault state. Figure 6 A flow chart of another load characteristic testing method provided by an embodiment of the present invention. Figure 6 As shown, the method includes:
[0136] S6001. In a load state test phase, the main control switch is controlled to be in an on state, and a current signal flowing through the load to be tested at each moment in the load state test phase is obtained.
[0137] S6002. Randomly select a current signal at a moment in the load state test phase as a state judgment signal.
[0138] S6003: Determine whether the status determination signal meets the load normal condition. If yes, execute S6004; if no, execute S6005.
[0139] The condition that the load is normal is that the current signal is within a preset current range.
[0140] S6004: Determine that the load to be tested and the load characteristic test circuit are in a normal state, and start executing S6009.
[0141] S6005. Obtain the number of times the step of determining whether the status determination signal satisfies the condition that the load is normal is executed as a second execution number.
[0142] The second execution number is the number of times of judging whether the state judgment signal satisfies the condition that the load is normal, that is, the number of times the state judgment signal does not satisfy the condition that the load is normal.
[0143] S6006: Determine whether the second execution number is greater than or equal to the second preset number. If not, execute S6007; if yes, execute S6008.
[0144] Among them, the second preset number is generally a limited number greater than 1 such as two or three times, which is used to avoid accidental problems that lead to incorrect test results. For example, when the current signal flowing through the load to be tested has noise at a certain moment, it will cause the state judgment signal at that moment to not meet the condition that the load is normal. If the current signal at a moment in the randomly selected load state test phase happens to be a noise point, it is easy to mistakenly judge that the state judgment signal does not meet the condition that the load is normal, resulting in an erroneous result that the load to be tested and / or the load characteristic test circuit is in a fault state. The limited number of executions is to prevent multiple meaningless tests from wasting time and improve test efficiency.
[0145] S6007. Reselect the current signal at another time in the load state test phase as the state judgment signal, and return to execute S6003.
[0146] The reselected moment in the load state test phase is different from the moment randomly selected in S6002, so as to avoid repeating the previous contingency.
[0147] S6008. Determine whether the load to be tested and / or the load characteristic test circuit is in a fault state, and upload and store the fault state.
[0148] S6009. In the load characteristic test phase, the main control switch is controlled to be in the on state, and the voltage signal across the load to be tested and the current signal flowing through the load to be tested are obtained at each moment in the load characteristic test phase.
[0149] S6010. Randomly select voltage signals and current signals at two different times in the load characteristic test phase as test voltage and test current, respectively.
[0150] S6011. Determine a first equivalent impedance of the load to be tested according to the first test voltage and the first test current, and determine a second equivalent impedance of the load to be tested according to the second test voltage and the second test current.
[0151] S6012: Determine a load characteristic of the load to be measured according to the first equivalent impedance and the second equivalent impedance.
[0152] Exemplarily, a current signal at a moment in the load state test phase obtained randomly is used as a state judgment signal. If the state judgment signal does not meet the condition that the load is normal, the number of times the state judgment signal meets the condition that the load is normal is obtained. If the state judgment signal does not meet the condition that the load is normal after only one judgment is performed, a current signal at another moment in the load state test phase is reselected as the state judgment signal, and the state judgment signal is judged again whether it meets the condition that the load is normal. According to the result of the second judgment, it is determined whether the load to be tested and the load characteristic test circuit are in a normal state; if the state judgment signal does not meet the condition that the load is normal after only two or more judgments are performed, it is determined that the load to be tested and / or the load characteristic test circuit are in a fault state.
[0153] The embodiment of the present invention obtains the second execution number, executes at least twice to select the current signal at a certain moment in the load state test phase as the state judgment signal, and determines that the load to be tested and / or the load characteristic test circuit is in a fault state only when the state judgment signal does not meet the load normal condition. By adopting the above technical solution, when it is determined that the state judgment signal does not meet the load normal condition, the influence of noise can be avoided and a noise reduction operation can be performed, thereby further improving the accuracy of the test result.
[0154] Optionally, in the load characteristic test phase and / or in the load state test phase before the load characteristic test phase, it is determined whether the circuit protection start condition is met according to the current voltage signal and the current current signal. The circuit protection start condition includes that the current voltage signal is greater than the voltage threshold, and / or the current current is greater than the current threshold. If the current voltage signal and / or the current current meet the circuit protection start condition, the main control switch is immediately controlled to be disconnected, and the circuit protection state information is uploaded and stored.
[0155] Specifically, in the load characteristic test phase and / or in the load state test phase before the load characteristic test phase, the voltage signal at both ends of the load to be tested and the current signal flowing through the load to be tested are obtained in real time at the current moment, and the current voltage signal and the current current signal are compared with the set voltage threshold and current threshold, respectively. If the current voltage signal is less than or equal to the voltage threshold, and the current current signal is less than or equal to the current threshold, the circuit protection start-up condition is not met, the load to be tested and the load characteristic test circuit are not at risk of damage, and there is no need to control the main control switch to disconnect the protection circuit; if the current voltage signal is greater than the voltage threshold, and / or the current current signal is greater than the current threshold, the circuit protection start-up condition is met, the load to be tested and / or the load characteristic test circuit are at risk of damage, then the main control switch is controlled to disconnect the protection circuit. Exemplarily, a hardware protection circuit can be connected to the load characteristic test circuit. When the current voltage signal and the current current signal meet the circuit protection start-up condition, the main control switch is controlled to disconnect to protect the load to be tested and the load characteristic test circuit from being damaged. The load characteristic test circuit can also upload the hardware protection state of the load characteristic test circuit, and the information of the hardware protection state that has been started is stored by an external device. The load characteristic test circuit in the embodiment of the present invention may also be connected to a storage device to store information on the activated hardware protection status. The embodiment of the present invention does not specifically limit how to upload and store the circuit protection activation status.
[0156] Before the load characteristic test, there is also a power-on detection stage, through which the components of the load characteristic test circuit can be tested to see whether they can work normally. Figure 7 Flow chart of a power-on detection method provided by an embodiment of the present invention. Figure 7 As shown, the method includes:
[0157] S7001. Initialize the load characteristic test circuit, and collect in real time the input voltage of the input end of the load to be tested, the output voltage and output current of the output end of the load to be tested, and the operating status of the load characteristic test circuit.
[0158] The initialization of the load characteristic test circuit includes but is not limited to hardware initialization, configuration parameter initialization and working state initialization.
[0159] S7002: Determine whether the current detection state is a fault according to the current voltage signal, current signal and operation state. If so, execute S7003; if not, execute S7004.
[0160] S7003. Immediately control the main control switch to disconnect, and upload and store fault information.
[0161] S7004, return to the step of real-time acquisition of the input voltage of the input end of the load to be tested, the output voltage and output current of the output end of the load to be tested, and the operating state of the load characteristic test circuit, until the power-on detection phase ends, control the main control switch to be normally disconnected, and enter the next phase. The power-on detection phase generally lasts for 1s-2s.
[0162] Exemplarily, a zero-state response of the load characteristic test circuit is formed. In the zero initial state, the initial energy storage of the dynamic element is zero, and the main control switch changes from the open state to the closed conductive state, and the timing starts at the same time (or the countdown starts at the same time). The input voltage of the input end of the load to be tested, the output voltage and output current of the output end of the load to be tested, and the operating status of the load characteristic test circuit are collected in real time. Whether the load characteristic test circuit can operate normally can be judged by whether there is input voltage, output voltage and output current. If the load characteristic test circuit can operate normally, it means that the circuit can be turned on and the power-on detection state is normal. The power-on detection stage can be ended until the timing ends (or the countdown ends), and the main control switch is controlled to disconnect; if the input voltage, output voltage and / or output current cannot be detected, it means that the circuit cannot be turned on, a component may be damaged, and the fault information needs to be uploaded and stored to record the working status of the circuit, which is helpful for fault analysis, diagnosis and location.
[0163] Optionally, at least one interval waiting stage is included before the load state test stage and / or before the load characteristic test stage, and the interval waiting stage is located between the power-on detection stage and the load state test stage and / or between the load state test stage and the load characteristic test stage. In the interval waiting stage, the main control switch is controlled to be disconnected, and the state of the load characteristic test circuit is initialized. The time of the interval waiting stage is generally 1s-2s.
[0164] The embodiment of the present invention can make the load characteristic test circuit enter a zero-state response by performing an interval wait before the load state test stage and / or before the load characteristic test stage, and the initial energy storage of the dynamic element is zero, thereby reducing the impact of the dynamic element on the test result and further improving the accuracy of the test result.
[0165] It should be noted that the above embodiments can be combined with each other under the premise of no contradiction.
[0166] Based on the same inventive concept, an embodiment of the present invention further provides a load characteristic test circuit. Figure 8 The present invention provides a schematic diagram of a load characteristic test circuit structure, the device can be implemented by software and / or hardware, generally integrated in a mobile terminal. Figure 8As shown, the circuit includes a microcontroller 810, a main control switch 820, a power supply 830, a voltage acquisition module 840 and a current acquisition module 850. The load 800 to be tested is electrically connected to the power supply 830 through the main control switch 820; the voltage acquisition module 840 is electrically connected to both ends of the load 800 to be tested, and is used to collect voltage signals at both ends of the load 800 to be tested; the current acquisition module 850 is electrically connected to the output end of the load 800 to be tested, and is used to collect current signals flowing through the load 800 to be tested; the microcontroller 810 is electrically connected to the control end of the main control switch 820, the output end of the voltage acquisition module 840 and the output end of the current acquisition module 850 respectively; the microcontroller 810 is used to execute the load characteristic test method described in any one of the embodiments of the present invention.
[0167] Optionally, the load characteristic test circuit provided by the embodiment of the present invention further includes a hardware protection circuit 860, a communication transceiver 870, a control interaction module 880 and a programming / debugging interface 890. The hardware protection circuit 860 is electrically connected to the main control switch 820 and the microcontroller 810, and the hardware protection circuit 860 is also electrically connected to the output end of the voltage acquisition module 840 and the output end of the current acquisition module 850, respectively, for comparing the voltage signal collected by the voltage acquisition module 840 and the current signal collected by the current acquisition module 850 with the set threshold value, and once the voltage signal and / or the current signal exceed the threshold value, the main control switch 820 is immediately controlled to be disconnected, and a protection signal is output to the microcontroller 810 to realize the rapid protection function of the system; the control interaction module 880 is connected to the microcontroller 810 through the communication transceiver 870, and the control interaction module 880 is used to input external control signals, control the working state of the microcontroller, and receive the system state information uploaded by the communication transceiver 870; the programming / debugging interface 890 is connected to the microcontroller 810, and is used to input external program algorithms.
[0168] An embodiment of the present invention provides a load characteristic testing circuit, which realizes the parallel execution of the load characteristic testing method described in any one of the embodiments of the present invention, can quickly detect the load characteristics of the load circuit, avoid the inconvenience of equipment maintenance and problem finding when the circuit fails, thereby further improving work efficiency and facilitating the diagnosis and protection functions of the equipment.
[0169] Of course, the modules included in a load characteristic test circuit provided by an embodiment of the present invention are not limited to the modules of the load characteristic test circuit described above, but may also include the relevant device structures in the load characteristic test method provided by any embodiment of the present invention.
[0170] The load characteristic test circuit provided in the above embodiment can execute the load characteristic test method provided in any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of executing the method. For technical details not described in detail in the above embodiment, please refer to the load characteristic test method provided in any embodiment of the present invention.
[0171] Note that the above are only preferred embodiments of the present invention and the technical principles used. Those skilled in the art will understand that the present invention is not limited to the specific embodiments described herein, and that various obvious changes, readjustments and substitutions can be made by those skilled in the art without departing from the scope of protection of the present invention. Therefore, although the present invention has been described in more detail through the above embodiments, the present invention is not limited to the above embodiments, and may include more other equivalent embodiments without departing from the concept of the present invention, and the scope of the present invention is determined by the scope of the appended claims.
Claims
1. A load characteristic test method, implemented by a load characteristic test circuit, wherein the load characteristic test circuit comprises a main control switch and a power supply, and the load to be tested is electrically connected to the power supply through the main control switch. include: In the load characteristic test phase, the main control switch is controlled to be in an on state, and a voltage signal across the load to be tested and a current signal flowing through the load to be tested are obtained at each moment in the load characteristic test phase; Randomly selecting voltage signals and current signals at two different moments in the load characteristic test phase as the test voltage and test current, respectively; the two different moments are a first moment and a second moment, the test voltage signal at the first moment is a first test voltage, the test current signal at the first moment is a first test current, the test voltage signal at the second moment is a second test voltage, and the test current signal at the second moment is a second test current; Determine a first equivalent impedance of the load to be tested according to the first test voltage and the first test current, and determine a second equivalent impedance of the load to be tested according to the second test voltage and the second test current; According to the first equivalent impedance and the second equivalent impedance, the impedance change of the load to be measured is obtained, and according to the impedance change of the load to be measured, the load characteristics of the load to be measured are determined; the load characteristics include resistance, inductance and capacitance.
2. The load characteristic testing method according to claim 1, It is characterized in that Acquiring an impedance change of the load to be measured according to the first equivalent impedance and the second equivalent impedance, and determining a load characteristic of the load to be measured according to the impedance change of the load to be measured, including: Obtaining an impedance change of the load to be measured according to the first equivalent impedance and the second equivalent impedance, and determining a phase relationship between the test voltage and the test current at the first moment and the second moment according to the impedance change of the load to be measured; Based on the phase relationship between the test voltage and the test current, the load characteristic of the load to be tested is determined.
3. The load characteristic testing method according to claim 2, It is characterized in that The first moment is a moment before the second moment; Acquiring an impedance change of the load to be measured according to the first equivalent impedance and the second equivalent impedance, and determining a phase relationship between the test voltage and the test current at the first moment and the second moment according to the impedance change of the load to be measured, including: Determine whether a ratio K of the first equivalent impedance to the second equivalent impedance is within a preset ratio range; the preset ratio range is a neighborhood of 1; If so, determining that the phase of the test voltage is the same as the phase of the test current; If not, then when the ratio K of the first equivalent impedance to the second equivalent impedance is greater than the upper limit of the preset ratio range, it is determined that the phase of the test voltage leads the phase of the test current; or, when the ratio K of the first equivalent impedance to the second equivalent impedance is less than the lower limit of the preset ratio range, it is determined that the phase of the test voltage lags behind the phase of the test current.
4. The load characteristic testing method according to claim 3, It is characterized in that Before determining that the phase of the test voltage is the same as the phase of the test current, the method further includes: When the ratio K of the first equivalent impedance to the second equivalent impedance remains within the preset ratio range, obtaining the number of times the steps of determining the first equivalent impedance of the load to be tested according to the first test voltage and the first test current, and determining the second equivalent impedance of the load to be tested according to the second test voltage and the second test current are executed as a first execution number; Determining whether the first execution number is greater than or equal to a first preset number; If so, determining that the phase of the test voltage is the same as the phase of the test current; If not, then reselect the voltage signal and current signal at two different moments in the load characteristic test phase as the test voltage and test current respectively; the two different moments reselected include a third moment and a fourth moment, and the test voltage signal at the third moment is used as the first test voltage, the test current signal at the third moment is used as the first test current, the test voltage signal at the fourth moment is used as the second test voltage signal, and the test current signal at the fourth moment is used as the second test current; wherein at least one of the third moment and the fourth moment is a moment different from both the first moment and the second moment; Return to the step of determining a first equivalent impedance of the load to be tested according to the first test voltage and the first test current, and determining a second equivalent impedance of the load to be tested according to the second test voltage and the second test current.
5. The load characteristic testing method according to claim 3, It is characterized in that Determining the load characteristic of the load to be tested based on the phase relationship between the test voltage and the test current includes: If the phase of the test voltage is the same as the phase of the test current, it is determined that the load characteristic of the load to be tested is resistive; If the phase of the test voltage is ahead of the phase of the test current, it is determined that the load characteristic of the load to be tested is inductive; If the phase of the test voltage lags behind the phase of the test current, it is determined that the load characteristic of the load to be tested is capacitive.
6. The load characteristic testing method according to claim 1, It is characterized in that Before the load characteristic test phase, the method further includes: In the load state test phase, the main control switch is controlled to be in the on state, and the current signal flowing through the load to be tested at each moment in the load state test phase is obtained; Randomly selecting a current signal at a certain moment in the load state test phase as a state judgment signal; Determine whether the state judgment signal satisfies a condition that the load is normal; the condition that the load is normal is that the current signal is within a preset current range; If yes, it is determined that the load to be tested and the load characteristic test circuit are in a normal state; If not, it is determined that the load to be tested and / or the load characteristic test circuit is in a fault state, and the fault state information is uploaded and stored.
7. The load characteristic testing method according to claim 6, It is characterized in that Before determining that the load to be tested and / or the load characteristic test circuit is in a fault state, the method further includes: When the state judgment signal does not meet the condition that the load is normal, obtaining the number of times the step of judging whether the state judgment signal meets the condition that the load is normal is executed as a second execution number; Determining whether the second execution number is greater than or equal to a second preset number; If yes, it is determined that the load to be tested and / or the load characteristic test circuit is in a fault state; If not, then reselect the current signal at another time in the load state test phase as the state judgment signal, and return to the step of judging whether the state judgment signal satisfies the condition that the load is normal.
8. The load characteristic testing method according to claim 1 or 6, It is characterized in that Also includes: In the load characteristic test phase and / or in the load state test phase before the load characteristic test phase, judging whether a circuit protection start condition is met according to a current voltage signal and a current current signal; The circuit protection start condition includes that the current voltage signal is greater than a voltage threshold, and / or the current current signal is greater than a current threshold; If so, the main control switch is immediately controlled to be disconnected, and the circuit protection status information is uploaded and stored.
9. The load characteristic testing method according to claim 6, It is characterized in that Before the load characteristic test phase, the method further includes: a power-on detection phase; The power-on detection phase specifically includes: Initializing the load characteristic test circuit, and collecting in real time the input voltage signal of the input end of the load to be tested, the output voltage signal and the output current signal of the output end of the load to be tested, and the operating state of the load characteristic test circuit; Determine whether the current detection state is a fault according to the current voltage signal, the current signal and the operating state; If yes, immediately control the main switch to be disconnected, and upload and store the fault information; If not, return to the step of real-time acquisition of the input voltage of the input end of the load to be tested, the output voltage and output current of the output end of the load to be tested, and the operating status of the load characteristic test circuit, until the power-on detection phase ends, and the main control switch is controlled to be normally disconnected.
10. The load characteristic testing method according to claim 9, It is characterized in that Also includes: At least one interval waiting stage; the interval waiting stage is located between the power-on detection stage and the load status test stage and / or between the load status test stage and the load characteristic test stage; During the interval waiting stage, the main control switch is controlled to be disconnected, and the state of the load characteristic test circuit is initialized.
11. A load characteristic test circuit, It is characterized in that include: Microcontroller, main control switch, power supply, voltage acquisition module and current acquisition module; The load to be tested is electrically connected to the power supply through the main control switch; The voltage acquisition module is electrically connected to the two ends of the load to be tested, and is used to collect voltage signals at the two ends of the load to be tested; The current acquisition module is electrically connected to the output end of the load to be measured, and is used to collect the current signal flowing through the load to be measured; The microcontroller is electrically connected to the control end of the main control switch, the output end of the voltage acquisition module and the output end of the current acquisition module respectively; the microcontroller is used to execute the load characteristic testing method described in any one of claims 1-10.
Citation Information
Patent Citations
Device for preventive detection of faults with identification of the type of load
US6081123A
