CN114689968A - Filtering method and related device in electromagnetic compatibility test - Google Patents
Filtering method and related device in electromagnetic compatibility test Download PDFInfo
- Publication number
- CN114689968A CN114689968A CN202210258161.5A CN202210258161A CN114689968A CN 114689968 A CN114689968 A CN 114689968A CN 202210258161 A CN202210258161 A CN 202210258161A CN 114689968 A CN114689968 A CN 114689968A
- Authority
- CN
- China
- Prior art keywords
- value
- data
- data frame
- data point
- frame
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 44
- 238000001914 filtration Methods 0.000 title claims abstract description 39
- 238000012360 testing method Methods 0.000 title claims abstract description 36
- 238000004590 computer program Methods 0.000 claims description 11
- 230000002159 abnormal effect Effects 0.000 claims description 3
- 230000000694 effects Effects 0.000 abstract description 4
- 238000010586 diagram Methods 0.000 description 7
- 238000004422 calculation algorithm Methods 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000005856 abnormality Effects 0.000 description 1
- 239000011324 bead Substances 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000013021 overheating Methods 0.000 description 1
- 230000000750 progressive effect Effects 0.000 description 1
- 238000005070 sampling Methods 0.000 description 1
- 230000001052 transient effect Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01R—MEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
- G01R31/00—Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
- G01R31/001—Measuring interference from external sources to, or emission from, the device under test, e.g. EMC, EMI, EMP or ESD testing
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01R—MEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
- G01R1/00—Details of instruments or arrangements of the types included in groups G01R5/00 - G01R13/00 and G01R31/00
- G01R1/02—General constructional details
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Electromagnetism (AREA)
- Digital Magnetic Recording (AREA)
Abstract
The application discloses a filtering method in an electromagnetic compatibility test, which comprises the following steps: collecting a data frame; each frame of the data comprises N data points, wherein N is a positive integer; respectively judging whether the value of each data point of the current data frame is consistent with the value of the corresponding data point in the previous data frame; if the value of the ith data point of the current data frame is inconsistent with the value of the ith data point of the previous data frame, assigning the value of the ith data point of the current data frame to be zero; i is more than 0 and less than or equal to N; and if the value of the ith data point of the current data frame is consistent with the value of the ith data point of the previous data frame, keeping the value of the ith data point of the current data frame unchanged. The method adopts a software filtering mode, so that the period can be shortened and the cost can be reduced. The application also discloses a filtering device, equipment and a computer readable storage medium in the electromagnetic compatibility test, which have the technical effects.
Description
Technical Field
The application relates to the technical field of electromagnetic compatibility tests, in particular to a filtering method in an electromagnetic compatibility test; it also relates to a filtering device, equipment and computer readable storage medium in the electromagnetic compatibility test.
Background
EMC (Electro Magnetic Compatibility) refers to the ability of a device or system to function properly in its electromagnetic environment without creating unacceptable electromagnetic disturbances to anything in the environment. Nowadays, almost all electronic and electrical products must be EMC certified. In the electromagnetic compatibility test, the traditional filtering scheme is to filter on hardware or a cable, or add a magnetic ring or a magnetic bead. However, the conventional scheme described above has a long cycle time and high cost. Therefore, how to shorten the cycle and reduce the cost has become a technical problem to be solved urgently by those skilled in the art.
Disclosure of Invention
The application aims to provide a filtering method in an electromagnetic compatibility test, which can shorten the period and reduce the cost by adopting a software filtering mode. Another object of the present application is to provide a filtering apparatus, a device and a computer-readable storage medium for electromagnetic compatibility testing, all of which have the above technical effects.
In order to solve the above technical problem, the present application provides a filtering method in an electromagnetic compatibility test, including:
collecting a data frame; each frame of the data comprises N data points, wherein N is a positive integer;
respectively judging whether the value of each data point of the current data frame is consistent with the value of the corresponding data point in the previous data frame;
if the value of the ith data point of the current data frame is inconsistent with the value of the ith data point of the previous data frame, assigning the value of the ith data point of the current data frame to be zero; i is more than 0 and less than or equal to N;
and if the value of the ith data point of the current data frame is consistent with the value of the ith data point of the previous data frame, keeping the value of the ith data point of the current data frame unchanged.
Optionally, before respectively determining whether the value of each data point of the current data frame is consistent with the value of the corresponding data point in the previous data frame, the method further includes:
judging whether the maximum value of each data point of the previous data frame is greater than zero or not;
and if the maximum value of each data point of the previous data frame is larger than zero, respectively judging whether the value of each data point of the current data frame is consistent with the value of the corresponding data point in the previous data frame.
Optionally, the method further includes:
judging whether continuous M times of unreadable USB data exist; m is a positive integer;
if the USB data cannot be read for M times continuously, the USB device is reconnected.
Optionally, the method further includes:
judging whether the number of times of reconnecting the USB equipment reaches a preset threshold value and the reconnection of the USB equipment fails;
and if the number of times of reconnecting the USB equipment reaches a preset threshold value and the reconnection of the USB equipment fails, displaying abnormal information.
Optionally, the determining whether the consecutive M times of unreadable USB data includes:
judging whether the value of a preset parameter reaches M or not; when the USB data is read, the value of the preset parameter is reset to zero, and when the USB data is not read, the value of the preset parameter is increased by one;
and if the value of the preset parameter reaches M, connecting M times and failing to read the USB data.
In order to solve the above technical problem, the present application further provides a filtering apparatus in an electromagnetic compatibility test, including:
the acquisition module is used for acquiring data frames; each frame of the data comprises N data points, wherein N is a positive integer;
the first judging module is used for respectively judging whether the value of each data point of the current data frame is consistent with the value of the corresponding data point in the previous data frame;
the assignment module is used for assigning the value of the ith data point of the current data frame to zero if the value of the ith data point of the current data frame is inconsistent with the value of the ith data point of the previous data frame; i is more than 0 and less than or equal to N;
and the holding module is used for keeping the value of the ith data point of the current data frame unchanged if the value of the ith data point of the current data frame is consistent with the value of the ith data point of the previous data frame.
Optionally, the method further includes:
the second judgment module is used for judging whether the maximum value of each data point of the previous data frame is greater than zero or not;
if the maximum value of each data point of the previous data frame is greater than zero, the first judging module respectively judges whether the value of each data point of the current data frame is consistent with the value of the corresponding data point in the previous data frame.
Optionally, the method further includes:
the third judging module is used for judging whether the number of the USB data read for M times is zero or not; m is a positive integer;
and the reconnection module is used for reconnecting the USB equipment if the number of the USB data read for M times is zero.
In order to solve the above technical problem, the present application further provides a filtering apparatus in an electromagnetic compatibility test, including:
a memory for storing a computer program;
a processor for implementing the steps of the filtering method in the electromagnetic compatibility test as described in any one of the above when the computer program is executed.
In order to solve the above technical problem, the present application further provides a computer-readable storage medium, having a computer program stored thereon, where the computer program is executed by a processor to implement the steps of the filtering method in the electromagnetic compatibility test according to any one of the above items.
The filtering method in the electromagnetic compatibility test provided by the application comprises the following steps: collecting a data frame; each frame of the data comprises N data points, wherein N is a positive integer; respectively judging whether the value of each data point of the current data frame is consistent with the value of the corresponding data point in the previous data frame; if the value of the ith data point of the current data frame is inconsistent with the value of the ith data point of the previous data frame, assigning the value of the ith data point of the current data frame to be zero; i is more than 0 and less than or equal to N; and if the value of the ith data point of the current data frame is consistent with the value of the ith data point of the previous data frame, keeping the value of the ith data point of the current data frame unchanged.
Therefore, the filtering method in the electromagnetic compatibility test provided by the application adopts a software filtering mode, and analyzes whether interference points appear or not by judging whether the values of each data point of the two frames of data are corresponding and consistent or not. For the interference points, the interference points are filtered out by assigning the data points to zero. Compared with the traditional scheme of hardware filtering, the software filtering scheme provided by the application can greatly shorten the period and reduce the cost.
The filtering device, the equipment and the computer readable storage medium in the electromagnetic compatibility test have the technical effects.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed in the prior art and the embodiments are briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings without creative efforts.
Fig. 1 is a schematic flowchart of a filtering method in an electromagnetic compatibility test according to an embodiment of the present disclosure;
FIG. 2 is a schematic diagram of a pulse provided in an embodiment of the present application;
FIG. 3 is a schematic diagram of a single pulse duration provided by an embodiment of the present application;
FIG. 4 is a schematic diagram of a pulse period provided by an embodiment of the present application;
FIG. 5 is a schematic diagram of a filter device in an electromagnetic compatibility test according to an embodiment of the present disclosure;
fig. 6 is a schematic diagram of a filter device in an electromagnetic compatibility test according to an embodiment of the present application.
Detailed Description
The core of the application is to provide a filtering method in an electromagnetic compatibility test, and the method adopts a software filtering mode, so that the period can be shortened, and the cost can be reduced. Another core of the present application is to provide a filtering apparatus, a device and a computer-readable storage medium for electromagnetic compatibility testing, all having the above technical effects.
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
Referring to fig. 1, fig. 1 is a schematic diagram of a filtering method in an electromagnetic compatibility test according to an embodiment of the present application, and referring to fig. 1, the method mainly includes:
s101: collecting a data frame; each frame of the data comprises N data points, wherein N is a positive integer;
s102: respectively judging whether the value of each data point of the current data frame is consistent with the value of the corresponding data point in the previous data frame;
s103: if the value of the ith data point of the current data frame is inconsistent with the value of the ith data point of the previous data frame, assigning the value of the ith data point of the current data frame to be zero; i is more than 0 and less than or equal to N;
s104: and if the value of the ith data point of the current data frame is consistent with the value of the ith data point of the previous data frame, keeping the value of the ith data point of the current data frame unchanged.
A frame of software may transmit multiple data points, e.g., 3600 data points. The time for a single point acquisition is theoretically 2us, thus one data frame takes 7.2 ms. Referring to fig. 2, the electrical fast transient burst has a single pulse duration of 300ns, and the AD sampling has 600ns consecutive samples within 2us, so that a single pulse does not affect two data points consecutively.
Referring to fig. 3, the pulse signals in the pulse train are 5KHz and 100 KHz. At 5KHz, the pulse duration is 15 ms. At 100KHz, the pulse duration is 0.75 ms. The 5KHz signal affects at most 3 frames of data, and the 100KHz signal affects at most 2 frames of data.
Referring to fig. 4, at 5KHz, the period is 200us, the total interference duration is 15ms, and there are 75 pulsed interference signals in total. The impact points of the data frames (3600 data points) of the first frame are assumed to start from point 0, then the 100 th data point, the 200 th data point, will be disturbed. After one frame is finished, 2us of waiting is carried out; the impact points of the data frame of the second frame may be the 1 st data point, the 101 th data point, and the 201 th data point. After one frame is finished, 2us of waiting is carried out; the affected points of the data frame of the third frame would be the 2 nd, 102 th, 202 nd points; and so on.
Therefore, the positions of the interference points in the data frame of the previous frame and the data frame of the current frame are not overlapped. In view of this, in the embodiments of the present application, on the basis of collecting a data frame, whether each data point of a current data frame corresponds to each data point in a previous data frame is respectively judged; and if a certain data point of the current data frame is inconsistent with the corresponding data point of the previous data frame, the value of the data point of the current data frame is assigned to be zero. And if a certain data point of the current data frame is consistent with the corresponding data point in the previous data frame, keeping the value of the data point of the current data frame unchanged.
An array of PreData may be defined for storing the last frame of data. The current frame of Data may be stored in the array Data. The software script may be as follows:
For int i=0;i<PreData,Length;i++
{
If((PreData[i]==0&&Data[i]!=0)||PreData[i]!=0&&Data[i]==0))
Result[i]=0;
Else
Result[i]=Data[i]
}
finally returning to the Result array. The Result array stores the data frames obtained by filtering. PreData [ i ] represents the value of the ith Data point of the previous Data frame, Data [ i ] represents the value of the ith Data point of the current Data frame, and Result [ i ] represents the value of the ith Data point stored by the array Result.
That is, if a certain data point of the current data frame is 0 and the corresponding data point of the previous data frame is 1, or a certain data point of the current data frame is 1 and the corresponding data point of the previous data frame is 0, the value of the data point of the current data frame is assigned to be 0, so that the interference points are filtered out.
On the basis of the foregoing embodiments, in some embodiments, before respectively determining whether the value of the ith data point of the current data frame is consistent with the value of the ith data point of the previous data frame, the method further includes: judging whether the maximum value of each data point of the previous data frame is greater than zero or not; and if the maximum value of each data point of the previous data frame is larger than zero, judging whether the value of the ith data point of the current data frame is consistent with the value of the ith data point of the previous data frame. On the contrary, if the maximum value of each data point of the previous data frame is not greater than zero, that is, each data point of the previous data frame is zero, it indicates that no data frame is collected, and at this time, the step of respectively determining whether the value of the ith data point of the current data frame is consistent with the value of the ith data point of the previous data frame and the subsequent steps may not be performed.
On the basis of the above embodiments, in some embodiments, the method further includes:
judging whether continuous M times of unreadable USB data exist; m is a positive integer;
if the USB data cannot be read for M times continuously, the USB device is reconnected.
In an electromagnetic compatibility test, the situation that a USB cannot be identified instantaneously due to electromagnetic interference may occur, and for this reason, a software reconnection scheme is adopted, and software adds judgment in a data reading thread. If the USB data cannot be read, namely the number of the read USN data is zero, the USB is possible to be disconnected. And if USN data are read, namely the number of the read USN data is not zero, indicating that the USB is normal. And when the number of times of continuously failing to read the USB data reaches a preset threshold value, re-initializing the USB equipment and re-connecting the USB equipment.
The method for judging whether the USB data which cannot be read for M consecutive times may be:
judging whether the value of a preset parameter reaches M or not; when the USB data is read, the value of the preset parameter is reset to zero, and when the USB data is not read, the value of the preset parameter is increased by one;
if the value of the preset parameter reaches M, connecting M times and failing to read the USB data.
Specifically, one parameter readNumber may be initialized to 0; if the number of the read data is greater than 0, the readNumber is 0; if the number of the read data is equal to 0, adding 1 to the readNumber; and if the readNumber reaches the preset threshold value, the USB equipment is reconnected. For example, the preset threshold is 3, and if the readNumber is 3, it indicates that data cannot be read for 3 consecutive times, and the USB device is reconnected at this time.
Further, on the basis of the above embodiment, as a specific implementation manner, the method further includes:
judging whether the number of times of reconnecting the USB equipment reaches a preset threshold value and the reconnection of the USB equipment fails;
and if the number of times of reconnecting the USB equipment reaches a preset threshold value and the reconnection of the USB equipment fails, displaying abnormal information.
For example, if the number of times of reconnecting the USB device reaches 2 times and the reconnection of the USB device fails, the abnormality information is displayed.
In summary, the filtering method in the electromagnetic compatibility test provided by the present application includes: collecting a data frame; each frame of the data comprises N data points, wherein N is a positive integer; respectively judging whether the value of each data point of the current data frame is consistent with the value of the corresponding data point in the previous data frame; if the value of the ith data point of the current data frame is inconsistent with the value of the ith data point of the previous data frame, assigning the value of the ith data point of the current data frame to be zero; i is more than 0 and less than or equal to N; and if the value of the ith data point of the current data frame is consistent with the value of the ith data point of the previous data frame, keeping the value of the ith data point of the current data frame unchanged. Therefore, the filtering method in the electromagnetic compatibility test provided by the application adopts a software filtering mode, and analyzes whether interference points appear or not by judging whether the values of each data point of the two frames of data are corresponding and consistent or not. For the interference points, the interference points are filtered out by assigning the data points to zero. Compared with the traditional scheme of hardware filtering, the software filtering scheme provided by the application can greatly shorten the period and reduce the cost.
The application also provides a filtering device in the electromagnetic compatibility test, and the device described below can be mutually and correspondingly referenced with the method described above. Referring to fig. 5, fig. 5 is a schematic diagram of a filter device in an electromagnetic compatibility test according to an embodiment of the present application, and referring to fig. 5, the filter device includes:
an acquisition module 10, configured to acquire a data frame; each frame of the data comprises N data points, wherein N is a positive integer;
a first determining module 30, configured to determine whether a value of each data point in a current data frame is consistent with a value of a corresponding data point in a previous data frame;
an assignment module 30, configured to assign a value of the ith data point of the current data frame to zero if the value of the ith data point of the current data frame is inconsistent with the value of the ith data point of the previous data frame; i is more than 0 and less than or equal to N;
and a keeping module 40, configured to keep the value of the ith data point of the current data frame unchanged if the value of the ith data point of the current data frame is consistent with the value of the ith data point of the previous data frame.
On the basis of the above embodiment, as a specific implementation manner, the method further includes:
the second judgment module is used for judging whether the maximum value of each data point of the previous data frame is greater than zero or not;
if the maximum value of each data point of the previous data frame is greater than zero, the first judging module respectively judges whether the value of each data point of the current data frame is consistent with the value of the corresponding data point in the previous data frame.
On the basis of the above embodiment, as a specific implementation manner, the method further includes:
the third judging module is used for judging whether the number of the USB data read for M times is zero or not; m is a positive integer;
and the reconnection module is used for reconnecting the USB equipment if the number of the USB data read for M times is zero.
On the basis of the foregoing embodiment, as a specific implementation manner, the third determining module is configured to determine whether a value of a preset parameter reaches M; when the USB data is read, the value of the preset parameter is reset to zero, and when the USB data is not read, the value of the preset parameter is increased by one; and if the value of the preset parameter reaches M, connecting M times and failing to read the USB data.
The filtering device in the electromagnetic compatibility test provided by the application adopts a software filtering mode, and analyzes whether interference points appear by judging whether values of each data point of two frames of data are corresponding and consistent or not. For the interference points, the interference points are filtered out by assigning the data points to zero. Compared with the traditional scheme of hardware filtering, the software filtering scheme provided by the application can greatly shorten the period and reduce the cost.
The application also provides a memory temperature overheating alarm device, which is shown in reference to fig. 6 and comprises a memory 1 and a processor 2.
A memory 1 for storing a computer program;
a processor 2 for executing a computer program to implement the steps of:
collecting a data frame; each frame of the data comprises N data points, wherein N is a positive integer; respectively judging whether the value of each data point of the current data frame is consistent with the value of the corresponding data point in the previous data frame; if the value of the ith data point of the current data frame is inconsistent with the value of the ith data point of the previous data frame, assigning the value of the ith data point of the current data frame to be zero; i is more than 0 and less than or equal to N; and if the value of the ith data point of the current data frame is consistent with the value of the ith data point of the previous data frame, keeping the value of the ith data point of the current data frame unchanged.
For the introduction of the device provided in the present application, please refer to the method embodiments described above, which are not described herein again.
The present application further provides a computer readable storage medium having a computer program stored thereon, which when executed by a processor, performs the steps of:
collecting a data frame; each frame of the data comprises N data points, wherein N is a positive integer; respectively judging whether the value of each data point of the current data frame is consistent with the value of the corresponding data point in the previous data frame; if the value of the ith data point of the current data frame is inconsistent with the value of the ith data point of the previous data frame, assigning the value of the ith data point of the current data frame to be zero; i is more than 0 and less than or equal to N; and if the value of the ith data point of the current data frame is consistent with the value of the ith data point of the previous data frame, keeping the value of the ith data point of the current data frame unchanged.
The computer-readable storage medium may include: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, an optical disk, or other various media capable of storing program codes.
For the introduction of the computer-readable storage medium provided in the present application, please refer to the above method embodiments, which are not described herein again.
The embodiments are described in a progressive manner in the specification, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other. The device, the apparatus and the computer-readable storage medium disclosed by the embodiments correspond to the method disclosed by the embodiments, so that the description is simple, and the relevant points can be referred to the description of the method.
Those of skill would further appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, and that the various illustrative components and steps have been described above generally in terms of their functionality in order to clearly illustrate this interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
The steps of a method or algorithm described in connection with the embodiments disclosed herein may be embodied directly in hardware, in a software module executed by a processor, or in a combination of the two. A software module may reside in Random Access Memory (RAM), memory, Read Only Memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
The filtering method, apparatus, device and computer readable storage medium in the electromagnetic compatibility test provided in the present application are described in detail above. The principles and embodiments of the present application are explained herein using specific examples, which are provided only to help understand the method and the core idea of the present application. It should be noted that, for those skilled in the art, it is possible to make several improvements and modifications to the present application without departing from the principle of the present application, and such improvements and modifications also fall within the scope of the claims of the present application.
Claims (10)
1. A filtering method in an electromagnetic compatibility test is characterized by comprising the following steps:
collecting a data frame; each frame of the data comprises N data points, wherein N is a positive integer;
respectively judging whether the value of each data point of the current data frame is consistent with the value of the corresponding data point in the previous data frame;
if the value of the ith data point of the current data frame is inconsistent with the value of the ith data point of the previous data frame, assigning the value of the ith data point of the current data frame to be zero; i is more than 0 and less than or equal to N;
and if the value of the ith data point of the current data frame is consistent with the value of the ith data point of the previous data frame, keeping the value of the ith data point of the current data frame unchanged.
2. The filtering method according to claim 1, wherein before the step of respectively determining whether the value of each data point of the current data frame is consistent with the value of the corresponding data point in the previous data frame, the step of:
judging whether the maximum value of each data point of the previous data frame is greater than zero or not;
and if the maximum value of each data point of the previous data frame is larger than zero, respectively judging whether the value of each data point of the current data frame is consistent with the value of the corresponding data point in the previous data frame.
3. The filtering method according to claim 2, further comprising:
judging whether continuous M times of unreadable USB data exist; m is a positive integer;
if the USB data cannot be read for M times continuously, the USB device is reconnected.
4. The filtering method according to claim 3, further comprising:
judging whether the number of times of reconnecting the USB equipment reaches a preset threshold value and the reconnection of the USB equipment fails;
and if the number of times of reconnecting the USB equipment reaches a preset threshold value and the reconnection of the USB equipment fails, displaying abnormal information.
5. The filtering method according to claim 4, wherein the determining whether there are M consecutive unreadable USB data comprises:
judging whether the value of a preset parameter reaches M or not; when the USB data is read, the value of the preset parameter is reset to zero, and when the USB data is not read, the value of the preset parameter is increased by one;
and if the value of the preset parameter reaches M, connecting M times and failing to read the USB data.
6. A filter device in an electromagnetic compatibility test is characterized by comprising:
the acquisition module is used for acquiring data frames; each frame of the data comprises N data points, wherein N is a positive integer;
the first judging module is used for respectively judging whether the value of each data point of the current data frame is consistent with the value of the corresponding data point in the previous data frame;
the assignment module is used for assigning the value of the ith data point of the current data frame to zero if the value of the ith data point of the current data frame is inconsistent with the value of the ith data point of the previous data frame; i is more than 0 and less than or equal to N;
and the holding module is used for keeping the value of the ith data point of the current data frame unchanged if the value of the ith data point of the current data frame is consistent with the value of the ith data point of the previous data frame.
7. The filtering device according to claim 6, further comprising:
the second judgment module is used for judging whether the maximum value of each data point of the previous data frame is greater than zero or not;
if the maximum value of each data point of the previous data frame is greater than zero, the first judging module respectively judges whether the value of each data point of the current data frame is consistent with the value of the corresponding data point in the previous data frame.
8. The filtering device according to claim 7, further comprising:
the third judging module is used for judging whether the number of the USB data read for M times is zero or not; m is a positive integer;
and the reconnection module is used for reconnecting the USB equipment if the number of the USB data read for M times is zero.
9. A filter device in an electromagnetic compatibility test, comprising:
a memory for storing a computer program;
a processor for implementing the steps of the filtering method in the electromagnetic compatibility test according to any one of claims 1 to 5 when executing the computer program.
10. A computer-readable storage medium, characterized in that a computer program is stored on the computer-readable storage medium, which computer program, when being executed by a processor, carries out the steps of the method of filtering in an electromagnetic compatibility test according to any one of claims 1 to 5.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210258161.5A CN114689968A (en) | 2022-03-16 | 2022-03-16 | Filtering method and related device in electromagnetic compatibility test |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210258161.5A CN114689968A (en) | 2022-03-16 | 2022-03-16 | Filtering method and related device in electromagnetic compatibility test |
Publications (1)
Publication Number | Publication Date |
---|---|
CN114689968A true CN114689968A (en) | 2022-07-01 |
Family
ID=82140078
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210258161.5A Pending CN114689968A (en) | 2022-03-16 | 2022-03-16 | Filtering method and related device in electromagnetic compatibility test |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114689968A (en) |
Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102355230A (en) * | 2011-07-05 | 2012-02-15 | 中兴通讯股份有限公司 | Digital filtering apparatus and method thereof |
CN104378115A (en) * | 2013-08-12 | 2015-02-25 | 上海辰竹仪表有限公司 | AD sampling software filtering method |
US20150269050A1 (en) * | 2014-03-18 | 2015-09-24 | Microsoft Corporation | Unsupervised anomaly detection for arbitrary time series |
CN106872798A (en) * | 2017-01-23 | 2017-06-20 | 国家电网公司 | A kind of array signal filtering, the method for amplitude detection |
CN107247819A (en) * | 2017-05-02 | 2017-10-13 | 歌尔科技有限公司 | The filtering method and wave filter of sensor |
CN108241588A (en) * | 2016-12-27 | 2018-07-03 | 乐视汽车(北京)有限公司 | The method and apparatus of data transmission |
CN110635781A (en) * | 2019-09-26 | 2019-12-31 | 北京兴达智联科技有限公司 | Digital filtering calculation method |
CN112134544A (en) * | 2020-09-25 | 2020-12-25 | 郑州佛光发电设备有限公司 | Filtering method, device, equipment and computer readable storage medium |
CN113114252A (en) * | 2021-04-27 | 2021-07-13 | 珠海拓芯科技有限公司 | Target sampling value determination method and device, electronic equipment and storage medium |
WO2021217873A1 (en) * | 2020-04-29 | 2021-11-04 | 平安科技(深圳)有限公司 | Method, apparatus and device for filtering out baseline drift from electrocardiosignal, and storage medium |
-
2022
- 2022-03-16 CN CN202210258161.5A patent/CN114689968A/en active Pending
Patent Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102355230A (en) * | 2011-07-05 | 2012-02-15 | 中兴通讯股份有限公司 | Digital filtering apparatus and method thereof |
CN104378115A (en) * | 2013-08-12 | 2015-02-25 | 上海辰竹仪表有限公司 | AD sampling software filtering method |
US20150269050A1 (en) * | 2014-03-18 | 2015-09-24 | Microsoft Corporation | Unsupervised anomaly detection for arbitrary time series |
CN108241588A (en) * | 2016-12-27 | 2018-07-03 | 乐视汽车(北京)有限公司 | The method and apparatus of data transmission |
CN106872798A (en) * | 2017-01-23 | 2017-06-20 | 国家电网公司 | A kind of array signal filtering, the method for amplitude detection |
CN107247819A (en) * | 2017-05-02 | 2017-10-13 | 歌尔科技有限公司 | The filtering method and wave filter of sensor |
CN110635781A (en) * | 2019-09-26 | 2019-12-31 | 北京兴达智联科技有限公司 | Digital filtering calculation method |
WO2021217873A1 (en) * | 2020-04-29 | 2021-11-04 | 平安科技(深圳)有限公司 | Method, apparatus and device for filtering out baseline drift from electrocardiosignal, and storage medium |
CN112134544A (en) * | 2020-09-25 | 2020-12-25 | 郑州佛光发电设备有限公司 | Filtering method, device, equipment and computer readable storage medium |
CN113114252A (en) * | 2021-04-27 | 2021-07-13 | 珠海拓芯科技有限公司 | Target sampling value determination method and device, electronic equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JPWO2016038816A1 (en) | Electronic control unit, in-vehicle network system, and vehicle communication method | |
WO2019103251A1 (en) | System and method for automatically detecting ultrasonic waves from power distribution facility | |
CN112019838B (en) | Smart television voice fault diagnosis method and device and smart television | |
CN112861947A (en) | Sensor data processing method and device and computing equipment | |
CN111325901A (en) | Method and device for identifying mobile phone | |
CN111458654A (en) | Input signal diagnosis circuit | |
CN114689968A (en) | Filtering method and related device in electromagnetic compatibility test | |
CN108540244A (en) | Pre emphasis factor test method, device and communication equipment | |
CN109444570B (en) | Electronic product fault diagnosis module and method based on memory | |
CN111208451B (en) | Electrocardiogram lead falling detection circuit, method and medical monitoring equipment | |
CN114238005B (en) | GPIO anti-shake function test method, system, device and chip | |
CN114666390B (en) | Page monitoring method and device of application program, electronic equipment and storage medium | |
CN113573227A (en) | Microphone fault detection system, microphone fault detection method, electronic device and storage medium | |
CN111157921A (en) | Detection method and device of wiring terminal, storage medium and processor | |
JP2020048226A (en) | Electronic control unit, on-vehicle network system and vehicle communication method | |
CN114543862A (en) | Grating sensor quality detection system | |
CN116682475B (en) | Voltage offset determining method, voltage offset adjusting method, and storage medium | |
CN111636990B (en) | Signal processing device, signal processing apparatus, vehicle, and signal processing method | |
CN116665761B (en) | Data analysis method, data analysis device, electronic apparatus, and storage medium | |
CN112305345B (en) | Vehicle-mounted navigator interface state recovery method, device and system and electronic equipment | |
JP7258660B2 (en) | Signal generator and signal reading system | |
CN116415195A (en) | Abnormal data identification method, system, computer and readable storage medium | |
CN114184326A (en) | Natural gas leakage sensor state identification method and system | |
CN106254611A (en) | The method of testing of terminal unit and test system | |
CN115856344A (en) | Engine rotating speed signal identification method, device, equipment and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20220701 |
|
RJ01 | Rejection of invention patent application after publication |