CN109634168B - Method for processing sensor pulse signal - Google Patents
Method for processing sensor pulse signal Download PDFInfo
- Publication number
- CN109634168B CN109634168B CN201811479918.3A CN201811479918A CN109634168B CN 109634168 B CN109634168 B CN 109634168B CN 201811479918 A CN201811479918 A CN 201811479918A CN 109634168 B CN109634168 B CN 109634168B
- Authority
- CN
- China
- Prior art keywords
- period
- pulse
- sensor
- control mcu
- frequency pulse
- 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.)
- Active
Links
- 238000000034 method Methods 0.000 title claims description 17
- 238000001514 detection method Methods 0.000 claims abstract description 39
- 238000003672 processing method Methods 0.000 claims abstract 2
- 238000005070 sampling Methods 0.000 claims description 14
- 230000007958 sleep Effects 0.000 claims description 4
- 238000010586 diagram Methods 0.000 description 4
- XLYOFNOQVPJJNP-UHFFFAOYSA-N water Substances O XLYOFNOQVPJJNP-UHFFFAOYSA-N 0.000 description 4
- 230000000737 periodic effect Effects 0.000 description 2
- 230000005059 dormancy Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000002618 waking effect Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B19/00—Programme-control systems
- G05B19/02—Programme-control systems electric
- G05B19/04—Programme control other than numerical control, i.e. in sequence controllers or logic controllers
- G05B19/042—Programme control other than numerical control, i.e. in sequence controllers or logic controllers using digital processors
Abstract
The invention provides a processing method of sensor pulse signals, step S1, increase a high-frequency pulse group on two edges of the effective pulse output of the sensor; step S2, if the high-frequency pulse group is met in the vacuum period of pulse detection, immediately generating interruption to wake up the acquisition equipment or the main control MCU after the vacuum period; and if the high-frequency pulse group is not encountered in the vacuum period of the pulse detection, interrupting and awakening the acquisition equipment or the main control MCU immediately after the vacuum period. The invention has the advantages that: the acquisition device or the master control MCU can be awakened by level change generated by the increased high-frequency pulse group, so that the acquisition device or the master control MCU is ensured not to miss pulse interruption, thereby effectively avoiding the occurrence of metering error and improving the detection precision and density of the sensor.
Description
Technical Field
The invention relates to the field of sensors, in particular to a method for processing a sensor pulse signal.
Background
In recent years, with the rapid development of the technology of the internet of things and the technology of the sensor, in the fields of intelligent meter reading and intelligent water affairs, the requirements of users on the accuracy and the acquisition density of the sensor are higher and higher, which means that the frequency of pulses output by the pulse output type sensor is higher and higher.
In a conventional pulse output type sensor, the pulse output from the sensor generally includes both a negative logic level and a positive logic level, wherein the negative logic level is in the form shown in fig. 1 and the positive logic level is in the form shown in fig. 2.
When the pulse output type sensor is used in a high-precision or high-density scene, the effective pulse width of the sensor is generally less than 100 MS; in the fields of intelligent meter reading and intelligent water affairs, the acquisition equipment or the main control MCU is usually in a dormant state and works in a mode of waking up a processing task at regular time.
In the period that the acquisition device or the master MCU skips the pulse to judge that the task is about to enter the sleep state and the pulse signal of the sensor is about to release to enter the idle state, the two periods are basically consistent and are generally called as a vacuum period. Because the cycle frequency of the output pulse for high-precision and high-density acquisition is fast, the pulse signal can appear in a vacuum period, and effective pulses can not be acquired by acquisition equipment or a master control MCU (microprogrammed control unit), so that a metering error can occur, and the high-precision metering requirement can not be met.
Disclosure of Invention
The technical problem to be solved by the invention is to provide a method for processing a sensor pulse signal, and the method can effectively solve the problem that in the prior art, the metering error is caused by the fact that an acquisition device or a main control MCU misses pulse interruption due to dormancy.
The invention is realized by the following steps: a method of processing a sensor pulse signal, the method comprising:
step S1, adding a high-frequency pulse group on each of two edges of the effective pulse output of the sensor;
step S2, if the high-frequency pulse group is met in the vacuum period of pulse detection, immediately generating interruption to wake up the acquisition equipment or the main control MCU after the vacuum period; and if the high-frequency pulse group is not encountered in the vacuum period of the pulse detection, interrupting and awakening the acquisition equipment or the main control MCU immediately after the vacuum period.
Further, the step S1 is specifically:
a first high-frequency pulse group is added to the beginning position of the effective pulse output of the sensor, and a second high-frequency pulse group is added to the ending position of the effective pulse output of the sensor.
Further, the step S2 is specifically:
when the acquisition equipment or the master control MCU is about to enter a dormant state, entering a vacuum period of pulse detection, and if encountering the first high-frequency pulse group in the vacuum period, immediately interrupting and awakening the acquisition equipment or the master control MCU after the vacuum period so as to enable the acquisition equipment or the master control MCU to enter a detection state; if the first high-frequency pulse group is not encountered in the vacuum period, immediately generating interruption to wake up the acquisition equipment or the main control MCU after the vacuum period;
when the pulse signal of the sensor is about to be released and enters an idle state, entering a vacuum period of pulse detection, and if meeting the second high-frequency pulse group in the vacuum period, immediately generating interruption to wake up the acquisition equipment or the main control MCU after the vacuum period so as to enable the acquisition equipment or the main control MCU to enter a detection state; and if the second high-frequency pulse group is not encountered in the vacuum period, generating no interrupt immediately after the vacuum period so as to wake up the acquisition equipment or the main control MCU.
Furthermore, the number of pulses of the first high-frequency pulse group is greater than or equal to 2, and the pulse period of the first high-frequency pulse group is greater than or equal to twice the period of the vacuum period.
Furthermore, the number of pulses of the second high-frequency pulse group is greater than or equal to 2, and the pulse period of the second high-frequency pulse group is greater than or equal to twice the period of the vacuum period.
Further, the period of the effective pulse of the sensor is more than or equal to three times of the sampling period.
Further, the duty ratio of the sensor pulse signal is set to 50% even if the total period of the sensor pulse signal is equal to twice the total period of the effective pulses, wherein the total period of the effective pulses is equal to the pulse period of the first high-frequency pulse group + the period of the effective pulses of the sensor + the pulse period of the second high-frequency pulse group.
Further, in the step S1, the active pulse output of the sensor is specifically the negative logic level output of the sensor.
Further, in the step S1, the valid pulse output of the sensor is specifically a positive logic level output of the sensor.
The invention has the following advantages:
1. according to the invention, the high-frequency pulse group is added on each of the two edges of the effective pulse output of the sensor, so that when the pulse signal cannot be identified by the interruption of the acquisition equipment or the master control MCU, the acquisition equipment or the master control MCU can be awakened by the level change generated by the high-frequency pulse group, and the acquisition equipment or the master control MCU is further ensured not to miss the pulse interruption, thereby effectively avoiding the occurrence of metering error and improving the detection precision and density of the sensor;
2. the period of the effective pulse of the sensor is set to be more than or equal to three times of the sampling period, so that the accuracy of the effective pulse of the sensor can be ensured;
3. the duty ratio of the pulse signal of the sensor is set to be 50%, so that the consistency and the stability of the pulse can be ensured; meanwhile, the highest detection precision of the sensor can be obtained by calculating the total period of the sensor pulse signal.
Drawings
The invention will be further described with reference to the following examples with reference to the accompanying drawings.
Fig. 1 is a schematic diagram showing a negative logic level output by a conventional pulse output type sensor.
Fig. 2 is a schematic diagram showing positive logic levels of an output of a conventional pulse output type sensor.
FIG. 3 is a diagram illustrating positive logic levels of the sensor output according to one embodiment of the present invention.
FIG. 4 is a diagram illustrating a negative logic level of the sensor output according to a second embodiment of the present invention.
Fig. 5 is a flow chart illustrating an implementation of a method for processing a sensor pulse signal according to the present invention.
Detailed Description
The first embodiment is as follows:
referring to fig. 3 and 5, a first preferred embodiment of a method for processing a sensor pulse signal according to the present invention includes:
step S1, adding a high-frequency pulse group on each of two edges of the effective pulse output of the sensor; the purpose of adding the high-frequency pulse group is as follows: when the detection precision and the density of the sensor are high, the pulse frequency of the sensor is larger than 10 HZ; in the fields of intelligent meter reading and intelligent water affairs, the acquisition equipment or the master control MCU usually adopts a disposable battery for power supply, so that the equipment is in periodic awakening work; when the acquisition equipment or the master control MCU is about to enter a sleep state, a pulse detection vacuum period exists, and if a sensor detects a signal at the moment, the signal cannot be identified by interruption of the acquisition equipment or the master control MCU, so that the metering error is caused; similarly, when the pulse signal of the sensor is about to be released and enters an idle state, a pulse detection vacuum period also exists, and if the sensor detects a signal at the moment, the signal cannot be identified by interruption of the acquisition equipment or the main control MCU, so that the metering error is caused; according to the invention, the high-frequency pulse group is added on each of the two edges of the effective pulse output of the sensor, so that when the signal cannot be identified by the interruption of the acquisition equipment or the main control MCU, the acquisition equipment or the main control MCU can be awakened by the level change generated by the high-frequency pulse group.
In the first embodiment, the step S1 is specifically as follows:
a first high-frequency pulse group is added to the beginning position of the effective pulse output of the sensor, and a second high-frequency pulse group is added to the ending position of the effective pulse output of the sensor. After the first high-frequency pulse group and the second high-frequency pulse group are added, the pulse waveform output by the sensor consists of an idle state, the first high-frequency pulse group, an effective pulse and the second high-frequency pulse group. When the pulse waveform output by the sensor is in an idle state, sampling is not carried out; when the pulse waveform output by the sensor is in an effective pulse, sampling is carried out for multiple times; when the pulse waveforms output by the sensor are in the first high-frequency pulse group and the second high-frequency pulse group, the acquisition device or the main control MCU can be awakened.
In the first embodiment, the effective pulse output of the sensor is specifically the positive logic level output of the sensor, and the pulse waveform of the specific output is as shown in fig. 3.
In the first embodiment, in order to effectively avoid the occurrence of the metering error, the number of pulses of the first high-frequency pulse group is set to be greater than or equal to 2, and the pulse period of the first high-frequency pulse group is set to be greater than or equal to twice the period of the vacuum period. Of course, the present invention is not limited to this, and the number of pulses of the first high frequency pulse group may be set to be larger (for example, 10) if the power consumption problem is not considered in the implementation of the present invention; if the power consumption is to be considered, the number of pulses of the first high-frequency pulse group needs to be set to be smaller (e.g., 2).
In the first embodiment, in order to effectively avoid the occurrence of the metering error, the number of pulses of the second high-frequency pulse group is greater than or equal to 2, and the pulse period of the second high-frequency pulse group is greater than or equal to twice the period of the vacuum period. Of course, the present invention is not limited to this, and the number of pulses of the second high frequency pulse group may be set to be larger (for example, 8) if the power consumption problem is not considered in the implementation of the present invention; if the power consumption is to be considered, the number of pulses of the second high-frequency pulse group is set to be smaller (e.g., 3).
In order to ensure the accuracy of the effective pulse of the sensor, the sampling is usually performed a plurality of times during the effective pulse, and therefore, the period of the effective pulse of the sensor is set to be three times or more the sampling period.
In order to ensure the consistency and stability of the pulses, the duty cycle of the sensor pulse signal is set to 50%, even if the total period of the sensor pulse signal is equal to twice the total period of the effective pulses, wherein the total period of the effective pulses is equal to the pulse period of the first high-frequency pulse group + the period of the effective pulses of the sensor + the pulse period of the second high-frequency pulse group. Meanwhile, the highest detection precision of the sensor can be known through the total period of the sensor pulse signal. Of course, the duty cycle of the sensor pulse signal is set to 50% in the present invention, mainly for the purpose of ensuring the consistency and stability of the pulse, and if the consistency and stability of the pulse are not considered, other duty cycles may be adopted.
The following describes the maximum detection accuracy of the sensor with a specific example: assuming that the period of the vacuum period of the acquisition device is 100us and the sampling period is 1ms, it can be calculated that the pulse period of the first high-frequency pulse group is greater than or equal to 2 × 100us (i.e. 200us) of the pulse period of the second high-frequency pulse group, the period of the effective pulse of the sensor is greater than or equal to 3 × 1ms (i.e. 3ms), the total period of the effective pulse is greater than or equal to 200us +3ms +200us + 3.4ms, and the total period is greater than or equal to 2.4 ms and greater than or equal to 6.8ms, so that the highest detection accuracy of the track sensor can be obtained, i.e. the pulse signal with the period greater than or equal to 6.8ms can be detected by the sensor.
Step S2, if the high-frequency pulse group is met in the vacuum period of pulse detection, immediately generating interruption to wake up the acquisition equipment or the main control MCU after the vacuum period; and if the high-frequency pulse group is not encountered in the vacuum period of the pulse detection, interrupting and awakening the acquisition equipment or the main control MCU immediately after the vacuum period.
In the first embodiment, the step S2 is specifically as follows:
when the acquisition equipment or the main control MCU is about to enter a dormant state, entering a vacuum period of pulse detection, wherein the acquisition equipment or the main control MCU cannot identify an effective pulse signal, and if the acquisition equipment or the main control MCU meets the first high-frequency pulse group in the vacuum period (because level change is generated immediately when the first high-frequency pulse group meets the first high-frequency pulse group, and the pulse period of the first high-frequency pulse group is more than or equal to twice of the period of the vacuum period, therefore, after the vacuum period, the first high-frequency pulse group can continue the effectiveness of the pulse signal, so that the acquisition equipment or the main control MCU can be awakened by interruption), immediately after the vacuum period, the acquisition equipment or the main control MCU is awakened by interruption, so that the acquisition equipment or the main control MCU enters a detection state, and metering errors are avoided; if the first high-frequency pulse group is not encountered in the vacuum period, immediately generating interruption to wake up the acquisition equipment or the main control MCU after the vacuum period;
when the pulse signal of the sensor is about to be released and enters an idle state, a vacuum period of pulse detection is entered, the acquisition equipment or the main control MCU cannot identify an effective pulse signal, and if the second high-frequency pulse group is encountered in the vacuum period (because level change is generated immediately when the second high-frequency pulse group is encountered and the pulse period of the second high-frequency pulse group is more than or equal to twice the period of the vacuum period, the second high-frequency pulse group continues the effectiveness of the pulse signal after the vacuum period, so that the acquisition equipment or the main control MCU can be awakened by interruption), the acquisition equipment or the main control MCU is awakened by interruption immediately after the vacuum period, so that the acquisition equipment or the main control MCU enters a detection state, and metering errors are avoided; and if the second high-frequency pulse group is not encountered in the vacuum period, generating no interrupt immediately after the vacuum period so as to wake up the acquisition equipment or the main control MCU.
The second embodiment is as follows:
referring to fig. 4 and 5, a second preferred embodiment of a method for processing a sensor pulse signal according to the present invention includes:
step S1, adding a high-frequency pulse group on each of two edges of the effective pulse output of the sensor; the purpose of adding the high-frequency pulse group is as follows: when the detection precision and the density of the sensor are high, the pulse frequency of the sensor is larger than 10 HZ; in the fields of intelligent meter reading and intelligent water affairs, the acquisition equipment or the master control MCU usually adopts a disposable battery for power supply, so that the equipment is in periodic awakening work; when the acquisition equipment or the master control MCU is about to enter a sleep state, a pulse detection vacuum period exists, and if a sensor detects a signal at the moment, the signal cannot be identified by interruption of the acquisition equipment or the master control MCU, so that the metering error is caused; similarly, when the pulse signal of the sensor is about to be released and enters an idle state, a pulse detection vacuum period also exists, and if the sensor detects a signal at the moment, the signal cannot be identified by interruption of the acquisition equipment or the main control MCU, so that the metering error is caused; according to the invention, the high-frequency pulse group is added on each of the two edges of the effective pulse output of the sensor, so that when the signal cannot be identified by the interruption of the acquisition equipment or the main control MCU, the acquisition equipment or the main control MCU can be awakened by the level change generated by the high-frequency pulse group.
In the second embodiment, the step S1 specifically includes:
a first high-frequency pulse group is added to the beginning position of the effective pulse output of the sensor, and a second high-frequency pulse group is added to the ending position of the effective pulse output of the sensor. After the first high-frequency pulse group and the second high-frequency pulse group are added, the pulse waveform output by the sensor consists of an idle state, the first high-frequency pulse group, an effective pulse and the second high-frequency pulse group. When the pulse waveform output by the sensor is in an idle state, sampling is not carried out; when the pulse waveform output by the sensor is in an effective pulse, sampling is carried out for multiple times; when the pulse waveforms output by the sensor are in the first high-frequency pulse group and the second high-frequency pulse group, the acquisition device or the main control MCU can be awakened.
In the second embodiment, the effective pulse output of the sensor is specifically the negative logic level output of the sensor, and the pulse waveform of the specific output is as shown in fig. 4.
In the second embodiment, in order to effectively avoid the occurrence of the metering error, the number of pulses of the first high-frequency pulse group is set to be greater than or equal to 2, and the pulse period of the first high-frequency pulse group is set to be greater than or equal to twice the period of the vacuum period. Of course, the present invention is not limited to this, and the number of pulses of the first high frequency pulse group may be set to be larger (for example, 10) if the power consumption problem is not considered in the implementation of the present invention; if the power consumption is to be considered, the number of pulses of the first high-frequency pulse group needs to be set to be smaller (e.g., 3).
In the second embodiment, in order to effectively avoid the occurrence of the metering error, the number of pulses of the second high-frequency pulse group is greater than or equal to 2, and the pulse period of the second high-frequency pulse group is greater than or equal to twice the period of the vacuum period. Of course, the present invention is not limited to this, and the number of pulses of the second high frequency pulse group may be set to be larger (for example, 10) if the power consumption problem is not considered in the implementation of the present invention; if the power consumption is to be considered, the number of pulses of the second high-frequency pulse group is set to be smaller (e.g., 3).
In order to ensure the accuracy of the effective pulse of the sensor, the effective pulse is sampled for a plurality of times, so the period of the effective pulse of the sensor is set to be equal to or more than three times the sampling period, for example, the sampling period is 1ms, and then the period of the effective pulse of the sensor is equal to or more than 3 x 1ms (namely 3 ms).
In order to ensure the consistency and stability of the pulses, the duty cycle of the sensor pulse signal is set to 50%, even if the total period of the sensor pulse signal is equal to twice the total period of the effective pulses, wherein the total period of the effective pulses is equal to the pulse period of the first high-frequency pulse group + the period of the effective pulses of the sensor + the pulse period of the second high-frequency pulse group. For example, the period of the vacuum period of the collection device is 150us, the sampling period is 0.5ms, the pulse period of the first high-frequency pulse group is greater than or equal to 2 × 150us (i.e., 300us) of the second high-frequency pulse group, the period of the effective pulse of the sensor is greater than or equal to 3 × 0.5ms (i.e., 1.5ms), the total period of the effective pulses is greater than or equal to 300us +1.5ms +300us + 2.1ms, and the total period is greater than or equal to 2.1ms and greater than or equal to 4.2 ms. Meanwhile, the highest detection precision of the sensor can be known through the total period of the sensor pulse signal. Of course, the duty cycle of the sensor pulse signal is set to 50% in the present invention, mainly for the purpose of ensuring the consistency and stability of the pulse, and if the consistency and stability of the pulse are not considered, other duty cycles may be adopted.
Step S2, if the high-frequency pulse group is met in the vacuum period of pulse detection, immediately generating interruption to wake up the acquisition equipment or the main control MCU after the vacuum period; and if the high-frequency pulse group is not encountered in the vacuum period of the pulse detection, interrupting and awakening the acquisition equipment or the main control MCU immediately after the vacuum period.
In the second embodiment, the step S2 specifically includes:
when the acquisition equipment or the main control MCU is about to enter a dormant state, entering a vacuum period of pulse detection, wherein the acquisition equipment or the main control MCU cannot identify an effective pulse signal, and if the acquisition equipment or the main control MCU meets the first high-frequency pulse group in the vacuum period (because level change is generated immediately when the first high-frequency pulse group meets the first high-frequency pulse group, and the pulse period of the first high-frequency pulse group is more than or equal to twice of the period of the vacuum period, therefore, after the vacuum period, the first high-frequency pulse group can continue the effectiveness of the pulse signal, so that the acquisition equipment or the main control MCU can be awakened by interruption), immediately after the vacuum period, the acquisition equipment or the main control MCU is awakened by interruption, so that the acquisition equipment or the main control MCU enters a detection state, and metering errors are avoided; if the first high-frequency pulse group is not encountered in the vacuum period, immediately generating interruption to wake up the acquisition equipment or the main control MCU after the vacuum period;
when the pulse signal of the sensor is about to be released and enters an idle state, a vacuum period of pulse detection is entered, the acquisition equipment or the main control MCU cannot identify an effective pulse signal, and if the second high-frequency pulse group is encountered in the vacuum period (because level change is generated immediately when the second high-frequency pulse group is encountered and the pulse period of the second high-frequency pulse group is more than or equal to twice the period of the vacuum period, the second high-frequency pulse group continues the effectiveness of the pulse signal after the vacuum period, so that the acquisition equipment or the main control MCU can be awakened by interruption), the acquisition equipment or the main control MCU is awakened by interruption immediately after the vacuum period, so that the acquisition equipment or the main control MCU enters a detection state, and metering errors are avoided; and if the second high-frequency pulse group is not encountered in the vacuum period, generating no interrupt immediately after the vacuum period so as to wake up the acquisition equipment or the main control MCU.
In summary, the invention has the following advantages:
1. according to the invention, the high-frequency pulse group is added on each of the two edges of the effective pulse output of the sensor, so that when the pulse signal cannot be identified by the interruption of the acquisition equipment or the master control MCU, the acquisition equipment or the master control MCU can be awakened by the level change generated by the high-frequency pulse group, and the acquisition equipment or the master control MCU is further ensured not to miss the pulse interruption, thereby effectively avoiding the occurrence of metering error and improving the detection precision and density of the sensor;
2. the period of the effective pulse of the sensor is set to be more than or equal to three times of the sampling period, so that the accuracy of the effective pulse of the sensor can be ensured;
3. the duty ratio of the pulse signal of the sensor is set to be 50%, so that the consistency and the stability of the pulse can be ensured; meanwhile, the highest detection precision of the sensor can be obtained by calculating the total period of the sensor pulse signal.
Although specific embodiments of the invention have been described above, it will be understood by those skilled in the art that the specific embodiments described are illustrative only and are not limiting upon the scope of the invention, and that equivalent modifications and variations can be made by those skilled in the art without departing from the spirit of the invention, which is to be limited only by the appended claims.
Claims (7)
1. A processing method of sensor pulse signals is characterized in that: the method comprises the following steps:
step S1, adding a first high-frequency pulse group at the start position of the effective pulse output of the sensor, and adding a second high-frequency pulse group at the end position of the effective pulse output of the sensor;
step S2, when the acquisition equipment or the main control MCU is about to enter a sleep state, entering a vacuum period of pulse detection, and if meeting the first high-frequency pulse group in the vacuum period, immediately interrupting and awakening the acquisition equipment or the main control MCU after the vacuum period so as to enable the acquisition equipment or the main control MCU to enter a detection state; if the first high-frequency pulse group is not encountered in the vacuum period, immediately generating interruption to wake up the acquisition equipment or the main control MCU after the vacuum period;
when the pulse signal of the sensor is about to be released and enters an idle state, entering a vacuum period of pulse detection, and if meeting the second high-frequency pulse group in the vacuum period, immediately generating interruption to wake up the acquisition equipment or the main control MCU after the vacuum period so as to enable the acquisition equipment or the main control MCU to enter a detection state; and if the second high-frequency pulse group is not encountered in the vacuum period, generating no interrupt immediately after the vacuum period so as to wake up the acquisition equipment or the main control MCU.
2. The method for processing the sensor pulse signal according to claim 1, wherein: the number of pulses of the first high-frequency pulse group is more than or equal to 2, and the pulse period of the first high-frequency pulse group is more than or equal to twice of the period of the vacuum period.
3. The method for processing the sensor pulse signal according to claim 1, wherein: the number of pulses of the second high-frequency pulse group is more than or equal to 2, and the pulse period of the second high-frequency pulse group is more than or equal to twice of the period of the vacuum period.
4. The method for processing the sensor pulse signal according to claim 1, wherein: the period of the effective pulse of the sensor is more than or equal to three times of the sampling period.
5. The method for processing the sensor pulse signal according to claim 1, wherein: the duty ratio of the sensor pulse signal is set to 50% even if the total period of the sensor pulse signal is equal to twice the total period of the effective pulses, wherein the total period of the effective pulses is equal to the pulse period of the first high-frequency pulse group + the period of the effective pulses of the sensor + the pulse period of the second high-frequency pulse group.
6. The method for processing the sensor pulse signal according to claim 1, wherein: in step S1, the active pulse output of the sensor is specifically the negative logic level output of the sensor.
7. The method for processing the sensor pulse signal according to claim 1, wherein: in step S1, the active pulse output of the sensor is specifically the positive logic level output of the sensor.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811479918.3A CN109634168B (en) | 2018-12-05 | 2018-12-05 | Method for processing sensor pulse signal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811479918.3A CN109634168B (en) | 2018-12-05 | 2018-12-05 | Method for processing sensor pulse signal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109634168A CN109634168A (en) | 2019-04-16 |
CN109634168B true CN109634168B (en) | 2020-02-07 |
Family
ID=66071340
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811479918.3A Active CN109634168B (en) | 2018-12-05 | 2018-12-05 | Method for processing sensor pulse signal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109634168B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
SG11202101384WA (en) * | 2018-12-17 | 2021-03-30 | Zhiheng Technology Co Ltd | Sensor pulse signal processing method |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP0609997A2 (en) * | 1993-02-05 | 1994-08-10 | Hewlett-Packard Company | Method of reducing drive energy in a high speed thermal ink jet printer |
CN1450720A (en) * | 2003-05-15 | 2003-10-22 | 上海联欣科技发展有限公司 | Intelligent meter set signal identifying method |
CN105050115A (en) * | 2015-06-29 | 2015-11-11 | 小米科技有限责任公司 | Method and device for waking up MCU |
CN105703749A (en) * | 2014-11-24 | 2016-06-22 | 中国科学院沈阳自动化研究所 | Low-power consumption and accurate sleep timer circuit and method |
CN107276871A (en) * | 2017-06-16 | 2017-10-20 | 山东省科学院自动化研究所 | A kind of Low-power-consumptiocontrol control method, controller and the control system of CAN nodes |
CN107515662A (en) * | 2016-06-15 | 2017-12-26 | 深圳市博巨兴实业发展有限公司 | Low-power consumption management method in a kind of MCU chip towards the application of keying class |
CN107862231A (en) * | 2017-11-23 | 2018-03-30 | 重庆华虹电子有限公司 | A kind of method for preventing electronic tag false wake-up |
-
2018
- 2018-12-05 CN CN201811479918.3A patent/CN109634168B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP0609997A2 (en) * | 1993-02-05 | 1994-08-10 | Hewlett-Packard Company | Method of reducing drive energy in a high speed thermal ink jet printer |
CN1450720A (en) * | 2003-05-15 | 2003-10-22 | 上海联欣科技发展有限公司 | Intelligent meter set signal identifying method |
CN105703749A (en) * | 2014-11-24 | 2016-06-22 | 中国科学院沈阳自动化研究所 | Low-power consumption and accurate sleep timer circuit and method |
CN105050115A (en) * | 2015-06-29 | 2015-11-11 | 小米科技有限责任公司 | Method and device for waking up MCU |
CN107515662A (en) * | 2016-06-15 | 2017-12-26 | 深圳市博巨兴实业发展有限公司 | Low-power consumption management method in a kind of MCU chip towards the application of keying class |
CN107276871A (en) * | 2017-06-16 | 2017-10-20 | 山东省科学院自动化研究所 | A kind of Low-power-consumptiocontrol control method, controller and the control system of CAN nodes |
CN107862231A (en) * | 2017-11-23 | 2018-03-30 | 重庆华虹电子有限公司 | A kind of method for preventing electronic tag false wake-up |
Also Published As
Publication number | Publication date |
---|---|
CN109634168A (en) | 2019-04-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103412634B (en) | The MCU Rouser of a kind of SOC and method | |
CN107128191B (en) | A kind of electric car lithium-ion-power cell group voltage synchronous Acquisition Circuit and its control method | |
CN201252572Y (en) | Device for reducing sensor node dormancy power consumption | |
CN103631360A (en) | Chip allowing sleep mode and method | |
CN101216788A (en) | Reset control chip and method | |
CN202758480U (en) | Power-saving remote control | |
CN109634168B (en) | Method for processing sensor pulse signal | |
CN101364993A (en) | Method and apparatus for reducing sensor node dormancy power consumption | |
CN102201872A (en) | Low-power-consumption underwater acoustic communication arousing equipment | |
CN111061358B (en) | Clock-free chip wake-up circuit, wake-up method and chip | |
CN103257716A (en) | Low-power dissipation keyboard and scanning positioning method thereof | |
CN101436095A (en) | Low voltage resetting method for microcontroller | |
CN103237338B (en) | A kind of non-volatile sensing net node system based on pulse direct current powering mode | |
CN112235742A (en) | Gas meter with NB-IoT communication module embedded with program and data processing method | |
US20210215763A1 (en) | Method for improving accuracy of capacity measurement | |
CN110139236A (en) | A kind of synchronous collection method based on wireless sensor network | |
CN102368825B (en) | Energy-saving control method of 3D glasses | |
WO2020124302A1 (en) | Sensor pulse signal processing method | |
CN216485106U (en) | Power-saving acoustic Doppler current profiler | |
CN108762473A (en) | A kind of method that can effectively reduce smart lock stand-by power consumption | |
CN201550088U (en) | Abnormal clock signal detection circuit | |
CN203149828U (en) | Processing circuit for remote-control reception of signals and household appliance having same | |
CN109491540A (en) | Touch detecting system and method applied to system on chip low-power consumption | |
CN102817727B (en) | Embedded real-time control method and embedded real-time control device of diesel generating set | |
CN207083067U (en) | A kind of intelligent nursing communication system extension set sleep state anti-jamming circuit |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
TR01 | Transfer of patent right |
Effective date of registration: 20231114 Address after: 3rd Floor, Haichuang Center, No. 72 Gaoxin Avenue, Shangjie Town, Minhou County, Fuzhou City, Fujian Province, 350108 Patentee after: Fuzhou Xinrui Zhilian Technology Co.,Ltd. Address before: 350000 23, 3 District, five floor, Huaxing Plaza, 68 Da Road, Taijiang, Fuzhou, Fujian Patentee before: ZHIHENG TECHNOLOGY Co.,Ltd. |
|
TR01 | Transfer of patent right |