WO2018133092A1 - Signal processing system and signal processing method - Google Patents

Signal processing system and signal processing method Download PDF

Info

Publication number
WO2018133092A1
WO2018133092A1 PCT/CN2017/072181 CN2017072181W WO2018133092A1 WO 2018133092 A1 WO2018133092 A1 WO 2018133092A1 CN 2017072181 W CN2017072181 W CN 2017072181W WO 2018133092 A1 WO2018133092 A1 WO 2018133092A1
Authority
WO
WIPO (PCT)
Prior art keywords
signal
positive
negative
output
comparator
Prior art date
Application number
PCT/CN2017/072181
Other languages
French (fr)
Chinese (zh)
Inventor
张孟文
Original Assignee
深圳市汇顶科技股份有限公司
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by 深圳市汇顶科技股份有限公司 filed Critical 深圳市汇顶科技股份有限公司
Priority to CN201780000083.6A priority Critical patent/CN107078723B/en
Priority to PCT/CN2017/072181 priority patent/WO2018133092A1/en
Publication of WO2018133092A1 publication Critical patent/WO2018133092A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03KPULSE TECHNIQUE
    • H03K3/00Circuits for generating electric pulses; Monostable, bistable or multistable circuits
    • H03K3/01Details
    • H03K3/017Adjustment of width or dutycycle of pulses

Landscapes

  • Manipulation Of Pulses (AREA)

Abstract

A signal processing system and a signal processing method. The signal processing system comprises: an output device (301) comprising a first positive output end and a first negative output end; a first comparator (302) comprising a second positive input end and a second negative input end, the second positive input end being connected to the first positive output end, the second negative input end being connected to the first negative output end, and used for shaping on a first positive signal (V1p) and a first negative signal (V1n) to generate a second signal (V2p); a second comparator (303) comprising a third positive input end and a third negative input end, the third positive input end being connected to the first negative output end, the third negative input end being connected to the first positive output end, and the second comparator (303) being used for performing shaping on the first positive signal (V1p) and the first negative signal (V1n) to generate a third signal (V2n); a multiplexer (304) used for selecting the second signal (V2p) or the third signal (V2n) to generate a fourth signal (V4), the fourth signal (V4) having an accurate rising edge; and an edge trigger (305) used for performing edge transition according to the rising edge of the fourth signal (V4) to generate a fifth signal (V5).

Description

信号处理系统和信号处理的方法Signal processing system and signal processing method 技术领域Technical field
本申请涉及电子设备领域,并且更具体地,涉及信号处理系统和信号处理的方法。The present application relates to the field of electronic devices and, more particularly, to signal processing systems and methods of signal processing.
背景技术Background technique
目前的主动笔电感式压力检测传感器,会在触摸屏的控制电路或控制芯片中,利用方波信号检测时间和功耗。目前的方波信号产生,通常是通过对全差分振荡器输出的波形经过一个比较器进行整形,最终输出占空比为50%的方波信号。但是,通常情况下比较器存在正负高低延迟(例如,从高到低的延迟或者从低到高的延迟)不一致的问题,从而导致实际的方波的占空比偏离50%。对于一些对方波的占空比比较敏感的应用(例如双沿计数器),占空比的偏离将会降低计算精确度,进而影响检测到的时间和功耗的准确度。The current active pen-inductive pressure detecting sensor uses a square wave signal to detect time and power consumption in the control circuit or control chip of the touch screen. The current square wave signal is generated by shaping the waveform of the fully differential oscillator through a comparator and finally outputting a square wave signal with a duty cycle of 50%. However, in general, the comparator has a problem of inconsistent positive and negative high and low delays (for example, high to low delay or low to high delay), resulting in an actual square wave duty cycle deviation of 50%. For applications where the duty cycle of some of the other waves is sensitive (such as a dual-edge counter), the deviation of the duty cycle will reduce the accuracy of the calculation, which in turn affects the accuracy of the detected time and power consumption.
发明内容Summary of the invention
本申请实施例提供一种信号处理系统和信号处理的方法,能够得到具有准确的占空比的信号,从而提高了计算精确度。The embodiment of the present application provides a signal processing system and a signal processing method, which can obtain a signal with an accurate duty ratio, thereby improving calculation accuracy.
第一方面,提供了一种信号处理系统。该信号处理系统包括:输出设备,该输出设备包括第一正输出端和第一负输出端,该第一正输出端输出的第一正信号和该第一负输出端输出的第一负信号的相位差为固定值;第一比较器,该第一比较器包括第二正输入端和第二负输入端,该第二正输入端与该第一正输出端连接,该第二负输入端与该第一负输出端连接,且该第一比较器用于对该第一正信号和该第一负信号进行整形处理生成第二信号,该第二信号为方波信号;第二比较器,该第二比较器包括第三正输入端和第三负输入端,该第三正输入端与该第一负输出端连接,该第三负输入端与该第一正输出端连接,且该第二比较器用于对该第一正信号和该第一负信号进行整形处理生成第三信号,该第三信号为方波信号;多路选择器,用于选择该第二信号或该第三信号生成第四信号,该第四信号具有准确的上升沿;边沿触发器,用于根据该第四信号的上升沿进行边沿跳变生成第五信号,该边沿触发器包括第一输出端,该第一输出端用于输出第五信号。 In a first aspect, a signal processing system is provided. The signal processing system includes: an output device including a first positive output terminal and a first negative output terminal, the first positive output terminal outputting the first positive signal and the first negative output terminal outputting the first negative signal The phase difference is a fixed value; the first comparator includes a second positive input terminal and a second negative input terminal, the second positive input terminal is coupled to the first positive output terminal, the second negative input terminal The first comparator is connected to the first negative output terminal, and the first comparator is configured to perform shaping processing on the first positive signal and the first negative signal to generate a second signal, the second signal is a square wave signal; the second comparator The second comparator includes a third positive input terminal and a third negative input terminal, the third positive input terminal is coupled to the first negative output terminal, and the third negative input terminal is coupled to the first positive output terminal, and The second comparator is configured to perform shaping processing on the first positive signal and the first negative signal to generate a third signal, the third signal is a square wave signal, and a multiplexer for selecting the second signal or the first The third signal generates a fourth signal, the fourth signal having Rising correct; edge flip-flop, for rising edge of the fourth signal to generate a fifth signal edge transition, the rim comprises a first flip-flop output terminal, a first output terminal for outputting the fifth signal.
本申请实施例可以通过选择第二信号或第三信号产生具有准确上升沿的第四信号,进而第五信号能够根据准确的上升沿进行上升沿和下降沿的切换,即生成占空比比较准确的信号,能够提高对占空比比较敏感的应用的计算精确度。The embodiment of the present application can generate a fourth signal with an accurate rising edge by selecting the second signal or the third signal, and the fifth signal can switch between the rising edge and the falling edge according to the accurate rising edge, that is, the generating duty ratio is relatively accurate. The signal can improve the computational accuracy of applications that are sensitive to duty cycle.
在一些可能的实现方式中,该边沿触发器还包括第二输出端,该边沿触发器还用于通过该第二输出端输出第六信号,该第六信号为与该第五信号相反的信号;该多路选择器具体用于:根据该第六信号的高低电平的边沿跳变,轮流选择该第二信号或该第三信号生成该第四信号。In some possible implementations, the edge trigger further includes a second output, the edge trigger further configured to output a sixth signal through the second output, the sixth signal being a signal opposite to the fifth signal The multiplexer is specifically configured to: according to the edge transition of the high and low levels of the sixth signal, select the second signal or the third signal to generate the fourth signal in turn.
多路选择器在第六信号的高低电平的边沿跳变,切换选择的第二信号或第三信号作为第四信号,使得第四信号的上升沿不存在误差,最终生成占空比比较准确的信号,从而提高对占空比比较敏感的应用的计算精确度。The multiplexer jumps on the edge of the high and low levels of the sixth signal, and switches the selected second signal or the third signal as the fourth signal, so that there is no error on the rising edge of the fourth signal, and finally the generated duty ratio is relatively accurate. The signal, which improves the computational accuracy of applications that are sensitive to duty cycle.
在一些可能的实现方式中,该第一正信号和该第一负信号的相位差为180°,该第五信号的占空比为50%。In some possible implementations, the first positive signal and the first negative signal have a phase difference of 180°, and the fifth signal has a duty ratio of 50%.
若第一正信号和第一负信号的相位相差180°,根据上述信号处理系统生成的第五信号为精确的高电平占空比为50%的信号,从而能够提高对占空比比较敏感的应用的计算精确度。If the phase of the first positive signal and the first negative signal are different by 180°, the fifth signal generated by the signal processing system according to the above is a signal with an accurate high-level duty ratio of 50%, thereby being able to improve sensitivity to duty ratio The accuracy of the application's calculations.
在一些可能的实现方式中,该第一正信号和该第一负信号的相位差为不等于180°的固定值,该第五信号的占空比与该第一正信号和该第一负信号的相位差成正比。In some possible implementations, the phase difference between the first positive signal and the first negative signal is a fixed value that is not equal to 180°, and the duty ratio of the fifth signal is the first positive signal and the first negative The phase difference of the signal is proportional.
若第一正信号和第二负信号的相位差为不等于180°的固定值,则生成的第五信号的占空比与该相位差成正比。相比现有技术,在第一正信号和第二负信号的相位差为不等于180°的固定值时,仍然生成占空比为50%的高电平占空比,提高了该信号处理系统的应用范围,且能够得到比较准确的高电平占空比的信号。If the phase difference between the first positive signal and the second negative signal is a fixed value not equal to 180°, the duty ratio of the generated fifth signal is proportional to the phase difference. Compared with the prior art, when the phase difference between the first positive signal and the second negative signal is a fixed value not equal to 180°, a high-level duty ratio with a duty ratio of 50% is still generated, which improves the signal processing. The range of applications of the system, and can get a more accurate high-level duty cycle signal.
在一些可能的实现方式中,该边沿触发器为能够进行二分频的边沿触发器。In some possible implementations, the edge flip-flop is an edge flip-flop capable of two-way.
该边沿触发器为能够进行二分频的边沿触发器,这样边沿触发器输出的第五信号为在每个准确的第四信号的上升沿时发生边沿跳变,能够得到比较准确的高电平占空比的信号。The edge flip-flop is an edge flip-flop capable of dividing by two, such that the fifth signal output by the edge trigger is an edge jump at the rising edge of each accurate fourth signal, and a relatively accurate high level can be obtained. The signal of the duty cycle.
在一些可能的实现方式中,该能够进行二分频的边沿触发器还包括第一输入端和第二输入端,该第一输入端用于接收该第四信号,该第二输入端与 该第二输出端连接。In some possible implementations, the edge trigger capable of dividing by two further includes a first input end and a second input end, wherein the first input end is configured to receive the fourth signal, and the second input end is The second output is connected.
能够进行二分频的边沿触发器可以通过其中一个输出端接入输入实现,从而得到比较准确的高电平占空比信号。An edge-trigger that can be divided by two can be implemented by one of the output-side inputs, resulting in a more accurate high-level duty cycle signal.
在一些可能的实现方式中,该多路选择器包括第一与非门、第二与非门和第三与非门,该第一与非门包括第三输入端、第四输入端和第三输出端,该第二与非门包括第五输入端、第六输入端和第四输出端,该第三与非门包括第七输入端、第八输入端和第五输出端,且该第三输出端与该第七输入端连接,该第四输出端与该第八输入端连接,该第三输入端用于接收该第二信号,该第四输入端用于接收该第六信号,该第五输出端用于输出该第四信号,该第五输入端用于接收该第三信号,该第六输入端用于接收第七信号,该第七信号为与该第六信号相反的信号。In some possible implementations, the multiplexer includes a first NAND gate, a second NAND gate, and a third NAND gate, the first NAND gate including a third input terminal, a fourth input terminal, and a third input terminal a third output terminal, the second NAND gate includes a fifth input terminal, a sixth input terminal, and a fourth output terminal, wherein the third NAND gate includes a seventh input terminal, an eighth input terminal, and a fifth output terminal, and the a third output terminal is coupled to the seventh input terminal, the fourth output terminal is coupled to the eighth input terminal, the third input terminal is configured to receive the second signal, and the fourth input terminal is configured to receive the sixth signal The fifth output is configured to output the fourth signal, the fifth input is configured to receive the third signal, and the sixth input is configured to receive a seventh signal, where the seventh signal is opposite to the sixth signal signal of.
通过该结构的多路选择器能够实现选择第二信号或第三信号作为第四信号,这样能够生成根据第四信号的上升沿进行跳变的第五信号,从而能够提高对占空比比较敏感的应用的计算精确度。The multiplexer of the structure can realize the selection of the second signal or the third signal as the fourth signal, so that the fifth signal which is hopped according to the rising edge of the fourth signal can be generated, thereby being able to improve the sensitivity to the duty ratio The accuracy of the application's calculations.
在一些可能的实现方式中,该信号处理系统还包括反向器,该反向器用于将该第六信号转换为该第七信号。In some possible implementations, the signal processing system further includes an inverter for converting the sixth signal to the seventh signal.
通过在反向器可以实现对信号的取反,进而将第六信号转换为第七信号,使得多路选择器能够根据第六信号和第七信号选择第二信号或第三信号作为第四信号,,这样能够生成根据第四信号的上升沿进行跳变的第五信号,从而能够提高对占空比比较敏感的应用的计算精确度。By inverting the signal in the inverter, and converting the sixth signal into the seventh signal, the multiplexer can select the second signal or the third signal as the fourth signal according to the sixth signal and the seventh signal. Thus, it is possible to generate a fifth signal that is hopped according to the rising edge of the fourth signal, so that the calculation accuracy of the application that is relatively sensitive to the duty ratio can be improved.
在一些可能的实现方式中,该输出设备为电感电容LC振荡器。In some possible implementations, the output device is an LC LC oscillator.
在一些可能的实现方式中,该第一比较器和该第二比较器为自偏置比较器。In some possible implementations, the first comparator and the second comparator are self-biased comparators.
第二方面,提供了一种信号处理的方法,该方法由第一方面或第一方面的任一种可能的实现方式所述的信号处理系统的模块执行。In a second aspect, a method of signal processing is provided, the method being performed by a module of the signal processing system of the first aspect or any of the possible implementations of the first aspect.
基于上述技术方案,通过输出设备的第一正输出端输出第一正信号和第一负输出端输出第一负信号,且该第一正信号和该第一负信号的相位差为固定值,第一比较器对该第一正信号和第一负信号进行整形处理生成为方波信号的第二信号,第二比较器对第一正信号和第一负信号并进行整形处理生成为方波信号的第三信号,多路选择器选择第二信号或第三信号生成具有准确上升沿的第四信号,边沿触发器根据该第四信号的上升沿进行边沿跳变生成 第五信号,这样通过选择完全对称的两个比较器处理后的信号实现生成占空比比较准确的方波信号,能够提高对占空比比较敏感的应用的计算精确度。According to the above technical solution, the first positive output terminal outputs the first positive signal and the first negative output terminal outputs the first negative signal, and the phase difference between the first positive signal and the first negative signal is a fixed value. The first comparator performs shaping processing on the first positive signal and the first negative signal to generate a second signal of the square wave signal, and the second comparator performs shaping processing on the first positive signal and the first negative signal to generate a square wave a third signal of the signal, the multiplexer selects the second signal or the third signal to generate a fourth signal having an accurate rising edge, and the edge trigger generates an edge jump according to the rising edge of the fourth signal The fifth signal, such that by selecting a signal that is processed by two comparators that are completely symmetric, to generate a square wave signal with a relatively accurate duty cycle, can improve the calculation accuracy of a duty-sensitive application.
附图说明DRAWINGS
图1是现有技术的信号处理系统的架构图;1 is an architectural diagram of a prior art signal processing system;
图2是现有技术中信号处理系统输出信号的占空比偏离的示意图;2 is a schematic diagram of duty cycle deviation of an output signal of a signal processing system in the prior art;
图3是本申请实施例的信号处理系统的示意图;3 is a schematic diagram of a signal processing system of an embodiment of the present application;
图4是本申请实施例的电感电容(LC)振荡器的结构示意图;4 is a schematic structural diagram of an inductor-capacitor (LC) oscillator according to an embodiment of the present application;
图5(a)和图5(b)是本申请实施例的比较器的结构示意图;5(a) and 5(b) are schematic structural diagrams of a comparator according to an embodiment of the present application;
图6是本申请实施例的边沿触发器的结构示意图;6 is a schematic structural diagram of an edge trigger of an embodiment of the present application;
图7是本申请实施例的多路选择器的结构示意图;7 is a schematic structural diagram of a multiplexer according to an embodiment of the present application;
图8是本申请一个实施例的信号处理的信号变化的示意图;FIG. 8 is a schematic diagram of signal changes of signal processing according to an embodiment of the present application; FIG.
图9是本申请又一个实施例的信号处理的信号变化的示意图;9 is a schematic diagram of signal changes of signal processing according to still another embodiment of the present application;
图10是本申请又一个实施例的信号处理的信号变化的示意图;FIG. 10 is a schematic diagram showing signal changes of signal processing according to still another embodiment of the present application; FIG.
图11是本申请实施例的信号处理的方法的示意性流程图。FIG. 11 is a schematic flowchart of a method for signal processing according to an embodiment of the present application.
具体实施方式detailed description
为了方便理解本申请实施例,在介绍本申请实施例之前首先引入以下几个要素。In order to facilitate the understanding of the embodiments of the present application, the following elements are first introduced before introducing the embodiments of the present application.
振荡器是一种能量转换装置,能够将直流电能转换为具有一定频率的交流电能,构成的电路叫振荡电路。The oscillator is an energy conversion device capable of converting DC power into AC power having a certain frequency, and the circuit formed is called an oscillation circuit.
比较器是通过比较两个输入端的电流或电压的大小,在输出端输出不同电压结果的电子元件,比较器常被用于模数转换电路中。The comparator is an electronic component that outputs different voltage results at the output by comparing the magnitude of the current or voltage at the two inputs. The comparator is often used in an analog-to-digital conversion circuit.
多路选择器是在多路数据传送过程中,能够根据需要将其中任意一路选择出来的电路。The multiplexer is a circuit that can select any one of them as needed during the multiplexed data transfer process.
边沿触发器接收的是时钟脉冲(clock pulses,CP)的某一约定跳变(正跳变或负跳变)到来时的输入数据。The edge trigger receives input data when a certain transition (positive or negative transition) of a clock pulse (CP) arrives.
占空比,是指高电平在一个周期之内所占的时间比率,例如方波的占空比为50%,说明高电平所占时间为0.5个周期。The duty ratio refers to the ratio of the time that the high level takes up within one cycle. For example, the duty ratio of the square wave is 50%, indicating that the high level takes 0.5 cycles.
如图1示出了现有技术的信号处理系统的架构图。如图1所示,该信号处理系统包括振荡器110和比较器120。振荡器110的正端输出V1p,负端输 出V1n,通过比较器120的处理输出V5信号。由于单一比较器相当于先将V1p和V1n做差,然后再同0电压作比较,这样V1p和V1n的相位不同,影响的只是做差后的幅度大小,因此V1p和V1n的相位为任意固定值时,输出的V5信号都为占空比大约为50%的方波信号,例如,若V1p和V1n的相位相差为90°或125°时,V5信号仍然为占空比大约为50%的方波信号,造成该信号处理系统的应用范围较小,计算精度也较低。An architectural diagram of a prior art signal processing system is shown in FIG. As shown in FIG. 1, the signal processing system includes an oscillator 110 and a comparator 120. The positive terminal of the oscillator 110 outputs V 1p , the negative terminal outputs V 1n , and the V 5 signal is output through the processing of the comparator 120. Since a single comparator is equivalent to first making V 1p and V 1n poor and then comparing with 0 voltage, the phases of V 1p and V 1n are different, and the effect is only the amplitude after the difference, so V 1p and V 1n When the phase is any fixed value, the output V 5 signal is a square wave signal with a duty ratio of about 50%. For example, if the phase difference between V 1p and V 1n is 90° or 125°, the V 5 signal remains. For a square wave signal with a duty cycle of approximately 50%, the signal processing system has a smaller application range and lower calculation accuracy.
进一步地,在V1p和V1n的相位相差为180°时,从理论来讲,V5信号为占空比为50%的信号,但是由于比较器120会存在高低延迟不一致的问题,使得输出的V5信号的占空比偏离50%,占空比偏移50%包括占空比偏大(如图2所示的V5信号)和占空比偏小(如图2所示的V5')。这样,对于对占空比比较敏感的应用,将严重影响计算精确度。Further, when the phase difference between V 1p and V 1n is 180°, the V5 signal is theoretically a signal having a duty ratio of 50%, but since the comparator 120 has a problem of high and low delay inconsistency, the output is made. The duty cycle of the V 5 signal deviates by 50%, and the duty cycle offset of 50% includes a large duty cycle (V 5 signal as shown in Figure 2) and a small duty cycle (V 5 as shown in Figure 2). '). In this way, for applications that are sensitive to duty cycle, the accuracy of the calculation will be seriously affected.
图3示出了根据本申请实施例的一种信号处理系统300。该信号处理系统300包括:输出设备301、第一比较器302、第二比较器303、多路选择器304和边沿触发器305,FIG. 3 illustrates a signal processing system 300 in accordance with an embodiment of the present application. The signal processing system 300 includes an output device 301, a first comparator 302, a second comparator 303, a multiplexer 304, and an edge trigger 305.
该输出设备301包括第一正输出端和第一负输出端,该第一正输出端输出第一正信号和该第一负输出端输出第一负信号的相位差为固定值;The output device 301 includes a first positive output terminal and a first negative output terminal, and the first positive output terminal outputs a first positive signal and the first negative output terminal outputs a first negative signal with a phase difference of a fixed value;
该第一比较器302包括第二正输入端和第二负输入端,该第二正输入端与该第一正输出端连接,该第二负输入端与该第一负输出端连接,该第一比较器302用于对该第一正信号和该第一负信号进行整形处理生成第二信号V2p,该第二信号V2p为方波信号;The first comparator 302 includes a second positive input terminal and a second negative input terminal, the second positive input terminal is coupled to the first positive output terminal, and the second negative input terminal is coupled to the first negative output terminal. The first comparator 302 is configured to perform shaping processing on the first positive signal and the first negative signal to generate a second signal V 2p , where the second signal V 2p is a square wave signal;
该第二比较器303包括第三正输入端和第三负输入端,该第三正输入端与该第一负输出端连接,该第三负输入端与该第一正输出端连接,该第二比较器303用于对该第一正信号和该第一负信号进行整形处理生成第三信号V2n,该第三信号V2n为方波信号;The second comparator 303 includes a third positive input terminal and a third negative input terminal, the third positive input terminal is coupled to the first negative output terminal, and the third negative input terminal is coupled to the first positive output terminal. The second comparator 303 is configured to perform shaping processing on the first positive signal and the first negative signal to generate a third signal V 2n , where the third signal V 2n is a square wave signal;
该多路选择器304,用于选择该第二信号V2p或该第三信号V2n生成第四信号V4,该第四信号V4具有准确的上升沿;The multiplexer 304 is configured to select the second signal V 2p or the third signal V 2n to generate a fourth signal V 4 , the fourth signal V 4 having an accurate rising edge;
该边沿触发器305,用于根据第四信号的上升沿进行边沿跳变生成第五信号V5,该边沿触发器包括第一输出端,该第一输出端用于输出第五信号。The edge trigger 305 is configured to generate a fifth signal V 5 according to a rising edge of the rising edge of the fourth signal, the edge trigger comprising a first output end, the first output end is configured to output a fifth signal.
第一比较器302和第二比较器303与输出设备301的输出端完全对称,这样第一比较器302和第二比较器303输出波形的相位严格存在180°的相位差。此外,从图2所示可以看出,V5信号占空比大于50%,但是上升沿是 准确的,因此,本申请实施例可以通过选择对称的两个比较器产生的第二信号或第三信号得到具有准确上升沿的第四信号,进而第五信号能够根据准确的上升沿进行上升沿和下降沿的切换,即生成占空比比较准确的信号。The first comparator 302 and the second comparator 303 are completely symmetrical with the output of the output device 301 such that the phase of the output waveform of the first comparator 302 and the second comparator 303 is strictly 180° out of phase. In addition, as can be seen from FIG. 2, the V 5 signal duty ratio is greater than 50%, but the rising edge is accurate. Therefore, the embodiment of the present application can select the second signal generated by the two symmetric comparators or the second signal. The third signal obtains a fourth signal with an accurate rising edge, and the fifth signal can switch between the rising edge and the falling edge according to the accurate rising edge, that is, generate a signal with a relatively accurate duty cycle.
需要说明的是,第一正信号和第一负信号可以都是模拟信号,因此通过第一比较器和第二比较器进行整形处理具体可以是进行模数转换,即将模拟信号转换为数字信号(即方波信号)。It should be noted that the first positive signal and the first negative signal may both be analog signals, so the shaping process by the first comparator and the second comparator may specifically be performing analog-to-digital conversion, that is, converting the analog signal into a digital signal ( That is, the square wave signal).
应理解,第一正输出端和第一负输出端连续输出信号,且将第一正输出端输出的信号称为“第一正信号”,第一负输出端输出的信号称为“第一负信号”,这样连续输出的第一正信号和第一负信号的相位差一直保持为固定值。It should be understood that the first positive output terminal and the first negative output terminal continuously output signals, and the signal outputted by the first positive output terminal is referred to as “first positive signal”, and the signal outputted by the first negative output terminal is referred to as “first The negative signal", such that the phase difference between the first positive signal and the first negative signal continuously outputted remains at a constant value.
还应理解,本申请实施例可以应用于信号的占空比偏大的场景中,也可以应用于信号的占空比偏小的场景中,但为描述方便,本申请实施例以信号的占空比偏大为例进行说明,但本申请并不限于此。It should also be understood that the embodiment of the present application may be applied to a scenario where the duty ratio of the signal is too large, and may also be applied to a scenario where the duty ratio of the signal is small, but for the convenience of description, the signal of the embodiment of the present application is occupied. The empty ratio is large as an example, but the application is not limited thereto.
因此,本申请实施例的信号处理系统,通过输出设备的第一正输出端输出第一正信号和第一负输出端输出第一负信号,且该第一正信号和该第一负信号的相位差为固定值,第一比较器对该第一正信号和第一负信号进行整形处理生成为方波信号的第二信号,第二比较器对第一正信号和第一负信号并进行整形处理生成为方波信号的第三信号,多路选择器选择第二信号或第三信号生成具有准确上升沿的第四信号,边沿触发器根据该第四信号的上升沿进行边沿跳变生成第五信号,这样通过选择完全对称的两个比较器处理后的信号实现生成占空比比较准确的方波信号,能够提高对占空比比较敏感的应用的计算精确度。Therefore, the signal processing system of the embodiment of the present application outputs a first positive signal through a first positive output terminal of the output device, and a first negative output terminal outputs a first negative signal, and the first positive signal and the first negative signal The phase difference is a fixed value, the first comparator shapes the first positive signal and the first negative signal to generate a second signal of the square wave signal, and the second comparator performs the first positive signal and the first negative signal together The shaping process generates a third signal of a square wave signal, and the multiplexer selects the second signal or the third signal to generate a fourth signal having an accurate rising edge, and the edge trigger generates an edge jump according to the rising edge of the fourth signal. The fifth signal, such that by selecting a signal that is processed by two comparators that are completely symmetric, to generate a square wave signal with a relatively accurate duty cycle, can improve the calculation accuracy of a duty-sensitive application.
可选地,若第一正信号和第一负信号的相位相差180°,则根据上述信号处理系统生成的第五信号为精确的高电平占空比为50%的信号。Optionally, if the phases of the first positive signal and the first negative signal are different by 180°, the fifth signal generated according to the signal processing system is a signal with an accurate high-level duty ratio of 50%.
可选地,若第一正信号和第二负信号的相位差为不等于180°的固定值,则生成的第五信号的占空比与该相位差成正比。例如,如第一正信号和第一负信号的相位差为90°,则第五信号的高电平占空比为25%。相比现有技术,本申请在第一正信号和第二负信号的相位差为不等于180°的固定值时,可以生成占空比为与相位差成正比的高电平占空比,提高了该信号处理系统的应用范围,且能够得到比较准确的高电平占空比。Optionally, if the phase difference between the first positive signal and the second negative signal is a fixed value not equal to 180°, the duty ratio of the generated fifth signal is proportional to the phase difference. For example, if the phase difference between the first positive signal and the first negative signal is 90°, the high level duty ratio of the fifth signal is 25%. Compared with the prior art, when the phase difference between the first positive signal and the second negative signal is a fixed value not equal to 180°, the present application can generate a high-level duty ratio whose duty ratio is proportional to the phase difference. The application range of the signal processing system is improved, and a relatively accurate high-level duty ratio can be obtained.
可选地,本申请实施例的该输出设备301可以是振荡器,具体地振荡器 可以是电感电容LC振荡器(如图4所示),或者还可以是电阻电容(RC)振荡器或者晶体振荡器等,本申请对此不进行限定。Optionally, the output device 301 of the embodiment of the present application may be an oscillator, specifically an oscillator. It can be an LC LC oscillator (as shown in FIG. 4 ), or it can be a resistor-capacitor (RC) oscillator or a crystal oscillator, which is not limited in this application.
可选地,第一比较器302可以是如图5(a)所示的自偏置比较器,第二比较器303可以是如图5(b)所示的自偏置比较器。第一比较器302接收第一正信号V1p和第一负信号V1n生成第二信号V2p,第二比较器303接收第一正信号V1p和第一负信号V1n生成第三信号V2nAlternatively, the first comparator 302 may be a self-bias comparator as shown in FIG. 5(a), and the second comparator 303 may be a self-bias comparator as shown in FIG. 5(b). The first comparator 302 receives the first positive signal V 1p and the first negative signal V 1n to generate a second signal V 2p , and the second comparator 303 receives the first positive signal V 1p and the first negative signal V 1n to generate a third signal V 2n .
应理解,第一比较器302和第二比较器303还可以是其他结构的比较器,本申请对比不进行限定。It should be understood that the first comparator 302 and the second comparator 303 may also be comparators of other configurations, which are not limited in the present application.
可选地,多路选择器304可以如图6所示,即多路选择器是由三个与非门组成,将这三个与非门分别称为第一与非门1、第二与非门2和第三与非门3进行区分,该第一与非门包括第三输入端V2p输入端、第四输入端V3n和第三输出端,该第二与非门包括第五输入端V2n、第六输入端V3p和第四输出端,该第三与非门包括第七输入端、第八输入端和第五输出端V4,且该第三输出端与该第七输入端连接,该第四输出端与该第八输入端连接,即第一与非门的输出和第二与非门的输出作为第三与非的输入。Optionally, the multiplexer 304 can be as shown in FIG. 6, that is, the multiplexer is composed of three NAND gates, and the three NAND gates are respectively referred to as the first NAND gate 1, the second The non-gate 2 and the third NAND gate 3 are distinguished, and the first NAND gate includes a third input terminal V 2p input terminal, a fourth input terminal V 3n and a third output terminal, and the second NAND gate includes a fifth The input terminal V 2n , the sixth input terminal V 3p and the fourth output terminal, the third NAND gate includes a seventh input terminal, an eighth input terminal and a fifth output terminal V 4 , and the third output terminal and the third The seven input terminals are connected, and the fourth output terminal is connected to the eighth input terminal, that is, the output of the first NAND gate and the output of the second NAND gate are used as the third NAND input.
例如,如图6所示,假设V3n为数字信号“0”,V3p为数字信号“1”,则V2p与“0”进行与操作得到“0”,再进行非操作得到“1”;而“1”与V2n进行与操作得到V2n,再进行非操作得到
Figure PCTCN2017072181-appb-000001
将1和
Figure PCTCN2017072181-appb-000002
再进行与操作得到
Figure PCTCN2017072181-appb-000003
再进行非操作得到V2n,即输出V4等于V2n
For example, as shown in FIG. 6, assuming that V 3n is a digital signal "0" and V 3p is a digital signal "1", V 2p and "0" are ANDed to obtain "0", and then non-operation is performed to obtain "1". And "1" and V 2n perform the AND operation to obtain V 2n , and then perform non-operation
Figure PCTCN2017072181-appb-000001
Will be 1 and
Figure PCTCN2017072181-appb-000002
Then proceed with the operation
Figure PCTCN2017072181-appb-000003
The non-operation is again performed to obtain V 2n , that is, the output V 4 is equal to V 2n .
同样地,以V3n为数字信号“1”,以V3p为数字信号“0”通过图6所示的多路选择器304得到输出V4=V2pSimilarly, V 3n is the digital signal "1", and V 3p is the digital signal "0". The output V 4 = V 2p is obtained by the multiplexer 304 shown in FIG.
在该第三输入端接收到该第二信号V2p,该第四输入端接收到该第六信号V3n,该第五输入端接收该第三信号V2n,该第六输入端接收第七信号V3p,因为该V3p信号是与该V3n信号正负相反的信号,第五输出端就可以输出该第四信号V4。也就是说,多路选择器通过输入一个存在高低电平变化且相反的两个信号分别与第二信号和第三信号进行与非处理,并对其结果再进行与非处理最终实现选择第二信号或第三信号得到具有准确上升沿的第四信号。Receiving the second signal V 2p at the third input terminal, the fourth input terminal receives the sixth signal V 3n , the fifth input terminal receives the third signal V 2n , and the sixth input terminal receives the seventh signal The signal V 3p , because the V 3p signal is a signal opposite to the positive and negative of the V 3n signal, the fifth output terminal can output the fourth signal V 4 . That is to say, the multiplexer performs NAND processing by inputting a signal having a high and low level change and opposite, respectively, and performing NAND processing with the second signal and the third signal, and then performing non-processing on the result to finally select the second. The signal or the third signal results in a fourth signal with an accurate rising edge.
应理解,多路选择器304还可以是其他结构的多路选择器,本申请对比不进行限定。It should be understood that the multiplexer 304 may also be a multiplexer of other configurations, which is not limited in the present application.
可选地,该边沿触发器为能够进行二分频的边沿触发器,这样边沿触发器输出的第五信号为在每个第四信号的上升沿时发生边沿跳变,也就是说, 第四信号的频率是第五信号的频率的2倍,对第四信号的频率二分频后得到第五信号的频率。Optionally, the edge flip-flop is an edge flip-flop capable of dividing by two, such that the fifth signal output by the edge trigger is an edge jump on a rising edge of each fourth signal, that is, The frequency of the fourth signal is twice the frequency of the fifth signal, and the frequency of the fifth signal is divided by the frequency of the fourth signal.
可选地,能够对输入信号进行二分频的边沿触发器可以是如图7所示的边沿触发器,边沿触发器305包括两个输入端和两个输出端,两个输出端的信号为相反的信号,例如,图7中的V5和V3n为相反的信号,即V5为数字信号“1”,则V3n为数字信号“0”。本申请实施例中,将输出端QB与输入端D连接,进而实现对V4信号的二分频,即V4信号的频率为V5信号的频率的2倍。Alternatively, the edge flip-flop capable of dividing the input signal by two may be an edge flip-flop as shown in FIG. 7, and the edge flip-flop 305 includes two input terminals and two output terminals, and the signals of the two output terminals are opposite. The signal, for example, V 5 and V 3n in FIG. 7 are opposite signals, that is, V 5 is a digital signal "1", and V 3n is a digital signal "0". The present application embodiment, the output terminal QB is connected to the input terminal D, so as to realize half of the frequency signal V 4, i.e., 4 V frequency signal into a frequency signal V5 twice.
可选地,边沿触发器305的第一输出端用于输出第五信号,第二输出端用于输出第六信号V3p,多路选择器304可以根据第六信号的高低电平的边沿跳变选择第二信号或第三信号作为第四信号。Optionally, the first output of the edge flip-flop 305 is used to output a fifth signal, the second output is used to output the sixth signal V 3p , and the multiplexer 304 can jump according to the edge of the sixth signal. The second signal or the third signal is selected as the fourth signal.
可选地,多路选择器304可以是根据第七信号的高低电平的边沿跳变选择第二信号或第三信号作为第四信号,第七信号为对第六信号取反后得到的信号,本申请对此不进行限定。Optionally, the multiplexer 304 may select the second signal or the third signal as the fourth signal according to the edge transition of the high and low levels of the seventh signal, and the seventh signal is the signal obtained by inverting the sixth signal. This application does not limit this.
可选地,信号处理系统可以是将图7中的V3n输入到图6中的第四输入端,以及对V3n进行取反后得到第七信号输入第六输入端,实现选择第二信号或第三信号作为第四信号,从而能够得到准确的占空比为50%的信号。Alternatively, the signal processing system may be a in FIG. 7 V 3n input to fourth input terminal in FIG. 6, and V 3n to be obtained after the seventh inverted signal input terminal of the sixth input, a second selection signal to achieve Or the third signal is used as the fourth signal, so that an accurate signal with a duty ratio of 50% can be obtained.
可选地,本申请实施例的信号处理系统可以在第二输出端和第六输入端之间可以设置反向器,以实现将第六信号取反转换为第七信号输入第六输入端。Optionally, the signal processing system of the embodiment of the present application may set an inverter between the second output end and the sixth input end to implement the inverse conversion of the sixth signal into the sixth signal input sixth input end.
应理解,在第七信号与第五信号都是第六信号的取反后的信号时,第七信号和第五信号为相同的信号。It should be understood that when the seventh signal and the fifth signal are both inverted signals of the sixth signal, the seventh signal and the fifth signal are the same signal.
还应理解,该反向器可以设置在多路选择器中,也可以设置在边沿触发器的第二输出端之后,以得到多路选择器需要的两路相反的信号,本申请对此不进行限定。It should also be understood that the inverter may be disposed in the multiplexer or may be disposed after the second output of the edge flip flop to obtain two opposite signals required by the multiplexer. Limited.
例如,该边沿触发器输出V3n,反向器对V3n进行取反操作生成第七信号,输入到多路选择器的第六输入端,在多路选择器第四输入端设置反向器,将第七信号再转换为相反的信号,输入到第四输入端。For example, the edge trigger outputs V 3n , and the inverter reverses V 3n to generate a seventh signal, which is input to the sixth input of the multiplexer, and the reverser is set at the fourth input of the multiplexer. The seventh signal is converted to the opposite signal and input to the fourth input.
可选地,边沿触发器在输出V5的同时,也可以将V5返回给多路选择器的第四输入端,在多路选择器第六输入端设置反相器(invertor),将V5转换为相反的信号,输入到第六输入端。即不考虑V3n的输出,直接将V5作为多 路选择器的输入。Optionally, the edge flip-flop can also return V 5 to the fourth input of the multiplexer while outputting V 5 , and set an inverter at the sixth input of the multiplexer to set V 5 is converted to the opposite signal and input to the sixth input. That is, regardless of the output of V 3n , V 5 is directly used as the input of the multiplexer.
下面介绍本申请的一个具体的实施例,如图8所示,以输出设备301输出的信号相位差为180°为例进行说明,在T0~T1时间段内,假设V5为高电平时,则根据图6所示的多路选择器304可知选择V2n确定V4,即V4为与V2n一致的低电平。直到T1时刻V2n为上升沿,则V4也为上升沿,边沿触发器检测到V4的上升沿后,V5的边沿进行跳变(即从高电平变为低电平)。在V5为低电平时,多路选择器304选择V2p作为V4(如图8中T1~T2时间段内),即V4为与V2n一致的从高电平到低电平的变化。由此反复,这样生成的V5信号的占空比为准确的50%。A specific embodiment of the present application is described below. As shown in FIG. 8, the phase difference of the signal outputted by the output device 301 is 180°. For example, in the time period T 0 to T 1 , V 5 is assumed to be high. In normal times, it is known from the multiplexer 304 shown in FIG. 6 that V 2n is selected to determine V 4 , that is, V 4 is a low level consistent with V 2n . Until V 2n is the rising edge at time T 1 , V 4 is also the rising edge. After the edge trigger detects the rising edge of V 4 , the edge of V 5 jumps (ie, changes from high level to low level). When V 5 is low, the multiplexer 304 selects V 2p as V 4 (as in the period T 1 to T 2 in FIG. 8 ), that is, V 4 is from the high level to the low level consistent with V 2n . Flat change. Thus, the duty cycle of the V 5 signal thus generated is exactly 50%.
同样地,以输出设备301输出的信号相位差为180°为例进行说明,如图9所示,若假设V5为低电平时,则根据图6所示的多路选择器304可知选择V2p确定V4,即V4为与V2p一致,则V5也一直保持低电平,直到在T2时刻V2p出现上升沿,则在T2时刻也为V4的上升沿,边沿触发器检测到V4的上升沿后进行V5的边沿跳变(即从低电平变为高电平)。在V5为高电平时,多路选择器304选择V2n生成V4(如图9中T2~T3时间段内),即V4为与V2n一致的从高电平到低电平的变化。由此反复,这样生成的V5信号的占空比为准确的50%。Similarly, the phase difference of the signal outputted by the output device 301 is 180°. As shown in FIG. 9, if V 5 is assumed to be low level, the multiplexer 304 shown in FIG. 6 can be used to select V. 2p determining V 4, V 4 to be consistent with i.e. V 2p is V 5 is also kept low until a rising edge of V 2p at time T 2, at time T 2 V 4 is also rising, the edge-triggered After detecting the rising edge of V 4 , the edge transition of V 5 (ie, from low level to high level) is performed. When V 5 is high, multiplexer 304 selects V 2n to generate V 4 (as in the period T 2 to T 3 in FIG. 9 ), that is, V 4 is from high level to low level consistent with V 2n . Flat change. Thus, the duty cycle of the V 5 signal thus generated is exactly 50%.
此外,以输出设备301输出的信号相位差为180°为例进行说明,若图6中的V2p与V3p共同输入第一与非门,而V3n与V2n共同输入第二与非门,则各个信号变化如图10所示,最终仍然可以输出占空比为准确的50%的V5信号。In addition, the phase difference of the signal outputted by the output device 301 is 180° as an example. If V 2p and V 3p in FIG. 6 are input together, the first NAND gate is input, and V 3n and V 2n are input together to the second NAND gate. Then, the signal changes as shown in Fig. 10, and finally the V 5 signal with an accurate duty ratio of 50% can still be output.
因此,本申请实施例的信号处理系统,通过输出设备的第一正输出端输出第一正信号和第一负输出端输出第一负信号,且该第一正信号和该第一负信号的相位差为固定值,第一比较器对该第一正信号和第一负信号进行整形处理生成为方波信号的第二信号,第二比较器对第一正信号和第一负信号并进行整形处理生成为方波信号的第三信号,多路选择器选择第二信号或第三信号生成具有准确上升沿的第四信号,边沿触发器根据该第四信号的上升沿进行边沿跳变生成第五信号,这样通过选择完全对称的两个比较器处理后的信号实现生成占空比比较准确的方波信号,能够提高对占空比比较敏感的应用的计算精确度。Therefore, the signal processing system of the embodiment of the present application outputs a first positive signal through a first positive output terminal of the output device, and a first negative output terminal outputs a first negative signal, and the first positive signal and the first negative signal The phase difference is a fixed value, the first comparator shapes the first positive signal and the first negative signal to generate a second signal of the square wave signal, and the second comparator performs the first positive signal and the first negative signal together The shaping process generates a third signal of a square wave signal, and the multiplexer selects the second signal or the third signal to generate a fourth signal having an accurate rising edge, and the edge trigger generates an edge jump according to the rising edge of the fourth signal. The fifth signal, such that by selecting a signal that is processed by two comparators that are completely symmetric, to generate a square wave signal with a relatively accurate duty cycle, can improve the calculation accuracy of a duty-sensitive application.
上述图3至图10描述了信号处理系统,下述详细描述本申请实施例信 号处理的方法。The above described FIG. 3 to FIG. 10 describe a signal processing system, and the following details describe the embodiment of the present application. Number processing method.
图11示出了根据本申请实施例的一种信号处理的方法1100的示意性流程图。如图11所示,该信号处理的方法应用于信号处理系统,该信号处理系统包括输出设备、第一比较器、第二比较器、多路选择器和边沿触发器,该输出设备包括第一正输出端和第一负输出端,该第一比较器包括第二正输入端和第二负输入端,该第二正输入端与该第一正输出端连接,该第二负输入端与该第一负输出端连接,该第二比较器包括第三正输入端和第三负输入端,该第三正输入端与该第一负输出端连接,该第三负输入端与该第一正输出端连接,该方法1100包括:FIG. 11 shows a schematic flow chart of a method 1100 of signal processing in accordance with an embodiment of the present application. As shown in FIG. 11, the signal processing method is applied to a signal processing system including an output device, a first comparator, a second comparator, a multiplexer, and an edge trigger, the output device including the first a positive output terminal and a first negative output terminal, the first comparator includes a second positive input terminal and a second negative input terminal, the second positive input terminal is coupled to the first positive output terminal, and the second negative input terminal is coupled to The first negative output terminal is connected, the second comparator comprises a third positive input terminal and a third negative input terminal, the third positive input terminal is connected to the first negative output terminal, and the third negative input terminal and the third A positive output connection, the method 1100 includes:
S1110,该输出设备通过该第一正输出端输出第一正信号和通过该第一负输出端输出第一负信号,且该第一正信号和该第一负信号的相位差为固定值;S1110, the output device outputs a first positive signal through the first positive output terminal and a first negative signal through the first negative output terminal, and a phase difference between the first positive signal and the first negative signal is a fixed value;
S1120,该第一比较器对该第一正信号和该第一负信号进行整形处理生成第二信号,该第二信号为方波信号;S1120, the first comparator performs shaping processing on the first positive signal and the first negative signal to generate a second signal, where the second signal is a square wave signal;
S1130,该第二比较器对该第一正信号和该第一负信号进行整形处理生成第三信号,该第三信号为方波信号;S1130, the second comparator performs shaping processing on the first positive signal and the first negative signal to generate a third signal, where the third signal is a square wave signal;
S1140,该多路选择器选择该第二信号或该第三信号生成第四信号,该第四信号具有准确的上升沿;S1140, the multiplexer selects the second signal or the third signal to generate a fourth signal, where the fourth signal has an accurate rising edge;
S1150,该边沿触发器接收该第四信号,并根据第四信号的上升沿进行高低电平的边沿跳变生成第五信号。S1150. The edge trigger receives the fourth signal, and performs a high-low level edge transition according to a rising edge of the fourth signal to generate a fifth signal.
可选地,作为一个实施例,该方法还包括:该边沿触发器输出第六信号,该第六信号为与该第五信号相反的信号,或该第六信号为与该第五信号相同的信号;其中,该多路选择器轮流选择该第二信号或该第三信号生成第四信号,包括:根据该第六信号的高低电平的边沿跳变,轮流选择该第二信号或该第三信号生成该第四信号。Optionally, as an embodiment, the method further includes: the edge trigger outputting a sixth signal, the sixth signal is a signal opposite to the fifth signal, or the sixth signal is the same as the fifth signal a signal, wherein the multiplexer alternately selects the second signal or the third signal generates a fourth signal, including: selecting the second signal or the first according to the edge transition of the high and low levels of the sixth signal The third signal generates the fourth signal.
可选地,作为一个实施例,该第一正信号和该第一负信号的相位差为180°,该第五信号的占空比为50%。Optionally, as an embodiment, the first positive signal and the first negative signal have a phase difference of 180°, and the fifth signal has a duty ratio of 50%.
可选地,作为一个实施例,该第一正信号和该第一负信号的相位差为不等于180°的固定值,该第五信号的占空比与该第一正信号和该第一负信号的相位差成正比。Optionally, as an embodiment, the phase difference between the first positive signal and the first negative signal is a fixed value that is not equal to 180°, and the duty ratio of the fifth signal is the first positive signal and the first The phase difference of the negative signal is proportional.
可选地,作为一个实施例,该边沿触发器为能够进行二分频的边沿触发 器。Optionally, as an embodiment, the edge trigger is edge triggered by two-way Device.
可选地,作为一个实施例,该输出设备为电感电容LC振荡器。Optionally, as an embodiment, the output device is an LC filter.
可选地,作为一个实施例,该第一比较器和该第二比较器为自偏置比较器。Optionally, as an embodiment, the first comparator and the second comparator are self-bias comparators.
还应理解,本申请实施例中的各种术语的含义与前述各实施例相同,为避免重复,在此不再赘述。It should be understood that the meanings of the various terms in the embodiments of the present application are the same as those in the foregoing embodiments. To avoid repetition, details are not described herein again.
因此,本申请实施例的信号处理的方法,通过输出设备的第一正输出端输出第一正信号和第一负输出端输出第一负信号,且该第一正信号和该第一负信号的相位差为固定值,第一比较器对该第一正信号和第一负信号进行整形处理生成为方波信号的第二信号,第二比较器对第一正信号和第一负信号并进行整形处理生成为方波信号的第三信号,多路选择器选择第二信号或第三信号生成具有准确上升沿的第四信号,边沿触发器根据该第四信号的上升沿进行边沿跳变生成第五信号,这样通过选择完全对称的两个比较器处理后的信号实现生成占空比比较准确的方波信号,能够提高对占空比比较敏感的应用的计算精确度。Therefore, in the signal processing method of the embodiment of the present application, the first positive output terminal outputs a first positive signal and the first negative output terminal outputs a first negative signal, and the first positive signal and the first negative signal are output. The phase difference is a fixed value, the first comparator shapes the first positive signal and the first negative signal to generate a second signal of the square wave signal, and the second comparator pairs the first positive signal and the first negative signal Performing a shaping process to generate a third signal of a square wave signal, the multiplexer selecting the second signal or the third signal to generate a fourth signal having an accurate rising edge, and the edge trigger performing edge jump according to the rising edge of the fourth signal A fifth signal is generated, so that by selecting a signal processed by two comparators that are completely symmetric, a square wave signal with a relatively accurate duty ratio can be generated, which can improve the calculation accuracy of a duty-sensitive application.
应理解,本文中术语“和/或”,仅仅是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。另外,本文中字符“/”,一般表示前后关联对象是一种“或”的关系。It should be understood that the term "and/or" herein is merely an association relationship describing an associated object, indicating that there may be three relationships, for example, A and/or B, which may indicate that A exists separately, and A and B exist simultaneously. There are three cases of B alone. In addition, the character "/" in this article generally indicates that the contextual object is an "or" relationship.
应理解,在本申请的各种实施例中,上述各过程的序号的大小并不意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本申请实施例的实施过程构成任何限定。It should be understood that, in the various embodiments of the present application, the size of the sequence numbers of the foregoing processes does not mean the order of execution sequence, and the order of execution of each process should be determined by its function and internal logic, and should not be applied to the embodiment of the present application. The implementation process constitutes any limitation.
本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。Those of ordinary skill in the art will appreciate that the elements and algorithm steps of the various examples described in connection with the embodiments disclosed herein can be implemented in electronic hardware or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the solution. A person skilled in the art can use different methods to implement the described functions for each particular application, but such implementation should not be considered to be beyond the scope of the present application.
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统、装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。A person skilled in the art can clearly understand that for the convenience and brevity of the description, the specific working process of the system, the device and the unit described above can refer to the corresponding process in the foregoing method embodiment, and details are not described herein again.
在本申请所提供的几个实施例中,应该理解到,所揭露的系统、装置和 方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,该单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided herein, it should be understood that the disclosed systems, devices, and The method can be implemented in other ways. For example, the device embodiments described above are merely illustrative. For example, the division of the unit is only a logical function division. In actual implementation, there may be another division manner, for example, multiple units or components may be combined or may be Integrate into another system, or some features can be ignored or not executed. In addition, the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, and may be in an electrical, mechanical or other form.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above integrated unit can be implemented in the form of hardware or in the form of a software functional unit.
所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。The integrated unit, if implemented in the form of a software functional unit and sold or used as a standalone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application, which is essential or contributes to the prior art, or a part of the technical solution, may be embodied in the form of a software product, which is stored in a storage medium, including The instructions are used to cause a computer device (which may be a personal computer, server, or network device, etc.) to perform all or part of the steps of the methods described in various embodiments of the present application. The foregoing storage medium includes: a U disk, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, and the like. .
以上所述,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以该权利要求的保护范围为准。 The foregoing is only a specific embodiment of the present application, but the scope of protection of the present application is not limited thereto, and any person skilled in the art can easily think of changes or substitutions within the technical scope disclosed in the present application. It should be covered by the scope of protection of this application. Therefore, the scope of protection of this application is subject to the scope of protection of the claims.

Claims (17)

  1. 一种信号处理系统,其特征在于,包括:A signal processing system, comprising:
    输出设备,包括第一正输出端和第一负输出端,所述第一正输出端输出的第一正信号和所述第一负输出端输出的第一负信号的相位差为固定值;The output device includes a first positive output end and a first negative output end, and a phase difference between the first positive signal output by the first positive output terminal and the first negative signal output by the first negative output terminal is a fixed value;
    第一比较器,包括第二正输入端和第二负输入端,所述第二正输入端与所述第一正输出端连接,所述第二负输入端与所述第一负输出端连接,且所述第一比较器用于对所述第一正信号和所述第一负信号进行整形处理生成第二信号,所述第二信号为方波信号;a first comparator comprising a second positive input terminal and a second negative input terminal, the second positive input terminal being coupled to the first positive output terminal, the second negative input terminal and the first negative output terminal Connecting, and the first comparator is configured to perform shaping processing on the first positive signal and the first negative signal to generate a second signal, where the second signal is a square wave signal;
    第二比较器,包括第三正输入端和第三负输入端,所述第三正输入端与所述第一负输出端连接,所述第三负输入端与所述第一正输出端连接,且所述第二比较器用于对所述第一正信号和所述第一负信号进行整形处理生成第三信号,所述第三信号为方波信号;a second comparator comprising a third positive input terminal and a third negative input terminal, the third positive input terminal being coupled to the first negative output terminal, the third negative input terminal and the first positive output terminal Connecting, and the second comparator is configured to perform shaping processing on the first positive signal and the first negative signal to generate a third signal, where the third signal is a square wave signal;
    多路选择器,用于选择所述第二信号或所述第三信号生成第四信号,所述第四信号具有准确的上升沿;a multiplexer for selecting the second signal or the third signal to generate a fourth signal, the fourth signal having an accurate rising edge;
    边沿触发器,用于根据所述第四信号的上升沿进行边沿跳变生成第五信号,所述边沿触发器包括第一输出端,所述第一输出端用于输出第五信号。An edge trigger is configured to generate a fifth signal according to the edge transition of the fourth signal, the edge trigger comprising a first output, and the first output is configured to output a fifth signal.
  2. 根据权利要求1所述的信号处理系统,其特征在于,所述边沿触发器还包括第二输出端,所述边沿触发器还用于通过所述第二输出端输出第六信号,所述第六信号为与所述第五信号相反的信号,或所述第六信号为与所述第五信号相同的信号;The signal processing system of claim 1 wherein said edge trigger further comprises a second output, said edge trigger further for outputting a sixth signal through said second output, said The sixth signal is a signal opposite to the fifth signal, or the sixth signal is the same signal as the fifth signal;
    所述多路选择器用于:The multiplexer is used to:
    根据所述第六信号的高低电平的边沿跳变,轮流选择所述第二信号或所述第三信号生成所述第四信号。And selecting the second signal or the third signal to generate the fourth signal according to the edge transition of the high and low levels of the sixth signal.
  3. 根据权利要求1或2所述的信号处理系统,其特征在于,所述第一正信号和所述第一负信号的相位差为180°,所述第五信号的占空比为50%。The signal processing system according to claim 1 or 2, wherein a phase difference between said first positive signal and said first negative signal is 180°, and a duty ratio of said fifth signal is 50%.
  4. 根据权利要求1或2所述的信号处理系统,其特征在于,所述第一正信号和所述第一负信号的相位差为不等于180°的固定值,所述第五信号的占空比与所述第一正信号和所述第一负信号的相位差成正比。The signal processing system according to claim 1 or 2, wherein a phase difference between said first positive signal and said first negative signal is a fixed value not equal to 180°, and a duty of said fifth signal The ratio is proportional to the phase difference between the first positive signal and the first negative signal.
  5. 根据权利要求1至4中任一项所述的信号处理系统,其特征在于,所述边沿触发器为能够进行二分频的边沿触发器。The signal processing system according to any one of claims 1 to 4, wherein the edge flip-flop is an edge flip-flop capable of dividing by two.
  6. 根据权利要求5所述的信号处理系统,其特征在于,所述能够进行 二分频的边沿触发器还包括第一输入端和第二输入端,所述第一输入端用于接收所述第四信号,所述第二输入端与所述边沿触发器的第二输出端连接。A signal processing system according to claim 5, wherein said capable of performing The two-way edge flip-flop further includes a first input for receiving the fourth signal, the second input and a second output of the edge flip-flop End connection.
  7. 根据权利要求1至6中任一项所述的信号处理系统,其特征在于,所述多路选择器包括第一与非门、第二与非门和第三与非门,所述第一与非门包括第三输入端、第四输入端和第三输出端,所述第二与非门包括第五输入端、第六输入端和第四输出端,所述第三与非门包括第七输入端、第八输入端和第五输出端,且所述第三输出端与所述第七输入端连接,所述第四输出端与所述第八输入端连接,所述第三输入端用于接收所述第二信号,所述第四输入端用于接收所述第六信号,所述第五输出端用于输出所述第四信号,所述第五输入端用于接收所述第三信号,所述第六输入端用于接收第七信号,所述第七信号为与所述第六信号相反的信号。The signal processing system according to any one of claims 1 to 6, wherein the multiplexer comprises a first NAND gate, a second NAND gate, and a third NAND gate, the first The NAND gate includes a third input terminal, a fourth input terminal, and a third output terminal, wherein the second NAND gate includes a fifth input terminal, a sixth input terminal, and a fourth output terminal, and the third NAND gate includes a seventh input end, an eighth input end, and a fifth output end, wherein the third output end is connected to the seventh input end, and the fourth output end is connected to the eighth input end, the third The input end is configured to receive the second signal, the fourth input end is configured to receive the sixth signal, the fifth output end is used to output the fourth signal, and the fifth input end is configured to receive The third signal is used to receive a seventh signal, and the seventh signal is a signal opposite to the sixth signal.
  8. 根据权利要求7所述的信号处理系统,其特征在于,所述信号处理系统还包括反向器,所述反向器用于将所述第六信号转换为所述第七信号。The signal processing system of claim 7 wherein said signal processing system further comprises an inverter for converting said sixth signal to said seventh signal.
  9. 根据权利要求1至8中任一项所述的信号处理系统,其特征在于,所述输出设备为电感电容LC振荡器。The signal processing system according to any one of claims 1 to 8, wherein the output device is an inductor-capacitor LC oscillator.
  10. 根据权利要求1至9中任一项所述的信号处理系统,其特征在于,所述第一比较器和所述第二比较器为自偏置比较器。A signal processing system according to any one of claims 1 to 9, wherein said first comparator and said second comparator are self-biased comparators.
  11. 一种信号处理的方法,其特征在于,所述方法应用于信号处理系统,所述信号处理系统包括输出设备、第一比较器、第二比较器、多路选择器和边沿触发器,所述输出设备包括第一正输出端和第一负输出端,所述第一比较器包括第二正输入端和第二负输入端,所述第二正输入端与所述第一正输出端连接,所述第二负输入端与所述第一负输出端连接,所述第二比较器包括第三正输入端和第三负输入端,所述第三正输入端与所述第一负输出端连接,所述第三负输入端与所述第一正输出端连接,所述方法包括:A method of signal processing, the method being applied to a signal processing system, the signal processing system comprising an output device, a first comparator, a second comparator, a multiplexer, and an edge trigger, The output device includes a first positive output and a first negative output, the first comparator includes a second positive input and a second negative input, and the second positive input is coupled to the first positive output The second negative input terminal is coupled to the first negative output terminal, the second comparator includes a third positive input terminal and a third negative input terminal, the third positive input terminal and the first negative input terminal The output terminal is connected, and the third negative input terminal is connected to the first positive output terminal, and the method includes:
    所述输出设备通过所述第一正输出端输出第一正信号和通过所述第一负输出端输出第一负信号,且所述第一正信号和所述第一负信号的相位差为固定值;The output device outputs a first positive signal through the first positive output terminal and a first negative signal through the first negative output terminal, and a phase difference between the first positive signal and the first negative signal is Fixed value;
    所述第一比较器对所述第一正信号和所述第一负信号进行整形处理生成第二信号,所述第二信号为方波信号;The first comparator performs shaping processing on the first positive signal and the first negative signal to generate a second signal, where the second signal is a square wave signal;
    所述第二比较器对所述第一正信号和所述第一负信号进行整形处理生成第三信号,所述第三信号为方波信号; The second comparator performs shaping processing on the first positive signal and the first negative signal to generate a third signal, where the third signal is a square wave signal;
    所述多路选择器选择所述第二信号或所述第三信号生成第四信号,所述第四信号具有准确的上升沿;The multiplexer selects the second signal or the third signal to generate a fourth signal, the fourth signal having an accurate rising edge;
    所述边沿触发器根据第四信号的上升沿进行高低电平的边沿跳变生成第五信号。The edge flip-flop performs a high-low level edge jump according to a rising edge of the fourth signal to generate a fifth signal.
  12. 根据权利要求11所述的方法,其特征在于,所述方法还包括:The method of claim 11 wherein the method further comprises:
    所述边沿触发器输出第六信号,所述第六信号为与所述第五信号相反的信号,或所述第六信号为与所述第五信号相同的信号;The edge trigger outputs a sixth signal, the sixth signal is a signal opposite to the fifth signal, or the sixth signal is the same signal as the fifth signal;
    其中,所述多路选择器轮流选择所述第二信号或所述第三信号生成第四信号,包括:The multiplexer in turn selects the second signal or the third signal to generate a fourth signal, including:
    根据所述第六信号的高低电平的边沿跳变,轮流选择所述第二信号或所述第三信号生成所述第四信号。And selecting the second signal or the third signal to generate the fourth signal according to the edge transition of the high and low levels of the sixth signal.
  13. 根据权利要求11或12所述的方法,其特征在于,所述第一正信号和所述第一负信号的相位差为180°,所述第五信号的占空比为50%。The method according to claim 11 or 12, wherein the first positive signal and the first negative signal have a phase difference of 180° and the fifth signal has a duty ratio of 50%.
  14. 根据权利要求11或12所述的方法,其特征在于,所述第一正信号和所述第一负信号的相位差为不等于180°的固定值,所述第五信号的占空比与所述第一正信号和所述第一负信号的相位差成正比。The method according to claim 11 or 12, wherein the phase difference between the first positive signal and the first negative signal is a fixed value not equal to 180°, and the duty ratio of the fifth signal is The phase difference between the first positive signal and the first negative signal is proportional.
  15. 根据权利要求11至14中任一项所述的方法,其特征在于,所述边沿触发器为能够进行二分频的边沿触发器。The method according to any one of claims 11 to 14, wherein the edge flip-flop is an edge flip-flop capable of dividing by two.
  16. 根据权利要求11至15中任一项所述的方法,其特征在于,所述输出设备为电感电容LC振荡器。The method according to any one of claims 11 to 15, wherein the output device is an LC LC oscillator.
  17. 根据权利要求11至16中任一项所述的方法,其特征在于,所述第一比较器和所述第二比较器为自偏置比较器。 The method according to any one of claims 11 to 16, wherein the first comparator and the second comparator are self-biased comparators.
PCT/CN2017/072181 2017-01-23 2017-01-23 Signal processing system and signal processing method WO2018133092A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201780000083.6A CN107078723B (en) 2017-01-23 2017-01-23 Signal processing system and method of signal processing
PCT/CN2017/072181 WO2018133092A1 (en) 2017-01-23 2017-01-23 Signal processing system and signal processing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2017/072181 WO2018133092A1 (en) 2017-01-23 2017-01-23 Signal processing system and signal processing method

Publications (1)

Publication Number Publication Date
WO2018133092A1 true WO2018133092A1 (en) 2018-07-26

Family

ID=59613891

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/072181 WO2018133092A1 (en) 2017-01-23 2017-01-23 Signal processing system and signal processing method

Country Status (2)

Country Link
CN (1) CN107078723B (en)
WO (1) WO2018133092A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110333598B (en) * 2019-04-29 2021-04-23 西安知微传感技术有限公司 Method and circuit for acquiring capacitance feedback signal of capacitance feedback type micro torsion mirror

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101340422A (en) * 2007-07-02 2009-01-07 聚积科技股份有限公司 Signal encoder and decoder
CN101546995A (en) * 2008-03-25 2009-09-30 索尼株式会社 Signal processing device
CN103095622A (en) * 2011-11-01 2013-05-08 上海华虹集成电路有限责任公司 Binary phase shift keying (BPSK) signal recovery circuit suitable for ISO14443 protocol
US8829953B1 (en) * 2014-01-09 2014-09-09 Freescale Semiconductor, Inc. Programmable clock divider

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101340422A (en) * 2007-07-02 2009-01-07 聚积科技股份有限公司 Signal encoder and decoder
CN101546995A (en) * 2008-03-25 2009-09-30 索尼株式会社 Signal processing device
CN103095622A (en) * 2011-11-01 2013-05-08 上海华虹集成电路有限责任公司 Binary phase shift keying (BPSK) signal recovery circuit suitable for ISO14443 protocol
US8829953B1 (en) * 2014-01-09 2014-09-09 Freescale Semiconductor, Inc. Programmable clock divider

Also Published As

Publication number Publication date
CN107078723B (en) 2020-08-25
CN107078723A (en) 2017-08-18

Similar Documents

Publication Publication Date Title
US9092013B2 (en) Time-to-digital converter
US10491201B2 (en) Delay circuit, count value generation circuit, and physical quantity sensor
JP5948195B2 (en) Clock generation device and clock data restoration device
US9106235B2 (en) Mesochronous synchronizer with delay-line phase detector
CA2874459C (en) Differential clock signal generator
US7622978B2 (en) Data holding circuit and signal processing circuit
WO2019061077A1 (en) Pulse width modification circuit, pulse width modification method, and electronic apparatus
CN103558753A (en) High-resolution clock detection method and device
WO2018133092A1 (en) Signal processing system and signal processing method
CN111398691A (en) Capacitance detection circuit of touch device, touch device and electronic equipment
WO2017197574A1 (en) Capacitance detection device
WO2021036775A1 (en) Signal generation circuit and method, and digital-to-time conversion circuit and method
CN104980130B (en) The method of the change Rise Time of Square Wave of OSERDES2 based on FPGA
US11275344B2 (en) Time to digital converter
WO2023077694A1 (en) Rc oscillation circuit
CN114509929A (en) Time-to-digital conversion system
JP6055867B2 (en) Random number generator and random number generation method thereof
US20150030117A1 (en) Shift frequency divider circuit
JP6812780B2 (en) Reciprocal count value generation circuit and physical quantity sensor
El-Hadbi et al. Self-Timed Ring Oscillator based Time-to-Digital Converter: A 0.35 μ m CMOS Proof-of-Concept Prototype
CN108318809B (en) Built-in self-test circuit for frequency jitter
WO2023283951A1 (en) Time-of-flight measurement method, circuit, apparatus, storage medium and electronic device
CN105718402B (en) Programmable timing generator
CN102468830B (en) A kind of Method and circuits utilizing multi-phase signals to improve frequency comparator precision
CN215186702U (en) Phase-locked detection device and phase-locked loop

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 17892511

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 17892511

Country of ref document: EP

Kind code of ref document: A1