IP Library Granted Patent US 10,013,018
Granted Patent B2
US 10,013,018 · App. 15/230,484 · Granted Jul 3, 2018

Sine wave generating apparatus and method

Inventor: Guangyao Wang (Shenzhen, CN)
Assignee: Shenzhen Goodix Technology Co., Ltd.
G06F1/0321G06F1/0328H03K3/012G06F1/022G06F1/03
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 10,013,018
App. No.
15/230,484
Granted
Jul 3, 2018
Kind
B2
Abstract

A sine wave generating apparatus comprises: a phase accumulating module, configured to acquire configuration information of a sine wave, and generate address information comprising integer address information and decimal address information; a value searching module, configured to search for first data information and second data information of the sine wave according to the integer address information; an interpolation module, configured to conduct interpolation between the first data information and the second data information, and acquire interpolation original data information of the sine wave according to the decimal address information; a random truncating module, configured to conduct truncation processing on the interpolation original data according to the bit width of the decimal address information and a pseudorandom sequence output value to acquire final interpolation data information of the sine wave; and a sine wave generating module, configured to generate image information of the sine wave according to the final interpolation data information of the sine wave.

Claims (36)

1. A sine wave generating apparatus, comprising:

a phase accumulating module, configured to acquire configuration information of a sine wave, and generate address information of the sine wave according to the configuration information of the sine wave, wherein the address information of the sine wave comprises integer address information and decimal address information;

a value searching module, configured to search for first data information and second data information of the sine wave according to the integer address information;

an interpolation module, configured to conduct interpolation between the first data information and the second data information according to a bit width of the decimal address information, and acquire interpolation original data information of the sine wave according to the decimal address information;

a random truncating module, configured to conduct truncation processing on the interpolation original data according to the bit width of the decimal address information and a pseudorandom sequence output value to acquire final interpolation data information of the sine wave; and

a sine wave generating module, configured to generate image information of the sine wave according to the final interpolation data information of the sine wave.

2. The sine wave generating apparatus according to claim 1 , wherein the value searching module stores a first value search table and a second value search table, wherein the first value search table stores one piece of the data information of the sine wave corresponding to odd address information/even address information in the integer address information, and the second value search table stores the other piece of the data information of the sine wave corresponding to the even address information/the odd address information in the integer address information.

3. The sine wave generating apparatus according to claim 2 , wherein the value searching module comprises a random access memory or a read-only memory, and the first value search table and the second value search table are stored in the random access memory or the read-only memory.

4. The sine wave generating apparatus according to claim 3 , wherein the value searching module is further configured to conduct value searching in the first value search table/the second value search table according to the integer address information to acquire the first data information corresponding to the integer address information, and conduct value searching in the second value search table according to next integer address information adjacent to the integer address information to acquire the second data information corresponding to the next integer address information.

5. The sine wave generating apparatus according to claim 1 , further comprising:

a rounding module, configured to round down the address information of the sine wave to acquire the integer address information of the sine wave.

6. The sine wave generating apparatus according to claim 1 , wherein the phase accumulating module comprises:

a storage unit, configured to store the configuration information of the sine wave, wherein the configuration information of the sine wave comprises an initial phase and frequency of the sine wave.

7. The sine wave generating apparatus according to claim 6 , wherein the phase accumulating module further comprises:

a counting unit, configured to conduct accumulative counting for the phase accumulating module according to a clock pulse.

8. The sine wave generating apparatus according to claim 1 , wherein the random truncating module comprises:

a pseudorandom sequence generating unit, configured to output the pseudorandom sequence output value according to a predetermined bit width.

9. A method for generating sine wave, comprising:

acquiring configuration information of a sine wave, and generating address information of the sine wave according to the configuration information of the sine wave, wherein the address information of the sine wave comprises integer address information and decimal address information;

searching for first data information and second data information of the sine wave according to the integer address information;

conducting interpolation between the first data information and the second data information according to a bit width of the decimal address information, and acquiring interpolation original data information of the sine wave according to the decimal address information;

conducting truncation processing on the interpolation original data according to the bit width of the decimal address information and a pseudorandom sequence output value to acquire final interpolation data information of the sine wave; and

generating image information of the sine wave according to the final interpolation data information of the sine wave.

10. The method according to claim 9 , wherein the searching for first data information and second data information of the sine wave according to the integer address information comprises:

acquiring a first value search table and a second value search table; and

conducting value searching in the first value search table/the second value search table according to the integer address information to acquire the first data information corresponding to the integer address information, and conducting value searching in the second value search table according to next integer address information adjacent to the integer address information to acquire the second data information corresponding to the next integer address information.

11. The method according to claim 10 , wherein the first value search table stores one piece of the data information of the sine wave corresponding to odd address information/even address information in the integer address information, and the second value search table stores the other piece of the data information of the sine wave corresponding to the even address information/the odd address information in the integer address information.

12. The method according to claim 11 , wherein the first value search table and the second value search table are stored in a random access memory or a read-only memory.

13. The method according to claim 9 , wherein upon the generating address information of the sine wave according to the configuration information of the sine wave, the method further comprises:

rounding down the address information of the sine wave to acquire the integer address information of the sine wave.

14. The method according to claim 9 , wherein upon the acquiring configuration information of a sine wave, the method further comprises:

storing the configuration information of the sine wave, wherein the configuration information of the sine wave comprises an initial phase and frequency of the sine wave.

15. The method according to claim 14 , wherein prior to the generating address information of the sine wave according to the configuration information of the sine wave, the method further comprises:

conducting accumulative counting according to a clock pulse.

16. The method according to claim 9 , wherein prior to the conducting truncation processing on the interpolation original data according to a bit width of the decimal address information and a pseudorandom sequence output value, the method further comprises:

outputting the pseudorandom sequence output value according to a predetermined bit width.

Assignments (2)
CHANGE OF NAME Recorded Jul 10, 2017
From: SHENZHEN HUIDING TECHNOLOGY CO., LTD.
To: SHENZHEN GOODIX TECHNOLOGY CO., LTD.
Reel/Frame 042956/0775 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Aug 8, 2016
From: WANG, GUANGYAO
To: SHENZHEN HUIDING TECHNOLOGY CO., LTD.
Reel/Frame 039601/0286 →
Priority Claims (1)
CN 2014 1 0050499 · Feb 13, 2014 · national
Continuity (2)
Continuation PCTCN2014084421 · Aug 14, 2014
Related Publication 20160342174A1 · Nov 24, 2016