Summary of the invention
Technical problem to be solved by this invention is for above-mentioned the deficiencies in the prior art, provides a kind of method and the device thereof that detect transfer of data.Specifically be to control the enable of low frequency signal muting unit, high-frequency signal muting unit and high-frequency gain unit by logic control element and read effective output of low frequency signal muting unit and high-frequency signal muting unit, whether comprehensive descision signal path exists transfer of data.In addition, whether existing in the process of transfer of data in detection, by closing the unit module that nonessential detection module and multiplexed signals path can provide high-frequency gain, saving design and the object of saving power consumption further to reach.
First aspect present invention provides a kind of device detecting transfer of data, comprising: low frequency signal muting unit, high-frequency gain unit, high-frequency signal muting unit and logic control element; Wherein, described high-frequency gain unit, for receiving differential input signal, described differential input signal comprises low frequency component signal and high frequency signal, and after described differential input signal high frequency components signal is carried out postiive gain, exports differential output signal; Described low frequency signal muting unit, for receiving described differential input signal, and detects the amplitude of described differential input signal low frequency components signal, then described amplitude and default first amplitude threshold is compared, exports the first comparative result; Described high-frequency signal muting unit, for receiving described differential output signal, described differential output signal comprises low frequency component signal and high frequency signal, and detect the amplitude of described differential output signal high frequency components signal, then described amplitude and default second amplitude threshold are compared, export the second comparative result; Described logic control element, for receiving described first comparative result and described second comparative result, and produces the open and close that enable signal controls described low frequency signal muting unit, described high-frequency signal gain unit and described high-frequency signal muting unit.
Preferably, what described low frequency signal muting unit detected is the differential input signal within the scope of predetermined first frequency.
Preferably, what described high-frequency signal muting unit detected is the differential output signal within the scope of predetermined second frequency.
Preferably, described logic control element produces the first enable signal and controls opening or closing of described low frequency signal muting unit; Produce the second enable signal and control opening or closing of described high-frequency gain unit; Produce the 3rd enable signal and control opening or closing of described high-frequency signal muting unit.
Preferably, described logic control element comprises timer.
Whether the present invention can exist in the process of transfer of data in detection, by closing the unit module that nonessential detection module and multiplexed signals path can provide high-frequency gain, saves design and the object of saving power consumption further to reach.
Second aspect present invention provides a kind of method detecting transfer of data, comprise the following steps: differential input signal comprises high frequency signal and low frequency component signal, after described differential input signal high frequency components signal is carried out postiive gain, export differential output signal; Detect the amplitude of described differential input signal low frequency components signal, and described amplitude and default first amplitude threshold are compared, export the first comparative result; Described differential output signal comprises high frequency signal and low frequency component signal, detects the amplitude of described differential output signal high frequency components signal, and after described amplitude and default second amplitude threshold being compared, exports the second comparative result; Receive described first comparative result and described second comparative result, produce the testing process that enable signal controls described signal.
Preferably, the amplitude step of described detection differential input signal low frequency components comprises: detect the amplitude of differential input signal low frequency components signal within the scope of predetermined first frequency.
Preferably, the amplitude step of described detection differential output signal high frequency components comprises: detect the amplitude of differential output signal high frequency components signal within the scope of predetermined second frequency.
Preferably, the testing process step that described generation enable signal controls described signal comprises: produce the first enable signal and control the process that differential input signal low frequency component detects; Produce the second enable signal to control differential input signal to carry out postiive gain process; Produce the process that the 3rd enable signal controls the detection of differential output signal high fdrequency component.
Preferably, the same state value of the first comparative result or the second comparative result described in described logic control element repeated detection, just can upgrade the internal logic assignment of described logic control element after identical value appears repeatedly in detected state value continuously; And the result selecting occurrence number more is characterized by the Output rusults of described logic control element.
Preferably, described logic control element determines the enable of described high-frequency signal muting unit and described high-frequency gain unit according to the output signal of described low frequency signal muting unit.
Preferably, described logic control element opens described low frequency signal muting unit all the time, and according to the output signal of described low frequency signal muting unit, and open the output signal of the described high-frequency signal muting unit after described high-frequency gain unit and described high-frequency signal muting unit, open or close described high-frequency gain unit and described high-frequency signal muting unit selectively.
Preferably, the described high-frequency gain unit frequency range that provides the frequency range of postiive gain should comprise described high-frequency signal muting unit to detect.
Preferably, the frequency range of described low frequency signal muting unit and described high-frequency signal muting unit institute detection signal exists certain overlapping.
Whether the present invention can exist in the process of transfer of data in detection, by closing the unit module that nonessential detection module and multiplexed signals path can provide high-frequency gain, saves design and the object of saving power consumption further to reach.
Embodiment
For making the object of the embodiment of the present invention, technical scheme and advantage clearly, below in conjunction with the accompanying drawing in the embodiment of the present invention, technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is the present invention's part embodiment, instead of whole embodiments.
Whether the present invention can exist in the process of transfer of data in detection, by closing the unit module that nonessential detection module and multiplexed signals path can provide high-frequency gain, saves design and the object of saving power consumption further to reach.
Fig. 1 is a kind of apparatus structure schematic diagram detecting transfer of data that the embodiment of the present invention provides.As shown in Figure 1, a kind of device detecting transfer of data, comprising: high-frequency gain unit, low frequency signal muting unit, high-frequency signal muting unit, logic control element.
Particularly, described high-frequency gain unit, for receiving differential input signal, described differential input signal comprises low frequency component signal and high frequency signal, and after described differential input signal high frequency components signal is carried out postiive gain, exports differential output signal.
Particularly, described low frequency signal muting unit, for receiving described differential input signal, and detects the amplitude of described differential input signal low frequency components signal, then described amplitude and default first amplitude threshold is compared, exports the first comparative result O-L.
Particularly, described high-frequency signal muting unit, for receiving described differential output signal, described differential output signal comprises low frequency component signal and high frequency signal, and detect the amplitude of described differential output signal high frequency components signal, then described amplitude and default second amplitude threshold are compared, export the second comparative result O-H.
Particularly, described logic control element, for receiving described first comparative result O-L and described second comparative result O-H, and produce the open and close that enable signal controls described low frequency signal muting unit, described high-frequency signal gain unit and described high-frequency signal muting unit.
Particularly, what described low frequency signal muting unit detected is the differential input signal within the scope of predetermined first frequency.
Particularly, what described high-frequency signal muting unit detected is the differential output signal within the scope of predetermined second frequency.
Particularly, described logic control element produces the first enable signal EN-L and controls opening or closing of described low frequency signal muting unit; Produce the second enable signal EN-G and control opening or closing of described high-frequency gain unit; Produce the 3rd enable signal EN-H and control opening or closing of described high-frequency signal muting unit.
Particularly, described logic control element comprises timer.
Whether the embodiment of the present invention can exist in the process of transfer of data in detection, by closing the unit module that nonessential detection module and multiplexed signals path can provide high-frequency gain, saves design and the object of saving power consumption further to reach.
Fig. 2 is a kind of method flow diagram detecting transfer of data that the embodiment of the present invention provides.As shown in the figure, a kind of method detecting transfer of data comprises step S101 ~ S104:
Step S101: differential input signal comprises high frequency signal and low frequency component signal, exports differential output signal after described differential input signal high frequency components signal is carried out postiive gain;
Step S102: the amplitude detecting described differential input signal low frequency components signal, and described amplitude and default first amplitude threshold are compared, export the first comparative result;
Step S103: described differential output signal comprises high frequency signal and low frequency component signal, detects the amplitude of described differential output signal high frequency components signal, and after described amplitude and default second amplitude threshold being compared, exports the second comparative result;
Step S104: receive described first comparative result and described second comparative result, produces the testing process that enable signal controls described signal.
Particularly, the amplitude step of described detection differential input signal low frequency components comprises: detect the amplitude of differential input signal low frequency components signal within the scope of predetermined first frequency.
Particularly, the amplitude step of described detection differential output signal high frequency components comprises: detect the amplitude of differential output signal high frequency components signal within the scope of predetermined second frequency.
Particularly, the testing process step that described generation enable signal controls described signal comprises: produce the first enable signal and control the process that differential input signal low frequency component detects; Produce the second enable signal to control differential input signal to carry out postiive gain process; Produce the process that the 3rd enable signal controls the detection of differential output signal high fdrequency component.
Particularly, the same state value of the first comparative result or the second comparative result described in described logic control element repeated detection, just can upgrade the internal logic assignment of described logic control element after identical value appears repeatedly in detected state value continuously; And the result selecting occurrence number more is characterized by the Output rusults of described logic control element.
Particularly, described logic control element determines the enable of described high-frequency signal muting unit and described high-frequency gain unit according to the output signal of described low frequency signal muting unit.
Particularly, described logic control element opens described low frequency signal muting unit all the time, and according to the output signal of described low frequency signal muting unit, and open the output signal of the described high-frequency signal muting unit after described high-frequency gain unit and described high-frequency signal muting unit, open or close described high-frequency gain unit and described high-frequency signal muting unit selectively.
Particularly, the described high-frequency gain unit frequency range that provides the frequency range of postiive gain should comprise described high-frequency signal muting unit to detect.
Particularly, the frequency range of described low frequency signal muting unit and described high-frequency signal muting unit institute detection signal exists certain overlapping.
Particularly, described logic control element can open described low frequency signal muting unit, described high-frequency signal muting unit and described high-frequency gain unit all the time.
Whether the embodiment of the present invention can exist in the process of transfer of data in detection, by closing the unit module that nonessential detection module and multiplexed signals path can provide high-frequency gain, saves design and the object of saving power consumption further to reach.
Fig. 3 a be that the embodiment of the present invention provides a kind of detect input signal in transfer of data high frequency and the simultaneous situation of low frequency part under detect time diagram.
Particularly, in the simultaneous situation of high frequency low frequency part of input signal.The course of work detecting sequential is: low frequency signal muting unit is opened (EN_L=1) all the time, when it exports as detecting that existence is greater than threshold signal, opens high-frequency gain unit (EN_G=1).High-frequency signal muting unit (EN_H=0) is closed under default conditions.
When the output of low frequency signal muting unit is for can't detect (O_L=0) when existence is greater than threshold signal, logic control element starts internal timer and detects the output of low frequency signal muting unit in real time.If low frequency signal muting unit does not detect that existence is greater than threshold signal (O_L=0) all the time at the end of timing t1 duration, then open high-frequency signal muting unit t2 duration and detect its output (EN_H=1).
If the output of high-frequency signal muting unit is for can't detect when existence is greater than threshold signal (O_H=0) and the output of this stage low frequency signal muting unit is also greater than threshold signal (O_L=0) for can't detect existence in t2 duration, then close high-frequency signal muting unit (EN_H=0), internal timer continues timing.
If low frequency signal muting unit does not detect that existence is greater than threshold signal (O_L=0) all the time at the end of timing t3 duration, then close high-frequency gain unit (EN_G=0) and enter energy-saving mode.Wherein can repeatedly of short duration unlatching high-frequency signal muting unit, to improve the accuracy of testing result.
Fig. 3 b be that the embodiment of the present invention provides a kind of detect input signal in transfer of data high frequency and low frequency part timesharing or simultaneous situation under detect time diagram.
Particularly, under the timesharing of high frequency low frequency part or simultaneous situation of input signal.The course of work detecting sequential is: low frequency signal muting unit is opened (EN_L=1) all the time, when it exports as detecting that existence is greater than threshold signal, opens high-frequency gain unit (EN_G=1).High-frequency signal muting unit (EN_H=0) is closed under default conditions.
When the output of low frequency signal muting unit is for can't detect (O_L=0) when existence is greater than threshold signal, logic control element starts internal timer and detects the output of low frequency signal muting unit in real time.Before timing t1 duration terminates, low frequency signal muting unit detects the signal (O_L=1) existing and be greater than threshold value, and timer stops timing and resets.Other module status remain unchanged, and the HFS of input signal does not participate in this testing process.
Fig. 3 c be that the embodiment of the present invention provides a kind of detect input signal in transfer of data high frequency and low frequency part timesharing deposit and detect time diagram in case.
Particularly, deposit in case in the high frequency low frequency part timesharing of input signal.The course of work detecting sequential is: low frequency signal muting unit is opened (EN_L=1) all the time, when it exports as detecting that existence is greater than threshold signal, opens high-frequency gain unit (EN_G=1).High-frequency signal muting unit (EN_H=0) is closed under default conditions.
When the output of low frequency signal muting unit is for can't detect (O_L=0) when existence is greater than threshold signal, logic control element starts internal timer and detects the output of low frequency signal muting unit in real time.If low frequency signal muting unit does not detect that existence is greater than threshold signal (O_L=0) all the time at the end of timing t1 duration, then open high-frequency signal muting unit t2 duration and detect its output (EN_H=1).
In t2 duration, when the output of high-frequency signal muting unit is greater than threshold signal for existence being detected (O_H=1), timer stops timing also resetting, and closes high-frequency signal muting unit (EN_H=0).Switch the output being back to and detecting low frequency signal muting unit, the now output of low frequency signal muting unit is greater than threshold signal (O_L=0) for can't detect existence, and logic control element again starts internal timer and detects the output of low frequency signal muting unit in real time.
If low frequency signal muting unit does not detect that existence is greater than threshold signal (O_L=0) all the time at the end of timing t1 duration again, then again open high-frequency signal muting unit t2 duration and detect it and export (EN_H=1).If the output of high-frequency signal muting unit is for can't detect when existence is greater than threshold signal (O_H=0) and the now output of low frequency signal muting unit is greater than threshold signal (O_L=0) for can't detect existence in t2 duration, then close high-frequency signal muting unit (EN_H=0), internal timer continues timing.
If low frequency signal muting unit does not detect that existence is greater than threshold signal (O_L=0) all the time at the end of timing t3 duration, then close high-frequency gain unit (EN_G=0) and enter energy-saving mode.Wherein can repeatedly of short duration unlatching high-frequency signal muting unit, to improve the accuracy of testing result.
Above-described embodiment; object of the present invention, technical scheme and beneficial effect are further described; be understood that; the foregoing is only the specific embodiment of the present invention; the protection range be not intended to limit the present invention; within the spirit and principles in the present invention all, any amendment made, equivalent replacement, improvement etc., all should be included within protection scope of the present invention.