[go: up one dir, main page]

CN110320406A - Frequency measuring system and its measurement method - Google Patents

Frequency measuring system and its measurement method Download PDF

Info

Publication number
CN110320406A
CN110320406A CN201910245214.8A CN201910245214A CN110320406A CN 110320406 A CN110320406 A CN 110320406A CN 201910245214 A CN201910245214 A CN 201910245214A CN 110320406 A CN110320406 A CN 110320406A
Authority
CN
China
Prior art keywords
frequency
clock pulse
elimination
value
frequency elimination
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201910245214.8A
Other languages
Chinese (zh)
Other versions
CN110320406B (en
Inventor
吴信毅
林鸿儒
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Pegatron Corp
Original Assignee
Pegatron Corp
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 Pegatron Corp filed Critical Pegatron Corp
Publication of CN110320406A publication Critical patent/CN110320406A/en
Application granted granted Critical
Publication of CN110320406B publication Critical patent/CN110320406B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R23/00Arrangements for measuring frequencies; Arrangements for analysing frequency spectra
    • G01R23/02Arrangements for measuring frequency, e.g. pulse repetition rate; Arrangements for measuring period of current or voltage
    • G01R23/10Arrangements for measuring frequency, e.g. pulse repetition rate; Arrangements for measuring period of current or voltage by converting frequency into a train of pulses, which are then counted, i.e. converting the signal into a square wave

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Measuring Frequencies, Analyzing Spectra (AREA)

Abstract

本发明提供一种频率测量系统及其频率测量方法。频率测量系统包括除频器以及运算处理器。除频器接收待测时脉,依据至少一个除频值对待测时脉进行除频操作以产生至少一个除频时脉。运算处理器致能除频器以开始进行除频操作并接收第一除频时脉。运算处理器禁能除频器以结束除频操作并取得第一除频时脉的频率以及在结束除频操作时多个除频时脉的逻辑准位。运算处理器依据第一除频时脉的频率、除频值以及多个除频时脉的逻辑准位进行算数运算以取得待测时脉的测量频率。

The present invention provides a frequency measurement system and a frequency measurement method thereof. The frequency measurement system includes a frequency divider and an operation processor. The frequency divider receives a clock pulse to be measured, and performs a frequency division operation on the clock pulse to be measured according to at least one frequency division value to generate at least one frequency division clock pulse. The operation processor enables the frequency divider to start the frequency division operation and receive a first frequency division clock pulse. The operation processor disables the frequency divider to end the frequency division operation and obtain the frequency of the first frequency division clock pulse and the logic level of multiple frequency division clock pulses when the frequency division operation is ended. The operation processor performs an arithmetic operation according to the frequency of the first frequency division clock pulse, the frequency division value and the logic level of multiple frequency division clock pulses to obtain the measurement frequency of the clock pulse to be measured.

Description

频率测量系统及其测量方法Frequency measurement system and its measurement method

技术领域technical field

本发明涉及一种频率测量系统及其频率测量方法,且特别涉及一种适用于测量时脉频率的频率测量系统以及频率测量方法。The invention relates to a frequency measurement system and a frequency measurement method thereof, and in particular to a frequency measurement system and a frequency measurement method suitable for measuring clock frequency.

背景技术Background technique

以现有计频器(frequency counter)而言,其规格多是以255MHz或350MHz以上的频宽为主,此外现有计频器的价格也较为昂贵。当待测电子装置的待测时脉的频率范围明显地小于现有计频器的频宽规格时,并且有大量待测电子装置的待测时脉需要被测量时,计频器的数量势必要增加。如此一来,计频器的成本会是一个不小的负担。As far as the existing frequency counter is concerned, most of its specifications are based on the bandwidth of 255MHz or above 350MHz, and the price of the existing frequency counter is relatively expensive. When the frequency range of the clock pulse of the electronic device under test is obviously smaller than the bandwidth specification of the existing frequency counter, and there are a large number of clock pulses of the electronic device under test to be measured, the number of frequency counters is bound to be to increase. As a result, the cost of the frequency counter will be a big burden.

发明内容Contents of the invention

本发明提供一种频率测量系统及其测量方法,可有效降低时脉频率的频率测量成本。The invention provides a frequency measurement system and a measurement method thereof, which can effectively reduce the frequency measurement cost of the clock frequency.

本发明的频率测量系统包括除频器以及运算处理器。除频器用以接收待测时脉,依据至少一个除频值对待测时脉进行除频操作以产生对应的至少一个除频时脉。除频值包括第一除频值。运算处理器耦接于除频器。运算处理器用以致能除频器以开始进行除频操作。运算处理器禁能除频器以接收对应于该第一除频值的第一除频时脉的频率以及在结束除频操作时除频时脉的逻辑准位。运算处理器依据第一除频时脉的频率、第一除频值以及除频时脉的逻辑准位依据公式进行算数运算以产生待测时脉的测量频率。The frequency measuring system of the present invention includes a frequency divider and an arithmetic processor. The frequency divider is used for receiving the clock to be measured, and performs a frequency division operation on the clock to be measured according to at least one frequency division value to generate at least one corresponding divided clock. The frequency division value includes a first frequency division value. The operation processor is coupled to the frequency divider. The operation processor is used to enable the frequency divider to start frequency division operation. The arithmetic processor disables the frequency divider to receive the frequency of the first frequency division clock corresponding to the first frequency division value and the logic level of the frequency division clock when the frequency division operation ends. According to the frequency of the first frequency-dividing clock, the first frequency-dividing value and the logical level of the frequency-dividing clock, the arithmetic operation is performed according to the formula to generate the measurement frequency of the clock to be measured.

本发明的频率测量方法包括:接收待测时脉;依据除频值对待测时脉进行除频操作以产生对应的至少一个除频时脉,并且接收对应于第一除频值的第一除频时脉;取得第一除频时脉的频率以及在结束除频操作时除频时脉的逻辑准位;以及依据第一除频时脉的频率、第一除频值以及除频时脉的逻辑准位依据公式进行算数运算以产生待测时脉的测量频率。The frequency measurement method of the present invention includes: receiving the clock pulse to be measured; performing a frequency division operation on the clock pulse to be measured according to the frequency division value to generate at least one corresponding frequency division clock pulse, and receiving the first frequency division corresponding to the first frequency division value frequency clock; obtaining the frequency of the first frequency division clock and the logical level of the frequency division clock when the frequency division operation is completed; and according to the frequency of the first frequency division clock, the first frequency division value and the frequency division clock The logic level of the logic level is calculated according to the formula to generate the measurement frequency of the clock pulse to be measured.

基于上述,本发明通过进行除频操作以产生第一除频时脉的频率以及在结束除频操作时至少一个除频时脉的逻辑准位。并且,依据第一除频时脉的频率、第一除频值以及多个除频时脉的逻辑准位进行算数运算以取得待测时脉的测量频率,以有效降低时脉频率的频率测量成本。Based on the above, the present invention generates the frequency of the first frequency-dividing clock and the logic level of at least one frequency-dividing clock when the frequency-dividing operation ends. Moreover, the arithmetic operation is performed according to the frequency of the first frequency-dividing clock, the first frequency-dividing value, and the logic levels of the plurality of frequency-dividing clocks to obtain the measured frequency of the clock to be measured, so as to effectively reduce the frequency measurement of the clock frequency. cost.

为让本发明的上述特征和优点能更明显易懂,下文特举实施例,并配合说明书附图作详细说明如下。In order to make the above-mentioned features and advantages of the present invention more comprehensible, the following specific embodiments are described in detail with reference to the accompanying drawings.

附图说明Description of drawings

图1是依据本发明一实施例所示出的频率测量系统的示意图。FIG. 1 is a schematic diagram of a frequency measurement system according to an embodiment of the present invention.

图2是依据本发明一实施例所示出的频率测量方法的方法流程图。FIG. 2 is a flow chart of a frequency measurement method according to an embodiment of the present invention.

图3是依据本发明另一实施例所示出的频率测量系统的示意图。Fig. 3 is a schematic diagram of a frequency measurement system according to another embodiment of the present invention.

图4是依据图1的实施例所示出的频率测量系统的示意图。FIG. 4 is a schematic diagram of a frequency measurement system according to the embodiment shown in FIG. 1 .

图5是依据本发明一实施例所示出的频率测量方法的校正方法流程图。FIG. 5 is a flowchart of a calibration method of a frequency measurement method according to an embodiment of the present invention.

附图标记说明:Explanation of reference signs:

100、200 频率测量系统100, 200 frequency measurement system

110、210 除频器110, 210 frequency divider

120、220 运算处理器120, 220 arithmetic processor

122、222 计数器122, 222 counters

124、224 计时器124, 224 timers

230 选择开关230 selector switch

240 低压差分信号接收端240 low voltage differential signal receiver

CLKin 待测时脉CLKin clock pulse to be tested

CLK_1~CLK_4 时脉CLK_1~CLK_4 clock

CLK_cal 校正时脉CLK_cal correction clock

D1~D4 除频时脉D1~D4 frequency division clock pulse

D2L~D4L、D6L~D8L 逻辑准位D2L~D4L, D6L~D8L logic level

D5~D8 除频校正时脉D5~D8 frequency division correction clock pulse

Fa_cal 校正因子Fa_cal correction factor

G_LVDS 低压差分信号产生器G_LVDS Low Voltage Differential Signal Generator

S210~S240 步骤Steps from S210 to S240

S510~S560 步骤Steps from S510 to S560

SC 控制信号SC control signal

SFreq 测量频率SFreq Measurement frequency

具体实施方式Detailed ways

请参考图1,图1是依据本发明一实施例所示出的频率测量系统的示意图。在图1的实施例中,频率测量系统100包括除频器110以及运算处理器120。除频器110用以接收待测时脉CLKin。待测时脉CLKin可例如是来自于外部电子装置所提供的时脉信号。在本实施例中,除频器110具有第一除频值、第二除频值、第三除频值以及第四除频值四个除频值。其中,第一除频值为第二除频值的2倍,第一除频值为第三除频值的4倍,而第一除频值为第四除频值的8倍。举例来说,第一除频值等于16,第二除频值等于8,第三除频值等于4,而第四除频值等于2。除频器110可依据第一除频值对待测时脉CLKin进行除频操作,以产生对应于第一除频值的除频时脉D1。经除频后,除频时脉D1的频率为待测时脉CLKin的频率的1/16倍。除频器110依据第二除频值对待测时脉CLKin进行除频操作,以产生对应于第二除频值的除频时脉D2。经除频后,除频时脉D2的频率为待测时脉CLKin的频率的1/8倍,依此类推。也就是说,经除频后,除频时脉D1的频率是除频时脉D2的频率的1/2倍,除频时脉D1的频率是除频时脉D3的频率的1/4倍,而除频时脉D1的频率是除频时脉D4的频率的1/8倍。Please refer to FIG. 1 , which is a schematic diagram of a frequency measurement system according to an embodiment of the present invention. In the embodiment of FIG. 1 , the frequency measurement system 100 includes a frequency divider 110 and an arithmetic processor 120 . The frequency divider 110 is used for receiving the clock to be tested CLKin. The clock CLKin to be tested can be, for example, a clock signal provided by an external electronic device. In this embodiment, the frequency divider 110 has four frequency division values: a first frequency division value, a second frequency division value, a third frequency division value and a fourth frequency division value. Wherein, the first frequency division value is 2 times of the second frequency division value, the first frequency division value is 4 times of the third frequency division value, and the first frequency division value is 8 times of the fourth frequency division value. For example, the first frequency division value is equal to 16, the second frequency division value is equal to 8, the third frequency division value is equal to 4, and the fourth frequency division value is equal to 2. The frequency divider 110 may perform a frequency division operation on the clock to be measured CLKin according to a first frequency division value to generate a frequency division clock D1 corresponding to the first frequency division value. After frequency division, the frequency of the divided clock D1 is 1/16 times the frequency of the clock CLKin to be tested. The frequency divider 110 performs a frequency division operation on the clock to be measured CLKin according to the second frequency division value to generate a frequency division clock D2 corresponding to the second frequency division value. After frequency division, the frequency of the divided clock D2 is 1/8 times the frequency of the clock CLKin to be tested, and so on. That is to say, after frequency division, the frequency of the frequency division clock D1 is 1/2 times the frequency of the frequency division clock D2, and the frequency of the frequency division clock D1 is 1/4 times the frequency of the frequency division clock D3 , and the frequency of the frequency-dividing clock D1 is 1/8 times the frequency of the frequency-dividing clock D4.

在其他实施例中,除频器110可具有三个除频值,如此一来,除频器110可依据第一除频值对待测时脉CLKin进行除频操作,以产生对应于第一除频值的除频时脉D1。经除频后,除频时脉D1的频率为待测时脉CLKin的频率的1/8倍。除频器110依据第二除频值对待测时脉CLKin进行除频操作,以产生对应于第二除频值的除频时脉D2。经除频后,除频时脉D2的频率为待测时脉CLKin的频率的1/4倍,依此类推。本发明的除频值可以是一个或多个,并不以本实施例为限。In other embodiments, the frequency divider 110 may have three frequency division values. In this way, the frequency divider 110 may perform a frequency division operation on the clock pulse CLKin to be measured according to the first frequency division value to generate a frequency corresponding to the first frequency division value. Frequency division clock D1. After frequency division, the frequency of the divided clock D1 is 1/8 times the frequency of the clock CLKin to be tested. The frequency divider 110 performs a frequency division operation on the clock to be measured CLKin according to the second frequency division value to generate a frequency division clock D2 corresponding to the second frequency division value. After frequency division, the frequency of the divided clock D2 is 1/4 times the frequency of the clock CLKin to be tested, and so on. There may be one or more frequency division values in the present invention, which is not limited to this embodiment.

运算处理器120耦接于除频器110。运算处理器120用以致能除频器110,以使除频器110开始进行除频操作,并且运算处理器120用以禁能除频器110,以使除频器110结束除频操作。在本实施例中,运算处理器120可通过控制信号SC以致能除频器110以使除频器110开始进行除频操作,并且禁能除频器110以使除频器110结束除频操作。运算处理器120在开始进行除频操作后可依据除频时脉D1~D4以取得待测时脉CLKin的测量频率SFreq。在本实施例中,运算处理器120可例如是中央处理单元(Central Processing Unit,CPU),或是其他可程序化的一般用途或特殊用途的微处理器(Microprocessor)、数字信号处理器(Digital Signal Processor,DSP)、特殊应用集成电路(Application SpecificIntegrated Circuits,ASIC)、可程序化逻辑装置(Programmable Logic Device,PLD)或其他类似装置或这些装置的组合。在优选的实施例中,运算处理器120可以是可程序化的微控制器。The arithmetic processor 120 is coupled to the frequency divider 110 . The operation processor 120 is used to enable the frequency divider 110 to make the frequency divider 110 start to perform frequency division operation, and the operation processor 120 is to disable the frequency divider 110 to make the frequency divider 110 to finish the frequency division operation. In this embodiment, the arithmetic processor 120 can enable the frequency divider 110 to start the frequency division operation by the control signal SC, and disable the frequency divider 110 so that the frequency divider 110 ends the frequency division operation. . The arithmetic processor 120 can obtain the measurement frequency SFreq of the clock to be measured CLKin according to the frequency division clocks D1 - D4 after starting the frequency division operation. In this embodiment, the computing processor 120 may be, for example, a central processing unit (Central Processing Unit, CPU), or other programmable general-purpose or special-purpose microprocessor (Microprocessor), digital signal processor (Digital Signal Processor, DSP), Application Specific Integrated Circuits (Application Specific Integrated Circuits, ASIC), Programmable Logic Device (Programmable Logic Device, PLD) or other similar devices or a combination of these devices. In a preferred embodiment, the arithmetic processor 120 may be a programmable microcontroller.

接下来详细说明频率测量方法。请同时参考图1及图2,图2是依据本发明一实施例所示出的频率测量方法的方法流程图。在本实施例中,除频器110于步骤S210接收待测时脉CLKin。步骤S220中,运算处理器120致能除频器110,以使除频器110开始进行除频操作。除频器110通过除频操作来产生除频时脉D1~D4。并且运算处理器120在除频器110开始进行除频操作时也开始接收除频器110所提供的除频时脉D1。Next, the frequency measurement method will be described in detail. Please refer to FIG. 1 and FIG. 2 at the same time. FIG. 2 is a flow chart of a frequency measurement method according to an embodiment of the present invention. In this embodiment, the frequency divider 110 receives the clock to be tested CLKin in step S210 . In step S220, the arithmetic processor 120 enables the frequency divider 110, so that the frequency divider 110 starts to perform frequency division operation. The frequency divider 110 generates frequency-divided clocks D1 - D4 through a frequency-dividing operation. And the arithmetic processor 120 also starts to receive the frequency-dividing clock D1 provided by the frequency divider 110 when the frequency divider 110 starts to perform the frequency-dividing operation.

举例来说,待测时脉CLKin的频率约为16MHz,除频器110通过除频操作来产生具有约1MHz频率的除频时脉D1、具有约2MHz频率的除频时脉D2、具有约4MHz频率的除频时脉D3以及具有约8MHz频率的除频时脉D4。运算处理器120在除频器110开始进行除频操作时也开始接收具有约1MHz频率的除频时脉D1。另举例来说,待测时脉CLKin的频率约为54MHz,运算处理器120在除频器110开始进行除频操作时也开始接收具有约3MHz频率的除频时脉D1,依此类推。For example, the frequency of the clock CLKin to be tested is about 16 MHz, and the frequency divider 110 generates a frequency-divided clock D1 with a frequency of about 1 MHz, a frequency-divided clock D2 with a frequency of about 2 MHz, and a frequency-divided clock D2 with a frequency of about 4 MHz through a frequency division operation. The frequency-dividing clock D3 and the frequency-dividing clock D4 have a frequency of about 8 MHz. The arithmetic processor 120 also starts to receive the frequency-dividing clock D1 with a frequency of about 1 MHz when the frequency divider 110 starts to perform the frequency-dividing operation. For another example, the frequency of the clock CLKin to be tested is about 54 MHz, and the arithmetic processor 120 also starts to receive the frequency-divided clock D1 with a frequency of about 3 MHz when the frequency divider 110 starts to perform the frequency-dividing operation, and so on.

步骤S230中,运算处理器120禁能除频器110,以使除频器110结束除频操作。运算处理器120在结束除频操作时可接收到在开始除频操作与结束除频操作之间的除频时脉D1,借此取得除频时脉D1的频率。In step S230, the arithmetic processor 120 disables the frequency divider 110, so that the frequency divider 110 ends the frequency division operation. The arithmetic processor 120 may receive the frequency division clock D1 between the start of the frequency division operation and the end of the frequency division operation when the frequency division operation ends, so as to obtain the frequency of the frequency division clock D1 .

进一步来说明,在本实施例中,运算处理器120包括计数器122。计数器122可接收除频器110所提供的除频时脉D1,并且在开始进行除频操作时开始计数除频时脉D1的触发的次数。其中除频时脉D1的触发可例如是上升缘触发(rising trigger)或是下降缘触发(falling trigger)。在结束除频操作时,计数器122可接收到开始除频操作与结束除频操作之间的除频时脉D1的触发的次数。运算处理器120可依据触发的次数以及开始除频操作与结束除频操作之间的时间长度以取得除频时脉D1的频率。在本实施例中,运算处理器120还包括计时器124。计时器124可用以提供开始进行除频操作与结束除频操作之间的测量时间。举例来说,当计时器124内部的测量时间被设定为1秒,则运算处理器120会在致能除频器110后1秒禁能除频器110。也就是说,除频器110在开始进行除频操作后1秒会结束除频操作。因此,计数器122可计数测量时间内的除频时脉D1的触发的次数。运算处理器120可依据触发的次数以及计时器124内部的测量时间以取得除频时脉D1的频率。To further illustrate, in this embodiment, the arithmetic processor 120 includes a counter 122 . The counter 122 can receive the frequency-dividing clock D1 provided by the frequency divider 110 , and start counting the number of triggers of the frequency-dividing clock D1 when the frequency-dividing operation starts. The trigger of the frequency-dividing clock D1 can be, for example, a rising edge trigger (rising trigger) or a falling edge trigger (falling trigger). When the frequency division operation ends, the counter 122 may receive the number of triggers of the frequency division clock D1 between the start of the frequency division operation and the end of the frequency division operation. The arithmetic processor 120 can obtain the frequency of the frequency-dividing clock D1 according to the number of triggers and the time length between the start of the frequency-division operation and the end of the frequency-division operation. In this embodiment, the arithmetic processor 120 further includes a timer 124 . The timer 124 can be used to provide a measurement time between the start of the frequency division operation and the end of the frequency division operation. For example, when the internal measurement time of the timer 124 is set to 1 second, the arithmetic processor 120 disables the frequency divider 110 1 second after enabling the frequency divider 110 . That is to say, the frequency divider 110 will end the frequency division operation 1 second after starting the frequency division operation. Therefore, the counter 122 can count the number of triggers of the frequency-dividing clock D1 within the measurement time. The arithmetic processor 120 can obtain the frequency of the frequency-dividing clock D1 according to the number of triggers and the measurement time inside the timer 124 .

运算处理器120还接收除频时脉D2~D4在结束除频操作时的逻辑准位。在步骤S230,运算处理器120可接收除频时脉D2在结束除频操作时的逻辑准位D2L,除频时脉D3在结束除频操作时的逻辑准位D3L以及除频时脉D4在结束除频操作时的逻辑准位D4L。The arithmetic processor 120 also receives logic levels of the frequency-dividing clocks D2 ˜ D4 when the frequency-dividing operation ends. In step S230, the arithmetic processor 120 may receive the logic level D2L of the frequency division clock D2 at the end of the frequency division operation, the logic level D3L of the frequency division clock D3 at the end of the frequency division operation, and the frequency division clock D4 at the end of the frequency division operation. The logic level D4L when the frequency division operation ends.

在此值得一提的是,频率测量系统100是通过除频操作以取得除频时脉D1~D4,因此频率测量系统100可选用处理频率较低的运算处理器120来测量较高频率的待测时脉CLKin。举例来说,以处理频率为48MHz的运算处理器120而言,可测量约700MHz的待测时脉CLKin。因此频率测量系统100的运算处理器120可由处理频率较低的运算处理装置来实现。It is worth mentioning here that the frequency measurement system 100 obtains the frequency-divided clocks D1-D4 through a frequency division operation. Therefore, the frequency measurement system 100 can use an arithmetic processor 120 with a lower processing frequency to measure higher frequency waiting Measure the clock pulse CLKin. For example, taking the operation processor 120 with a processing frequency of 48 MHz, the clock pulse CLKin to be tested of about 700 MHz can be measured. Therefore, the arithmetic processor 120 of the frequency measurement system 100 can be implemented by an arithmetic processing device with a relatively low processing frequency.

接下来,在步骤S240中,运算处理器120依据除频时脉D1的频率、第一除频值(在本实施,第一除频值以16为例)以及逻辑准位D2L~D4L,并通过以下公式(1)进行算数运算,来产生待测时脉CLKin的测量频率SFreq。Next, in step S240, the arithmetic processor 120 is based on the frequency of the frequency-dividing clock D1, the first frequency-dividing value (in this implementation, the first frequency-dividing value is 16 as an example) and logic levels D2L-D4L, and The arithmetic operation is performed by the following formula (1) to generate the measurement frequency SFreq of the clock pulse CLKin to be measured.

SFreq=(FD1)×24+(D2L)×23+(D3L)×22+(D4L)×21...公式(I)SFreq=(FD1)×2 4 +(D2L)×2 3 +(D3L)×2 2 +(D4L)×2 1 ...Formula (I)

其中,FD1是除频时脉D1的频率。举例来说,当除频时脉D1的频率为10.0255MHz,逻辑准位D2L为高逻辑准位,逻辑准位D3L为低逻辑准位,并且逻辑准位D4L为高逻辑准位。运算处理器120则对除频时脉D1与第一除频值进行乘法运算以取得第一乘法运算结果。运算处理器120对逻辑准位D2L与对应于逻辑准位D2L的除频值(在本实施,以8为例)进行乘法运算以取得第二乘法运算结果。运算处理器120对逻辑准位D3L与对应于逻辑准位D3L的除频值(在本实施,以4为例)进行乘法运算以取得第三乘法运算结果。并且,运算处理器120对逻辑准位D4L与对应于逻辑准位D4L的除频值(在本实施,以2为例)进行乘法运算以取得第四乘法运算结果。接下来,运算处理器120对上述的第一乘法运算结果、第二乘法运算结果、第三乘法运算结果以及第四乘法运算结果进行加法运算以产生待测时脉CLKin的测量频率SFreq=(10.0255×1,000,000)×16+(1)×8+(0)×4+(1)×2=160.40801MHz。在一些实施例中,运算处理器120也可以仅仅对上述的第一乘法运算结果与第二乘法运算结果进行加法运算以产生待测时脉CLKin的测量频率SFreq。在一些实施例中,运算处理器120也可以对上述的第一乘法运算结果、第二乘法运算结果以及第三乘法运算结果进行加法运算以产生待测时脉CLKin的测量频率SFreq。Wherein, FD1 is the frequency of the frequency-dividing clock D1. For example, when the frequency of the frequency-dividing clock D1 is 10.0255 MHz, the logic level D2L is a high logic level, the logic level D3L is a low logic level, and the logic level D4L is a high logic level. The arithmetic processor 120 multiplies the frequency-dividing clock D1 by the first frequency-dividing value to obtain a first multiplication result. The arithmetic processor 120 performs a multiplication operation on the logic level D2L and a frequency division value corresponding to the logic level D2L (in this implementation, take 8 as an example) to obtain a second multiplication result. The arithmetic processor 120 performs a multiplication operation on the logic level D3L and a frequency division value corresponding to the logic level D3L (in this implementation, take 4 as an example) to obtain a third multiplication result. Moreover, the arithmetic processor 120 performs a multiplication operation on the logic level D4L and a frequency division value corresponding to the logic level D4L (in this implementation, take 2 as an example) to obtain a fourth multiplication result. Next, the arithmetic processor 120 adds the first multiplication result, the second multiplication result, the third multiplication result and the fourth multiplication result to generate the measured frequency SFreq=(10.0255 ×1,000,000)×16+(1)×8+(0)×4+(1)×2=160.40801MHz. In some embodiments, the operation processor 120 may also only perform an addition operation on the above-mentioned first multiplication result and the second multiplication result to generate the measured frequency SFreq of the clock pulse CLKin to be measured. In some embodiments, the arithmetic processor 120 may also perform an addition operation on the first multiplication result, the second multiplication result and the third multiplication result to generate the measured frequency SFreq of the clock CLKin to be measured.

在此值得一提的是,运算处理器120可在除频器110进行除频操作时接收除频时脉D1的频率,并且运算处理器120可在结束除频操作时取得除频时脉D2~D4的逻辑准位D2L~D4L。运算处理器120在除频操作后依据除频时脉D1的频率、第一除频值以及逻辑准位D2L~D4L进行算数运算以产生待测时脉CLKin的测量频率SFreq,以有效降低时脉频率的频率测量成本。It is worth mentioning here that the arithmetic processor 120 can receive the frequency of the frequency-dividing clock D1 when the frequency divider 110 performs the frequency-dividing operation, and the arithmetic processor 120 can obtain the frequency-dividing clock D2 when the frequency-dividing operation ends. ~D4's logic levels D2L~D4L. After the frequency division operation, the arithmetic processor 120 performs arithmetic operations according to the frequency of the frequency division clock D1, the first frequency division value, and the logic levels D2L-D4L to generate the measurement frequency SFreq of the clock pulse CLKin to be measured, so as to effectively reduce the clock frequency. The frequency measurement cost of frequency.

再请参考图1,在图1的实施例中,运算处理器120在产生待测时脉CLKin的测量频率SFreq之后,可例如是通过RS232、I2C(Inter-Integrated Circuit)、串行周边接口(Serial Peripheral Interface,SPI)、通用序列总线(Universal Serial Bus,USB)等传输方式输出待测时脉CLKin的测量频率SFreq到外部装置。本发明并不以上述列举的传输方式为限。Please refer to FIG. 1 again. In the embodiment of FIG. 1, after the arithmetic processor 120 generates the measurement frequency SFreq of the clock pulse CLKin to be measured, it may, for example, pass RS232, I2C (Inter-Integrated Circuit), serial peripheral interface ( Serial Peripheral Interface (SPI), Universal Serial Bus (Universal Serial Bus, USB) and other transmission methods output the measurement frequency SFreq of the clock pulse CLKin to be measured to an external device. The present invention is not limited to the transmission methods listed above.

图3是依据本发明另一实施例所示出的频率测量系统的示意图。与图1实施例不同的是,在图3实施例的频率测量系统200还包括选择开关230。在本实施例中,选择开关230耦接于除频器210。选择开关230可接收来自于外部的时脉CLK_1~CLK_4,并且选择开关230选择时脉CLK_1~CLK_4的其中之一为待测时脉CLKin。如此一来,频率测量系统200可逐一测量来自于外部的时脉CLK_1~CLK_4的频率,从而减少频率测量系统200的数量。在本实施例中,选择开关230可例如是多工器(multiplexer)。本发明的选择开关可接收外部的多个时脉,本发明并不以本实施例为限。Fig. 3 is a schematic diagram of a frequency measurement system according to another embodiment of the present invention. Different from the embodiment in FIG. 1 , the frequency measurement system 200 in the embodiment in FIG. 3 further includes a selection switch 230 . In this embodiment, the selection switch 230 is coupled to the frequency divider 210 . The selection switch 230 can receive the external clocks CLK_1 - CLK_4 , and the selection switch 230 selects one of the clocks CLK_1 - CLK_4 as the clock CLKin to be tested. In this way, the frequency measurement system 200 can measure the frequencies of the external clocks CLK_1 - CLK_4 one by one, thereby reducing the number of frequency measurement systems 200 . In this embodiment, the selection switch 230 may be, for example, a multiplexer. The selection switch of the present invention can receive multiple external clocks, and the present invention is not limited to this embodiment.

时脉CLK_1~CLK_4可通过低压差分信号产生器G_LVDS而产生低压差分信号形式的时脉CLK_1~CLK_4,以改善时脉CLK_1~CLK_4在传输过程中的抗干扰效果。频率测量系统200还可包括低压差分信号接收端240来接收低压差分信号形式的时脉CLK_1~CLK_4。The clocks CLK_1 - CLK_4 can generate the clocks CLK_1 - CLK_4 in the form of low voltage differential signals through the low voltage differential signal generator G_LVDS, so as to improve the anti-interference effect of the clocks CLK_1 - CLK_4 during transmission. The frequency measurement system 200 may further include a low voltage differential signal receiving end 240 for receiving the clocks CLK_1 - CLK_4 in the form of low voltage differential signals.

请同时参考图4及图5,图4是依据图1的实施例所示出的频率测量系统的示意图。图5是依据本发明一实施例所示出的频率测量方法的校正方法流程图。在本实施例中,频率测量系统100的除频器110在步骤S510可接收具有校正频率Sstd的校正时脉CLK_cal。在本实施例中,校正时脉CLK_cal可例如是外部电子装置所提供的标准时脉,标准时脉所提供的校正频率Sstd例如是10MHz,然本发明并不以此为限。Please refer to FIG. 4 and FIG. 5 at the same time. FIG. 4 is a schematic diagram of a frequency measurement system according to the embodiment shown in FIG. 1 . FIG. 5 is a flowchart of a calibration method of a frequency measurement method according to an embodiment of the present invention. In this embodiment, the frequency divider 110 of the frequency measurement system 100 may receive the corrected clock CLK_cal having the corrected frequency Sstd at step S510 . In this embodiment, the calibration clock CLK_cal may be, for example, a standard clock provided by an external electronic device, and the calibration frequency Sstd provided by the standard clock is, for example, 10 MHz, but the present invention is not limited thereto.

步骤S520中,运算处理器120致能除频器110,以使除频器110开始进行除频操作。除频器110通过除频操作来产生对应于校正时脉CLK_cal的除频校正时脉D5~D8。经除频后,除频校正时脉D5的频率是除频校正时脉D6的频率的1/2倍,除频校正时脉D5的频率是除频校正时脉D7的频率的1/4倍,而除频校正时脉D5的频率是除频校正时脉D8的频率的1/8倍。运算处理器120在除频器110开始进行除频操作时也开始接收除频器110所提供的对应于校正时脉CLK_cal的除频校正时脉D5。In step S520, the arithmetic processor 120 enables the frequency divider 110, so that the frequency divider 110 starts to perform frequency division operation. The frequency divider 110 generates frequency-divided calibration clocks D5 ˜ D8 corresponding to the calibration clock CLK_cal through a frequency division operation. After frequency division, the frequency of the frequency division correction clock D5 is 1/2 times the frequency of the frequency division correction clock D6, and the frequency of the frequency division correction clock D5 is 1/4 times the frequency of the frequency division correction clock D7 , and the frequency of the frequency division correction clock D5 is 1/8 times the frequency of the frequency division correction clock D8. The arithmetic processor 120 also starts to receive the frequency division calibration clock D5 corresponding to the calibration clock CLK_cal provided by the frequency divider 110 when the frequency divider 110 starts to perform frequency division operation.

在步骤S530,运算处理器120禁能除频器110,以使除频器110结束除频操作。运算处理器120在结束除频操作时可接收到在开始除频操作与结束除频操作之间的除频校正时脉D5以取得除频校正时脉D5的频率。关于运算处理器120取得除频校正时脉D5的频率的进一步实施细节,图1与图2的实施例已详尽说明,故不在此重述。运算处理器120在步骤S530还接收除频校正时脉D6在结束除频操作时的逻辑准位D6L,除频校正时脉D7在结束除频操作时的逻辑准位D7L以及除频校正时脉D8在结束除频操作时的逻辑准位D8L。In step S530, the arithmetic processor 120 disables the frequency divider 110, so that the frequency divider 110 ends the frequency division operation. The arithmetic processor 120 may receive the frequency division calibration clock D5 between the start of the frequency division operation and the end of the frequency division operation to obtain the frequency of the frequency division calibration clock D5 when the frequency division operation ends. Regarding the further implementation details of the operation processor 120 obtaining the frequency of the frequency division correction clock D5, the embodiments of FIG. 1 and FIG. 2 have been described in detail, so it will not be repeated here. In step S530, the arithmetic processor 120 also receives the logic level D6L of the frequency division correction clock D6 at the end of the frequency division operation, the logic level D7L of the frequency division correction clock D7 at the end of the frequency division operation, and the frequency division correction clock The logic level D8L of D8 at the end of the frequency division operation.

接下来,在步骤S540中,运算处理器120依据除频校正时脉D5的频率、第一除频值(在本实施中的第一除频值以16为例)以及逻辑准位D6L~D8L,并通过公式(2)进行算数运算,来产生校正时脉CLK_cal的测量频率SFreq_cal。Next, in step S540, the arithmetic processor 120 corrects the frequency of the clock D5, the first frequency division value (the first frequency division value in this embodiment is 16 as an example) and the logic levels D6L-D8L according to the frequency division. , and carry out arithmetic operations through formula (2) to generate the measured frequency SFreq_cal of the corrected clock CLK_cal.

SFreq_cal=(FD2)×16+(D6L)×23+(D7L)×22+(D8L)×21...公式(2)SFreq_cal=(FD2)×16+(D6L)×2 3 +(D7L)×2 2 +(D8L)×2 1 ...Formula (2)

其中,FD2是除频校正时脉D5的频率。Wherein, FD2 is the frequency of the frequency division correction clock D5.

运算处理器120在步骤S550还依据校正时脉CLK_cal的测量频率SFreq_cal以及校正频率Sstd取得校正因子Fa_cal。在本实施例中校正因子Fa_cal可通过公式(3)来取得。The arithmetic processor 120 also obtains the calibration factor Fa_cal according to the measured frequency SFreq_cal of the calibration clock CLK_cal and the calibration frequency Sstd in step S550 . In this embodiment, the correction factor Fa_cal can be obtained through formula (3).

其中K是校正因子Fa_cal的调整常数,用以将校正因子Fa_cal的单位变更为例如是百万分之一(K=1,000,000)或十万分之一(K=100,000)等等。校正因子Fa_cal与运算处理器120本身的处理频率的偏移误差有关。也就是说,运算处理器120本身的处理频率的偏移误差越低,校正因子Fa_cal的数值也就越低。运算处理器120本身的处理频率的偏移误差越高,校正因子Fa_cal的数值也就越高。校正因子Fa_cal的产生可以补偿频率测量系统100频率测量的实际误差。K is an adjustment constant of the correction factor Fa_cal, which is used to change the unit of the correction factor Fa_cal to, for example, one millionth (K=1,000,000) or one hundred thousandth (K=100,000) and so on. The correction factor Fa_cal is related to the offset error of the processing frequency of the arithmetic processor 120 itself. That is to say, the lower the offset error of the processing frequency of the arithmetic processor 120 itself is, the lower the value of the correction factor Fa_cal is. The higher the offset error of the processing frequency of the arithmetic processor 120 itself, the higher the value of the correction factor Fa_cal. The generation of the correction factor Fa_cal can compensate the actual error of the frequency measurement by the frequency measurement system 100 .

在本实施例中,频率测量系统100还可包括暂存器(未示出)来取得校正因子Fa_cal。暂存器可以是任何形态的固定或可移动随机存取存储器(random access memory,RAM)、只读存储器(read-only memory,ROM)、快闪存储器(flash memory)或类似元件或上述元件的组合。本实施例的暂存器可设置于运算处理器120的外部或内部。In this embodiment, the frequency measurement system 100 may further include a register (not shown) to obtain the calibration factor Fa_cal. The scratchpad can be any form of fixed or removable random access memory (random access memory, RAM), read-only memory (read-only memory, ROM), flash memory (flash memory) or similar components or components of the above components combination. The register in this embodiment can be disposed outside or inside the arithmetic processor 120 .

请同时参考图1、图2及图5,频率测量系统100在步骤S240中产生了待测时脉CLKin的测量频率SFreq之后,频率测量系统100可在步骤S560中依据校正因子Fa_cal对待测时脉CLKin的测量频率SFreq进行校正,以产生经校正的测量频率SFreq1。在本实施例中,经校正的测量频率SFreq1可通过公式(4)来取得。Please refer to FIG. 1, FIG. 2 and FIG. 5 at the same time. After the frequency measurement system 100 generates the measurement frequency SFreq of the clock pulse CLKin to be measured in step S240, the frequency measurement system 100 can use the correction factor Fa_cal to measure the clock pulse in step S560. The measurement frequency SFreq of CLKin is corrected to generate a corrected measurement frequency SFreq1. In this embodiment, the corrected measurement frequency SFreq1 can be obtained by formula (4).

如此一来,频率测量系统100可通过校正因子Fa_cal来提高对应于待测时脉CLKin的测量精准度。In this way, the frequency measurement system 100 can improve the measurement accuracy corresponding to the clock pulse CLKin to be measured through the correction factor Fa_cal.

综上所述,本发明通过进行除频操作以产生第一除频时脉的频率以及在结束除频操作时多个除频时脉的逻辑准位。并且,依据第一除频时脉的频率、第一除频值以及多个除频时脉的逻辑准位进行算数运算以产生待测时脉的测量频率,以有效降低时脉频率的频率测量成本。此外,频率测量系统通过选择开关逐一测量来自于外部的多个时脉的频率,以缩短频率测量时间以及减少频率测量系统的数量。并且,频率测量系统还可通过校正因子来提高对应于待测时脉的测量精准度。To sum up, the present invention generates the frequency of the first frequency-dividing clock by performing the frequency-dividing operation and the logic levels of the plurality of frequency-dividing clocks when the frequency-dividing operation ends. In addition, an arithmetic operation is performed according to the frequency of the first frequency-dividing clock, the first frequency-dividing value, and the logic levels of the plurality of frequency-dividing clocks to generate the measured frequency of the clock to be measured, so as to effectively reduce the frequency measurement of the clock frequency. cost. In addition, the frequency measurement system measures the frequencies of multiple external clocks one by one by selecting a switch, so as to shorten the frequency measurement time and reduce the number of frequency measurement systems. Moreover, the frequency measurement system can also improve the measurement accuracy corresponding to the clock pulse to be measured through a correction factor.

虽然本发明已以实施例公开如上,然其并非用以限定本发明,任何所属技术领域中技术人员,在不脱离本发明的构思和范围内,当可作些许的变动与润饰,故本发明的保护范围当视权利要求所界定者为准。Although the present invention has been disclosed as above with the embodiments, it is not intended to limit the present invention. Anyone skilled in the art can make some changes and modifications without departing from the concept and scope of the present invention. Therefore, the present invention The scope of protection shall prevail as defined by the claims.

Claims (22)

1. a kind of frequency measuring system suitable for measuring clock frequency characterized by comprising
One frequency eliminator receives a clock pulse to be measured, carries out a frequency elimination operation to the clock pulse to be measured according to an at least frequency elimination value to generate A corresponding at least frequency elimination clock pulse, wherein an at least frequency elimination value includes one first frequency elimination value;And
One arithmetic processor is coupled to the frequency eliminator, to the enable frequency eliminator to start to carry out the frequency elimination operation and reception pair Should be in one first frequency elimination clock pulse of the first frequency elimination value, the forbidden energy frequency eliminator is operated with to terminate the frequency elimination and obtains first frequency elimination The frequency of clock pulse and when terminating frequency elimination operation an at least frequency elimination clock pulse logic level, and according to first frequency elimination The logic level of the frequency of clock pulse, the frequency elimination value and an at least frequency elimination clock pulse carries out arithmetic operator according to a formula to generate The measurement frequency of the clock pulse to be measured.
2. frequency measuring system as described in claim 1, which is characterized in that at least a frequency elimination value includes multiple and different for this Value, at least a frequency elimination value has multiple proportion each other for this.
3. frequency measuring system as claimed in claim 2, it is characterised in that:
An at least frequency elimination value further includes one second frequency elimination value, a third frequency elimination value and one the 4th frequency elimination value,
The measurement frequency of the clock pulse to be measured is to carry out arithmetic operator according to the following formula to generate: SFreq=(FD1) × 24+ (D2L)×23+(D3L)×22+(D4L)×21,
SFreq is the measurement frequency of the clock pulse to be measured, and FD1 is the frequency of the first frequency elimination clock pulse, and D2L corresponds to this and second removes The logic level of the frequency elimination clock pulse of frequency value, D3L correspond to the logic level of the frequency elimination clock pulse of the third frequency elimination value, and D4L corresponds to the logic level of the frequency elimination clock pulse of the 4th frequency elimination value.
4. frequency measuring system as described in claim 1, which is characterized in that the arithmetic processor includes:
One counter receives the first frequency elimination clock pulse, and counts the triggering times of the first frequency elimination clock pulse.
5. frequency measuring system as claimed in claim 4, which is characterized in that the arithmetic processor further include:
One timer, to provide start to carry out the frequency elimination operation and terminate the frequency elimination operation between a time of measuring.
6. frequency measuring system as claimed in claim 5, which is characterized in that the arithmetic processor according to this also first to remove The triggering times of frequency clock pulse and the time of measuring calculate the frequency of the first frequency elimination clock pulse.
7. frequency measuring system as described in claim 1, which is characterized in that further include:
One selection switch, is coupled to the frequency eliminator, to select one of multiple clock pulses for the clock pulse to be measured.
8. frequency measuring system as described in claim 1, which is characterized in that the frequency eliminator also has a correction frequency to receive One correction clock pulse of rate, carries out the frequency elimination operation to the correction clock pulse according to an at least frequency elimination value to generate corresponding at least one Frequency elimination corrects clock pulse, and the arithmetic processor enable frequency eliminator is to start to carry out the frequency elimination operation and receive to correspond to this and first remove One first frequency elimination of frequency value corrects clock pulse, operates to terminate the frequency elimination and obtains the first frequency elimination timing when the forbidden energy frequency eliminator The frequency of arteries and veins and when terminating frequency elimination operation those frequency eliminations correction clock pulse logic level, and according to the first frequency elimination school The logic level that frequency, the first frequency elimination value and those frequency eliminations of positive clock pulse correct clock pulse carries out arithmetic operator to generate the school The measurement frequency of positive clock pulse obtains a correction factor according to the measurement frequency of the correction clock pulse and the correction frequency, and foundation should Correction factor is corrected the measurement frequency of the clock pulse to be measured.
9. frequency measuring system as claimed in claim 8, which is characterized in that the arithmetic processor is to the measurement frequency and the school Positive frequency carries out subtraction to obtain a subtraction as a result, to the subtraction result divided by the correction frequency and multiplied by one Adjust constant to generate the correction factor,
Wherein unit of the adjustment constant to change the correction factor.
10. frequency measuring system as claimed in claim 9, which is characterized in that the arithmetic processor to the correction factor divided by The adjustment constant and plus 1 to obtain an operation result, and to the measurement frequency of the clock pulse to be measured divided by the operation result with Generate corrected measurement frequency.
11. frequency measuring system as claimed in claim 8, which is characterized in that the frequency measuring system further include:
One buffer, to store the correction factor.
12. a kind of frequency measurement method suitable for measuring clock frequency characterized by comprising
Receive a clock pulse to be measured;
One frequency elimination operation is carried out to generate a corresponding at least frequency elimination clock pulse to the clock pulse to be measured according to an at least frequency elimination value, and Receive the one first frequency elimination clock pulse for corresponding to one first frequency elimination value of an at least frequency elimination value;
Terminate the frequency elimination operation, and obtain the first frequency elimination clock pulse frequency and terminate the frequency elimination operation when this at least one removes The logic level of frequency clock pulse;And
Logic level according to the frequency of the first frequency elimination clock pulse, the first frequency elimination value and an at least frequency elimination clock pulse is according to one Formula carries out arithmetic operator to generate the measurement frequency of the clock pulse to be measured.
13. frequency measurement method as claimed in claim 12, which is characterized in that at least a frequency elimination value includes multiple and different for this Value, at least a frequency elimination value has multiple proportion each other for this.
14. frequency measurement method as claimed in claim 13, it is characterised in that:
An at least frequency elimination value further includes one second frequency elimination value, a third frequency elimination value and one the 4th frequency elimination value,
The measurement frequency of the clock pulse to be measured is to carry out arithmetic operator according to the following formula to generate: SFreq=(FD1) × 24+ (D2L)×23+(D3L)×22+(D4L)×21,
SFreq is the measurement frequency of the clock pulse to be measured, and FD1 is the frequency of the first frequency elimination clock pulse, and D2L corresponds to this and second removes The logic level of the frequency elimination clock pulse of frequency value, D3L correspond to the logic level of the frequency elimination clock pulse of the third frequency elimination value, and D4L corresponds to the logic level of the frequency elimination clock pulse of the 4th frequency elimination value.
15. frequency measurement method as claimed in claim 12, which is characterized in that terminate the frequency elimination operation, and obtain this first The frequency of frequency elimination clock pulse and this at least the logic level of a frequency elimination clock pulse the step of include:
The first frequency elimination clock pulse is received, and counts the triggering times of the first frequency elimination clock pulse.
16. frequency measurement method as claimed in claim 15, which is characterized in that further include:
It provides and starts to carry out the frequency elimination operation and terminate the time of measuring between frequency elimination operation.
17. frequency measurement method as claimed in claim 16, which is characterized in that obtain the first frequency elimination clock pulse frequency and This at least the logic level of a frequency elimination clock pulse the step of further include:
The frequency of the first frequency elimination clock pulse is calculated according to the triggering times of the first frequency elimination clock pulse and the time of measuring.
18. frequency measurement method as claimed in claim 12, which is characterized in that further include:
Select one of multiple clock pulses for the clock pulse to be measured.
19. frequency measurement method as claimed in claim 12, which is characterized in that further include:
Receive a correction clock pulse with a correction frequency;
Frequency elimination operation is carried out to the clock pulse to be measured according to an at least frequency elimination value and corrects clock pulse to generate a corresponding at least frequency elimination, And receive the one first frequency elimination correction clock pulse of the corresponding first frequency elimination value;
It obtains the frequency of first frequency elimination correction clock pulse and those frequency eliminations corrects the logic of clock pulse when terminating frequency elimination operation Level;
According to first frequency elimination correction frequency of clock pulse, the first frequency elimination value and those frequency eliminations correction clock pulse logic level into Row arithmetic operator is to generate the measurement frequency of the correction clock pulse;
A correction factor is obtained according to the measurement frequency of the correction clock pulse and the correction frequency;And
It is corrected according to measurement frequency of the correction factor to the clock pulse to be measured.
20. frequency measurement method as claimed in claim 19, which is characterized in that the frequency according to first frequency elimination correction clock pulse The logic level of rate, the first frequency elimination value and those frequency eliminations correction clock pulse carries out survey of the arithmetic operator to generate the correction clock pulse Measure frequency the step of include:
Subtraction is carried out to obtain a subtraction result to the measurement frequency and the correction frequency;And
To the subtraction result divided by the correction frequency and multiplied by an adjustment constant to obtain the correction factor,
Wherein unit of the adjustment constant to change the correction factor.
21. frequency measurement method as claimed in claim 20, which is characterized in that according to the correction factor to the clock pulse to be measured The step of measurement frequency is corrected include:
To the correction factor divided by the adjustment constant and plus 1 to obtain an operation result;And
Corrected measurement frequency is generated divided by the operation result to the measurement frequency of the clock pulse to be measured.
22. frequency measurement method as claimed in claim 19, which is characterized in that according to the correction clock pulse measurement frequency and The step of correction frequency obtains the correction factor include:
Store the correction factor.
CN201910245214.8A 2018-03-30 2019-03-28 Frequency measurement system and measurement method thereof Active CN110320406B (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
TW107111411 2018-03-30
TW107111411A TWI653833B (en) 2018-03-30 2018-03-30 Frequency measurement system and measurement method thereof

Publications (2)

Publication Number Publication Date
CN110320406A true CN110320406A (en) 2019-10-11
CN110320406B CN110320406B (en) 2021-11-09

Family

ID=66590802

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910245214.8A Active CN110320406B (en) 2018-03-30 2019-03-28 Frequency measurement system and measurement method thereof

Country Status (2)

Country Link
CN (1) CN110320406B (en)
TW (1) TWI653833B (en)

Citations (23)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US3917912A (en) * 1973-03-06 1975-11-04 Nippon Electric Co Multifrequency dialing signal receiver for push-button type telephone systems
JPH01222592A (en) * 1988-03-01 1989-09-05 Sharp Corp Synchronizing signal generator
SU1649638A1 (en) * 1989-05-10 1991-05-15 Предприятие П/Я Г-4158 Frequency difference detector
CN1096103A (en) * 1993-05-31 1994-12-07 浩威自动化股份有限公司 frequency counter
JPH118551A (en) * 1997-06-18 1999-01-12 Matsushita Electric Ind Co Ltd Latch miss detection circuit and PLL circuit
JPH11154943A (en) * 1997-11-21 1999-06-08 Oki Electric Ind Co Ltd Serial interface circuit
US6538517B2 (en) * 2000-12-19 2003-03-25 Intel Corporation Frequency phase detector for differentiating frequencies having small phase differences
JP2003143104A (en) * 2001-10-31 2003-05-16 Pegasus Net Kk Method for reducing power line carrier noise by decoding spread modulation and demodulation
CN1540868A (en) * 2003-04-01 2004-10-27 精工爱普生株式会社 Frequency Synthesizer Using All-Digital Frequency Detector and Analog Phase Detector
CN1747327A (en) * 2004-09-10 2006-03-15 联发科技股份有限公司 Anti-clock pulse jitter delay-locked loop and method for locking delayed clock pulse
CN101051838A (en) * 2006-04-06 2007-10-10 联发科技股份有限公司 Phase frequency detector with limited output pulse width and method thereof
CN101101309A (en) * 2007-04-24 2008-01-09 北京大学深圳研究生院 A Phase Frequency Discriminator
CN101188420A (en) * 2006-11-16 2008-05-28 普诚科技股份有限公司 Loop system capable of automatically correcting oscillation frequency range and related method thereof
US20080122491A1 (en) * 2006-09-20 2008-05-29 Chien-Wei Kuan Frequency comparator, frequency synthesizer, and related methods thereof
CN101212212A (en) * 2006-12-30 2008-07-02 凌阳科技股份有限公司 High precision oscillator with self-calibration function and calibration method
CN101471658A (en) * 2007-12-26 2009-07-01 扬智科技股份有限公司 Phase-locked loop device and control method thereof
TWM368069U (en) * 2009-03-25 2009-11-01 Azurewave Technologies Inc Radio frequency performance testing structure with electronic switching function
CN101738548A (en) * 2008-11-27 2010-06-16 英业达股份有限公司 Clock detecting circuit and clock supplying device
US20130002319A1 (en) * 2011-06-29 2013-01-03 Samsung Electroincs Co., Ltd. Frequency Divider and Phase Locked Loop Including the Same
CN102981052A (en) * 2012-11-09 2013-03-20 苏州市职业大学 Broadband electronic frequency meter
CN104135278A (en) * 2014-05-27 2014-11-05 英属开曼群岛威睿电通股份有限公司 Gain measurement system and method of voltage-controlled oscillator
CN104569580A (en) * 2014-12-30 2015-04-29 安徽丹凤集团桐城玻璃纤维有限公司 Broadband digital frequency meter
CN104730336A (en) * 2013-12-19 2015-06-24 财团法人资讯工业策进会 Frequency detection device and frequency detection method

Patent Citations (23)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US3917912A (en) * 1973-03-06 1975-11-04 Nippon Electric Co Multifrequency dialing signal receiver for push-button type telephone systems
JPH01222592A (en) * 1988-03-01 1989-09-05 Sharp Corp Synchronizing signal generator
SU1649638A1 (en) * 1989-05-10 1991-05-15 Предприятие П/Я Г-4158 Frequency difference detector
CN1096103A (en) * 1993-05-31 1994-12-07 浩威自动化股份有限公司 frequency counter
JPH118551A (en) * 1997-06-18 1999-01-12 Matsushita Electric Ind Co Ltd Latch miss detection circuit and PLL circuit
JPH11154943A (en) * 1997-11-21 1999-06-08 Oki Electric Ind Co Ltd Serial interface circuit
US6538517B2 (en) * 2000-12-19 2003-03-25 Intel Corporation Frequency phase detector for differentiating frequencies having small phase differences
JP2003143104A (en) * 2001-10-31 2003-05-16 Pegasus Net Kk Method for reducing power line carrier noise by decoding spread modulation and demodulation
CN1540868A (en) * 2003-04-01 2004-10-27 精工爱普生株式会社 Frequency Synthesizer Using All-Digital Frequency Detector and Analog Phase Detector
CN1747327A (en) * 2004-09-10 2006-03-15 联发科技股份有限公司 Anti-clock pulse jitter delay-locked loop and method for locking delayed clock pulse
CN101051838A (en) * 2006-04-06 2007-10-10 联发科技股份有限公司 Phase frequency detector with limited output pulse width and method thereof
US20080122491A1 (en) * 2006-09-20 2008-05-29 Chien-Wei Kuan Frequency comparator, frequency synthesizer, and related methods thereof
CN101188420A (en) * 2006-11-16 2008-05-28 普诚科技股份有限公司 Loop system capable of automatically correcting oscillation frequency range and related method thereof
CN101212212A (en) * 2006-12-30 2008-07-02 凌阳科技股份有限公司 High precision oscillator with self-calibration function and calibration method
CN101101309A (en) * 2007-04-24 2008-01-09 北京大学深圳研究生院 A Phase Frequency Discriminator
CN101471658A (en) * 2007-12-26 2009-07-01 扬智科技股份有限公司 Phase-locked loop device and control method thereof
CN101738548A (en) * 2008-11-27 2010-06-16 英业达股份有限公司 Clock detecting circuit and clock supplying device
TWM368069U (en) * 2009-03-25 2009-11-01 Azurewave Technologies Inc Radio frequency performance testing structure with electronic switching function
US20130002319A1 (en) * 2011-06-29 2013-01-03 Samsung Electroincs Co., Ltd. Frequency Divider and Phase Locked Loop Including the Same
CN102981052A (en) * 2012-11-09 2013-03-20 苏州市职业大学 Broadband electronic frequency meter
CN104730336A (en) * 2013-12-19 2015-06-24 财团法人资讯工业策进会 Frequency detection device and frequency detection method
CN104135278A (en) * 2014-05-27 2014-11-05 英属开曼群岛威睿电通股份有限公司 Gain measurement system and method of voltage-controlled oscillator
CN104569580A (en) * 2014-12-30 2015-04-29 安徽丹凤集团桐城玻璃纤维有限公司 Broadband digital frequency meter

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
XUEMEI LEI: "A high speed low power pulse swallow frequency divider for DRM/DAB frequency synthesizer", 《2009 INTERNATIONAL CONFERENCE ON WIRELESS COMMUNICATIONS & SIGNAL PROCESSING》 *
上传者:DLHSS: "正反器之应用", 《原创力文档》 *
上传者:XIAOZU: "逻辑准位概述", 《原创力文档》 *
张磊: "频率综合器的快速自校准研究", 《中国优秀硕士学位论文全文数据库信息科技辑》 *

Also Published As

Publication number Publication date
CN110320406B (en) 2021-11-09
TWI653833B (en) 2019-03-11
TW201943210A (en) 2019-11-01

Similar Documents

Publication Publication Date Title
JP5965223B2 (en) Clock correction circuit and clock correction method
TW201303315A (en) Method and system for measuring frequency
EP2026469A1 (en) Circuit device and method of measuring clock jitter
KR100768050B1 (en) Frequency measuring circuit
TW201304418A (en) Method and system for calibrating frequency
JP2013024853A (en) Frequency counter
JPWO2006038468A1 (en) Phase difference measurement circuit
CN109976955B (en) Clock frequency test circuit and measuring and calculating method
TW201303532A (en) Method and system for measuring time
CN110320406A (en) Frequency measuring system and its measurement method
CN112558519A (en) Digital signal delay method based on FPGA and high-precision delay chip
CN104635046A (en) Modulation domain frequency counter and continuous frequency measurement method thereof
EP2677325A2 (en) Physical quantity measuring apparatus and physical quantity measuring method
JP5914718B2 (en) Time base with oscillator, frequency division circuit and clock pulse suppression circuit
EP0236108B1 (en) Tacho signal processing
TW201303533A (en) Method and system for measuring distance
CN114546029B (en) Control chip, MCU chip, MPU chip and DSP chip
Yurish et al. Measurement error analysis and uncertainty reduction for period-and time-interval-to-digital converters based on microcontrollers
Lusardi et al. Fully programmable system for multi-channel experiments targeting to time measurement at high performance
CN110687773B (en) Method, device and system for measuring timing accuracy of time unified system
CN114759914A (en) Real-time clock calibration method, real-time clock calibration circuit and chip
Teodorescu et al. Improving time measurement precision in embedded systems with a hybrid measuring method
JPH0850151A (en) Frequency-voltage converting device
JPH07301685A (en) Clock circuit
CN103197108A (en) Equivalent sampling method of data acquisition card

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant