CN111795731A - System and method for detecting interference wave - Google Patents
System and method for detecting interference wave Download PDFInfo
- Publication number
- CN111795731A CN111795731A CN202010691384.1A CN202010691384A CN111795731A CN 111795731 A CN111795731 A CN 111795731A CN 202010691384 A CN202010691384 A CN 202010691384A CN 111795731 A CN111795731 A CN 111795731A
- Authority
- CN
- China
- Prior art keywords
- level signal
- low
- interference wave
- level
- level signals
- 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 15
- 238000001514 detection method Methods 0.000 claims abstract description 37
- 230000000737 periodic effect Effects 0.000 claims description 11
- 239000000203 mixture Substances 0.000 claims 1
- 239000002994 raw material Substances 0.000 claims 1
- 238000010586 diagram Methods 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- XLYOFNOQVPJJNP-UHFFFAOYSA-N water Substances O XLYOFNOQVPJJNP-UHFFFAOYSA-N 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01F—MEASURING VOLUME, VOLUME FLOW, MASS FLOW OR LIQUID LEVEL; METERING BY VOLUME
- G01F15/00—Details of, or accessories for, apparatus of groups G01F1/00 - G01F13/00 insofar as such details or appliances are not adapted to particular types of such apparatus
- G01F15/06—Indicating or recording devices
- G01F15/068—Indicating or recording devices with electrical means
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01F—MEASURING VOLUME, VOLUME FLOW, MASS FLOW OR LIQUID LEVEL; METERING BY VOLUME
- G01F15/00—Details of, or accessories for, apparatus of groups G01F1/00 - G01F13/00 insofar as such details or appliances are not adapted to particular types of such apparatus
- G01F15/06—Indicating or recording devices
- G01F15/065—Indicating or recording devices with transmission devices, e.g. mechanical
- G01F15/066—Indicating or recording devices with transmission devices, e.g. mechanical involving magnetic transmission devices
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01F—MEASURING VOLUME, VOLUME FLOW, MASS FLOW OR LIQUID LEVEL; METERING BY VOLUME
- G01F15/00—Details of, or accessories for, apparatus of groups G01F1/00 - G01F13/00 insofar as such details or appliances are not adapted to particular types of such apparatus
- G01F15/07—Integration to give total flow, e.g. using mechanically-operated integrating mechanism
- G01F15/075—Integration to give total flow, e.g. using mechanically-operated integrating mechanism using electrically-operated integrating means
- G01F15/0755—Integration to give total flow, e.g. using mechanically-operated integrating mechanism using electrically-operated integrating means involving digital counting
Abstract
The invention discloses a system and a method for detecting interference waves, the system for detecting interference waves comprises a signal trigger unit and a data detection unit, the signal trigger unit is used for receiving high level signals and low level signals, the data detection unit scans and detects the high level signals and the low level signals of the signal trigger unit, level state change does not occur in a plurality of times of continuous scanning of the high level signals or the low level signals, namely interference waves are judged not to occur, and the interference waves are judged to occur if the level state change occurs in a plurality of times of continuous scanning of the high level signals or the low level signals, the invention also discloses a method for detecting the interference waves, the invention scans the received high level signals and the low level signals with a certain frequency, judges whether the interference waves occur with the change of the level signals, and further improves the accuracy of the operation detection by using Hall elements or using the level signals, the application range is wide.
Description
Technical Field
The present invention relates to the field of interference wave detection technologies, and in particular, to a system and a method for detecting an interference wave.
Background
In the field of intelligent water meters or intelligent heat meters, the adjustment of the opening and closing of a small valve and the flow has strict angle control requirements, a valve transmission mechanism is generally provided with a counting gear and a Hall element, the edge of the counting gear is provided with a permanent magnet, the permanent magnet of the counting gear is close to or far away from the Hall element when rotating, when the permanent magnet is close to the Hall element, the Hall element is attracted, and the circuit is set to be at a high level; when the permanent magnet is far away from the Hall element, the Hall element is disconnected, and the circuit is set to be low level at the moment. Counting the number of turns of the gear rotation through high level and low level counting, and further controlling the opening and closing angle of the valve. Generally, the mark position is high when receiving high level, the mark position is low when receiving low level, the counter is increased by one after the high level and the low level occur once, and the counting gear is judged to rotate by one circle. However, in a state that the permanent magnet is about to approach or move away from, the hall element may be attracted when being turned off, and the circuit level appears to be suddenly high and suddenly low, i.e., an interference wave appears. When interference waves occur, counting software can add one to the high level and the low level of the interference waves, so that counting errors are caused, and the specific angle of the valve switch cannot be accurately controlled. Therefore, it is necessary to accurately identify the interference wave and avoid the rotation error when receiving the high level and the low level for application.
Disclosure of Invention
This section is for the purpose of summarizing some aspects of embodiments of the invention and to briefly introduce some preferred embodiments. In this section, as well as in the abstract and the title of the invention of this application, simplifications or omissions may be made to avoid obscuring the purpose of the section, the abstract and the title, and such simplifications or omissions are not intended to limit the scope of the invention.
The present invention has been made in view of the above-mentioned problem that the accuracy is affected by the occurrence of interference waves when high-level signals and low-level signals are received for counting and the like.
Therefore, an object of the present invention is to provide a system and a method for detecting interference waves, which can determine whether interference waves occur or not according to the change of a level signal by continuously scanning the level signal, thereby improving the accuracy of counting or level detection according to the level signal by using a hall element.
In order to solve the technical problems, the invention provides the following technical scheme: the system for detecting the interference waves comprises a signal trigger unit and a data detection unit, wherein the signal trigger unit is used for receiving a high-level signal and a low-level signal; the data detection unit scans and detects high-level signals and low-level signals of the signal trigger unit, the normal periodic wave of the high-level signals and the normal periodic wave of the low-level signals are set to be 2T, the periods of the high-level signals and the periods of the low-level signals are both T, the detection frequency of the data detection unit is f, the occurrence times of the high-level signals and the low-level signals are both T/f, when the data detection unit continuously scans n times of high-level signals or low-level signals, the situation that no level state change occurs is judged, namely no interference wave occurs, wherein n is more than or equal to 2T/3f and less than or equal to T/f; when the data detection unit continuously scans the high level signal or the low level signal for n times and the level state changes once, the interference wave is judged to occur.
As a preferable aspect of the system for detecting an interference wave according to the present invention, wherein: the range of the period T of the high-level signal and the low-level signal is more than or equal to 1200ms and less than or equal to 1800ms, and the detection frequency f of the data detection unit is 100 ms/time.
A method for detecting an interference wave, comprising the steps of:
step S1: receiving a high level signal and a low level signal;
step S2: and scanning and detecting the high level signal and the low level signal, continuously scanning for a plurality of times, wherein no level state change occurs in the high level signal or the low level signal, namely judging that no interference wave occurs, and continuously scanning for a plurality of times, wherein the level state change occurs in the high level signal or the low level signal, and then judging that the interference wave occurs.
As a preferable aspect of the method for detecting an interference wave according to the present invention, wherein: setting the normal periodic wave of the high-level signal and the low-level signal as 2T, setting the periods of the high-level signal and the low-level signal as T, setting the detection frequency as f, setting the occurrence times of the high-level signal and the low-level signal as T/f, and judging that no interference wave occurs when no level state change occurs in the high-level signal or the low-level signal continuously scanned for n times, wherein n is more than or equal to 2T/3f and is less than or equal to T/f; and judging that the interference wave occurs when the level state changes once in the high level signal or the low level signal continuously scanned for n times.
As a preferable aspect of the method for detecting an interference wave according to the present invention, wherein: the range of the period T of the high-level signal and the low-level signal is more than or equal to 1200ms and less than or equal to 1800ms, and the detection frequency f is 100 ms/time.
The invention has the beneficial effects that: the invention scans the received high level signal and low level signal with a certain frequency, judges whether interference waves occur or not according to the change of the level signals, further improves the accuracy of operation detection by using a Hall element or using the level signals, and has wide application range.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive exercise. Wherein:
fig. 1 is a schematic diagram of a frame structure of a system for detecting an interference wave according to the present invention.
Fig. 2 is a schematic diagram of detecting interference waves occurring in a high-level signal and a low-level signal according to the present invention.
Detailed Description
In order to make the aforementioned objects, features and advantages of the present invention comprehensible, embodiments accompanied with figures are described in detail below.
In the following description, numerous specific details are set forth in order to provide a thorough understanding of the present invention, but the present invention may be practiced in other ways than those specifically described and will be readily apparent to those of ordinary skill in the art without departing from the spirit of the present invention, and therefore the present invention is not limited to the specific embodiments disclosed below.
Furthermore, reference herein to "one embodiment" or "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment is included in at least one implementation of the invention. The appearances of the phrase "in one embodiment" in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments.
Furthermore, the present invention is described in detail with reference to the drawings, and in the detailed description of the embodiments of the present invention, the cross-sectional view illustrating the structure of the device is not enlarged partially according to the general scale for convenience of illustration, and the drawings are only exemplary and should not be construed as limiting the scope of the present invention. In addition, the three-dimensional dimensions of length, width and depth should be included in the actual fabrication.
Example 1
Referring to fig. 1, a system and a method for detecting an interference wave according to a first embodiment of the present invention are provided, where the system for detecting an interference wave includes a signal triggering unit for receiving a high level signal and a low level signal, and a data detecting unit for performing scan detection on the high level signal and the low level signal of the signal triggering unit. Setting the normal periodic wave of the high-level signal and the low-level signal as 2T, setting the periods of the high-level signal and the low-level signal as T, setting the detection frequency of the data detection unit as f, setting the occurrence times of the high-level signal and the low-level signal as T/f, and judging that no interference wave occurs when the data detection unit continuously scans n times of high-level signals or low-level signals without level state change, wherein n is more than or equal to 2T/3f and is less than or equal to T/f; when the data detection unit continuously scans the high level signal or the low level signal for n times and the level state changes once, the interference wave is judged to occur. The range of the period T of the high-level signal and the low-level signal is more than or equal to 1200ms and less than or equal to 1800ms, and the detection frequency f of the data detection unit is 100 ms/time.
A method for detecting an interference wave, comprising the steps of:
step S1: receiving a high level signal and a low level signal;
step S2: and scanning and detecting the high level signal and the low level signal, continuously scanning for a plurality of times, wherein no level state change occurs in the high level signal or the low level signal, namely judging that no interference wave occurs, and continuously scanning for a plurality of times, wherein the level state change occurs in the high level signal or the low level signal, and then judging that the interference wave occurs.
Step S2, setting the normal periodic wave of the high level signal and the low level signal as 2T, the periods of the high level signal and the low level signal are both T, the detection frequency is f, the occurrence frequency of the high level signal and the low level signal is both T/f, and the high level signal or the low level signal is not subjected to level state change in n times of continuous scanning, namely judging that no interference wave occurs, wherein n is more than or equal to 2T/3f and less than or equal to T/f; and judging that the interference wave occurs when the level state changes once in the high level signal or the low level signal continuously scanned for n times. Wherein, the period T of the high level signal and the low level signal is more than or equal to 1200ms and less than or equal to 1800ms, and the detection frequency f is 100 ms/time.
Example 2
In a second embodiment of the present invention, which is different from the first embodiment: and T takes 1500 ms.
Further, setting the normal periodic wave of the high-level signal and the low-level signal to be 3000ms, the period of the high-level signal and the period of the low-level signal to be 1500ms, the detection frequency to be 100 ms/time, the occurrence frequency of the high-level signal and the low-level signal to be 15 times, and judging that no level state change occurs in the high-level signal or the low-level signal continuously scanned for 10-15 times, namely judging that no interference wave occurs; and judging that the interference wave occurs when the level state changes once in the high-level signal or the low-level signal continuously scanned for 10-15 times.
Example 3
In a third embodiment of the present invention, which is different from the second embodiment: t takes 2400 ms.
Compared with embodiment 2, further, the normal periodic wave of the high-level signal and the low-level signal is 2400ms, the period of the high-level signal and the period of the low-level signal are both 1200ms, the detection frequency is 100 ms/time, the occurrence frequency of the high-level signal and the low-level signal is 12 times, and no level state change occurs in the high-level signal or the low-level signal after 8-12 times of continuous scanning, that is, it is determined that no interference wave occurs; and judging that interference waves occur when level state change occurs once in the high-level signal or the low-level signal continuously scanned for 8-12 times.
Example 4
In a fourth embodiment of the present invention, which is different from the third embodiment: and T takes 3600 ms.
Compared with embodiment 3, further, let the normal periodic wave of the high-level signal and the low-level signal be 3600ms, the period of the high-level signal and the low-level signal be 1800ms, the detection frequency be 100 ms/time, the occurrence frequency of the high-level signal and the low-level signal be 18 times, and no level state change occurs in the high-level signal or the low-level signal in 12-18 times of continuous scanning, that is, it is determined that no interference wave occurs; and judging that the interference wave occurs when the level state changes once in the high-level signal or the low-level signal in 12-18 times of continuous scanning.
It should be noted that the above-mentioned embodiments are only for illustrating the technical solutions of the present invention and not for limiting, and although the present invention has been described in detail with reference to the preferred embodiments, it should be understood by those skilled in the art that modifications or equivalent substitutions may be made on the technical solutions of the present invention without departing from the spirit and scope of the technical solutions of the present invention, which should be covered by the claims of the present invention.
Claims (5)
1. A system for detecting an interference wave, characterized by: comprises the steps of (a) preparing a mixture of a plurality of raw materials,
the signal trigger unit is used for receiving a high-level signal and a low-level signal;
the data detection unit scans and detects the high level signal and the low level signal of the signal trigger unit, the normal periodic wave of the high level signal and the normal periodic wave of the low level signal are set to be 2T, the periods of the high level signal and the low level signal are both T, the detection frequency of the data detection unit is f, the occurrence frequency of the high level signal and the low level signal is T/f, when the data detection unit continuously scans n times of high level signals or low level signals, the situation that no level state change occurs is judged, namely, no interference wave occurs, wherein n is more than or equal to 2T/3f and less than or equal to T/f; when the data detection unit continuously scans the high level signal or the low level signal for n times and the level state changes once, the interference wave is judged to occur.
2. The system for detecting an interference wave according to claim 1, characterized in that: the range of the period T of the high-level signal and the low-level signal is more than or equal to 1200ms and less than or equal to 1800ms, and the detection frequency f of the data detection unit is 100 ms/time.
3. A method for detecting an interference wave, characterized by: the method comprises the following steps:
step S1: receiving a high level signal and a low level signal;
step S2: and scanning and detecting the high level signal and the low level signal, continuously scanning for a plurality of times, wherein no level state change occurs in the high level signal or the low level signal, namely judging that no interference wave occurs, and continuously scanning for a plurality of times, wherein the level state change occurs in the high level signal or the low level signal, and then judging that the interference wave occurs.
4. A method for detecting an interference wave according to claim 3, characterized in that: setting the normal periodic wave of the high-level signal and the low-level signal as 2T, setting the periods of the high-level signal and the low-level signal as T, setting the detection frequency as f, setting the occurrence times of the high-level signal and the low-level signal as T/f, and judging that no interference wave occurs when no level state change occurs in the high-level signal or the low-level signal continuously scanned for n times, wherein n is more than or equal to 2T/3f and is less than or equal to T/f; and judging that the interference wave occurs when the level state changes once in the high level signal or the low level signal continuously scanned for n times.
5. The method for detecting an interference wave according to claim 4, characterized in that: the range of the period T of the high-level signal and the low-level signal is more than or equal to 1200ms and less than or equal to 1800ms, and the detection frequency f is 100 ms/time.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010691384.1A CN111795731A (en) | 2020-07-17 | 2020-07-17 | System and method for detecting interference wave |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010691384.1A CN111795731A (en) | 2020-07-17 | 2020-07-17 | System and method for detecting interference wave |
Publications (1)
Publication Number | Publication Date |
---|---|
CN111795731A true CN111795731A (en) | 2020-10-20 |
Family
ID=72807605
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010691384.1A Pending CN111795731A (en) | 2020-07-17 | 2020-07-17 | System and method for detecting interference wave |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111795731A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114543957A (en) * | 2020-11-26 | 2022-05-27 | 梅特勒-托利多(常州)测量技术有限公司 | Real-time processing method of detection signal and detector |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1654928A (en) * | 2005-02-17 | 2005-08-17 | 山东大学 | Pulse counting method for tax control fuel oil adding machine |
CN101049015A (en) * | 2004-10-28 | 2007-10-03 | 麦克罗维西恩公司 | Content management for high definition television |
CN101847114A (en) * | 2010-03-23 | 2010-09-29 | 苏州国芯科技有限公司 | Method for realizing monitoring of level of signal |
US20110298651A1 (en) * | 2010-06-03 | 2011-12-08 | Kazuya Nakagawa | Method and device for processing signal, radar apparatus, and program for processing signal |
CN105915229A (en) * | 2016-04-06 | 2016-08-31 | 珠海格力电器股份有限公司 | Method and device for processing output of rotation encoder switch |
CN108062052A (en) * | 2017-12-19 | 2018-05-22 | 惠州市物联微电子有限公司 | A kind of intelligent plant is signal collection filtering method used |
-
2020
- 2020-07-17 CN CN202010691384.1A patent/CN111795731A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101049015A (en) * | 2004-10-28 | 2007-10-03 | 麦克罗维西恩公司 | Content management for high definition television |
CN1654928A (en) * | 2005-02-17 | 2005-08-17 | 山东大学 | Pulse counting method for tax control fuel oil adding machine |
CN101847114A (en) * | 2010-03-23 | 2010-09-29 | 苏州国芯科技有限公司 | Method for realizing monitoring of level of signal |
US20110298651A1 (en) * | 2010-06-03 | 2011-12-08 | Kazuya Nakagawa | Method and device for processing signal, radar apparatus, and program for processing signal |
CN105915229A (en) * | 2016-04-06 | 2016-08-31 | 珠海格力电器股份有限公司 | Method and device for processing output of rotation encoder switch |
CN108062052A (en) * | 2017-12-19 | 2018-05-22 | 惠州市物联微电子有限公司 | A kind of intelligent plant is signal collection filtering method used |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114543957A (en) * | 2020-11-26 | 2022-05-27 | 梅特勒-托利多(常州)测量技术有限公司 | Real-time processing method of detection signal and detector |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111795731A (en) | System and method for detecting interference wave | |
US20060061314A1 (en) | Power window apparatus with pinch detecting function | |
TW200935236A (en) | Method and apparatus for training the reference voltage level and data sample timing in a receiver | |
JP2018526912A (en) | Multiphase clock data recovery for 3-phase interface | |
US6424175B1 (en) | Biased control loop circuit for setting impedance of output driver | |
CN105915229B (en) | The method and device that the output of rotary coding switch is handled | |
CN1190826A (en) | Automatic frequency correcting device and method for radio calling system | |
US20180172480A1 (en) | Detection of defects in motor position decoder system | |
US5594241A (en) | Apparatus and method for jitter attenuation in rotary encoders | |
US7936857B2 (en) | Phase selector for data transmitting device | |
US11165553B1 (en) | Static clock calibration in physical layer device | |
CN100407581C (en) | Device, system, and method for compensating for isolation and cable delays in an ssi encoder interface circuit | |
CN109581859A (en) | A kind of automatic correcting time method and device | |
US20040124929A1 (en) | Frequency detector detecting variation in frequency difference between data signal and clock signal | |
JP2024505124A (en) | C-PHY data-triggered edge generation with unique half-rate operation | |
CN100456174C (en) | Automatically correcting time clock of radio wave | |
JP2022107522A (en) | Phase adjustment method and system | |
CN114553197A (en) | Duty ratio monitoring and duty ratio circuit and method for monitoring duty ratio of target signal | |
US20080117086A1 (en) | High speed quadrature counter | |
CA1163700A (en) | Radar signal processor | |
CN112129993B (en) | Zero crossing signal output and power line data transmission method and device | |
KR100383994B1 (en) | A error detecting method of incremental encoder | |
CN1189271A (en) | Circuit device for generating control signal | |
CN115556677A (en) | Ceiling screen control method and device, computer equipment and storage medium | |
US7961577B2 (en) | System and method for generating an output signal indicating a specific area on an optical disc utilizing an adjustable specific time |
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 |