Inverter test method and device, electronic equipment and program product
Through the automated inverter testing method, the predetermined protection time and the oscilloscope working mode are used to achieve accurate protection time testing of the inverter, solving the complexity and inaccuracy of manual testing, and improving the testing efficiency and accuracy.
Patent Information
- Application Number
- CN202510272309.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-03-07
- Publication Date
- 2025-06-06
AI Technical Summary
In the prior art, manual testing inverters are used, and accurate testing is difficult to achieve. Facing challenges such as many test projects, many scenarios, complex operations, and many data requirements, human resources and project progress are affected.
An inverter testing method is provided. By obtaining a predetermined protection time, automatically initializes the horizontal time axis unit range of the oscilloscope, and determines the operating mode of the oscilloscope based on the predetermined protection time and the predetermined time threshold. The oscilloscope is controlled to conduct protection time tests according to the working mode, and obtains the protection time test results of the inverter.
The accurate protection time test of the inverter is realized, and the protection time-related performance of the inverter can be comprehensively and accurately evaluated, which improves the testing efficiency and accuracy, and ensures the reliability and safety of the inverter.
Smart Images

Figure CN120103012A_ABST
Abstract
Description
Technical Field
[0001] The present application belongs to the technical field of inverter testing, and more specifically, to a testing method, device, electronic equipment and program product for an inverter. Background Art
[0002] The inverter protection time test is a commonly used inverter product protection feature test method, which is used to determine whether the protection time of the inverter when the protection is triggered meets the requirements. This test item is included in various product system tests and certification tests, and is a key test item.
[0003] However, the current manual testing of inverters has many test items, multiple test scenarios, complex operations, and many test data requirements, which undoubtedly poses a huge challenge to human resources and project progress. Summary of the invention
[0004] The purpose of the embodiments of the present application is to provide a method, device, electronic equipment and program product for testing an inverter, aiming to solve the technical problem in the prior art that it is difficult to achieve accurate testing of the inverter by manual testing.
[0005] To achieve the above object, according to a first aspect of the present application, a method for testing an inverter is provided, the method comprising:
[0006] Obtaining a predetermined protection time of the inverter to be tested;
[0007] Automatically initializing the unit range of the horizontal time axis of the oscilloscope according to the predetermined protection time, wherein the unit range is used to represent the time length represented by each unit on the horizontal time axis;
[0008] Determining, according to the predetermined protection time and the predetermined time threshold, the working mode of the oscilloscope when testing the inverter, wherein different working modes are applicable to different signal change processes and signal capture accuracies;
[0009] The oscilloscope is controlled to perform a protection time test on the inverter according to the working mode, so as to obtain a protection time test result of the inverter.
[0010] Optionally, in a possible implementation manner of the first aspect, automatically initializing a unit range of a horizontal time axis of an oscilloscope according to the predetermined protection time includes:
[0011] The triggering action of acquiring the oscilloscope corresponds to the triggering moment on the horizontal time axis, and the triggering action refers to the action of triggering the oscilloscope to acquire the test waveform of the inverter;
[0012] Taking the triggering moment as the starting reference moment;
[0013] The unit range of the horizontal time axis of the oscilloscope is automatically initialized according to the predetermined protection time and the starting reference time.
[0014] Optionally, in a possible implementation manner of the first aspect, the working mode includes: a trigger mode and a rolling mode, and determining the working mode of the oscilloscope when testing the inverter according to the predetermined protection time and a predetermined time threshold includes:
[0015] If the predetermined protection time is less than the predetermined time threshold, determining that the working mode of the oscilloscope when testing the inverter is the trigger mode;
[0016] If the predetermined protection time is greater than or equal to the predetermined time threshold, it is determined that the working mode of the oscilloscope when testing the inverter is the rolling mode.
[0017] Optionally, in a possible implementation manner of the first aspect, if the working mode is a trigger mode, controlling the oscilloscope to perform a protection time test on the inverter according to the working mode to obtain a protection time test result of the inverter includes:
[0018] Setting the operating mode of the oscilloscope to a trigger mode;
[0019] Setting a trigger protection scenario of the inverter, wherein the trigger protection scenario at least includes: simulating an actual abnormal condition of the inverter that can prompt the inverter to start a protection function in actual use, thereby obtaining a simulated abnormal condition;
[0020] In the trigger protection scenario, the oscilloscope is controlled to perform a protection time test on the inverter according to the trigger mode to obtain a protection time test result of the inverter.
[0021] Optionally, in a possible implementation manner of the first aspect, in the triggered protection scenario, controlling the oscilloscope to perform a protection time test on the inverter according to the trigger mode to obtain a protection time test result of the inverter includes:
[0022] In the trigger protection scenario, in response to a trigger action of the oscilloscope, determining whether the state of the inverter is a protection state;
[0023] If the state of the inverter is the protection state, and the oscilloscope runs the trigger mode, the oscilloscope is controlled to capture the electrical signal of the inverter and the periodic change frequency of the electrical signal to obtain the test waveform of the inverter;
[0024] Determining a protection moment of the inverter according to the electrical signal in the test waveform of the inverter and the periodic variation frequency of the electrical signal;
[0025] Determine the actual protection time of the inverter according to the protection time and the starting reference time corresponding to the triggering action of the oscilloscope on the horizontal time axis;
[0026] A protection time test result of the inverter is determined according to the actual protection time of the inverter and the predetermined protection time.
[0027] Optionally, in a possible implementation manner of the first aspect, determining the protection moment of the inverter according to the electrical signal in the test waveform of the inverter and the periodic change frequency of the electrical signal includes:
[0028] Determining a minimum current value of the inverter according to the electrical signal in the test waveform;
[0029] Determining a maximum waveform scanning step length and a minimum waveform scanning step length of the test waveform according to the periodic variation frequency of the electrical signal;
[0030] The protection moment of the inverter is determined according to the minimum current value, the maximum waveform scanning step length and the minimum waveform scanning step length.
[0031] Optionally, in a possible implementation manner of the first aspect, determining the protection moment of the inverter according to the minimum current value, the maximum waveform scanning step length, and the minimum waveform scanning step length includes:
[0032] If the test waveform is scanned N times continuously according to the maximum waveform scanning step length, and the N first scanning current values obtained are all smaller than the minimum current value, then the test waveform is continuously scanned according to the minimum waveform scanning step length to obtain a second scanning current value;
[0033] Starting from the last moment when the second scanning current value obtained by scanning the test waveform with the minimum waveform scanning step is greater than the minimum current value, scanning the test waveform again with the maximum waveform scanning step to obtain the first scanning current value;
[0034] If the test waveform is scanned N times in succession according to the maximum waveform scanning step, and the obtained N first scanning current values are all smaller than the minimum current value, the first moment when the first scanning current value is smaller than the minimum current value is taken as the protection moment of the inverter.
[0035] Optionally, in a possible implementation manner of the first aspect, determining the minimum current value of the inverter according to the electrical signal in the test waveform includes:
[0036] Scanning the maximum current value of the last waveform cycle in the test waveform of the inverter;
[0037] Acquire the current channel range of the inverter and the maximum allowable current value of the current channel range;
[0038] The smaller current value between the maximum current value and the maximum allowable current value is used as the minimum current value.
[0039] Optionally, in a possible implementation manner of the first aspect, if the working mode is a rolling mode, controlling the oscilloscope to perform a protection time test on the inverter according to the working mode to obtain a protection time test result of the inverter includes:
[0040] Calculating the preparation time from the zero point of the horizontal time axis of the oscilloscope to the triggering moment, and the protection time from the triggering moment to the protection moment;
[0041] Setting the working mode of the oscilloscope to a rolling mode and starting to run the rolling mode;
[0042] After waiting for the preparation time, setting a trigger protection scenario of the inverter;
[0043] In the trigger protection scenario, the oscilloscope is controlled to perform a protection time test on the inverter according to the rolling mode to obtain a protection time test result of the inverter.
[0044] Optionally, in a possible implementation manner of the first aspect, in the triggered protection scenario, controlling the oscilloscope to perform a protection time test on the inverter according to the rolling mode to obtain a protection time test result of the inverter includes:
[0045] In the trigger protection scenario, in response to the trigger action of the oscilloscope, the rolling mode is terminated after waiting for the protection time;
[0046] If the state of the inverter is the protection state, and the oscilloscope runs the rolling mode, the measurement data of the inverter read from the power analyzer, the measurement data at least includes: an electrical signal, a periodic change frequency of the electrical signal, and the electrical signal includes: a voltage value and a current value;
[0047] A protection time test result of the inverter is determined according to the measurement data read from the power analyzer and the predetermined protection time.
[0048] Optionally, in a possible implementation manner of the first aspect, determining a protection time test result of the inverter according to the measurement data read from the power analyzer and the predetermined protection time includes:
[0049] Determine, based on the measurement data, the most recent time before the electrical signal or the periodically changing frequency starts to change, and determine a voltage threshold, a current threshold, and a frequency threshold of the inverter;
[0050] Starting from the most recent moment, determining a first change moment of the voltage value and the periodic change frequency, and a second change moment when the current value begins to become zero, wherein the first change moment is the earliest moment when the voltage value is greater than the voltage threshold, or the earliest moment when the periodic change frequency is greater than the frequency threshold, and the second change moment is the earliest moment when the current value is less than the current threshold;
[0051] Calculating a time difference between the first change moment and the second change moment;
[0052] The time difference is combined with the predetermined protection time to determine a protection time test result of the inverter.
[0053] According to a second aspect of the present application, a testing device for an inverter is provided, the device comprising:
[0054] An acquisition unit, used for acquiring a predetermined protection time of the inverter to be tested;
[0055] An initialization unit, used for automatically initializing the unit range of the horizontal time axis of the oscilloscope according to the predetermined protection time, wherein the unit range is used to represent the time length represented by each unit on the horizontal time axis;
[0056] A determination unit, configured to determine, according to the predetermined protection time and the predetermined time threshold, an operating mode of the oscilloscope when testing the inverter, wherein different operating modes are applicable to different signal change processes and signal capture accuracies;
[0057] The testing unit is used to control the oscilloscope to perform a protection time test on the inverter according to the working mode, so as to obtain a protection time test result of the inverter.
[0058] The second aspect and any implementation of the second aspect correspond to the first aspect and any implementation of the first aspect, respectively. The technical effects corresponding to the second aspect and any implementation of the second aspect can refer to the technical effects corresponding to the first aspect and any implementation of the first aspect, which will not be repeated here.
[0059] According to a third aspect of the present application, an electronic device is provided, comprising: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the electronic device implements any of the methods described in one embodiment.
[0060] According to a fourth aspect of the present application, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method described in any one of the above is implemented.
[0061] According to a fifth aspect of the present application, a computer program product is provided. When the computer program product is run on an electronic device, the electronic device executes any one of the methods described in the first aspect.
[0062] It can be understood that the beneficial effects of the second to fifth aspects mentioned above can be found in the relevant description of the first aspect mentioned above, and will not be repeated here.
[0063] The embodiments of the present application provide a testing method, device, electronic device and program product for an inverter. The testing method for the inverter obtains a predetermined protection time of the inverter to be tested; automatically initializes the unit range of the horizontal time axis of the oscilloscope according to the predetermined protection time, and the unit range is used to represent the length of time represented by each unit on the horizontal time axis; determines the working mode of the oscilloscope when testing the inverter according to the predetermined protection time and the predetermined time threshold, and different working modes are applicable to different signal change processes and signal capture accuracies; controls the oscilloscope to perform a protection time test on the inverter according to the working mode, and obtains the protection time test result of the inverter.
[0064] The inverter testing method provided in the example of the present application obtains the predetermined protection time of the inverter to be tested, first automatically initializes the unit range of the horizontal time axis of the oscilloscope based on the predetermined protection time, and then reasonably sets the working mode of the oscilloscope and tests the inverter according to different working modes according to the relationship between the predetermined protection time and the predetermined time threshold, and finally accurately obtains the protection time result of the inverter. It can test and evaluate the protection time-related performance of the inverter in a relatively comprehensive and accurate manner, which helps to ensure the reliability and safety of the inverter in actual use. BRIEF DESCRIPTION OF THE DRAWINGS
[0065] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0066] Figure 1 It is a flowchart of a method for testing an inverter provided in an embodiment of the present application;
[0067] Figure 2 It is a flowchart of an optional inverter testing method provided in an embodiment of the present application;
[0068] Figure 3 It is a flowchart of an optional inverter testing method provided in an embodiment of the present application;
[0069] Figure 4 It is a flowchart of an optional inverter testing method provided in an embodiment of the present application;
[0070] Figure 5 It is a flowchart of an optional inverter testing method provided in an embodiment of the present application;
[0071] Figure 6 It is a flowchart of an optional inverter testing method provided in an embodiment of the present application;
[0072] Figure 7 It is a flowchart of an optional inverter testing method provided in an embodiment of the present application;
[0073] Figure 8 It is a flowchart of an optional inverter testing method provided in an embodiment of the present application;
[0074] Fig. 9 is a structural schematic diagram of an inverter testing device provided in an embodiment of the present application;
[0075] Fig.10 It is a structural schematic diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0076] In the following description, specific details such as specific system structures, technologies, etc. are provided for the purpose of illustration rather than limitation, so as to provide a thorough understanding of the embodiments of the present application. However, it should be clear to those skilled in the art that the present application may also be implemented in other embodiments without these specific details. In other cases, detailed descriptions of well-known systems, devices, circuits, and methods are omitted to prevent unnecessary details from obstructing the description of the present application.
[0077] It should be understood that when used in the present specification and the appended claims, the term "comprising" indicates the presence of described features, wholes, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, wholes, steps, operations, elements, components and / or combinations thereof.
[0078] It should also be understood that the term “and / or” used in the specification and appended claims refers to any and all possible combinations of one or more of the associated listed items, and includes these combinations.
[0079] As used in the specification and appended claims of this application, the term "if" can be interpreted as "when" or "uponce" or "in response to determining" or "in response to detecting", depending on the context. Similarly, the phrase "if it is determined" or "if [described condition or event] is detected" can be interpreted as meaning "uponce it is determined" or "in response to determining" or "uponce [described condition or event] is detected" or "in response to detecting [described condition or event]", depending on the context.
[0080] In addition, in the description of the present application specification and the appended claims, the terms "first", "second", "third", etc. are only used to distinguish the descriptions and cannot be understood as indicating or implying relative importance.
[0081] References to "one embodiment" or "some embodiments" etc. described in the specification of this application mean that one or more embodiments of the present application include specific features, structures or characteristics described in conjunction with the embodiment. Therefore, the statements "in one embodiment", "in some embodiments", "in some other embodiments", "in some other embodiments", etc. that appear in different places in this specification do not necessarily refer to the same embodiment, but mean "one or more but not all embodiments", unless otherwise specifically emphasized in other ways. The terms "including", "comprising", "having" and their variations all mean "including but not limited to", unless otherwise specifically emphasized in other ways.
[0082] The inverter protection time test refers to the detection process of the time it takes for the inverter protection mechanism to start and take effect when the inverter encounters an abnormal condition. Abnormal conditions include but are not limited to overvoltage (input or output voltage exceeds the normal range), overcurrent (working current is too large), overload (the load exceeds its rated load capacity), short circuit and overheating.
[0083] The inverter protection time test is a commonly used inverter product protection feature test method, which is used to determine whether the protection time of the inverter when the protection is triggered meets the requirements. This test item is included in various product system tests and certification tests, and is a key test item.
[0084] However, the current manual testing method has many test items, multiple test scenarios, complex operations, and many test data requirements, which undoubtedly poses a huge challenge to human resources and project progress.
[0085] To solve the above problems, this application example provides an example of a test method for an inverter, please refer to Figure 1 As shown, Figure 1 A schematic flow chart of a method for testing an inverter provided by the present application is shown. As an example but not a limitation, the method can be applied to or run in an electronic device. The method includes:
[0086] S101, obtaining a predetermined protection time of an inverter to be tested.
[0087] S102, automatically initializing the unit range of the horizontal time axis of the oscilloscope according to the predetermined protection time, wherein the unit range is used to represent the time length represented by each unit on the horizontal time axis.
[0088] S103, determining the working mode of the oscilloscope when testing the inverter according to the predetermined protection time and the predetermined time threshold, wherein different working modes are applicable to different signal change processes and signal capture accuracies.
[0089] S104, controlling the oscilloscope to perform a protection time test on the inverter according to the working mode, and obtaining a protection time test result of the inverter.
[0090] In the present application example, the predetermined protection time is a time parameter pre-set for the inverter based on industry grid standards, national grid standards, etc. It is used to clarify the theoretical duration (expected duration, standard duration) for the inverter to activate the protection mechanism when abnormal conditions such as overvoltage or overcurrent occur, providing a benchmark reference value for the inverter testing work.
[0091] When obtaining the predetermined protection time of the inverter, in one example, if the predetermined protection time set for an overcurrent condition of a certain type of inverter is 8 seconds, the predetermined protection time, i.e., 8 seconds, is obtained by reading the product information or configuration information of the inverter.
[0092] In the example of this application, the unit range of the horizontal time axis of the oscilloscope refers to the time length corresponding to each horizontal grid of the waveform displayed on the display screen of the oscilloscope. For example, the time unit can be seconds (s), milliseconds (ms), microseconds (μs), nanoseconds (ns), etc., and the time length corresponding to each grid can be 1s / div, 10ms / div, 1μs / div, 100ns / div, etc.
[0093] As an example, the unit range of the horizontal time axis of the oscilloscope can be automatically initialized according to the predetermined protection time of the inverter, so that when the oscilloscope subsequently captures and displays the relevant signal waveform of the inverter, it can be performed at a time scale that matches the protection action time of the inverter, so as to ensure that the time scale displayed by the oscilloscope meets the testing requirements of the inverter and solve the problem of manually adjusting the unit range of the horizontal time axis of the oscilloscope.
[0094] For example, if the inverter's pre-set protection time is longer, the unit range of the oscilloscope's horizontal time axis can be set larger relative to the initial unit range (each grid represents a longer length of time), so that the relatively long process from the occurrence of the abnormality to the start of protection of the inverter can be fully presented on the oscilloscope's display screen; conversely, if the inverter's pre-set protection time is shorter, the unit range of the oscilloscope's horizontal time axis can be set smaller relative to the initial unit range (each grid represents a shorter length of time), so as to facilitate more detailed presentation of the details of the inverter's signal changes in a short period of time on the oscilloscope's display screen.
[0095] In the example of this application, the oscilloscope no longer uses a single working mode for testing the inverter, but uses different working modes for different applicable signal change processes and signal capture accuracy. Specifically, in the example of this application, the working mode selected by the oscilloscope is determined based on the comparison result between the predetermined protection time and the predetermined time threshold (i.e., a pre-set time limit for distinguishing different modes, for example, 8 seconds, 10 seconds, 12 seconds, 15 seconds, etc.).
[0096] For example: In one example, if the scheduled protection time is less than the scheduled time threshold (such as 10 seconds), the oscilloscope can select the trigger mode when testing the inverter. This mode can quickly and accurately capture the triggering moment of the inverter's protection action, which is suitable for accurately observing the signal changes of the inverter in a relatively short period of time. For example, it is used to observe the signal changes from the beginning of the abnormality to the moment of protection startup when the inverter has abnormal conditions such as overvoltage in a short period of time, and specifically focus on the key change points of the inverter. In another example, if the scheduled protection time is greater than or equal to the scheduled time threshold, the oscilloscope can select the scroll mode when testing the inverter. It can be understood as a scrolling display mode, which is convenient for displaying the signal evolution process of the inverter for a long time. It is more suitable for the situation where the scheduled protection time of the inverter is longer. For some inverters with a preset scheduled protection time that is longer than the general protection time, the scroll mode can fully present the overall change process of the inverter from normal operation to abnormality, and then to the effectiveness of protection.
[0097] In the example of the present application, after determining the working mode of the oscilloscope when testing the inverter, the oscilloscope is controlled to perform a protection time test on the inverter according to the working mode. For example, for different operating processes of the trigger mode or the rolling mode, the oscilloscope is effectively controlled to perform a protection time test on the inverter, and the corresponding protection time test results are accurately obtained, thereby achieving the technical effect of scientifically testing and evaluating the protection performance of the inverter.
[0098] In addition, in the example of this application, the actual protection time and the preset protection time of the inverter, as well as the protection time test results of the inverter can also be displayed on the display screen of the oscilloscope, so that the test personnel can very intuitively understand the difference between the actual performance of the inverter in the protection time and the preset requirements, and judge whether the protection function of the inverter is qualified. If the test fails, they can immediately start to troubleshoot the problem, such as checking the protection circuit of the inverter, related parameter settings or test environment and other factors, and take corresponding improvement measures in time to ensure the quality and performance of the inverter.
[0099] In general, the inverter testing method provided by the example of the present application obtains the predetermined protection time of the inverter to be tested, first automatically initializes the unit range of the horizontal time axis of the oscilloscope based on the predetermined protection time, and then reasonably sets the working mode of the oscilloscope and tests the inverter according to different working modes according to the relationship between the predetermined protection time and the predetermined time threshold. Finally, the protection time result of the inverter is accurately obtained, and the protection time-related performance of the inverter can be tested and evaluated more comprehensively and accurately, which helps to ensure the reliability and safety of the inverter in actual use.
[0100] In a possible implementation, automatically initializing the unit range of the horizontal time axis of the oscilloscope according to the predetermined protection time includes:
[0101] S201, obtaining a triggering action of the oscilloscope corresponding to a triggering moment on the horizontal time axis, where the triggering action refers to an action of triggering the oscilloscope to obtain a test waveform of the inverter.
[0102] S202: Use the triggering time as the starting reference time.
[0103] S203, automatically initializing the unit range of the horizontal time axis of the oscilloscope according to the predetermined protection time and the starting reference time.
[0104] When testing the inverter, for example, when the output voltage of the inverter exceeds the set overvoltage threshold, the output current exceeds the overcurrent threshold, or a short circuit occurs, the corresponding electrical signal change is transmitted to the oscilloscope as a trigger signal. In the example of this application, the trigger moment can be understood as the time point when the oscilloscope receives the trigger signal of the inverter, starts to collect the inverter-related electrical signals, and displays the waveform on the display screen.
[0105] As an optional example, the triggering moment of the oscilloscope can be accurately determined in the following way. For example, the voltage triggering mode can be set to trigger when the voltage value of a circuit node reaches a specific value (such as an overvoltage value); the edge triggering mode can also be set to focus on the moment when the rising or falling edge of the signal reaches the set condition as the triggering moment. On the display interface of the oscilloscope, the triggering moment corresponds to a specific trigger position trig_position on the horizontal time axis. The triggering position can be expressed as an absolute time value (such as triggering at 2.5 seconds), or it can be presented as a proportion of the horizontal axis range (such as triggering at 20% or 30% from left to right on the horizontal axis), etc., depending on the settings and display mode of the oscilloscope.
[0106] In the example of this application, setting the trigger moment as the starting reference moment can make the subsequent waveform display and time measurement of the oscilloscope focus on the time period closely related to the inverter protection action. When testing the protection time of the inverter, the focus is on the waveform changes in the interval from the occurrence of the abnormal trigger to the actual start-up of the inverter protection mechanism. Taking the trigger moment as the starting point, the relatively unimportant or stable signal part before the trigger can be excluded, so that the oscilloscope screen displays mainly the subsequent critical waveform content that can reflect the protection performance, which is convenient for observing and analyzing important information such as whether the protection action is timely and the changes in the waveform before and after the protection is started.
[0107] The trigger moment is set as the starting reference moment. When the unit range of the horizontal time axis is subsequently initialized, the time scale can be better arranged according to the predetermined protection time protect_time to ensure that the waveform corresponding to the process from the trigger moment to the protection taking effect can be fully and clearly presented within the limited horizontal display range of the oscilloscope screen. The scale setting of the horizontal time axis of the oscilloscope is consistent with the requirements of the protection time test, avoiding overly dense or sparse waveform display, which affects the observation and judgment of the protection time-related waveform characteristics.
[0108] For example, if the preset protection time is 8 seconds, the trigger moment is at the 20% position of the horizontal time axis (assuming the total length of the horizontal axis is 10 seconds, that is, the trigger is at 2 seconds), and the horizontal time axis of the oscilloscope usually has 10 grids, then it is necessary to reasonably distribute the 8 seconds of time within the remaining 80% (corresponding to 8 grids) of the horizontal axis. Preliminary calculation shows that each grid represents 1 second (8 seconds / 8 grids). The above calculation method is only an example. In specific practical applications, it can also be adjusted by comprehensively considering factors such as the detailed requirements of the waveform display and the accuracy of the trigger position.
[0109] As an optional example, the specific calculation formula of the unit scale may also be: unit scale scale=round(protect_time / ((1-trig_position / 100)*10-1),3).
[0110] In addition, since different oscilloscopes have different performance parameters and display characteristics, the unit range can be further fine-tuned according to factors such as the oscilloscope's minimum time resolution and maximum display time. For example, some oscilloscopes have a minimum time resolution of microseconds. If the preset protection time is short, the unit range can be set at the microsecond level to accurately capture waveform changes in a short period of time; at the same time, it is also necessary to avoid setting the unit range too small, resulting in waveforms that are too dense and difficult to see the overall trend of changes, or setting the unit range too large so that the waveform with a long protection time is not fully displayed on the screen.
[0111] Through the example of this application, the horizontal time axis unit range is reasonably initialized according to the predetermined protection time of the inverter and the triggering moment of the oscilloscope, providing a good time scale basis for the subsequent accurate observation and analysis of the waveform changes during the test of the inverter protection time, so that the protection performance of the inverter can be more effectively evaluated.
[0112] In a possible implementation, the working modes include: a trigger mode and a rolling mode. According to a predetermined protection time and a predetermined time threshold, the working mode of the oscilloscope when testing the inverter is determined, including:
[0113] S301, if the predetermined protection time is less than the predetermined time threshold, determining that the working mode of the oscilloscope when testing the inverter is a trigger mode;
[0114] S302: If the predetermined protection time is greater than or equal to a predetermined time threshold, determine that the working mode of the oscilloscope when testing the inverter is a rolling mode.
[0115] In the example of this application, the trigger mode can be understood as a working mode that can accurately capture a specific trigger moment, as well as the signal conditions in a short period of time before and after the trigger moment. By presetting the voltage or frequency of the AC analog voltage connected to the inverter, when the oscilloscope is set to trigger mode, the oscilloscope waits for the preset trigger conditions to be met (for example, the output voltage of the inverter reaches the overvoltage value, the output current of the inverter reaches the overcurrent value, and other abnormal conditions occur, and the electrical signal changes corresponding to the abnormal conditions trigger the oscilloscope to start collecting signals), and then quickly captures and displays the relevant waveforms of the inverter starting from the trigger moment.
[0116] The advantages of the trigger mode are high precision and focus. It is particularly suitable for observing the details of changes in voltage, current and other waveforms in the short process from the occurrence of an abnormality in the inverter to the activation of the protection mechanism. It can accurately present the key change points and the state evolution of the signal before and after the triggering moment, which helps to accurately analyze the timeliness of the response of the inverter's protection mechanism and other performance indicators.
[0117] In an optional application scenario, for example, when testing the overvoltage protection function of an inverter, if the preset overvoltage trigger condition is that the output voltage reaches 120% of the rated voltage (voltage threshold), then when the output voltage reaches the voltage threshold during the operation of the inverter, the oscilloscope starts the running trigger mode, which can accurately capture how the voltage and current waveforms change from the moment the output voltage just exceeds 120% in the subsequent period of time, and when the protection circuit is activated to return the voltage to a safe range or cut off the circuit, etc., so as to facilitate the evaluation of the actual effect of the overvoltage protection.
[0118] In the example of this application, the scrolling mode is similar to the scrolling display. The oscilloscope continuously collects and scrolls the signal changes on the screen, which can show the complete process of continuous evolution of the signal over a long period of time. It is very helpful to observe the changes in the operating status of the inverter over a long time span, especially when the predetermined protection time is long. It can fully present the dynamic changes of voltage, current and other waveforms in the whole process from normal operation to abnormality and then to the protection taking effect, which is convenient for analyzing and grasping the signal trend of the inverter over a long period of time.
[0119] In an optional application scenario, for example, if the inverter is configured with a relatively long overload protection time, such as 30 seconds, when testing the overload protection function of the inverter, the rolling mode is used. The oscilloscope can start from the normal load operation of the inverter and continue to scroll to display the signal changes of the inverter. When the inverter enters the overload state by increasing the load, the waveform is still continuously recorded until the overload protection mechanism is activated. The changing trend of the waveform during the whole process can be fully seen, including but not limited to: how the current gradually increases, whether the voltage fluctuates, etc., and the effectiveness of the overload protection function of the inverter can be evaluated.
[0120] The scheduled time threshold is a time limit that is pre-set based on the actual test requirements and the characteristics of the two working modes of the oscilloscope. By comparing the scheduled protection time of the inverter with the scheduled time threshold, the oscilloscope working mode that is more suitable for the current test scenario can be reasonably selected to achieve better test results and the purpose of observing and analyzing the inverter waveform. For example, if the scheduled time threshold is set to 10 seconds, for the protection time scenario where the scheduled protection time is less than 10 seconds, the trigger mode can better meet the needs of capturing key waveform changes in a short period of time; and when the scheduled protection time is greater than or equal to 10 seconds, the rolling mode is more conducive to showing the complete waveform change process of the inverter over a long period of time.
[0121] When the scheduled protection time is less than the scheduled time threshold, the entire process from the abnormal situation triggering to the start of the protection mechanism is relatively short. In this case, the high precision and fast capture characteristics of the trigger mode can effectively play an advantage, accurately focusing on a short period of time, and clearly displaying the waveform details at the moment of triggering and during the subsequent protection action, so that testers can accurately analyze key issues such as whether the protection time meets the requirements and whether the changes in voltage and current during the protection action are normal. If the scrolling mode is used, the key waveform changes in a short period of time may not be displayed clearly on the screen or difficult to focus on and observe due to the characteristics of continuous scrolling display, which cannot well meet the test analysis needs of short protection time conditions.
[0122] On the contrary, when the preset protection time is greater than or equal to the preset time threshold, it means that the time span of the entire protection process is relatively long. Since the rolling mode can completely and continuously display the entire long-term waveform evolution process from the beginning of abnormal signs to the final protection taking effect, it meets the requirements of comprehensive observation and analysis of situations with long protection time. However, since the trigger mode focuses on accurate capture in a short period of time, it cannot fully present all waveform changes in a long period of time. Moreover, if the setting is improper, frequent triggering or long waiting for triggering may cause problems such as incoherent waveform display, which is not conducive to effectively evaluating the protection performance of the inverter when the protection time is long.
[0123] Through the above-mentioned embodiments of the present application, the most suitable oscilloscope working mode is flexibly selected according to the specific protection time configuration of the inverter, thereby improving the accuracy and effectiveness of the inverter protection time test and the overall performance evaluation.
[0124] In one possible implementation, Figure 3 As shown, if the working mode is the trigger mode, the oscilloscope is controlled to perform a protection time test on the inverter according to the working mode, and the protection time test result of the inverter is obtained, including:
[0125] S401, setting the working mode of the oscilloscope to trigger mode;
[0126] S402, setting a triggering protection scenario of the inverter, wherein the triggering protection scenario at least includes: simulating an actual abnormal condition of the inverter in actual use that can prompt the inverter to start a protection function, thereby obtaining a simulated abnormal condition;
[0127] S403, in a trigger protection scenario, controlling the oscilloscope to perform a protection time test on the inverter according to a trigger mode, and obtaining a protection time test result of the inverter.
[0128] It should be understood that in the examples of this application, the specific operations for setting the working mode for different models of oscilloscopes are different, and can be set through the function buttons or menu options on the display screen of the oscilloscope. For example, in some oscilloscopes, by pressing the "Mode" button, and then selecting the "Trigger Mode" option in the pop-up menu; you can also use the control software of the oscilloscope, find the corresponding mode setting area on the software interface, and select the trigger mode for setting, to ensure that the oscilloscope can accurately enter the working state of collecting and displaying waveforms according to the preset trigger conditions.
[0129] In actual use, the inverter may face a variety of abnormal conditions, such as overvoltage (input or output voltage exceeds the normal range), overcurrent (output current is too large), short circuit, etc. When these abnormalities occur, the built-in protection mechanism of the inverter should be activated in time to avoid equipment damage and ensure power safety. By setting up trigger protection scenarios to simulate actual abnormal conditions, you can artificially create conditions in the test environment that prompt the inverter to start the protection function, and then observe and analyze the performance of the inverter from the occurrence of the abnormality to the effectiveness of the protection, and accurately test whether the protection time of the inverter meets the requirements.
[0130] In one example, after setting the trigger protection scenario and setting the oscilloscope to trigger mode, the oscilloscope is in a state of waiting for triggering. Once the simulated abnormal condition reaches the preset trigger condition (such as the voltage reaching the overvoltage value, the current reaching the overcurrent value, etc. mentioned above), the oscilloscope begins to collect the voltage, current and other test waveforms of the inverter-related circuit nodes (such as input and output terminals), and records the waveform state corresponding to each time node in the process from the moment the abnormality occurs to the action of the protection circuit.
[0131] By analyzing the collected test waveform of the current channel, the change of the current value in the test waveform is read to determine the protection moment. For example, according to the change of current amplitude, specific current threshold judgment and other methods, the waveform is scanned to find the time point from the triggering of the abnormality to the obvious change of the current value (which means that the protection mechanism begins to take effect, such as the current is limited to a safe range or the output is cut off, etc.), and it is determined as the protection moment. After that, the protection moment is subtracted from the triggering moment (that is, the moment when the simulated abnormal condition reaches the triggering condition) to obtain the time difference between the protection moment and the triggering moment, and the time difference is used as the protection time obtained in this actual test.
[0132] The protection time obtained from the actual test is compared with the preset protection time pre-configured for the inverter (the theoretical protection time setting value read from the product information). If the actual protection time of the inverter falls within the reasonable range allowed by the preset protection time (a certain error range is allowed, such as the preset protection time is 5 seconds, the error range is set to ±0.5 seconds, and the actual protection time is between 4.5 seconds and 5.5 seconds to meet the requirements), the protection time test of the inverter is judged to have passed, and it is determined that the protection function of the inverter is up to standard in terms of time; conversely, if the actual protection time of the inverter exceeds the reasonable range, the protection time test of the inverter is judged to have failed, that is, the protection mechanism of the inverter may have problems such as untimely response, and further troubleshooting and improvement are needed.
[0133] In one possible implementation, Figure 4 As shown, in the trigger protection scenario, the oscilloscope is controlled to perform a protection time test on the inverter according to the trigger mode, and the protection time test result of the inverter is obtained, including:
[0134] S501, in a protection triggering scenario, in response to a triggering action of an oscilloscope, determining whether the state of the inverter is a protection state;
[0135] S502, if the state of the inverter is the protection state, and the oscilloscope runs in the trigger mode, the oscilloscope is controlled to capture the electrical signal of the inverter and the periodic change frequency of the electrical signal to obtain the test waveform of the inverter;
[0136] S503, determining the protection moment of the inverter according to the electrical signal in the test waveform of the inverter and the periodic change frequency of the electrical signal;
[0137] S504, determining the actual protection time of the inverter according to the protection time and the starting reference time on the horizontal time axis corresponding to the triggering action of the oscilloscope;
[0138] S505, determining a protection time test result of the inverter according to the actual protection time of the inverter and the predetermined protection time.
[0139] In the trigger protection scenario, the oscilloscope starts the trigger action according to the set trigger conditions (such as the output voltage reaches the overvoltage value, the output current reaches the overcurrent value, etc.). For example, the adjustable power supply voltage is increased to the overvoltage protection point of the inverter, and the oscilloscope starts working.
[0140] Determine whether the inverter has entered the protection state by observing the status indication signal of the inverter, or monitoring the output voltage, current and other parameters of the inverter. When the inverter enters the protection state, changes occur such as the output voltage rapidly dropping to a safe range, the output current being cut off or limited, or the internal protection circuit sending a specific status signal. In the example of this application, it is also possible to use special test equipment (such as a multimeter, power analyzer, etc.) to measure the above parameters, or read the status indication pin of the inverter itself to determine whether the inverter has entered the protection state.
[0141] When it is determined that the inverter has entered the protection state and the oscilloscope is in trigger mode, the oscilloscope begins to accurately capture the electrical signals of the inverter. This includes the voltage and current signals after the trigger moment. At the same time, since the inverter outputs AC power, the periodic change frequency of the electrical signal is also measured. For example, for a normally operating inverter, the frequency of the inverter connected to the simulated power grid can be 50Hz or 60Hz (the specific frequency can be determined based on the application scenario). In trigger mode, the oscilloscope will sample these signals with high accuracy and time resolution to obtain clear test waveforms.
[0142] The test waveform contains complete information about the voltage, current and other electrical signals of the inverter from the moment of triggering to the moment when the inverter enters the protection state. It intuitively reflects the performance of the inverter under abnormal conditions. The oscilloscope display can be used to display whether the shape of the above test waveform is distorted, whether it meets expectations, etc. These test waveforms can also be transmitted to a computer through the oscilloscope's data output interface for more in-depth analysis.
[0143] In addition, in the examples of this application, for protection scenarios such as overvoltage and overcurrent, the protection moment can be determined by observing the changes in the current or voltage amplitude in the test waveform. When the output current of the inverter drops from an abnormally high value to a safe value (that is, drops below the set threshold), or the output voltage of the inverter recovers from an abnormally high value to a normal range, it can be considered as a protection moment. For example, in an overcurrent protection scenario, the point in time when the output current is observed to suddenly drop from a peak value exceeding the rated current in the test waveform is the protection moment; for an overvoltage protection scenario, the moment when the output voltage of the inverter drops from the overvoltage value to the normal voltage range is the protection moment.
[0144] In the example of this application, the protection moment can be further confirmed based on the periodic frequency change, especially when it comes to protection situations related to frequency changes. If the inverter has a frequency abnormality under abnormal circumstances, when the frequency returns to normal or a specific frequency change pattern occurs, it can also be used as a reference for the protection moment. For example, when the inverter causes a sharp drop in output frequency due to certain faults, when the frequency begins to stabilize in the normal range (such as 50Hz), it means that the inverter has started the protection mechanism.
[0145] The starting reference time corresponding to the trigger action on the horizontal time axis is the starting point when the oscilloscope starts recording the signal, and the protection time is the time point when the protection mechanism actually takes effect. The time difference between the two is the actual protection time. The specific calculation method is: subtract the timestamp of the starting reference time from the timestamp of the protection time to get the actual protection time. For example, assuming that the starting reference time of the trigger action is 2.0 seconds, and the protection time is determined to be 2.5 seconds through the above analysis, the actual protection time is determined to be 0.5 seconds.
[0146] After that, by comparing the calculated actual protection time with the scheduled protection time, if the actual protection time is within the allowable error range of the scheduled protection time, the protection time test result of the inverter can be considered qualified. For example, the scheduled protection time is 0.4 seconds, the allowable error is ±0.1 seconds, and when the actual protection time is between 0.3 seconds and 0.5 seconds, the test passes. If the difference between the actual protection time and the scheduled protection time exceeds the allowable error range, it indicates that the actual protection time of the inverter does not meet the requirements, and the protection circuit or related parts of the inverter need to be checked and adjusted.
[0147] In one possible implementation, Figure 5 As shown, according to the electrical signal in the test waveform of the inverter and the periodic change frequency of the electrical signal, the protection moment of the inverter is determined, including:
[0148] S601, determining a minimum current value of the inverter according to an electrical signal in a test waveform.
[0149] S602, determining a maximum waveform scanning step length and a minimum waveform scanning step length of a test waveform according to a periodic variation frequency of the electrical signal.
[0150] S603, determining the protection time of the inverter according to the minimum current value, the maximum waveform scanning step length and the minimum waveform scanning step length.
[0151] In the example of this application, the test waveform contains the voltage and current information of the inverter in the trigger protection scenario, from the triggering moment to a period of time after the protection action occurs. It can be obtained through the data acquisition function of the oscilloscope. The test waveform can be understood as a time series data set, including the current amplitude at different times, so the minimum current value limit_min of the inverter can be determined from the test waveform. By automatically and dynamically obtaining the minimum current value, the problem of inconsistent minimum current values of different inverter products can be solved, making the scanning of the protection time more accurate.
[0152] In the example of this application, the following calculation formula can be used to calculate the maximum waveform scanning step max_step = 1 / freq / 5, where 1 / freq is the time of 1 waveform cycle, and divided by 5 is the time of 1 / 5 waveform cycle, so as to ensure that the waveform is scanned relatively roughly under the premise of covering a certain period range, which is suitable for preliminary fast scanning and reduces the amount of calculation and time cost. For example, for a frequency of 50Hz, the period T = 1 / 50 = 0.02s, then max_step = 0.02 / 5 = 0.004s. The following calculation formula can be used to calculate the minimum waveform scanning step min_step = 1 / freq / 5 / 10, and the maximum waveform scanning step can be further refined so that the test waveform can be scanned more accurately.
[0153] It should be understood that the waveform scanning step size is used to determine the time interval between two adjacent sampling points when analyzing the test waveform; appropriate step size setting can improve analysis efficiency while ensuring accuracy and avoid missing important information or wasting computing resources due to oversampling.
[0154] In one possible implementation, Figure 6 As shown, S603, determining the protection moment of the inverter according to the minimum current value, the maximum waveform scanning step length and the minimum waveform scanning step length, includes:
[0155] S701, if the N first scanning current values obtained by scanning the test waveform according to the maximum waveform scanning step length for N consecutive times are all smaller than the minimum current value, then continue to scan the test waveform according to the minimum waveform scanning step length to obtain a second scanning current value;
[0156] S702, starting from the last moment when the second scanning current value obtained by scanning the test waveform with the minimum waveform scanning step length is greater than the minimum current value, scanning the test waveform again according to the maximum waveform scanning step length to obtain the first scanning current value;
[0157] S703: If the test waveform is scanned N times in succession according to the maximum waveform scanning step length, and the obtained N first scanning current values are all smaller than the minimum current value, the first moment when the first scanning current value is smaller than the minimum current value is taken as the protection moment of the inverter.
[0158] In this application example, by combining the minimum current value and different waveform scanning steps, multiple scans, switching waveform scanning steps and judging according to specific conditions are adopted to accurately locate the protection time of the inverter. By taking advantage of the characteristics of different scanning steps, the possible protection interval is roughly locked first, and then a detailed investigation is carried out to determine the exact protection time. The process is more rigorous and can take into account both efficiency and accuracy.
[0159] The maximum waveform scanning step is used for scanning at the beginning in order to quickly cover most of the test waveform area on a relatively coarse time scale, and quickly find out the approximate range where the current value begins to be less than the minimum current value. Because the maximum waveform scanning step is relatively large and the time interval of each crossing is long, it is possible to traverse a longer waveform time period in a shorter time, preliminarily locate the interval that may be close to the protection moment, and improve the overall scanning efficiency.
[0160] By setting the condition that the first scan current values obtained for N consecutive times (N is a predetermined integer, which can be set according to actual test experience and accuracy requirements, for example, N=5) are all less than the minimum current value, misjudgment due to occasional current fluctuations and other interference factors can be avoided. Only when the first scan current value is less than the minimum current value for multiple consecutive scan results, it is determined that there is a high probability of entering the critical area close to the protection moment, and at this time, it can be switched to a smaller scan step for a more precise scan.
[0161] When the above-mentioned N consecutive times of scanning the test waveform according to the maximum waveform scanning step are met, and the N first scanning current values obtained are all less than the minimum current value, switch to using the minimum waveform scanning step to continue scanning. Since the time interval of the minimum waveform scanning step is very small, it is possible to capture slight changes in the current value more carefully, which helps to accurately track the current change trend in the area close to the protection moment, and further narrow the time range of the protection moment.
[0162] During the scanning process using the minimum waveform scanning step, record the moment when the second scanning current value obtained from each scan is greater than the minimum current value. When the second scanning current value is greater than the minimum current value, select the moment when the last second scanning current value is greater than the minimum current value as the backtracking starting point. Starting from this backtracking starting point, switch back to the maximum waveform scanning step for scanning. On the one hand, it is possible to reconfirm whether the first current value is indeed continuously less than the minimum current value on a relatively large time scale, avoiding misjudgment due to excessive sensitivity (misjudgment of some small fluctuations) caused by the minimum waveform scanning step; on the other hand, the maximum waveform scanning step can be used to cover a wide range, starting from the backtracking starting point, to more comprehensively view the current changes.
[0163] When the first scanning current values obtained by scanning according to the maximum waveform scanning step for N consecutive times are all less than the minimum current value, it means that since the tracing back starting point, the output current has been stably in a state of being less than the minimum current value, indicating that the protection mechanism has been activated, and the output current has been limited or cut off. It can be determined that the corresponding moment at this time is the protection moment of the inverter.
[0164] In the present application example, the determined protection moment is the key node in the inverter protection time test. By calculating the difference between the protection moment and the previously recorded trigger moment, the actual protection time obtained by the actual test can be obtained, and then the actual protection time is compared with the predetermined protection time to determine whether the actual protection function of the inverter meets the requirements, so as to evaluate the protection performance of the inverter under abnormal conditions.
[0165] In a possible implementation, determining the minimum current value of the inverter according to the electrical signal in the test waveform includes:
[0166] The maximum current value of the last waveform cycle in the test waveform of the scan inverter;
[0167] Obtain the current channel range of the inverter and the maximum allowable current value of the current channel range;
[0168] The smaller current value between the maximum current value and the maximum allowable current value is taken as the minimum current value.
[0169] During the inverter testing process, a test waveform containing the inverter's electrical signals at different time points is obtained. In order to determine the minimum current value, the last waveform cycle in the test waveform is scanned first. This is because in some cases, especially for tests related to protection mechanisms, the last waveform cycle is closest to the moment when the protection action occurs.
[0170] It should be understood that the maximum current value limit_max in the last waveform cycle is closely related to the working state of the inverter and the upcoming protection action. Specifically, the maximum current value limit_max = 20% of the current channel range. The measurement range of the oscilloscope when measuring current is limited, and this test range is the current channel range.
[0171] By comparing the maximum current value limit_max of the last waveform cycle and the maximum allowable current value limit_max0, the smaller of the two is taken as the minimum current value limit_min. This is because in some protection mechanisms, when the output current of the inverter drops to the minimum current value, it means that the protection action has started or is about to start. For example, in the overcurrent protection scenario, when the output current of the inverter drops from a higher peak value (the maximum current value of the last waveform cycle) to a value not exceeding the maximum allowable current value, the inverter protection mechanism begins to work.
[0172] Through the above method steps, the minimum current value can be determined more accurately according to the test waveform and current channel range of the inverter, providing key parameters for subsequent operations such as determining the protection moment and evaluating the protection performance of the inverter.
[0173] In one possible implementation, Figure 7 As shown, if the working mode is the rolling mode, the oscilloscope is controlled to perform a protection time test on the inverter according to the working mode, and the protection time test result of the inverter is obtained, including:
[0174] S901, calculating the preparation time from the zero point of the horizontal time axis of the oscilloscope to the triggering moment, and the protection time from the triggering moment to the protection moment;
[0175] S902, setting the working mode of the oscilloscope to a rolling mode, and starting to run the rolling mode;
[0176] S903, setting a trigger protection scenario of the inverter after waiting for a preparation time;
[0177] S904: In a protection triggering scenario, the oscilloscope is controlled to perform a protection time test on the inverter according to a rolling mode to obtain a protection time test result of the inverter.
[0178] In this application example, the preparation time refers to the time from the zero point of the horizontal time axis of the oscilloscope (i.e. the start time) to the trigger time. The preparation time is calculated to ensure that the oscilloscope sets the trigger protection scene after a certain period of time in the rolling mode, so that the inverter operation status before the protection scene is triggered can be observed, providing complete time information for the protection time test.
[0179] For example, if the horizontal time axis of the oscilloscope has a unit scale (such as 1s / div, assuming the oscilloscope has 10 grids), and the trigger moment is at the 3rd grid, then the preparation time from zero to the trigger moment is 3 seconds. The specific calculation formula is pre_time = (trig_grid*unit_time), where trig_grid is the number of grids corresponding to the trigger moment, and unit_time is the unit scale of the horizontal time axis.
[0180] During the test, when the inverter is abnormal and the protection function is activated, the protection time can be determined by subtracting the trigger time from the protection time according to the time information and waveform changes recorded by the oscilloscope. In addition, since different oscilloscopes have different operating methods, the protection time can also be set through the oscilloscope's operation panel or control software.
[0181] After starting the rolling mode, wait for the preparation time, so that the oscilloscope can roll and display for a period of time, so as to record the normal or near-normal operation status of the inverter before the protection scene is triggered, and then the complete process from the initial state to the occurrence of the protection scene can be fully observed, providing a complete test waveform for subsequent analysis. Similar to the trigger protection scene setting in the trigger mode, it is necessary to simulate the abnormal conditions that may occur in the actual use of the inverter to prompt the inverter to start the protection function.
[0182] After the trigger protection scene is set, the oscilloscope continues to collect the voltage, current and other test waveforms of the inverter in rolling mode. By observing the waveforms collected by the oscilloscope, analyze the time interval from the trigger moment to the inverter entering the protection state (such as the voltage or current returns to normal, the output power decreases, etc.), and then determine the protection time. After that, compare the protection time obtained from the actual test with the protection time preset by the inverter to determine whether the test passes. If the two match or are within the allowable error range, it means that the protection time of the inverter meets the requirements and the test passes; otherwise, the test fails, and it may be necessary to further check the protection circuit of the inverter or adjust the relevant settings.
[0183] Through the test process in the above rolling mode, the judgment of reading the status of the inverter after the protection scenario is triggered is added to avoid the problem of still scanning the oscilloscope waveform when there is no protection. The protection time of the inverter can be tested comprehensively and continuously. By comparing the actual test results with the preset protection time, the performance of the inverter under a longer protection time can be evaluated.
[0184] In a possible implementation, in a protection triggering scenario, the oscilloscope is controlled to perform a protection time test on the inverter according to a rolling mode, and a protection time test result of the inverter is obtained, including:
[0185] S1001, in a trigger protection scenario, responding to a trigger action of the oscilloscope, and terminating the running rolling mode after waiting for a protection time;
[0186] S1002, if the inverter is in a protection state and the oscilloscope is in a rolling mode, then the measurement data of the inverter is read from the power analyzer, the measurement data at least including: an electrical signal and a periodic change frequency of the electrical signal, the electrical signal including: a voltage value and a current value;
[0187] S1003, determining a protection time test result of the inverter according to the measurement data read from the power analyzer and the predetermined protection time.
[0188] In the trigger protection scenario, the oscilloscope will generate a trigger action based on the set trigger conditions (such as the voltage reaching the overvoltage threshold, the current reaching the overcurrent threshold, etc.), indicating that an abnormal situation has occurred. In response to the trigger action of the oscilloscope, the running scroll mode will end after waiting for the protection time.
[0189] Specifically, waiting for the protection time allows the oscilloscope to completely record the changes in the inverter's related electrical signals from the start of the trigger action to the effectiveness of the protection mechanism. For example, if the preset protection time of the inverter is 20 seconds, then after the trigger action occurs, the oscilloscope is controlled to run continuously for 20 seconds based on the rolling mode to ensure that the test waveform corresponding to the entire protection process can be collected. In addition, after waiting for the corresponding protection time, the rolling mode ends, allowing the oscilloscope to stop collecting data, avoiding the collection of too much unnecessary data, and also facilitating the subsequent analysis and processing of the data that has been collected in the critical time period, focusing on the data from the trigger to the protection taking effect to evaluate the protection performance of the inverter.
[0190] In this application example, the power analyzer is an instrument that can accurately measure parameters related to electric power. In the inverter protection time test, the power analyzer and the oscilloscope work together to monitor the performance of the inverter from different angles. The oscilloscope mainly focuses on capturing the waveform changes of the electrical signal, while the power analyzer can accurately measure key parameters such as voltage value, current value, power, and the periodic change frequency of the electrical signal, providing more comprehensive information on the inverter operation status.
[0191] For example, the changes in voltage and current values can intuitively reflect whether the inverter adjusts the output back to a safe range in time after an abnormality is triggered, or performs corresponding restrictions, cutoffs, and other operations according to the protection mechanism; the stability of the periodic frequency can also reflect whether the inverter's working status before and after the protection action is normal, such as whether the output frequency fluctuates abnormally due to the protection action.
[0192] The data output interface of the power analyzer can be connected to external devices such as computers through wired (such as USB, RS232, Ethernet, etc.) or wireless (such as Bluetooth, Wi-Fi, etc.) communication methods. During the test, the corresponding control software (provided by the instrument manufacturer or developed by itself, using programming language combined with instrument communication protocol) can be used to send read instructions to receive various measurement data about the inverter measured and stored by the power analyzer (such as test data file csv) for subsequent analysis and processing.
[0193] By analyzing the changes in the voltage and current values in the measured data, the specific time when the inverter enters the protection state is determined. For example, the moment when the current value starts to drop from an abnormally high value and stabilizes to a safe range, or the moment when the voltage value recovers from an abnormal fluctuation state to a normal set value, is the protection moment, and then the time difference between the protection moment and the known trigger moment is calculated to be the protection time obtained by the actual test.
[0194] The protection time obtained from the actual test is compared with the preset protection time of the inverter. If the actual protection time falls within the reasonable range allowed by the preset protection time, the protection time test of the inverter is judged to have passed, indicating that its protection function is up to standard in terms of time; otherwise, if it exceeds this range, the test fails, indicating that the protection mechanism of the inverter may have problems such as untimely response, and further troubleshooting and improvement are needed.
[0195] Through the above optional method, the protection time of the inverter can be accurately tested using the measurement data of the power analyzer in the rolling mode, and whether the inverter protection function meets the requirements can be judged based on the results, which helps to ensure the reliability and safety of the inverter in actual use.
[0196] In one possible implementation, Figure 8 As shown, S1103, determining the protection time test result of the inverter according to the measurement data read from the power analyzer and the predetermined protection time, including:
[0197] S1101, determining, based on the measurement data, the most recent moment before the electrical signal or the periodically changing frequency starts to change, and determining a voltage threshold, a current threshold, and a frequency threshold of the inverter;
[0198] S1102, starting from the most recent moment, determining a first change moment of the voltage value and the periodic change frequency, and a second change moment when the current value begins to become zero, wherein the first change moment is the earliest moment when the voltage value is greater than the voltage threshold, or the earliest moment when the periodic change frequency is greater than the frequency threshold, and the second change moment is the earliest moment when the current value is less than the current threshold;
[0199] S1103, calculating the time difference between the first change moment and the second change moment to obtain an actual protection time;
[0200] S1104, comparing the actual protection time with the predetermined protection time to obtain a protection time test result of the inverter.
[0201] When analyzing the measurement data read by the power analyzer, first determine the most recent moment before the electrical signal (voltage, current) or the periodic frequency begins to change, that is, the last time the inverter was in normal operation. For example, you can traverse the voltage, current, and frequency sequences in the measurement data to find the previous moment when any measurement data begins to deviate from the normal range. For example, for voltage data, you can traverse from the front to the back, and when you find that the voltage value is about to exceed or fall below the normal operating range (determined by the specifications of the inverter), record the previous moment as the most recent moment.
[0202] In the example of this application, the voltage threshold change_threshold=1.5V can be determined according to the rated voltage of the inverter and its allowable voltage fluctuation range. For example, for an inverter with a rated voltage of 220V, the allowable voltage fluctuation range is ±10%, and the voltage threshold can be 110% (overvoltage) and 90% (undervoltage) of 220V, that is, 242V and 198V.
[0203] Similarly, the current threshold i_threshold=1A is determined according to the rated current and overload multiple of the inverter. Assuming the rated current is 10A and the overload multiple is 1.2, the overcurrent threshold can be set to 12A. When the output current of the inverter is less than the threshold during the test, it means that the protection state will be entered. In addition, the frequency threshold can also be determined according to the stability of the inverter output frequency and the national grid standard. For example, if the grid frequency standard of a country is 50Hz, the frequency threshold can be set to the range of ±1Hz of the grid frequency standard, that is, the frequency is considered abnormal if it is outside 49Hz to 51Hz.
[0204] Continue to analyze the measured data from the most recent moment determined above to find the earliest moment when the voltage value exceeds the voltage threshold (for overvoltage protection) or the periodic change frequency exceeds the frequency threshold (for frequency anomaly protection). For voltage data, continue to traverse backwards, and when the voltage value exceeds the set voltage threshold for the first time, record this moment as the first change moment; for frequency data, when the periodic change frequency exceeds the set frequency threshold, record this moment as the first change moment.
[0205] For the current data, it is necessary to find the earliest time when the current value starts to drop below the current threshold (for overcurrent protection) or becomes zero (indicating that the current is cut off). Continue to traverse the current data, and when the current value is less than the set current threshold or becomes zero for the first time, record this moment as the second change moment.
[0206] The specific calculation formula is: abs(pre_change_value - float(row[column_index1])) > change_threshold; where row[colum_index1] is the value of the column_index1-th column obtained from row, and float(row[column_index1]) converts the value of this column to a floating point number.
[0207] abs(float(row[column_index2])) < i_threshold. Where row[colum_index2] is the value of the column_index2-th column obtained from row, pre_change_value is the current data before change, and i_threshold is the set current threshold.
[0208] In the example of this application, the time difference between the first change moment and the second change moment reflects the protection response time of the inverter under different protection mechanisms (such as overvoltage, overcurrent, or frequency anomaly). If the time interval between each data point in the measurement data is uniform, the time difference can be calculated based on the index of the data point and the time interval. For example, if the measurement data is sampled once per second, the first change moment is the 10th second (the 10th data point), and the second change moment is the 15th second (the 15th data point), then the time difference is 5 seconds.
[0209] Take the calculated time difference value as the actual protection time and compare it with the predetermined protection time. If the difference between the actual protection time and the predetermined protection time is within the allowable error range of the predetermined protection time, it is determined that the protection time test of the inverter passes; if the difference between the actual protection time and the predetermined protection time exceeds the allowable error range, it is determined that the protection time test of the inverter fails, indicating that there may be a problem with the protection mechanism of the inverter and further inspection and adjustment are required, which may involve checking the response speed of the protection circuit, the parameter settings of the control circuit, etc.
[0210] It should be understood that the magnitudes of the sequence numbers of the steps in the above embodiments do not mean the order of execution. The order of execution of each process should be determined according to its function and internal logic, and should not constitute any limitation to the implementation process of the embodiments of this application.
[0211] Corresponding to the inverter test method in the above embodiments, Fig. 9 is a schematic structural diagram of a test device for an inverter provided by an embodiment of this application. This device can be implemented by software, hardware, or a combination of both to become part or all of a computer device, and this computer device can be Fig.10 the electronic device shown.
[0212] Reference Fig. 9 , the inverter test device includes:
[0213] An acquisition unit 901 is used to acquire a predetermined protection time of an inverter to be tested;
[0214] Initialization unit 902, used to automatically initialize the unit range of the horizontal time axis of the oscilloscope according to the predetermined protection time, wherein the unit range is used to represent the time length represented by each unit on the horizontal time axis;
[0215] A determination unit 903 is used to determine the working mode of the oscilloscope when testing the inverter according to the predetermined protection time and the predetermined time threshold, wherein different working modes are applicable to different signal change processes and signal capture accuracies;
[0216] The testing unit 904 is used to control the oscilloscope to perform a protection time test on the inverter according to the working mode, and obtain a protection time test result of the inverter.
[0217] It should be noted that the inverter test device provided in the above embodiment is only illustrated by the division of the above functional modules. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above.
[0218] The functional units and modules in the above embodiments may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit, and the above integrated units may be implemented in the form of hardware or in the form of software functional units. In addition, the specific names of the functional units and modules are only for the convenience of distinguishing each other, and are not used to limit the protection scope of the embodiments of the present application.
[0219] It should be noted that the information interaction, execution process, etc. between the above-mentioned devices / units are based on the same concept as the method embodiment of the present application. Their specific functions and technical effects can be found in the method embodiment part and will not be repeated here.
[0220] An embodiment of the present application further provides an electronic device, the electronic device comprising one or more processors and a memory;
[0221] The memory is coupled to one or more processors, and the memory is used to store computer program codes, the computer program codes include computer instructions, and the one or more processors call the computer instructions to enable the electronic device to execute the inverter testing method shown above.
[0222] Fig.10The schematic diagram of the structure of an electronic device provided in the embodiment of the present application is that the electronic device 1000 can be a mobile phone, a smart screen, a tablet computer, a wearable electronic device, an in-vehicle electronic device, an augmented reality (AR) device, a virtual reality (VR) device, a laptop computer, an ultra-mobile personal computer (UMPC), a netbook, a personal digital assistant (PDA), a projector, or a communication device such as a server, a storage device, a base station, or a smart car, etc. The embodiment of the present application does not impose any restrictions on the specific type of the electronic device.
[0223] The memory 1001 can be used to store computer software programs 1002 and modules, and the processor 1003 executes various functional applications and data processing of the electronic device by running the software programs and modules stored in the memory 1001. The memory 1001 can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc.; the data storage area can store data created according to the use of the electronic device (such as audio data, a phone book, etc.), etc. In addition, the memory 1001 can include a high-speed random access memory, and can also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other volatile solid-state storage devices.
[0224] Among them, the processor 1003 may include one or more processors such as a central processing unit, an application processor (AP), a baseband processor, etc. The processor may be the nerve center and command center of the wireless router. The processor 1003 may generate an operation control signal according to the instruction operation code and the timing signal to complete the control of fetching and executing instructions. The memory 1001 may be used to store computer executable program codes, and the executable program codes include instructions. The processor 1003 executes various functional applications and data processing of the network device by running the instructions stored in the memory. The memory 1001 may include a program storage area and a data storage area, such as storing data of a sound signal to be played. For example, the memory may be a double rate synchronous dynamic random access memory DDR or a flash memory Flash.
[0225] An embodiment of the present application further provides a computer-readable storage medium, in which computer instructions are stored; when the computer-readable storage medium is run on an electronic device, the electronic device executes the inverter testing method shown above.
[0226] The computer instructions may be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions may be transmitted from one website, computer, server, or data center to another website, computer, server, or data center via wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) means. The computer-readable storage medium may be any available medium that can be accessed by a computer or a data storage device such as a server, data center, etc. that includes one or more available media integrated therein. The available medium may be a magnetic medium (e.g., a floppy disk, a hard disk, a magnetic tape), an optical medium, or a semiconductor medium (e.g., a solid state disk (SSD)), etc.
[0227] The embodiment of the present application further provides a computer program product including computer instructions. When the computer program product is run on an electronic device, the electronic device can execute the inverter testing method shown above.
[0228] The computer storage medium and computer program product provided in the above-mentioned embodiments of the present application are used to execute the method provided above. Therefore, the beneficial effects that can be achieved can refer to the corresponding beneficial effects of the method provided above, and will not be repeated here.
[0229] In the above embodiments, it can also be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer instructions are loaded and executed on a computer, the process or function described in the embodiment of the present application is generated in whole or in part. The computer may be a general-purpose computer, a special-purpose computer, a computer network or other programmable device. The computer instructions may be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instructions may be transmitted from a website site, computer, server or data center by wired (such as: coaxial cable, optical fiber, data subscriber line (Digital Subscriber Line, DSL)) or wireless (such as: infrared, wireless, microwave, etc.) mode to another website site, computer, server or data center. The computer-readable storage medium may be any available medium that a computer can access, or a data storage device such as a server or data center that includes one or more available media integrations. The available medium may be a magnetic medium (such as a floppy disk, a hard disk, a magnetic tape), an optical medium (such as a digital versatile disc (DVD)), or a semiconductor medium (such as a solid state disk (SSD)).
[0230] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described or recorded in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0231] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments applied for herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.
[0232] In the embodiments provided in the present application, it should be understood that the disclosed devices / network equipment and methods can be implemented in other ways. For example, the device / network equipment embodiments described above are merely schematic. For example, the division of the modules or units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0233] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0234] The embodiments described above are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, a person skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. Such modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application, and should all be included in the protection scope of the present application.
Claims
1. A method for testing an inverter, characterized in that: include: Obtaining a predetermined protection time of the inverter to be tested; Automatically initializing the unit range of the horizontal time axis of the oscilloscope according to the predetermined protection time, wherein the unit range is used to represent the time length represented by each unit on the horizontal time axis; Determining, according to the predetermined protection time and the predetermined time threshold, the working mode of the oscilloscope when testing the inverter, wherein different working modes are applicable to different signal change processes and signal capture accuracies; The oscilloscope is controlled to perform a protection time test on the inverter according to the working mode, so as to obtain a protection time test result of the inverter.
2. The method according to claim 1, characterized in that The step of automatically initializing the unit range of the horizontal time axis of the oscilloscope according to the predetermined protection time comprises: The triggering action of acquiring the oscilloscope corresponds to the triggering moment on the horizontal time axis, and the triggering action refers to the action of triggering the oscilloscope to acquire the test waveform of the inverter; Taking the triggering moment as the starting reference moment; The unit range of the horizontal time axis of the oscilloscope is automatically initialized according to the predetermined protection time and the starting reference time.
3. The method according to claim 1, characterized in that The working mode includes: a trigger mode and a rolling mode, and the working mode of the oscilloscope when testing the inverter is determined according to the predetermined protection time and the predetermined time threshold, including: If the predetermined protection time is less than the predetermined time threshold, determining that the working mode of the oscilloscope when testing the inverter is the trigger mode; If the predetermined protection time is greater than or equal to the predetermined time threshold, it is determined that the working mode of the oscilloscope when testing the inverter is the rolling mode.
4. The method according to claim 1, characterized in that: If the working mode is the trigger mode, controlling the oscilloscope to perform a protection time test on the inverter according to the working mode to obtain a protection time test result of the inverter includes: Setting the operating mode of the oscilloscope to a trigger mode; Setting a trigger protection scenario of the inverter, wherein the trigger protection scenario at least includes: simulating an actual abnormal condition of the inverter that can prompt the inverter to start a protection function in actual use, thereby obtaining a simulated abnormal condition; In the trigger protection scenario, the oscilloscope is controlled to perform a protection time test on the inverter according to the trigger mode to obtain a protection time test result of the inverter.
5. The method according to claim 4, characterized in that In the trigger protection scenario, controlling the oscilloscope to perform a protection time test on the inverter according to the trigger mode to obtain a protection time test result of the inverter includes: In the trigger protection scenario, in response to a trigger action of the oscilloscope, determining whether the state of the inverter is a protection state; If the state of the inverter is the protection state, and the oscilloscope runs the trigger mode, the oscilloscope is controlled to capture the electrical signal of the inverter and the periodic change frequency of the electrical signal to obtain the test waveform of the inverter; Determining a protection moment of the inverter according to the electrical signal in the test waveform of the inverter and the periodic variation frequency of the electrical signal; Determine the actual protection time of the inverter according to the protection time and the starting reference time corresponding to the triggering action of the oscilloscope on the horizontal time axis; A protection time test result of the inverter is determined according to the actual protection time of the inverter and the predetermined protection time.
6. The method according to claim 5, characterized in that Determining the protection moment of the inverter according to the electrical signal in the test waveform of the inverter and the periodic change frequency of the electrical signal includes: Determining a minimum current value of the inverter according to the electrical signal in the test waveform; Determining a maximum waveform scanning step length and a minimum waveform scanning step length of the test waveform according to the periodic variation frequency of the electrical signal; The protection moment of the inverter is determined according to the minimum current value, the maximum waveform scanning step length and the minimum waveform scanning step length.
7. The method according to claim 6, characterized in that Determining the protection moment of the inverter according to the minimum current value, the maximum waveform scanning step length, and the minimum waveform scanning step length includes: If the test waveform is scanned N times continuously according to the maximum waveform scanning step length, and the N first scanning current values obtained are all smaller than the minimum current value, then the test waveform is continuously scanned according to the minimum waveform scanning step length to obtain a second scanning current value; Starting from the last moment when the second scanning current value obtained by scanning the test waveform with the minimum waveform scanning step is greater than the minimum current value, scanning the test waveform again with the maximum waveform scanning step to obtain the first scanning current value; If the test waveform is scanned N times in succession according to the maximum waveform scanning step, and the obtained N first scanning current values are all smaller than the minimum current value, the first moment when the first scanning current value is smaller than the minimum current value is taken as the protection moment of the inverter.
8. The method according to claim 6, characterized in that Determining the minimum current value of the inverter according to the electrical signal in the test waveform includes: Scanning the maximum current value of the last waveform cycle in the test waveform of the inverter; Acquire the current channel range of the inverter and the maximum allowable current value of the current channel range; The smaller current value between the maximum current value and the maximum allowable current value is used as the minimum current value.
9. The method according to claim 1, characterized in that: If the working mode is the rolling mode, the oscilloscope is controlled to perform a protection time test on the inverter according to the working mode to obtain a protection time test result of the inverter, including: Calculating the preparation time from the zero point of the horizontal time axis of the oscilloscope to the triggering moment, and the protection time from the triggering moment to the protection moment; Setting the working mode of the oscilloscope to a rolling mode and starting to run the rolling mode; After waiting for the preparation time, setting a trigger protection scenario of the inverter; In the trigger protection scenario, the oscilloscope is controlled to perform a protection time test on the inverter according to the rolling mode to obtain a protection time test result of the inverter.
10. The method according to claim 9, characterized in that In the trigger protection scenario, controlling the oscilloscope to perform a protection time test on the inverter according to the rolling mode to obtain a protection time test result of the inverter includes: In the trigger protection scenario, in response to the trigger action of the oscilloscope, the rolling mode is terminated after waiting for the protection time; If the state of the inverter is the protection state, and the oscilloscope runs the rolling mode, the measurement data of the inverter read from the power analyzer, the measurement data at least includes: an electrical signal, a periodic change frequency of the electrical signal, and the electrical signal includes: a voltage value and a current value; A protection time test result of the inverter is determined according to the measurement data read from the power analyzer and the predetermined protection time.
11. The method according to claim 10, characterized in that Determining the protection time test result of the inverter according to the measurement data read from the power analyzer and the predetermined protection time includes: Determine, based on the measurement data, the most recent time before the electrical signal or the periodically changing frequency starts to change, and determine a voltage threshold, a current threshold, and a frequency threshold of the inverter; Starting from the most recent moment, determining a first change moment of the voltage value and the periodic change frequency, and a second change moment when the current value begins to become zero, wherein the first change moment is the earliest moment when the voltage value is greater than the voltage threshold, or the earliest moment when the periodic change frequency is greater than the frequency threshold, and the second change moment is the earliest moment when the current value is less than the current threshold; Calculate the time difference between the first change moment and the second change moment to obtain an actual protection time; The actual protection time is compared with the predetermined protection time to obtain a protection time test result of the inverter.
12. A testing device for an inverter, characterized in that: include: An acquisition unit, used for acquiring a predetermined protection time of the inverter to be tested; An initialization unit, used for automatically initializing the unit range of the horizontal time axis of the oscilloscope according to the predetermined protection time, wherein the unit range is used to represent the time length represented by each unit on the horizontal time axis; A determination unit, configured to determine, according to the predetermined protection time and the predetermined time threshold, an operating mode of the oscilloscope when testing the inverter, wherein different operating modes are applicable to different signal change processes and signal capture accuracies; The testing unit is used to control the oscilloscope to perform a protection time test on the inverter according to the working mode, so as to obtain a protection time test result of the inverter.
13. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the electronic device implements the method according to any one of claims 1 to 11.
14. A computer program product, characterized in that The invention comprises a computer program which, when executed, causes the method according to any one of claims 1 to 11 to be performed.
15. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the method according to any one of claims 1 to 11 is implemented.