Signal filtering method and signal filtering device

文档序号:1059602 发布日期:2020-10-13 浏览:28次 中文

阅读说明:本技术 一种信号过滤方法及信号过滤装置 (Signal filtering method and signal filtering device ) 是由 廖新志 于 2020-06-28 设计创作,主要内容包括:本发明提供一种信号过滤方法及信号过滤装置。该方法包括接收模拟电路系统发送的监测结果信号,其中,所述模拟电路系统用于进行模拟量的监测;获取系统的时钟周期,并根据所述时钟周期同步所述监测结果信号,得到同步信号;进行所述同步信号的第一次过滤,得到初始信号;根据所述同步信号和所述初始信号确定变化信号;若所述变化信号为目标变化信号,则生成过滤请求信号;根据所述过滤请求信号生成过滤指令;根据所述过滤指令进行所述监测结果信号的第二次过滤,得到目标信号,所述目标信号为滤除干扰信号后的所述监测结果信号。本发明的方法传统方案在进行模数混合设计系统控制和检测时存在功耗消耗大的问题。(The invention provides a signal filtering method and a signal filtering device. Receiving a monitoring result signal sent by an analog circuit system, wherein the analog circuit system is used for monitoring analog quantity; acquiring a clock cycle of a system, and synchronizing the monitoring result signal according to the clock cycle to obtain a synchronization signal; carrying out first filtering on the synchronous signals to obtain initial signals; determining a change signal according to the synchronization signal and the initial signal; if the change signal is a target change signal, generating a filtering request signal; generating a filtering instruction according to the filtering request signal; and carrying out secondary filtering on the monitoring result signal according to the filtering instruction to obtain a target signal, wherein the target signal is the monitoring result signal after the interference signal is filtered. The traditional scheme of the method has the problem of high power consumption when the analog-digital hybrid design system is controlled and detected.)

1. A signal filtering method is applied to a signal filtering device and is characterized by comprising the following steps:

receiving a monitoring result signal sent by an analog circuit system, wherein the analog circuit system is used for monitoring analog quantity;

acquiring a clock cycle of a system, and synchronizing the monitoring result signal according to the clock cycle to obtain a synchronization signal;

carrying out first filtering on the synchronous signals to obtain initial signals;

determining a change signal according to the synchronization signal and the initial signal;

if the change signal is a target change signal, generating a filtering request signal;

generating a filtering instruction according to the filtering request signal;

and carrying out secondary filtering on the monitoring result signal according to the filtering instruction to obtain a target signal, wherein the target signal is the monitoring result signal after the interference signal is filtered.

2. The method of claim 1, wherein said second filtering of the monitor result signal according to the filtering instruction to obtain a target signal comprises:

acquiring the holding time of the monitoring result signal in the same state;

and if the holding time of the same state is longer than the preset holding time, outputting the target signal.

3. The method of claim 2, wherein the same state is a low state or a high state.

4. The method of claim 1, wherein after performing the second filtering of the monitoring result signal according to the filtering instruction to obtain a target signal, the method further comprises: and returning to the step of executing the monitoring result signals sent by the receiving analog circuit system until the monitoring result signals are filtered for the second time to obtain target signals.

5. The method of claim 1, wherein after obtaining the target signal, the method further comprises:

and sending the target signal to an analog-digital mixing system control device, wherein the analog-digital mixing system control device is used for controlling and detecting an analog-digital mixing design system according to the target signal.

6. The method of claim 1, wherein the target change signal is a high level signal.

7. The utility model provides a signal filtering device which characterized in that, includes signal synchronization module, signal change detection module, first signal filtration submodule, second signal filtration submodule and signal filtration control module, wherein:

the signal synchronization module is used for receiving a monitoring result signal sent by an analog circuit system, wherein the analog circuit system is used for monitoring analog quantity; the system is also used for acquiring the clock period of the system and synchronizing the monitoring result signal according to the clock period to obtain a synchronous signal;

the first signal filtering submodule is used for carrying out first filtering on the monitoring result signal to obtain an initial signal;

the signal change detection module is in signal connection with the signal synchronization module and the first signal filtering submodule and is used for generating a change signal according to the synchronization signal and the initial signal;

the second signal filtering submodule is in signal connection with the signal change detection module and is used for generating a filtering request signal if the change signal is a target change signal; performing second filtering on the monitoring result signal according to the filtering instruction to obtain a target signal, wherein the target signal is the monitoring result signal after the interference signal is filtered;

the signal filtering control module is in signal connection with the second signal filtering submodule and is used for receiving the filtering request signal, generating a filtering instruction according to the filtering request signal and sending the filtering instruction to the second signal filtering submodule.

8. The apparatus of claim 7, further comprising:

and the timer is used for acquiring the same-state retention time of the monitoring result signal.

9. The apparatus of claim 7, further comprising:

and the signal sending module is used for sending the target signal to an analog-digital mixing system control device, and the analog-digital mixing system control device is used for controlling and detecting an analog-digital mixing design system according to the target signal.

10. A modular system signal processing system comprising the signal filtering apparatus of any of claims 7-9, further comprising:

the analog circuit device is in signal connection with the signal filtering device and is used for acquiring analog quantity and monitoring the analog quantity;

and the analog-digital mixing system control device is in signal connection with the signal filtering device.

Technical Field

The invention belongs to the field of signal processing, and particularly relates to a signal filtering method and a signal filtering device.

Background

The analog-digital hybrid design system comprises analog equipment and digital equipment and is widely applied to various fields. When the analog-digital hybrid design system operates, the operating condition of the system needs to be controlled and detected. Generally, the control and detection of an analog-to-digital hybrid design system are achieved by monitoring analog quantities, such as voltage, current, and temperature, in the system in real time. The prior art uses an analog comparator to monitor the analog quantity in real time and sends the monitoring result to a controller of an analog-digital hybrid related system in the form of a digital signal. However, the signal input to the controller from the analog comparator often has signal glitches and also carries a lot of interference signals. Therefore, the analog comparator needs a complex signal filtering process when inputting the monitoring result to the controller.

In the traditional scheme, when signal filtering processing of a monitoring result is carried out, analog-digital signals are obtained through system clock check of a controller related to an analog-digital mixing system, and then signal filtering is carried out by using a signal filter. This increases the power consumption of the signal filter because it is necessary to wait for the controller system clock to check the analog-to-digital signal before the signal filter performs signal filtering. Especially when there are multiple signal filters in the analog-to-digital hybrid system, the power consumption of the system is increased even more.

Therefore, the traditional scheme has the problem of large power consumption when the analog-digital hybrid design system is controlled and detected.

Disclosure of Invention

The invention provides a signal filtering method and a signal filtering device, which are used for solving the problem of high power consumption in the control and detection of an analog-digital mixed design system in the traditional scheme.

In one aspect, the present invention provides a signal filtering method applied to a signal filtering apparatus, including:

receiving a monitoring result signal sent by an analog circuit system, wherein the analog circuit system is used for monitoring analog quantity;

acquiring a clock cycle of a system, and synchronizing the monitoring result signal according to the clock cycle to obtain a synchronization signal;

carrying out first filtering on the synchronous signals to obtain initial signals;

determining a change signal according to the synchronization signal and the initial signal;

if the change signal is a target change signal, generating a filtering request signal;

generating a filtering instruction according to the filtering request signal;

and performing second filtering on the monitoring result signal according to the filtering instruction to obtain a target signal, wherein the target signal is the monitoring result signal after the interference signal is filtered.

The signal filtering method provided by the invention is applied to a signal filtering device, and comprises the step of receiving a monitoring result signal sent by an analog circuit system, wherein the analog circuit system is used for monitoring analog quantity. And acquiring a clock cycle of the system, and synchronizing the monitoring result signal according to the clock cycle to obtain a synchronous signal. The method comprises the steps of obtaining an initial signal after the synchronous signal is filtered for the first time, determining a change signal according to the synchronous signal and the initial signal, generating a filtering request signal if the change signal is a target change signal, and generating a filtering instruction according to the filtering request signal. And performing second filtering on the monitoring result signal according to the filtering instruction to obtain a target signal, wherein the target signal is the monitoring result signal after the interference signal is filtered. The signal filtering method provided by the invention can determine whether the signal needs to be filtered or not by judging whether the signal changes or not, and does not need to wait for the system clock of the controller to check the analog-digital signal in real time and then send the analog-digital signal to the signal power device, so that the power consumption of the signal filtering device can be saved, and the problem of high power consumption in the control and detection of an analog-digital mixed design system in the traditional scheme is solved.

In one embodiment, the performing, according to the filtering instruction, the second filtering of the monitoring result signal to obtain a target signal includes:

acquiring the holding time of the monitoring result signal in the same state;

and if the holding time of the same state is longer than the preset holding time, outputting the target signal.

In one embodiment, the same state is a low state or a high state.

In one embodiment, after the second filtering of the monitoring result signal is performed according to the filtering instruction to obtain a target signal, the method further includes: and returning to the step of executing the monitoring result signals sent by the receiving analog circuit system until the monitoring result signals are filtered for the second time to obtain target signals.

In one embodiment, after obtaining the target signal, the method further includes:

and sending the target signal to an analog-digital mixing system control device, wherein the analog-digital mixing system control device is used for controlling and detecting an analog-digital mixing design system according to the target signal.

In one embodiment, the target change signal is a high level signal.

The invention also provides a signal filtering device, which comprises a signal synchronization module, a signal change detection module, a first signal filtering submodule, a second signal filtering submodule and a signal filtering control module, wherein:

the signal synchronization module is used for receiving a monitoring result signal sent by an analog circuit system, wherein the analog circuit system is used for monitoring analog quantity; the system is also used for acquiring the clock period of the system and synchronizing the monitoring result signal according to the clock period to obtain a synchronous signal;

the first signal filtering submodule is used for carrying out first filtering on the monitoring result signal to obtain an initial signal;

the signal change detection module is in signal connection with the signal synchronization module and the first signal filtering submodule and is used for generating a change signal according to the synchronization signal and the initial signal;

the second signal filtering submodule is in signal connection with the signal change detection module and is used for generating a filtering request signal if the change signal is a target change signal; performing second filtering on the monitoring result signal according to the filtering instruction to obtain a target signal, wherein the target signal is the monitoring result signal after the interference signal is filtered;

the signal filtering control module is in signal connection with the second signal filtering submodule and is used for receiving the filtering request signal, generating a filtering instruction according to the filtering request signal and sending the filtering instruction to the second signal filtering submodule.

In one embodiment, the method further comprises:

and the timer is used for acquiring the same-state retention time of the monitoring result signal.

In one embodiment, the method further comprises:

and the signal sending module is used for sending the target signal to an analog-digital mixing system control device, and the analog-digital mixing system control device is used for controlling and detecting an analog-digital mixing design system according to the target signal.

The invention also provides a signal processing system of an analog-digital system, which comprises the signal filtering device in the above embodiment, and further comprises:

the analog circuit device is in signal connection with the signal filtering device and is used for acquiring analog quantity and monitoring the analog quantity;

and the analog-digital mixing system control device is in signal connection with the signal filtering device.

Drawings

The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and together with the description, serve to explain the principles of the disclosure.

Fig. 1 is a schematic flow chart of a signal filtering method according to an embodiment of the present invention.

Fig. 2 is a schematic diagram of a signal filtering apparatus according to an embodiment of the present invention.

Fig. 3 is a schematic diagram of a signal filtering control module according to an embodiment of the present invention.

Fig. 4 is a timing diagram of signal filtering according to an embodiment of the present invention.

Fig. 5 is a timing diagram of signal filtering according to another embodiment of the present invention.

Fig. 6 is a schematic diagram of a signal processing system of an analog-to-digital system according to another embodiment of the present invention.

With the foregoing drawings in mind, certain embodiments of the disclosure have been shown and described in more detail below. These drawings and written description are not intended to limit the scope of the disclosed concepts in any way, but rather to illustrate the concepts of the disclosure to those skilled in the art by reference to specific embodiments.

Detailed Description

Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.

The analog-digital hybrid design system comprises analog equipment and digital equipment and is widely applied to various fields. When the analog-digital hybrid design system operates, the operating condition of the system needs to be controlled and detected. Generally, the control and detection of an analog-to-digital hybrid design system are achieved by monitoring analog quantities, such as voltage, current, and temperature, in the system in real time. The prior art uses an analog comparator to monitor the analog quantity in real time and sends the monitoring result to a controller of an analog-digital hybrid related system in the form of a digital signal. However, the signal input to the controller from the analog comparator often has signal glitches and also carries a lot of interference signals. Therefore, the analog comparator needs a complex signal filtering process when inputting the monitoring result to the controller. In the traditional scheme, when signal filtering processing of a monitoring result is carried out, analog-digital signals are obtained through system clock check of a controller related to an analog-digital mixing system, and then signal filtering is carried out by using a signal filter. This increases the power consumption of the signal filter because it is necessary to wait for the controller system clock to check the analog-to-digital signal before the signal filter performs signal filtering. Especially when there are multiple signal filters in the analog-to-digital hybrid system, the power consumption of the system is increased even more. Therefore, the traditional scheme has the problem of large power consumption when the analog-digital hybrid design system is controlled and detected. Based on the above, the invention provides a signal filtering method and a signal filtering device.

Referring to fig. 1, the present invention provides a signal filtering method applied to a signal filtering apparatus, including:

and S100, receiving a monitoring result signal sent by an analog circuit system, wherein the analog circuit system is used for monitoring analog quantity.

S200, acquiring a clock cycle of the system, and synchronizing the monitoring result signal according to the clock cycle to obtain a synchronization signal.

S300, carrying out first filtering on the synchronous signal to obtain an initial signal.

And S400, determining a change signal according to the synchronous signal and the initial signal.

S500, if the change signal is a target change signal, generating a filtering request signal;

s600, generating a filtering instruction according to the filtering request signal;

and S700, performing secondary filtering on the monitoring result signal according to the filtering instruction to obtain a target signal, wherein the target signal is the monitoring result signal after the interference signal is filtered.

It should be noted that the monitoring result signal is an asynchronous signal. In order to meet the timing requirement of the analog-digital hybrid design system, the signal synchronization module or the signal synchronizer is required to synchronize the monitoring result signal with the system clock before the signal filtering processing can be performed, and the filtering processing process is performed by the first signal filtering submodule. The signal change detection module detects whether the monitoring result signal changes through a digital comparator, and if the initial signal and the synchronous signal are not equal, the monitoring result signal can be determined to have changed. If the monitoring result signal changes, the signal change detection module generates a change signal, and the change signal is used for indicating that the monitoring result signal changes. Referring to fig. 2, fig. 2 is a schematic diagram of the signal filtering control module, where the change indicates that the power-on initial states of all signals are low, and if the signals change from the low state to the high state, the second signal filtering submodule generates a filtering request signal, where the filtering request signal is used to request filtering of the monitoring result signal. The second signal filtering submodule sends the filtering request signal to the signal filtering control module, the signal filtering control module generates a filtering instruction, and the filtering instruction is sent to the second signal filtering submodule, so that the second signal filtering submodule filters the monitoring result signal according to the filtering instruction.

The signal filtering method provided by the invention is applied to a signal filtering device and comprises the step of receiving a monitoring result signal sent by an analog circuit system, wherein the analog circuit system is used for monitoring analog quantity. And acquiring a clock period of the system, and synchronizing the monitoring result signal according to the clock period to obtain a synchronous signal. The method comprises the steps of obtaining an initial signal after the synchronous signal is filtered for the first time, determining a change signal according to the synchronous signal and the initial signal, generating a filtering request signal if the change signal is a target change signal, and generating a filtering instruction according to the filtering request signal. And performing secondary filtering on the monitoring result signal according to the filtering instruction to obtain a target signal, wherein the target signal is the monitoring result signal after the interference signal is filtered. The signal filtering method provided by the invention can determine whether the signal needs to be filtered or not by judging whether the signal changes or not, and does not need to wait for the system clock of the controller to check the analog-digital signal in real time and then send the analog-digital signal to the signal power device, so that the power consumption of the signal filtering device can be saved, and the problem of high power consumption in the control and detection of an analog-digital mixed design system in the traditional scheme is solved.

In one embodiment of the present invention, S700 includes:

and S710, acquiring the holding time of the same state of the monitoring result signal.

S720, if the holding time of the same state is longer than the preset holding time, outputting the target signal.

In one embodiment, the same state is a low state or a high state. That is, if the monitoring result signal maintains a low level state for more than a preset holding time or maintains a high level state for more than a preset holding time, the target signal is output. Referring to fig. 3, fig. 3 is a schematic diagram of the signal filtering control module, which generally speaking, functions as a gated clock, and when the system clock detects that the filtering request signal is at a high level, the gated clock is turned on, and the system clock is output to the gated signal filtering clock, i.e., the filtering instruction is generated. When the system clock detects that the filtering request signal is at a low level, the gating is closed, the filtering instruction is not generated at the moment, and the second signal filtering submodule does not perform signal filtering. Referring to fig. 4 and 5 together, fig. 4 and 5 are signal filtering timing diagrams, the system clock period in fig. 4 and 5 is T, and in one embodiment, the filtering time of the signal is 9 system clock periods, i.e. 9T, and the input signal is considered to be a valid signal output only if the same state retention time of the input signal is greater than or equal to 9T. If the same state retention time is less than 9T, the monitoring result signal is filtered out, the target signal cannot be output, and at the moment, a timer in the signal filtering device restarts recording the same state retention time of the monitoring result signal.

In an embodiment of the present invention, after step S700, the method further includes returning to perform steps S100 to S700.

In an embodiment of the present invention, after step S700, the method further includes:

and S730, sending the target signal to an analog-digital mixing system control device, wherein the analog-digital mixing system control device is used for controlling and detecting an analog-digital mixing design system according to the target signal.

The present invention further provides a signal filtering apparatus 10, which includes a signal synchronization module 110, a signal change detection module 120, a first signal filtering submodule 130, a second signal filtering submodule 140, and a signal filtering control module 150.

The signal synchronization module 110 is configured to receive a monitoring result signal sent by an analog circuit system, where the analog circuit system is configured to monitor an analog quantity; the system is also used for acquiring the clock period of the system and synchronizing the monitoring result signal according to the clock period to obtain a synchronous signal;

the first signal filtering submodule 120 is configured to perform first filtering on the monitoring result signal to obtain an initial signal;

the signal change detection module 130 is in signal connection with the signal synchronization module and the first signal filtering submodule, and is configured to generate a change signal according to the synchronization signal and the initial signal;

the second signal filtering submodule 140 is in signal connection with the signal change detection module, and is configured to generate a filtering request signal if the change signal is a target change signal; performing second filtering on the monitoring result signal according to the filtering instruction to obtain a target signal, wherein the target signal is the monitoring result signal after the interference signal is filtered;

the signal filtering control module 150 is in signal connection with the second signal filtering submodule, and is configured to receive the filtering request signal, generate a filtering instruction according to the filtering request signal, and send the filtering instruction to the second signal filtering submodule.

In one embodiment of the present invention, the signal filtering apparatus 10 further comprises a timing module 160, wherein the timing module 160 is configured to obtain a holding time of the same state of the monitoring result signal.

In an embodiment of the present invention, the signal filtering apparatus 10 further includes a signal sending module 170, the signal sending module 170 is configured to send the target signal to the analog-to-digital mixing system control apparatus 20, and the analog-to-digital mixing system control apparatus 20 is configured to control and detect an analog-to-digital mixing design system according to the target signal.

Referring to fig. 6, the present invention further provides an analog-digital system signal processing system 20, which includes the signal filtering apparatus 10, an analog circuit apparatus 11 and an analog-digital mixing system control apparatus 12. The analog circuit device 11 is in signal connection with the signal filtering device 10, and the analog circuit device 11 is configured to obtain an analog quantity, monitor the analog quantity, generate a monitoring result signal, and send the monitoring result signal to the signal filtering device 10. The analog-digital mixing system control device 12 is in signal connection with the signal filtering device 10, and the analog-digital mixing system control device 12 is used for controlling and detecting an analog-digital mixing design system according to the target signal.

Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.

It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

12页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种带置位复位功能的TSPC触发器

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!