IP Library Granted Patent US 11,923,863
Granted Patent B2
US 11,923,863 · App. 17/778,473 · Granted Mar 5, 2024

FPGA-based design method and device for equally dividing interval

Inventor: Xiankun Wang (Jiangsu, CN)
Assignee: INSPUR SUZHOU INTELLIGENT TECHNOLOGY CO., LTD.
H03L7/191G06F30/34H03K19/17708
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 11,923,863
App. No.
17/778,473
Granted
Mar 5, 2024
Kind
B2
Abstract

Provided is a FPGA-based design method for equally dividing an interval, including the following steps: dividing the oscillation periods of a second pulse signal of a crystal oscillator clock of a FPGA board by the number of equally divided sampling pulses, and obtaining the remainder thereof; dividing the remainder by the number of the equally divided sampling pulses to serve as an error within each sampling interval; using a counter to count from the second pulse, and stopping the counting of the counter once whenever the error within the sampling interval, which is accumulated within the second pulse interval, is greater than or equal to the vibration period. Further provided is a FPGA-based design device for equally dividing an interval. The present application makes full use of the feature of interval equal division calculation, has high precision, and is easy to implement.

Claims (206)

1. A Field Programmable Gate Array (FPGA)-based design method for equally dividing an interval, comprising the following steps:

dividing oscillation periods of a second pulse signal of a crystal oscillator clock of a FPGA board by a number of equally divided sampling pulses and obtaining a remainder thereof;

dividing the remainder by the number of the equally divided sampling pulses to serve as an error within each sampling interval; and

using a counter to count from the second pulse signal and stopping counting of the counter whenever the error within the sampling interval, which is accumulated within a second pulse interval, is greater than or equal to the oscillation period.

2. The method according to claim 1 , wherein the step of dividing the oscillation periods of the second pulse signal of the crystal oscillator clock of the FPGA board by the number of the equally divided sampling pulses and obtaining the remainder thereof comprises:

dividing the oscillation periods of the second pulse signal of the crystal oscillator clock of the FPGA board by the number of the equally divided sampling pulses to obtain a quotient thereof; and

generating a sampling pulse within each second pulse interval in response to a value of the counter reaching the quotient while the counter is reset and restarts counting.

3. The method according to claim 2 , further comprising:

performing correction according to a correction formula

Bias

=

n

×

R

N

-

m

,

and stopping counting of the counter within each second pulse interval whenever a value of Bias is greater than or equal to 1, wherein:

R

N

represents an error within each sampling interval, R is the remainder, and N is the number of the equally divided sampling pulses;

n represents a number of sampling pulses and is reset at a next second pulse; and

m represents a number of counting stops of the counter within each second pulse interval, a starting value of m is 0, and a value of m is reset at a next second pulse.

4. The method according to claim 3 , further comprising:

performing correction according to a second correction formula

Bias

=

n

×

R

N

-

m

+

1

2

,

and stopping counting of the counter within each second pulse interval whenever the value of Bias is greater than or equal to 1.

5. The method according to claim 4 , further comprising:

performing correction according to a third correction formula

Bias

=

n

×

R

N

-

(

m

+

1

)

+

1

2

=

n

×

R

N

-

k

+

1

2

,

and stopping counting of the counter while incrementing a value of k by 1 within each second pulse interval whenever a value of Bias' is greater than or equal to 0.

6. A Field Programmable Gate Array (FPGA)-based design device for equally dividing an interval, comprising:

one or more processor; and

a memory storing computer-readable instructions executable on the one or more processor, the computer-readable instructions, when executed by the one or more processor, implementing the following steps:

dividing oscillation periods of a second pulse signal of a crystal oscillator clock of a FPGA board by a number of equally divided sampling pulses and obtaining a remainder thereof;

dividing the remainder by the number of the equally divided sampling pulses to serve as an error within each sampling interval; and

using a counter to count from the second pulse signal and stopping counting of the counter whenever the error within the sampling interval, which is accumulated within a second pulse interval, is greater than or equal to the oscillation period.

7. The device according to claim 6 , wherein the step of dividing the oscillation periods of the second pulse signal of the crystal oscillator clock of the FPGA board by the number of the equally divided sampling pulses and obtaining the remainder thereof comprises:

dividing the oscillation periods of the second pulse signal of the crystal oscillator clock of the FPGA board by the number of the equally divided sampling pulses to obtain a quotient thereof; and

generating a sampling pulse within each second pulse interval in response to a value of the counter reaching the quotient while the counter is reset and restarts counting.

8. The device according to claim 7 , wherein the steps further comprise:

performing correction according to a correction formula

Bias

=

n

×

R

N

-

m

,

and stopping counting of the counter within each second pulse interval whenever a value of Bias is greater than or equal to 1, wherein:

R

N

represents an error within each sampling interval, R is the remainder, and N is the number of the equally divided sampling pulses;

n represents a number of sampling pulses and is reset at a next second pulse; and

m represents a number of counting stops of the counter within each second pulse interval, a starting value of m is 0, and a value of m is reset at a next second pulse.

9. The device according to claim 8 , wherein the steps further comprise:

performing correction according to a second correction formula

Bias

=

n

×

R

N

-

m

+

1

2

,

and stopping counting of the counter within each second pulse interval whenever the value of Bias is greater than or equal to 1.

10. The device according to claim 9 , wherein the steps further comprise:

performing correction according to a third correction formula

Bias

=

n

×

R

N

-

(

m

+

1

)

+

1

2

=

n

×

R

N

-

k

+

1

2

,

and stopping counting of the counter while incrementing a value of k by 1 within each second pulse interval whenever a value of Bias' is greater than or equal to 0.

11. A non-volatile storage medium, having computer-readable instructions stored therein, wherein the computer-readable instructions executable by one or more processors are configured to implement the following steps:

dividing oscillation periods of a second pulse signal of a crystal oscillator clock of a Field Programmable Gate Array (FPGA) board by a number of equally divided sampling pulses and obtaining a remainder thereof;

dividing the remainder by the number of the equally divided sampling pulses to serve as an error within each sampling interval; and

using a counter to count from the second pulse signal and stopping counting of the counter whenever the error within the sampling interval, which is accumulated within a second pulse interval, is greater than or equal to the oscillation period.

12. The non-volatile storage medium according to claim 11 , wherein the computer-readable instructions executable by one or more processors are configured to implement the following steps:

dividing the oscillation periods of the second pulse signal of the crystal oscillator clock of the FPGA board by the number of the equally divided sampling pulses to obtain a quotient thereof; and

generating a sampling pulse within each second pulse interval in response to a value of the counter reaching the quotient while the counter is reset and restarts counting.

13. The non-volatile storage medium according to claim 12 , wherein the computer-readable instructions executable by one or more processors are configured to implement the following steps:

performing correction according to a correction formula

Bias

=

n

×

R

N

-

m

and stopping counting of the counter within each second pulse interval whenever a value of Bias is greater than or equal to 1, wherein:

R

N

represents an error within each sampling interval, R is the remainder, and N is the number of the equally divided sampling pulses;

n represents a number of sampling pulses and is reset at a next second pulse; and

m represents a number of counting stops of the counter within each second pulse interval, a starting value of m is 0, and a value of m is reset at a next second pulse.

14. The non-volatile storage medium according to claim 13 , wherein the computer-readable instructions executable by one or more processors are configured to implement the following steps:

performing correction according to a second correction formula

Bias

=

n

×

R

N

-

m

+

1

2

and stopping counting of the counter within each second pulse interval whenever the value of Bias is greater than or equal to 1.

15. The non-volatile storage medium according to claim 14 , wherein the computer-readable instructions executable by one or more processors are configured to implement the following steps:

performing correction according to a third correction formula

Bias

=

n

×

R

N

-

(

m

+

1

)

+

1

2

=

n

×

R

N

-

k

+

1

2

and stopping counting of the counter while incrementing a value of k by 1 within each second pulse interval whenever a value of Bias' is greater than or equal to 0.

Assignments (2)
LICENSE Recorded Jun 30, 2026
From: IEIT SYSTEMS CO., LTD
To: AIVRES SYSTEMS INC.
Reel/Frame 075857/0939 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded May 20, 2022
From: WANG, XIANKUN
To: INSPUR SUZHOU INTELLIGENT TECHNOLOGY CO., LTD.
Reel/Frame 059968/0307 →
Priority Claims (1)
CN 201911421769.X · Dec 31, 2019 · national
Continuity (1)
Related Publication 20220416797A1 · Dec 29, 2022