IP Library Granted Patent US 9,210,471
Granted Patent B2
US 9,210,471 · App. 14/187,446 · Granted Dec 8, 2015

Data sampling and data encryption/decryption method and electronic device utilizing the methods

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 9,210,471
App. No.
14/187,446
Granted
Dec 8, 2015
Kind
B2
Abstract

In one embodiment of the present invention, a signal sampling method is provided. It comprises: (a) sampling an input signal with respect to a sampling clock signal; (b) calculating a maximum transition timing and a minimum transition timing of the input signal according to a relation between the sampling in step (a) and a reference timing clock; (c) defining a voltage level transition interval according to the maximum transition timing and the minimum transition timing; and (d) determining phase of the sampling clock signal or phase of the input signal according to the voltage level transition interval.

Claims (54)

1. A signal sampling method, comprising:

(a) sampling an input signal with respect to a sampling clock signal;

(b) calculating a maximum transition timing and a minimum transition timing of the input signal according to a relation between the sampling in step (a) and a reference clock signal;

(c) defining a voltage level transition interval according to the maximum transition timing and the minimum transition timing; and

(d) determining phase of the sampling clock signal or phase of the input signal according to the voltage level transition interval,

wherein the step (b) further comprises:

setting an earlier one of a first transition timing and a second transition timing as the minimum transition timing and setting the other one of the first transition timing and the second transition timing as the maximum transition timing if the input signal transits the voltage level at the first transition timing and the consecutive second transition timing and difference between the first transition timing and the second transition timing is shorter than one half of the period of the reference clock signal, and

wherein the step (b) further comprises:

setting a third transition timing as the maximum transition timing if the input signal transits the voltage level at the third transition timing when the third transition timing occurs earlier than the time the maximum transition timing plus one half of the period of the reference clock signal as well as earlier than the time the minimum transition timing minus one half of the period of the reference signal clock, and, when the maximum transition time period occurs later than one half of the period of the reference clock signal.

2. The method claim 1 , further comprising:

accumulating a counter value each time the sampling in step (a) is detected from when a specific voltage level transition timing of the reference clock signal occurs;

calculating the maximum transition timing and the minimum transition timing according to the counter value; and

resetting the counter value when a next specific voltage level transition timing occurs.

3. The method of claim 1 , wherein the step (b) further comprises:

setting a first transition timing as the maximum transition timing and the minimum transition timing if the maximum transition timing and the minimum transition timing both are zero and also the input signal transits the voltage level at the first transition timing.

4. The method of claim 1 , wherein the step (b) further comprises:

setting a first transition timing as the maximum transition timing and the minimum transition timing if the input signal transits the voltage level at the first transition timing in consecutive time periods.

5. The method of claim 1 , wherein the step (b) further comprises:

setting a third transition timing as the minimum transition timing if the input signal transits the voltage level at the third transition timing when the third transition timing occurs later than the time the maximum transition timing plus one half of the period of the reference clock signal and when the minimum transition timing occurs earlier than one half of the period of the reference clock signal.

6. The method of claim 1 , wherein the step (b) further comprises:

setting a third transition timing as the maximum transition timing if the input signal transits the voltage level at the third transition timing when the third transition timing occurs earlier than the time the maximum transition timing plus one half of the period of the reference clock signal as well as later than the time the minimum transition timing minus one half of the time period of the reference clock signal, and, when the third transition timing occurs later than the maximum transition timing.

7. The method of claim 1 , wherein the step (b) further comprises:

setting a third transition timing as the minimum transition timing if the input signal transits the voltage level at the third transition timing when the third transition timing occurs earlier than the time the maximum transition plus one half of the period of the reference clock signal as well as later than the time the minimum transition timing minus one half of the period of the reference clock signal, and, when the third transition timing occurs earlier than the minimum transition timing and the maximum transition timing.

8. The method of claim 1 , wherein the step (b) further comprises:

setting an later one of a first transition timing and a second transition timing as the minimum transition timing and setting an earlier one of the first transition timing and the second transition timing as the maximum transition timing if the input signal transits the voltage level at the first transition timing and the consecutive second transition timing and difference between the first transition timing and the second transition timing is longer than one half of the period of the reference clock signal.

9. The method of claim 8 , wherein the step (b) further comprises:

setting a third transition timing as the minimum transition timing if the input signal transits the voltage level at the third transition timing when the third transition timing occurs later than the time the maximum transition timing plus one half of the period of the reference clock signal and when the minimum transition timing occurs later than one half of the period of the reference clock signal, and, when the third transition timing occurs earlier than the minimum transition timing.

10. The method of claim 8 , wherein the step (b) further comprises:

setting a third transition timing as the maximum transition timing if the input signal transits the voltage level at the third transition timing when the third transition timing occurs earlier than the time the maximum transition timing plus one half of the period of the reference clock signal as well as earlier than the time the minimum transition timing minus a half of the time period of the reference clock signal, and when the maximum transition timing occurs earlier than a half of the time period of the reference clock signal, and when the third transition timing occurs later than the maximum transition timing.

11. A signal sampling device, comprising:

a sampling circuit, configured for sampling an input signal with respect to a sampling clock signal; and

a control unit, configured for calculating a maximum transition timing and a minimum transition timing of the input signal according to a relation between the sampling in the sampling step performed by the sampling circuit and a reference clock signal; defining a voltage level transition interval according to the maximum transition timing and the minimum transition timing; and determining phase of the sampling clock signal or phase of the input signal according to the voltage level transition interval,

wherein the control unit is further configured for setting an earlier one of a first transition timing and a second transition timing as the minimum transition timing and setting the other one of the first transition timing and the second transition timing as the maximum transition timing if the input signal transits the voltage levels at the first transition timing and the consecutive second transition timing and difference between the first transition timing and the second transition timing is shorter than one half of the period of the reference clock signal, and

wherein the control unit is further configured for setting a third transition timing as the maximum transition timing if the input signal transits the voltage level at the third transition timing when the third transition timing occurs earlier than the time the maximum transition timing plus one half of the period of the reference clock signal as well as earlier than the time the minimum transition timing minus one half of the period of the reference clock signal and when the maximum transition time period occurs later than one half of the period of the reference clock signal.

12. The signal sampling device of claim 11 , further comprises a counter, wherein the counter is configured for accumulating a counter value each time the sampling in the sampling step is detected from when a specific voltage level transition timing of the reference clock signal occurs, wherein the control unit is further configured for calculating the maximum transition timing and the minimum transition timing according to the counter value; and resetting the counter value when a next specific voltage level transition timing occurs.

13. The signal sampling device of claim 11 , wherein the control unit is further configured for setting a first transition timing as the maximum transition timing and the minimum transition timing if the maximum transition timing and the minimum transition timing both are zero and also the input signal transits the voltage level at the first transition timing.

14. The signal sampling device of claim 11 , wherein the control unit is further configured for setting a first transition timing as the maximum transition timing and the minimum transition timing if the input signal transits the voltage level at the first transition timing in consecutive time periods.

15. The signal sampling device of claim 11 , wherein the control unit is further configured for setting a third transition timing as the minimum transition timing if the input signal transits the voltage level at the third transition timing when:

the third transition timing occurs later than the time the maximum transition timing plus one half of the period of the reference clock signal and when the minimum transition timing is earlier than one half time period of the reference clock signal.

16. The signal sampling device of claim 11 , wherein the control unit is further configured for setting a third transition timing as the maximum transition timing if the input signal transits the voltage level at the third transition timing when the third transition timing occurs earlier than the time the maximum transition timing plus one half of the period of the reference clock signal as well as later than the time the minimum transition timing minus one half of the period of the reference clock signal and when the third transition timing occurs later than the maximum transition timing.

17. The signal sampling device of claim 11 , wherein the control unit is further configured for setting a third transition timing as the minimum transition timing if the input signal transits the voltage level at the third transition timing when the third transition timing occurs earlier than the time the maximum transition plus one half of the period of the reference clock signal as well as later than the time the minimum transition timing minus one half of the period of the reference clock signal, and, when the third transition timing occurs earlier than the minimum transition timing and the maximum transition timing.

18. The signal sampling device of claim 11 , wherein the control unit is further configured for setting an later one of a first transition timing and a second transition timing as the minimum transition timing and setting an earlier one of the first transition timing and the second transition timing as the maximum transition timing if the input signal transits the voltage level at the first transition timing and the consecutive second transition timing and difference between the first transition timing and the second transition timing is longer than one half of the period of the reference clock signal.

19. The signal sampling device of claim 18 , wherein the control unit is further configured for setting a third transition timing as the minimum transition timing if the input signal transits the voltage level at the third transition timing when the third transition timing occurs later than the time the maximum transition timing plus one half of the period of the reference clock signal and when the minimum transition timing occurs later than one half of the period of the reference clock signal, and when the third transition timing occurs earlier than the minimum transition timing.

20. The signal sampling device of claim 18 , wherein the control unit is further configured for setting a third transition timing as the maximum transition timing if the input signal transits the voltage level at the third transition timing when the third transition timing occurs earlier than the time the maximum transition timing plus one half of the period of the reference clock signal as well as earlier than the time the minimum transition timing minus one half of the period of the reference clock signal, and when the maximum transition timing occurs earlier than a half time period of the reference clock signal, and when the third transition timing occurs later than the maximum transition timing.

21. A signal encryption/decryption method, comprising:

(a) generating an input signal by encrypting/decrypting an original signal by an encryption/decryption module;

(b) sampling the input signal with respect to a sampling clock signal;

(c) calculating a maximum transition timing and a minimum transition timing of the input signal according to a relation between the sampling in step (b) and a reference clock signal;

(d) defining a voltage level transition interval according to the maximum transition timing and the minimum transition timing; and

(e) controlling the encryption/decryption module for changing phase of the input signal according to the voltage level transition interval.

22. A signal encryption/decryption device, comprising:

an encryption/decryption module, configured to generate an input signal by encrypting/decrypting an original signal;

a sampling circuit, configured to sample the input signal with a sampling clock signal; and

a control unit, configured to calculate a maximum transition timing and a minimum transition timing of the input signal according to a relation between the sampling by the sampling circuit and a reference clock signal, and configured to control the encryption/decryption module for changing phase of the input signal according to the voltage level transition interval.

Assignments (3)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Mar 18, 2021
From: MEDIATEK INC.
To: XUESHAN TECHNOLOGIES INC.
Reel/Frame 056593/0167 →
MERGER Recorded Jun 8, 2020
From: MSTAR SEMICONDUCTOR, INC.
To: MEDIATEK INC.
Reel/Frame 052871/0833 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Feb 24, 2014
From: LIN, CHIH-HUNG; KO, TSUNG-HSIU; SU, WEI-LI
To: MSTAR SEMICONDUCTOR, INC.
Reel/Frame 032279/0203 →