Timing generator, timing generation method and control chip

By using the receiving circuit, transmitting circuit and control unit in the timing generator, reading the timing data group from the storage device, selecting the signal type and time length, and outputting a specific signal, the problems of insufficient accuracy and large resource occupation in the existing technology are solved. , achieving high-precision arbitrary digital signal waveform generation.

CN112711295BActive Publication Date: 2024-09-03REALTEK SEMICON CORP
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN201911025951.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2019-10-25
Publication Date
2024-09-03
Estimated Expiration
2039-10-25

AI Technical Summary

Technical Problem

Existing technology is difficult to achieve nanosecond-level accuracy when generating digital signal waveforms, and high-precision requirements will occupy a large amount of computing resources of the central processing unit, making it impossible to generate arbitrary digital signal waveforms.

Method used

A timing generator is designed, including a receiving circuit, a transmitting circuit and a control unit. By reading the timing data group from the storage device, selecting the signal type and time length, outputting an output signal of a specific signal type, the control unit is used to control reception and transmission. The operation of the circuit avoids occupying a large amount of computing resources.

Benefits of technology

It is possible to generate arbitrary digital signal waveforms without occupying a large amount of computing resources, meeting high-precision requirements without causing side effects.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112711295B
    Figure CN112711295B
Patent Text Reader

Abstract

The present invention provides a timing generator, a timing generation method and a control chip, wherein the timing generator comprises a receiving circuit, a transmitting circuit coupled to the receiving circuit, and a control unit coupled to the receiving circuit and the transmitting circuit respectively. The receiving circuit can be used to receive a timing data set from a storage device; the transmitting circuit can be used to select a specific signal type from a plurality of signal types according to the timing data set, and output an output signal having the specific signal type at a specific time length, wherein the timing data set indicates the specific signal type and the specific time length; and the control unit can be used to control the operation of the receiving circuit and the transmitting circuit.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the generation of a timing signal, and in particular to a timing generator, a timing generation method and a control chip, which can generate any digital signal waveform. Background Art

[0002] There are many ways to generate digital signal waveforms, such as by controlling general-purpose input / output (GPIO), universal asynchronous receiver / transmitter (UART), etc. However, these methods have their own shortcomings. For example, general-purpose input / output is limited by the accuracy of the hardware itself and cannot achieve nanosecond accuracy; in addition, if high precision is required, it is necessary to continuously switch states through a certain type of loop (such as a loop controlled by a specific instruction such as while) while disabling interrupts, which will occupy a large amount of computing resources of the central processing unit (CPU). Another example: using a universal asynchronous receiver / transmitter also has the problem of occupying the computing resources of the central processing unit; in addition, due to the protocol characteristics of the universal asynchronous receiver / transmitter itself, it cannot generate arbitrary digital signal waveforms.

[0003] Therefore, a novel timing generator and a timing generation method are needed to solve the problems of the related art without side effects or with less side effects. Summary of the invention

[0004] An object of the present invention is to provide a timing generator, a timing generation method and a control chip to generate any digital signal waveform without occupying a large amount of computing resources.

[0005] At least one embodiment of the present invention provides a timing generator, wherein the timing generator includes a receiving circuit, a transmitting circuit coupled to the receiving circuit, and a control unit coupled to the receiving circuit and the transmitting circuit, respectively. The receiving circuit can be used to receive one or more timing data groups from a storage device; the transmitting circuit can be used to select a specific signal type from a plurality of signal types according to a timing data group in the one or more timing data groups, and output an output signal having the specific signal type at a specific time length, wherein the timing data group indicates the specific signal type and the specific time length; and the control unit can be used to control the operation of the receiving circuit and the transmitting circuit.

[0006] At least one embodiment of the present invention provides a timing generation method, wherein the timing generation method comprises: using a receiving circuit to receive one or more timing data groups from a storage device; and using a transmitting circuit to select a specific signal type from a plurality of signal types according to a timing data group in the one or more timing data groups, and output an output signal having the specific signal type at a specific time length, wherein the timing data group indicates the specific signal type and the specific time length. In addition, the operation of the receiving circuit and the transmitting circuit is controlled by using a control unit.

[0007] At least one embodiment of the present invention provides a control chip, wherein the control chip includes a storage device, a timing generator coupled to the storage device, and a processing circuit coupled to the timing generator. Specifically, the timing controller may include a receiving circuit, a transmitting circuit coupled to the receiving circuit, and a control unit coupled to the receiving circuit and the transmitting circuit respectively. In the operation of the control chip, the storage device can be used to store one or more timing data groups (e.g., a series of timing data groups), and the processing circuit can be used to transmit at least one instruction to the control unit to control the operation of the timing generator. In the operation of the timing generator, the receiving circuit can be used to receive the one or more timing data groups from the storage device; the transmitting circuit can be used to select a specific signal type from a plurality of signal types according to a timing data group in the one or more timing data groups, and output an output signal with the specific signal type at a specific time length, wherein the timing data group indicates the specific signal type and the specific time length; and the control unit can be used to control the operation of the receiving circuit and the transmitting circuit.

[0008] The present invention can read one or more time series data sets (e.g., a series of time series data sets) from a storage device, and then generate a corresponding digital signal based on one of the one or more time series data sets. Since the digital signal is generated based on the arbitrarily editable time series data set, the present invention can generate any digital signal waveform by modifying the time series data set without occupying a large amount of computing resources of the central processing unit. BRIEF DESCRIPTION OF THE DRAWINGS

[0009] Figure 1 FIG. 4 is a schematic diagram of a control chip according to an embodiment of the present invention.

[0010] Figure 2 FIG. 4 is a schematic diagram of a timing data set according to an embodiment of the present invention.

[0011] Figure 3 According to an embodiment of the present invention Figure 1 Some implementation details of the control chip shown.

[0012] Figure 4 The figure is a working flow of a timing generation method according to an embodiment of the present invention.

[0013] Figure 5 FIG. 4 is a schematic diagram of an output signal generated in response to a series of timing data sets according to an embodiment of the present invention. DETAILED DESCRIPTION

[0014] Figure 1 1 is a schematic diagram of a control chip 10 according to an embodiment of the present invention. The control chip 10 may include a storage device 20, a timing generator 100 coupled to the storage device 20, and a processing circuit 50 coupled to the timing generator 100, wherein the storage device 20 may be implemented by a memory using a double data rate (DDR) technology such as a double data rate synchronous dynamic random access memory (SDRAM), and the processing circuit 50 may be implemented by a central processing unit (CPU), but the present invention is not limited thereto. In this embodiment, the timing generator 100 may include a receiving circuit 120, a transmitting circuit 140 coupled to the receiving circuit 120, and a control unit 160 coupled to the receiving circuit 120 and the transmitting circuit 140, respectively. In addition, the timing generator 100 may further include a buffer 180 coupled between the receiving circuit 120 and the transmitting circuit 140 (for example, the transmitting circuit 140 is coupled to the receiving circuit 120 through the buffer 180) to buffer data transmitted from the receiving circuit 120 to the transmitting circuit 140, wherein the buffer 180 may include a first input first output (FIFO) memory, but the present invention is not limited to this.

[0015] During the operation of the control chip 10 , the storage device 20 may be used to store one or more timing data sets (eg, a series of timing data sets), and the processing circuit 50 may be used to transmit at least one instruction to the control unit 160 to control the operation of the timing generator 100 . During the operation of the timing generator 100, the receiving circuit 120 can be used to receive the one or more timing data groups (e.g., the series of timing data groups) from the storage device 20. For example, the buffer 180 can receive the series of timing data groups from the receiving circuit 120, and sequentially transmit each timing data group in the series of timing data groups to the transmitting circuit 140; the transmitting circuit 140 can be used to select a specific signal type from a plurality of signal types based on one timing data group (e.g., each timing data group in the series of timing data groups) in the one or more timing data groups (e.g., the series of timing data groups), and output an output signal VOUT having the specific signal type at a specific time length, wherein the timing data group indicates the specific signal type and the specific time length; and the control unit 160 can be used to control the operation of the receiving circuit 120 and the transmitting circuit 140.

[0016] In this embodiment, the plurality of signal types may include at least one or more of pulse width modulation (PWM), a first fixed level, and a second fixed level different from the first fixed level. In addition, the control unit 160 may control a frequency and a duty cycle of the PWM according to the instruction sent by the processing circuit 50, wherein the frequency and the duty cycle of the PWM may carry certain information or be determined according to certain design requirements.

[0017] Figure 2 2 is a schematic diagram of a timing data set 200 according to an embodiment of the present invention, wherein the timing data set 200 can be used as an example of the timing data set, and the timing data set 200 can be composed of 32-bit data such as data {BIT31, ..., BIT2, BIT1, BIT0}, but the present invention is not limited thereto. In this embodiment, the timing data set 200 can include first local data (such as data {BIT1, BIT0}) and second local data (such as data {BIT31, ..., BIT2}), and the first local data and the second local data correspond to the specific signal type and the specific time length, respectively.

[0018] Figure 3Some implementation details of the control chip 10 according to an embodiment of the present invention. In this embodiment, the transmission circuit 140 may include a plurality of signal sources, a transmission control circuit 142 coupled to the plurality of signal sources, and a selection circuit 144 (e.g., a multiplexer) coupled to the transmission control circuit. The plurality of signal sources may be used to generate a plurality of signals having the plurality of signal types, such as a pulse width modulation generator 146 for generating a pulse width modulation signal, a signal source (not shown) for generating a signal having the first fixed level such as a voltage level VH, and a signal source (not shown) for generating a signal having the second fixed level such as a voltage level VL. The transmission control circuit 142 may be used to output at least one of the plurality of signals at a specific time length (e.g., based on Figure 2 The data {BIT31, ..., BIT2} in the timing data set 200 shown in the figure generates a signal having a corresponding signal time length), and the selection circuit 144 can be used to select the specific signal type among the multiple signal types according to the timing data set (for example, according to Figure 2 The data {BIT1, BIT0} in the timing data group 200 shown is used to determine which signal source generates the signal to be output).

[0019] In this embodiment, when the data {BIT1, BIT0} is {0,0} (which can be represented as a value of 0), the selection circuit 144 can output a signal having a voltage level VL; when the data {BIT1, BIT0} is {0,1} (which can be represented as a value of 1), the selection circuit 144 can output a signal having a voltage level VH; and when the data {BIT1, BIT0} is {1,0} (which can be represented as a value of 2), the selection circuit 144 can output a signal generated by the pulse width modulation generator 146. It should be noted that the implementation of the transmission circuit 140 is not limited to Figure 3The architecture shown, any architecture that can output a signal having a specific time length and a specific signal type according to the timing data set obtained from the buffer 180, belongs to the scope of the present invention. For example, the transmission control circuit 142 may determine to transmit a signal having one of the voltage levels VL and VH to the selection circuit 144 for a specific time length according to the data {BIT1, BIT0} (for example, the data BIT0), and the selection circuit 144 then selects to output the signal from the transmission control circuit 142 (for example, the signal having one of the voltage levels VH and VL) or the signal from the pulse width modulation generator 146 according to the data {BIT1, BIT0} (for example, the data BIT1); for another example, the transmission control circuit 142 may transmit the signals having the voltage level VH and the voltage level VL to the selection circuit 144 for the specific time length respectively, and the selection circuit 144 then selects one of the signal having the specific time length and the voltage level VH, the signal having the specific time length and the voltage level VL, and the signal of the pulse width modulation generator 146 for output according to the data {BIT1, BIT0}.

[0020] Figure 4 FIG. 1 is a flow chart of a timing generation method according to an embodiment of the present invention, wherein the timing generation method is applicable to Figure 1 (or Figure 3 ) shown in the control chip 10. If the overall workflow can obtain the same or similar results, Figure 4 The order in which one or more steps in the illustrated workflow are performed may be changed, or one or more steps in the workflow may be added, deleted, or modified.

[0021] In step 410 , the processing circuit 50 sets the frequency and the duty cycle of the PWM generator 146 via the control unit 160 .

[0022] In step 420 , the processing circuit 50 sets the physical address and length (eg, the number of timing data groups in a series of timing data groups) of the timing data group through the control unit 160 .

[0023] In step 430 , the processing circuit enables the timing generator 100 through the control unit 160 to start generating signals.

[0024] In step 440 , the receiving circuit 120 reads / receives a series of timing data sets from the physical address in the storage device 20 , and transmits the series of timing data sets to the buffer 180 . At this time, i=1.

[0025] In step 450 , the transmission control circuit 142 reads / receives the i-th timing data set in the series of timing data sets from the buffer 180 , wherein the first partial data and the second partial data in the i-th timing data set correspond to a signal type and a time length, respectively.

[0026] In step 460, the selection circuit 144 may select a specific signal type from a plurality of signal types according to the first partial data in the i-th timing data group, and output a signal having the specific signal type. Figure 2 When {BIT1, BIT0} is 0, the selection circuit 144 outputs the signal with voltage level VL generated by the transmission control circuit 142; Figure 2 When {BIT1, BIT0} is 1, the selection circuit 144 outputs the signal with voltage level VH generated by the transmission control circuit 142; Figure 2 When {BIT1, BIT0} is 2, the selection circuit 144 outputs the signal generated by the pulse width modulation generator 146.

[0027] In step 470 , the transmission control circuit 142 may start timing through a timer therein, and enter step 480 when the time length of the output signal reaches the time length corresponding to the second local data in the i-th timing data group.

[0028] In step 480 , the transmission control circuit 142 may determine whether all signals have been generated (for example, whether all signals corresponding to all timing data groups in the series of timing data groups have been generated). If so, the process proceeds to step 490 ; otherwise, the value of i is increased by 1 and the process proceeds to step 450 .

[0029] In step 490 , the control unit 160 transmits an interrupt signal to the processing circuit 50 , and the process ends.

[0030] exist Figure 4 In the illustrated embodiment, since the transmission control circuit 142 can determine the reading time of the next timing data group based on the time length corresponding to the second local data in each timing data group, it is possible to transmit a signal with a specific signal type (a signal type corresponding to the first local data in each timing data group) in a specific time length (a time length corresponding to the second local data in each timing data group).

[0031] In certain embodiments, Figure 1 (or Figure 3) shown in FIG. 1 (e.g., the timing generator therein) can be applied to an infrared signal transmitter, wherein a specific time ratio of the specific signal type in a period of time (e.g., in a period of time, the timing generator 100 can sequentially generate a pulse width modulation signal and a signal with a fixed voltage level such as a voltage level VL, and the specific time ratio can be calculated from the ratio between the time length of the pulse width modulation signal output and the signal with the voltage level VL output) represents the encoded data transmitted by the infrared signal transmitter in the period of time. Figure 5 For example, the infrared signal transmitter may encode a logic value 1 as a first time ratio of a pulse width modulation signal within a period of time according to a predetermined communication protocol, such as 560 microseconds (μs) in 2.25 milliseconds (ms); or encode a logic value 0 as a second time ratio of a pulse width modulation signal within a period of time according to the predetermined communication protocol, such as 560 microseconds in 1.12 milliseconds.

[0032] In summary, the present invention utilizes reading a series of arbitrarily editable time series data to generate output signals with different time lengths and different signal types, thereby achieving the purpose of generating arbitrary signal waveforms. In addition, compared with the related art, the embodiments of the present invention do not occupy a large amount of computing resources of the central processing unit. Therefore, the present invention can solve the problems of the related art without side effects or with less side effects.

[0033] The above descriptions are only preferred embodiments of the present invention. All equivalent changes and modifications made within the scope of the claims of the present invention should fall within the scope of the present invention.

[0034]

Explanation of symbols

[0035] 10. Control chip

[0036] 20 Storage Devices

[0037] 50 Processing circuit

[0038] 100 Timing Generator

[0039] 120 Receiving Circuit

[0040] 140 Transmission Circuit

[0041] 142 Transmission control circuit

[0042] 144 Selection Circuit

[0043] 146 Pulse Width Modulation Generator

[0044] 160 Control Unit

[0045] 180 Buffer

[0046] 200 Time Series Data Groups

[0047] VOUT Output Signal

[0048] BIT0, BIT1, BIT2, ..., BIT31 data

[0049] Steps 410, 420, 430, 440, 450, 460, 470, 480, 490.

Claims

1. A timing generator, comprising: a receiving circuit for receiving one or more time series data groups from a storage device; a transmitting circuit coupled to the receiving circuit, configured to select a specific signal type from among a plurality of signal types according to one of the one or more timing data sets, and output an output signal having the specific signal type at a specific time length, wherein the timing data set indicates the specific signal type and the specific time length; and a control unit, coupled to the receiving circuit and the transmitting circuit respectively, for controlling the operation of the receiving circuit and the transmitting circuit, in, The timing data group includes first local data and second local data, and the first local data and the second local data correspond to the specific signal type and the specific time length, respectively, wherein the control unit starts timing and determines the reading time of the next timing data group based on whether the time length of the output signal reaches the time length corresponding to the second local data in the timing data group.

2. The timing generator according to claim 1, wherein: The plurality of signal types include at least pulse width modulation.

3. The timing generator according to claim 2, wherein: The control unit controls a frequency and a working cycle of the pulse width modulation according to a command sent by a processing circuit coupled to the timing generator.

4. The timing generator according to claim 1, wherein: The plurality of signal types at least include a first fixed level and a second fixed level different from the first fixed level.

5. The timing generator according to claim 1, wherein: The transmission circuit comprises: A plurality of signal sources, respectively used to generate a plurality of signals having the plurality of signal types; a transmission control circuit, coupled to the plurality of signal sources, for outputting at least one of the plurality of signals for a specific time length; as well as A selection circuit is coupled to the transmission control circuit and is used for selecting the specific signal type among the plurality of signal types according to the timing data set.

6. The timing generator according to claim 1, further comprising a buffer coupled between the receiving circuit and the transmitting circuit, wherein: The one or more time series data sets include a series of time series data sets, and the series of time series data sets includes the time series data set; and The buffer receives the series of timing data sets from the receiving circuit, and sequentially transmits each timing data set in the series of timing data sets to the transmitting circuit.

7. A timing generation method performed by the timing generator according to any one of claims 1 to 6, comprising: Using the receiving circuit to receive one or more timing data sets from the storage device; and Selecting a specific signal type from a plurality of signal types according to one of the one or more timing data groups using the transmission circuit, and outputting an output signal having the specific signal type at a specific time length, wherein the timing data group indicates the specific signal type and the specific time length; The operation of the receiving circuit and the transmitting circuit is controlled by utilizing the control unit.

8. A control chip, comprising: a storage device for storing one or more time series data sets; A timing generator coupled to the storage device, wherein the timing generator comprises: a receiving circuit for receiving the one or more timing data sets from the storage device; a transmitting circuit coupled to the receiving circuit, configured to select a specific signal type from among a plurality of signal types according to one of the one or more timing data sets, and output an output signal having the specific signal type at a specific time length, wherein the timing data set indicates the specific signal type and the specific time length; and a control unit, coupled to the receiving circuit and the transmitting circuit respectively, for controlling the operation of the receiving circuit and the transmitting circuit; and a processing circuit coupled to the timing generator, for transmitting at least one instruction to the control unit to control the operation of the timing generator, in, The timing data group includes first local data and second local data, and the first local data and the second local data correspond to the specific signal type and the specific time length, respectively, wherein the control unit starts timing and determines the reading time of the next timing data group based on whether the time length of the output signal reaches the time length corresponding to the second local data in the timing data group.