Current waveform determination method and device and storage medium thereof
By screening the current waveform with the average value of the deviation than the preset threshold, the stoppage time period and stopping current waveform of the motor are determined to solve the problem of inaccurate current waveforms in the existing technology, and the accurate identification of abnormalities and stopping current waveforms is achieved.
Patent Information
- Application Number
- CN202310936948.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-07-27
- Publication Date
- 2025-01-28
AI Technical Summary
In the prior art, the determination of the current waveform of the welding machine is inaccurate, and it is difficult to accurately distinguish the abnormal current waveform from the shutdown current waveform.
By filtering the current waveform with the average value of the bonding than the preset threshold, the target current waveform is determined, and then based on the timestamp and current value of the current point, determine the stoppage time period of the motor and the corresponding shutdown current waveform.
The accurate distinction of current waveforms is achieved to ensure the accurate identification of abnormal current waveforms and stop working current waveforms.
Smart Images

Figure CN119382574A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of communication technology, and in particular to a current waveform determination method, device and storage medium thereof. Background Art
[0002] In the related art, the working state of the welding machine is generally determined by close observation by the operation and maintenance personnel or by the current data waveform. At present, the way to determine the current waveform is mostly to install a sensor on the welding machine and set a threshold. When the current waveform of the welding machine is abnormal, the operation and maintenance personnel are notified. However, it is not accurate to only rely on the sensor to determine the current waveform. Therefore, how to accurately determine the current waveform is a problem that needs to be solved urgently. Summary of the invention
[0003] The present application provides a current waveform determination method, device and storage medium thereof, which can accurately determine the current waveform.
[0004] In order to achieve the above objectives, this application adopts the following technical solutions:
[0005] In a first aspect, the present application provides a current waveform determination method, the method comprising: determining a target current waveform among multiple current waveforms; a current waveform is composed of multiple sub-current waveforms; the target current waveform includes multiple abnormal current waveforms and multiple shutdown current waveforms, and the skewness average of the target current waveform is greater than a first preset threshold; based on the timestamp and current value of the current point of the target current waveform, determining the shutdown time period of the motor; determining the shutdown current waveform of the shutdown time period.
[0006] Based on the above technical scheme, the current waveform determination method provided in the embodiment of the present application is as follows: first, the current waveform determination device screens out multiple abnormal current waveforms and multiple shutdown current waveforms whose skewness mean is greater than a first preset threshold value from the current waveform, that is, the normal current waveform is excluded, so as to facilitate the subsequent judgment of the accuracy of the remaining two current waveforms; then, the current waveform determination device determines the shutdown time period of the motor based on the timestamps and current values of the current points of the multiple abnormal current waveforms and the multiple shutdown current waveforms, and the waveform corresponding to the corresponding shutdown time period is the shutdown current waveform, thereby ensuring that the embodiment of the present application accurately distinguishes between the abnormal current waveform and the shutdown current waveform.
[0007] In combination with the first aspect, in a possible implementation, the motor downtime period is determined based on the timestamp and current value of the current point of the target current waveform, including: from the target moment, multiple current values of the target current waveform are detected in chronological order to determine the first moment and the second moment; the number of first current values between the first moment and the target moment is less than a first threshold and the number of second current values is greater than a second threshold; the number of first current values between the second moment and the target moment is greater than or equal to the first threshold; the first current value is the current value of the abnormal current waveform; the second current value is the current value of the shutdown current waveform; the time period between the first moment and the second moment is used as the downtime period.
[0008] In combination with the first aspect, in a possible implementation manner, the target time is a start detection time or an end time of a previous shutdown time period.
[0009] Based on the above technical solution, the embodiment of the present application detects and determines the current value of the current point of the target current waveform from the target detection moment in chronological order, determines the first moment and the second moment, and then determines the time period between the first moment and the second moment as the shutdown time period.
[0010] In combination with the first aspect, in a possible implementation, for each current waveform, determining a target current waveform among multiple current waveforms includes: determining skewness values of multiple sub-current waveforms of the current waveform; determining a skewness mean of the current waveform based on the sum of the skewness values of the multiple sub-current waveforms; and determining a current waveform among the multiple current waveforms whose skewness mean is greater than a first preset threshold as the target current waveform.
[0011] Based on the above technical solution, the embodiment of the present application screens multiple current waveforms to determine the target current waveform, that is, excludes the normal current waveform to facilitate the subsequent determination of the accuracy of the current waveform.
[0012] In combination with the first aspect, in a possible implementation method, before determining the target current waveform among the multiple current waveforms, it also includes: obtaining multiple current points in each of multiple time periods; for each time period, generating a current waveform corresponding to the time period based on the multiple current points in the time period to determine multiple current waveforms.
[0013] Based on the above technical solution, the embodiment of the present application divides a whole set of waveform data into current waveforms of multiple time periods, and performs subsequent specific analysis on each current waveform, thereby ensuring the accuracy of the current waveform judgment result.
[0014] In a second aspect, the present application provides a current waveform determination device, which includes: a processing unit; the processing unit is used to determine a target current waveform among multiple current waveforms; a current waveform is composed of multiple sub-current waveforms; the target current waveform includes multiple abnormal current waveforms and multiple shutdown current waveforms, and the skewness mean of the target current waveform is greater than a first preset threshold; the processing unit is also used to determine the shutdown time period of the motor based on the timestamp and current value of the current point of the target current waveform; the processing unit is also used to determine the shutdown current waveform of the shutdown time period.
[0015] In combination with the second aspect, in a possible implementation, the processing unit is also used to: detect multiple current values of the target current waveform in chronological order from the target moment to determine the first moment and the second moment; the number of first current values between the first moment and the target moment is less than a first threshold and the number of second current values is greater than a second threshold; the number of first current values between the second moment and the target moment is greater than or equal to the first threshold; the first current value is the current value of the abnormal current waveform; the second current value is the current value of the shutdown current waveform; the time period between the first moment and the second moment is used as the shutdown time period.
[0016] In combination with the second aspect, in a possible implementation manner, the target time is the start detection time or the end time of the previous shutdown time period.
[0017] In combination with the second aspect, in a possible implementation method, the processing unit is also used to: determine the skewness values of multiple sub-current waveforms of the current waveform; determine the skewness mean of the current waveform based on the sum of the skewness values of the multiple sub-current waveforms; and determine the current waveform among the multiple current waveforms whose skewness mean is greater than a first preset threshold as the target current waveform.
[0018] In combination with the second aspect, in a possible implementation, the device also includes: an acquisition unit; the acquisition unit is used to acquire multiple current points in each of multiple time periods; the processing unit is also used to generate a current waveform corresponding to the time period for each time period based on the multiple current points in the time period to determine multiple current waveforms.
[0019] In a third aspect, the present application provides a current waveform determination device, which includes: a processor and a communication interface; the communication interface and the processor are coupled, and the processor is used to run a computer program or instructions to implement the current waveform determination method described in the first aspect and any possible implementation method of the first aspect.
[0020] In a fourth aspect, the present application provides a computer-readable storage medium, which stores instructions. When the instructions are executed on a terminal, the terminal executes the current waveform determination method described in the first aspect and any possible implementation of the first aspect.
[0021] In this application, the name of the current waveform determination device does not limit the device or functional module itself. In actual implementation, these devices or functional modules may appear with other names. As long as the functions of each device or functional module are similar to those of this application, they fall within the scope of the claims of this application and their equivalent technologies.
[0022] These and other aspects of the present application will become more apparent from the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0023] Figure 1 A schematic diagram of the structure of a current waveform determination system provided in this application;
[0024] Figure 2 A schematic diagram of the structure of a current waveform determination device provided in the present application;
[0025] Figure 3 A flow chart of a current waveform determination method provided in the present application;
[0026] Figure 4 A flow chart of another current waveform determination method provided by the present application;
[0027] Figure 5 A flow chart of another current waveform determination method provided by the present application;
[0028] Figure 6 A flow chart of another current waveform determination method provided by the present application;
[0029] Figure 7 A schematic diagram of the structure of a current waveform determination device provided in the present application;
[0030] Figure 8 A schematic diagram of a current waveform provided in this application. DETAILED DESCRIPTION
[0031] The current waveform determination method and device provided in the embodiments of the present application are described in detail below in conjunction with the accompanying drawings.
[0032] The term "and / or" in this article is merely a description of the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone.
[0033] The terms "first" and "second" and the like in the specification and drawings of this application are used to distinguish different objects, or to distinguish different processing of the same object, rather than to describe a specific order of objects.
[0034] In addition, the terms "including" and "having" and any variations thereof mentioned in the description of the present application are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device comprising a series of steps or units is not limited to the listed steps or units, but may optionally include other steps or units that are not listed, or may optionally include other steps or units that are inherent to these processes, methods, products or devices.
[0035] It should be noted that, in the embodiments of the present application, words such as "exemplary" or "for example" are used to indicate examples, illustrations or descriptions. Any embodiment or design described as "exemplary" or "for example" in the embodiments of the present application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "exemplary" or "for example" is intended to present related concepts in a specific way.
[0036] With the development of science and technology and industry, people have higher demands on parts and equipment processed in factories. Among them, electric welders are the factors related to the stability of the combination between parts. However, when the electric welders are in operation, they are easy to cause damage to the eyes and skin of workers. Therefore, when the automatic electric welders are used frequently in large factories, the detection of abnormal processing is of utmost importance.
[0037] At present, the working principle of the automatic welding machine using the continuous arc welding method is to suddenly increase the current to break through the surrounding air to form an arc, maintain the current stable to make it burn stably, and weld evenly. When the welding is about to end, the arc is extinguished, and the current will quickly drop to 0. Therefore, the working status of the welding machine can be judged from the current data waveform.
[0038] In the related art, the working status of the welding machine is generally determined by the operation and maintenance personnel through close observation / remote monitoring screen. However, it is not accurate to judge by naked eyes relying on the work ability and experience of the operation and maintenance personnel, and the light on site is too strong, which makes it difficult to observe and extremely difficult to judge the internal operating status of the welding machine. Or it is determined by the current data waveform; at present, the way to determine the current waveform is mostly to install sensors on the welding machine and set thresholds. When the current waveform of the welding machine is abnormal, the operation and maintenance personnel are notified, but the sensor can only monitor a single type of variable. For the operation of different types of transmitters, it is necessary to install multiple different beds to start, and it is difficult to achieve the requirements with simple thresholds, which leads to the reliance on sensors to determine the current waveform is not accurate. Therefore, how to accurately determine the current waveform is a problem that needs to be solved urgently.
[0039] In order to solve the problems in the prior art, an embodiment of the present application provides a current waveform determination method. First, a current waveform determination device screens out multiple abnormal current waveforms and multiple shutdown current waveforms whose skewness mean is greater than a first preset threshold value from the current waveform, that is, the normal current waveform is excluded, so as to facilitate the subsequent judgment of the accuracy of the remaining two current waveforms; then, the current waveform determination device determines the shutdown time period of the motor based on the timestamps and current values of the current points of the multiple abnormal current waveforms and the multiple shutdown current waveforms, and the waveform corresponding to the corresponding shutdown time period is the shutdown current waveform, thereby ensuring that the embodiment of the present application accurately distinguishes between abnormal current waveforms and shutdown current waveforms.
[0040] like Figure 1 As shown, an embodiment of the present application provides a structural schematic diagram of a current waveform determination system 100, which includes: a collection module 101 for collecting current points of an electric welding machine, a waveform generation module 102, a skewness value determination module 103, a waveform matching module 104, and an early warning module 105.
[0041] The waveform generating module 102 is used to set a sliding window and generate a current waveform from the current points collected by the collecting module 101 .
[0042] The skewness value determination module 103 is used to calculate and determine the skewness value of the current waveform, determine whether the skewness value of the current waveform meets a preset condition, and screen out a target current waveform.
[0043] The waveform matching module 104 is used to determine the downtime period of the motor, match the downtime current waveform corresponding to the downtime period, and further distinguish the abnormal current waveform.
[0044] The early warning module 105 is used to issue an early warning according to the shutdown current waveform and the abnormal current waveform distinguished by the waveform matching module 104 .
[0045] Figure 2 A schematic diagram of the structure of a current waveform determination device provided in an embodiment of the present application is shown in FIG. Figure 2 As shown, the current waveform determination device 200 includes at least one processor 201, a communication line 202, and at least one communication interface 204, and may also include a memory 203. The processor 201, the memory 203 and the communication interface 204 may be connected via the communication line 202.
[0046] The processor 201 may be a central processing unit (CPU), an application specific integrated circuit (ASIC), or one or more integrated circuits configured to implement the embodiments of the present application, such as one or more digital signal processors (DSP), or one or more field programmable gate arrays (FPGA).
[0047] The communication link 202 may include a pathway for transmitting information between the above-mentioned components.
[0048] The communication interface 204 is used to communicate with other devices or communication networks, and can use any transceiver-like device, such as Ethernet, radio access network (RAN), wireless local area network (WLAN), etc.
[0049] The memory 203 may be a read-only memory (ROM) or other types of static storage devices that can store static information and instructions, a random access memory (RAM) or other types of dynamic storage devices that can store information and instructions, or an electrically erasable programmable read-only memory (EEPROM), a compact disc read-only memory (CD-ROM) or other optical disc storage, an optical disc storage (including compressed optical discs, laser discs, optical discs, digital versatile discs, Blu-ray discs, etc.), a magnetic disk storage medium or other magnetic storage device, or any other medium that can be used to include or store desired program code in the form of instructions or data structures and can be accessed by a computer, but is not limited to these.
[0050] In one possible design, the memory 203 can exist independently of the processor 201, that is, the memory 203 can be a memory outside the processor 201. In this case, the memory 203 can be connected to the processor 201 through the communication line 202, and is used to store execution instructions or application code, and the processor 201 controls the execution to implement the network quality determination method provided in the following embodiment of the present application. In another possible design, the memory 203 can also be integrated with the processor 201, that is, the memory 203 can be the internal memory of the processor 201, for example, the memory 203 is a high-speed cache, which can be used to temporarily store some data and instruction information, etc.
[0051] As an implementation method, the processor 201 may include one or more CPUs, for example Figure 2 As another possible implementation, the current waveform determination device 200 may include multiple processors, such as Figure 2 As another implementation, the current waveform determination apparatus 200 may further include an output device 205 and an input device 206.
[0052] Through the description of the above implementation methods, technicians in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above functional modules is used as an example. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the network node is divided into different functional modules to complete all or part of the functions described above. The specific working process of the system, module and network node described above can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here.
[0053] like Figure 3 As shown in FIG. 1 , it is a flow chart of a current waveform determination method provided in an embodiment of the present application. The current waveform determination method provided in an embodiment of the present application can be applied to the following examples: Figure 2 In the current waveform determination device shown, the device positioning method provided in the embodiment of the present application can be implemented through the following steps.
[0054] S301 . A current waveform determining device determines a target current waveform among a plurality of current waveforms.
[0055] Among them, a current waveform is composed of multiple sub-current waveforms; the target current waveform includes multiple abnormal current waveforms and multiple shutdown current waveforms, and the skewness average of the target current waveform is greater than a first preset threshold.
[0056] In a possible implementation, the current waveform determination device selects abnormal current waveforms and shutdown current waveforms whose skewness mean is greater than a first preset threshold from multiple current waveforms, that is, excludes normal current waveforms without problems.
[0057] For example, Figure 8 A current waveform is shown, and the waveform in the dotted box is a sub-current waveform.
[0058] S302 . The current waveform determining device determines a shutdown time period of the motor based on the timestamp and current value of the current point of the target current waveform.
[0059] As a possible implementation method, the implementation process of the above S302 can be: the current waveform determination device detects the current value of the target current waveform in chronological order, determines whether the current value of the target current waveform meets the preset conditions, and determines the shutdown time period of the motor.
[0060] S303: The current waveform determining device determines the shutdown current waveform during the shutdown period.
[0061] In a possible implementation, since the downtime period of the motor has been determined, the downtime current waveform during the downtime period is determined, and thus the abnormal current waveform of the motor can be determined. For the acquisition of the overall waveform of the motor, see S601-S602.
[0062] Based on the above technical scheme, the current waveform determination method provided in the embodiment of the present application is as follows: first, the current waveform determination device screens out multiple abnormal current waveforms and multiple shutdown current waveforms whose skewness mean is greater than a first preset threshold value from the current waveform, that is, the normal current waveform is excluded, so as to facilitate the subsequent judgment of the accuracy of the remaining two current waveforms; then, the current waveform determination device determines the shutdown time period of the motor based on the timestamps and current values of the current points of the multiple abnormal current waveforms and the multiple shutdown current waveforms, and the waveform corresponding to the corresponding shutdown time period is the shutdown current waveform, thereby ensuring that the embodiment of the present application accurately distinguishes between the abnormal current waveform and the shutdown current waveform.
[0063] In one possible implementation, combining Figure 3 ,like Figure 4 As shown, the above S302, the current waveform determining device determines the downtime period of the motor based on the timestamp and current value of the current point of the target current waveform, which can be specifically implemented by the following S401.
[0064] S401. A current waveform determining device detects a plurality of current values of a target current waveform in chronological order from a target moment to determine a first moment and a second moment.
[0065] Among them, the number of first current values between the first moment and the target moment is less than the first threshold and the number of second current values is greater than the second threshold; the number of first current values between the second moment and the target moment is greater than or equal to the first threshold; the first current value is the current value of the abnormal current waveform; the second current value is the current value of the shutdown current waveform; the time period between the first moment and the second moment is used as the shutdown time period; the target moment is the starting detection moment or the end moment of the previous shutdown time period.
[0066] It is understandable that the low current time between normal current waveforms is generally very short and the number of low currents does not exceed 3 times. However, the low current time between abnormal current waveforms and shutdown current waveforms is very long, which means that the number of low current data is large.
[0067] In a possible implementation, the current waveform determination device sets a current threshold, detects the current value of the target current waveform in chronological order, and records a first current value X (X starts at 0) every time the current value of the target current waveform is greater than the current threshold, and records a second current value Y (Y starts at 0) every time the current value of the target current waveform is less than the current threshold; it is worth noting that the first current value X can only start counting when the second current value Y starts counting (Y=1). Counting is continued according to time, and if there is a moment when the first current value X is less than the first threshold and the second current value Y is greater than the second threshold, the moment is determined to be the first moment, at which the DTW algorithm stops running, and the waveform data appearing during the period when the DTW algorithm stops running can be directly classified as the shutdown waveform; although the DTW algorithm stops running, the counting of the first current value X and the second current value Y does not stop, and the moment when the first current value X is equal to 3 is the second moment, and the first current value X and the second current value Y are reset to zero at the second moment, and the DTW algorithm starts running at the same time, that is, after the first current value X and the second current value Y are reset to zero, the detection of the current waveform will be restarted, and this moment is also the target moment.
[0068] It can be understood that the current value in the abnormal current waveform is greater than the current threshold, so when the current value is greater than the current threshold, the first current value X will be recorded; the current value in the shutdown current waveform is less than the current threshold, so when the current value is less than the current threshold, the second current value Y will be recorded. When the second current value Y is greater than a certain value (the second threshold), it means that the welding machine has stopped running and the working state is a shutdown state, and the operation of the DTW algorithm can be suspended to avoid unnecessary consumption.
[0069] Exemplarily, the current waveform determination device sets a current threshold of 20, detects the current value of the target current waveform in chronological order, and determines whether the current value of each current point in the target current waveform is greater than the current threshold of 20; whenever the current value of the target current waveform is greater than the current threshold of 20, the first current value X (X starts at 0) is recorded once, for example, the current value of the first current point is detected to be 21, which is greater than the current threshold of 20, but because the second current value Y has not started counting, the first current value X of the current point is not counted. If the current value of the second current point is 17, which is less than the current threshold of 20, the second current value Y is recorded as 1; further, if the current value of the third current point is 23, which is greater than the current threshold of 20, the first current value X is recorded as 1, and the current value is continuously detected and counted in chronological order. If there is a moment when the first current value X is 2 and the second current value Y is 7, the moment is determined to be the first moment. The first threshold can be 3, where 3 is the fault tolerance rate, which may be the error of the sensor, and the second threshold can be 6.
[0070] At the first moment, the DTW algorithm stops running, and the waveform data that appears during the period when the DTW algorithm stops running can be directly classified as the shutdown waveform; after determining that the electric welder stops running, X and Y are still counted, and the moment when the first current value X is equal to 3 is determined to be the second moment. The period between the first moment and the second moment is the period when the DTW algorithm stops running and is also the time period when the electric welder stops working.
[0071] It should be noted that the above detailed description of the specific calculation method of each parameter involved in S301 is provided. The above description is for more clearly describing the current waveform determination method described in the embodiment of the present disclosure, and should not be understood as limiting the specific implementation of the present disclosure.
[0072] Based on the above technical solution, the embodiment of the present application detects and determines the current value of the current point of the target current waveform from the target detection moment in chronological order, determines the first moment and the second moment, and then determines the time period between the first moment and the second moment as the shutdown time period.
[0073] In one possible implementation, combining Figure 3 ,like Figure 5 As shown, for each current waveform, the above S301, the current waveform determination device determines a target current waveform among multiple current waveforms, which can be specifically implemented through the following S501-S503.
[0074] S501. A current waveform determining device determines skewness values of a plurality of sub-current waveforms of a current waveform.
[0075] It is understandable that the electric welder performs the same welding on the same position of each part in the factory assembly line, so the normal current waveforms generated are basically the same. The waveform data is recorded and saved every 200 seconds. Each waveform data may be mixed with normal current waveforms, shutdown current waveforms and abnormal current waveforms, and may not be completely regular. Therefore, the error of calculating a whole waveform data using the skewness formula is large and difficult to judge. Therefore, the embodiment of the present application divides the current waveform into multiple current waveforms corresponding to multiple time periods in S601-S602.
[0076] Exemplarily, generally there are four sub-current waveforms in a current waveform, and the current waveform determination device can calculate and determine the skewness value of each sub-current waveform in a current waveform by using the following formula 1.
[0077]
[0078] Where μ is the mean, σ is the standard deviation, and E[X 3 ] is the mean operation.
[0079] S502 . The current waveform determining device determines a skewness mean value of the current waveform based on the sum of the skewness values of the plurality of sub-current waveforms.
[0080] In a possible implementation, the skewness values of a plurality of sub-current waveforms are added together and then divided by the number of sub-current waveforms to determine an average skewness of the current waveform.
[0081] Exemplarily, the skewness value of sub-current waveform A is -0.4, the skewness value of sub-current waveform A is -0.8, the skewness value of sub-current waveform A is -0.3, and the skewness value of sub-current waveform A is -0.6. The skewness values of the above sub-current waveforms are added together to determine that the sum of the skewness values of multiple sub-current waveforms is -2.1, and then the average skewness value of the current waveform is determined to be -0.525.
[0082] The average skewness values of the multiple current waveforms are calculated and determined based on the above calculation method.
[0083] S503 . The current waveform determining device determines a current waveform whose skewness mean value is greater than a first preset threshold value among the multiple current waveforms as a target current waveform.
[0084] In combination with the example in S502, the current waveform determination device compares the current waveform with an average skewness value of -0.525 with the first preset threshold value -0.9, and determines that the average skewness value of the current waveform -0.525 is greater than the first preset threshold value -0.9, then the current waveform is the target current waveform. Correspondingly, the current waveform determination device uses the same method as above to determine the remaining current waveforms.
[0085] It can be understood that if the average skewness value of the current waveform is less than the first preset threshold value, the current waveform is determined to be a normal current waveform.
[0086] It should be noted that the above detailed description of the specific calculation method of each parameter involved in S501-S503 is provided for the purpose of more clearly describing the current waveform determination method described in the embodiment of the present disclosure, and should not be construed as limiting the specific implementation of the present disclosure.
[0087] Based on the above technical solution, the embodiment of the present application screens multiple current waveforms to determine the target current waveform, that is, to exclude the normal current waveform, so as to facilitate the subsequent determination of the accuracy of the current waveform. At the same time, in order to maximize efficiency and avoid the tediousness of DTW waveform matching for the waveform at each moment, the skewness calculation is used to judge the current waveform.
[0088] In one possible implementation, combining Figure 3 ,like Figure 6 As shown, before the current waveform determining device determines the target current waveform among multiple current waveforms in the above S301, the current waveform determining device also needs to determine multiple current waveforms, which can be specifically implemented through the following S601-S602.
[0089] S601. A current waveform determination device obtains a plurality of current points in each of a plurality of time periods.
[0090] In a possible implementation, a current collector collects current points of the electric welding machine, sets a sliding window step size for the current points to intercept data, and determines multiple current points in each of multiple time periods.
[0091] Exemplarily, the sliding window may be split every 200 seconds.
[0092] S602 . For each time period, the current waveform determining device generates a current waveform corresponding to the time period according to multiple current points in the time period to determine multiple current waveforms.
[0093] As a possible implementation manner, the implementation process of S602 may be as follows: the current waveform determination device generates a current waveform for each time period in the form of time on the horizontal axis and current on the vertical axis according to multiple current points in each time period.
[0094] It should be noted that the above detailed description of the specific calculation method of each parameter involved in S601-S602 is provided for the purpose of more clearly describing the current waveform determination method described in the embodiment of the present disclosure, and should not be construed as limiting the specific implementation of the present disclosure.
[0095] Based on the above technical solution, the embodiment of the present application divides a whole set of waveform data into current waveforms of multiple time periods, and performs subsequent specific analysis on each current waveform, thereby ensuring the accuracy of the current waveform judgment result.
[0096] The embodiment of the present application can divide the current waveform determination device into functional modules or functional units according to the above method example. For example, each functional module or functional unit can be divided according to each function, or two or more functions can be integrated into one processing module. The above integrated module can be implemented in the form of hardware or in the form of software functional modules or functional units. Among them, the division of modules or units in the embodiment of the present application is schematic, which is only a logical function division. There may be other division methods in actual implementation.
[0097] like Figure 7 As shown, it is a structural schematic diagram of a current waveform determination device 700 provided in an embodiment of the present application, and the device includes: a processing unit 701; the processing unit 701 is used to determine a target current waveform among multiple current waveforms; a current waveform is composed of multiple sub-current waveforms; the target current waveform includes multiple abnormal current waveforms and multiple shutdown current waveforms, and the skewness mean of the target current waveform is greater than a first preset threshold value; the processing unit 701 is also used to determine the shutdown time period of the motor based on the timestamp and current value of the current point of the target current waveform; the processing unit 701 is also used to determine the shutdown current waveform of the shutdown time period.
[0098] Optionally, the processing unit 701 is also used to: detect multiple current values of the target current waveform in chronological order from the target moment to determine the first moment and the second moment; the number of first current values between the first moment and the target moment is less than a first threshold and the number of second current values is greater than a second threshold; the number of first current values between the second moment and the target moment is greater than or equal to the first threshold; the first current value is the current value of the abnormal current waveform; the second current value is the current value of the shutdown current waveform; and the time period between the first moment and the second moment is used as the shutdown time period.
[0099] Optionally, the target time is the start detection time or the end time of the previous shutdown time period.
[0100] Optionally, the processing unit 701 is also used to: determine the skewness values of multiple sub-current waveforms of the current waveform; determine the skewness mean of the current waveform based on the sum of the skewness values of the multiple sub-current waveforms; and determine the current waveform among the multiple current waveforms whose skewness mean is greater than a first preset threshold as the target current waveform.
[0101] Optionally, the device also includes: an acquisition unit 702; the acquisition unit 702 is used to acquire multiple current points in each of multiple time periods; the processing unit 701 is also used to generate a current waveform corresponding to the time period for each time period based on the multiple current points in the time period to determine multiple current waveforms.
[0102] When implemented by hardware, the acquisition unit 702 in the embodiment of the present application can be integrated on the communication interface, and the processing unit 701 can be integrated on the processor. The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any changes or replacements within the technical scope disclosed in the present application should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
Claims
1. A method for determining a current waveform, characterized in that: The method comprises: Determine a target current waveform among multiple current waveforms; a current waveform is composed of multiple sub-current waveforms; the target current waveform includes multiple abnormal current waveforms and multiple shutdown current waveforms, and the skewness mean of the target current waveform is greater than a first preset threshold; Determining a downtime period of the motor based on a timestamp and a current value of a current point of the target current waveform; An off-time current waveform during the off-time period is determined.
2. The method according to claim 1, characterized in that The step of determining the downtime period of the motor based on the timestamp and current value of the current point of the target current waveform comprises: From the target moment, multiple current values of the target current waveform are detected in time sequence to determine the first moment and the second moment; the number of first current values between the first moment and the target moment is less than the first threshold and the number of second current values is greater than the second threshold; the number of first current values between the second moment and the target moment is greater than or equal to the first threshold; the first current value is the current value of the abnormal current waveform; the second current value is the current value of the shutdown current waveform; the time period between the first moment and the second moment is used as the shutdown time period.
3. The method according to claim 2, characterized in that The target time is the start detection time or the end time of the previous shutdown time period.
4. The method according to claim 1, characterized in that: For each current waveform, determining a target current waveform among the multiple current waveforms comprises: determining skewness values of a plurality of sub-current waveforms of the current waveform; Determining a skewness mean value of the current waveform based on a sum of the skewness values of the plurality of sub-current waveforms; A current waveform whose skewness mean value is greater than a first preset threshold value among the multiple current waveforms is determined as the target current waveform.
5. The method according to any one of claims 1 to 3, characterized in that: Before determining the target current waveform among the multiple current waveforms, the method further includes: Acquire multiple current points in each of multiple time periods; For each time period, a current waveform corresponding to the time period is generated according to a plurality of current points within the time period to determine a plurality of current waveforms.
6. A current waveform determination device, characterized in that: The device comprises: a processing unit; The processing unit is used to determine a target current waveform among a plurality of current waveforms; a current waveform is composed of a plurality of sub-current waveforms; the target current waveform includes a plurality of abnormal current waveforms and a plurality of shutdown current waveforms, and the skewness mean of the target current waveform is greater than a first preset threshold value; The processing unit is further used to determine a downtime period of the motor based on a timestamp and a current value of a current point of the target current waveform; The processing unit is further used to determine the shutdown current waveform during the shutdown period.
7. The device according to claim 6, characterized in that The processing unit is further used for: From a target moment, a plurality of current values of a target current waveform are detected in time sequence to determine a first moment and a second moment; the number of first current values between the first moment and the target moment is less than a first threshold and the number of second current values is greater than a second threshold; the number of first current values between the second moment and the target moment is greater than or equal to the first threshold; The first current value is the current value of the abnormal current waveform; the second current value is the current value of the shutdown current waveform; and the time period between the first moment and the second moment is the shutdown time period.
8. The device according to claim 7, characterized in that The target time is the start detection time or the end time of the previous shutdown time period.
9. The device according to claim 6, characterized in that The processing unit is further used for: determining skewness values of a plurality of sub-current waveforms of the current waveform; Determining a skewness mean value of the current waveform based on a sum of the skewness values of the plurality of sub-current waveforms; A current waveform whose skewness mean value is greater than a first preset threshold value among the multiple current waveforms is determined as the target current waveform.
10. The device according to any one of claims 6 to 8, characterized in that: The device further includes: an acquisition unit; The acquisition unit is used to acquire multiple current points in each time period of multiple time periods; The processing unit is further configured to generate, for each time period, a current waveform corresponding to the time period according to a plurality of current points within the time period, so as to determine a plurality of current waveforms.
11. A current waveform determination device, characterized in that: include: A processor and a communication interface; the communication interface is coupled to the processor, and the processor is used to run a computer program or instruction to implement the current waveform determination method as described in any one of claims 1-5.
12. A computer-readable storage medium, wherein instructions are stored in the computer-readable storage medium, characterized in that: When a computer executes the instruction, the computer executes the current waveform determination method described in any one of claims 1 to 5.