An arbitrary waveform direct digital synthesis unit

By designing an arbitrary waveform direct digital synthesis unit in the waveform generator, and using the sine wave generator array and adder to realize the superposition of multiple sine waves, the problem that the existing waveform generator cannot generate arbitrary waveforms is solved, and the waveform generator is improved. Versatility and scalability, suitable for multi-channel signal output.

CN114356022BActive Publication Date: 2024-09-13XIAN AVIATION COMPUTING TECH RES INST OF AVIATION IND CORP OF CHINA
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202111590592.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-12-23
Publication Date
2024-09-13
Estimated Expiration
2041-12-23

AI Technical Summary

Technical Problem

When the existing waveform generator is configured with a multi-channel digital-to-analog converter, it is difficult to generate arbitrary waveforms, cannot meet the needs of applications such as information communication and signal analysis, and has poor scalability.

Method used

An arbitrary waveform direct digital synthesis unit is designed, including a sine wave generator array and an adder. By configuring the amplitude, phase and frequency of each sine wave generator, programmable logic devices are used to realize direct digital synthesis of arbitrary waveforms. Generate arbitrary waveforms by superposing multiple sine waves.

Benefits of technology

It achieves high versatility and scalability of arbitrary waveforms and is suitable for industrial fields, especially for arbitrary waveform generators based on programmable logic devices. It has a simple structure and is suitable for multi-channel signal output.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114356022B
    Figure CN114356022B
Patent Text Reader

Abstract

The present invention belongs to the field of digital circuit technology, and specifically relates to an arbitrary waveform direct digital synthesis unit. The unit is implemented based on FPGA, and its input includes an amplitude modulation factor matrix (Coefficient Code Matrix, CCM for short), a frequency modulation factor matrix (Frequency Code Matrix, FCM for short) and a phase modulation factor matrix (Phase Code Matrix, PCM for short), and its output includes a conversion code value (DAC Code, DC for short). A sine wave generator array and an adder are configured inside the unit, and the order of the sine wave generator array is equal to the order of the amplitude modulation, frequency modulation and phase modulation factor matrix, and each waveform generator includes a DDS unit and an amplitude modulation unit. Among them, the DDS unit synthesizes the digital phase according to the corresponding frequency modulation and phase modulation factors, and extracts the sine wave amplitude information in the lookup table with the digital phase as the index; the amplitude modulation unit realizes arbitrary amplitude modulation of the sine wave amplitude information output by the DDS within the range of [0,1]; the adder adds up the output results of all amplitude modulation units to generate a conversion code value DC.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the industrial field, and in particular to an arbitrary waveform direct digital synthesis unit. Background Art

[0002] As a universal component, waveform generators are widely used in airborne electronic equipment. The traditional waveform generation solution is to configure a dedicated waveform generator in the equipment, such as AD9837 and AD9833. This solution is simple in design and easy to implement, but has the problem of poor scalability. With the further development of domestic components, more and more people choose to design waveform generators based on programmable logic devices and digital-to-analog converters. This method can output multiple waveforms at the same time when configured with a multi-channel digital-to-analog converter, which significantly improves scalability and reduces hardware costs. However, whether it is a dedicated waveform generator or an expandable waveform generator based on programmable logic devices, it can only generate simple signals such as sine waves, triangle waves and square waves, but cannot generate arbitrary waveforms, which is difficult to meet the application requirements of information communication and signal analysis. Therefore, in view of the problem of poor versatility of existing waveform generators, it is of great significance to design an arbitrary waveform direct digital synthesis unit to realize arbitrary waveform generation. Summary of the invention

[0003] The purpose of the present invention is to provide a direct digital synthesis unit of an arbitrary waveform.

[0004] Technical solution: An arbitrary waveform direct digital synthesis unit, the arbitrary waveform direct digital synthesis unit includes a sine wave generator array (SG) and an adder (AU), the sine wave generator array SG includes n sine wave generating units, the sine wave generating unit includes a sine wave direct digital synthesis unit (DDS) and an amplitude modulation unit (AM). The sine wave direct digital synthesis unit includes a frequency modulation factor pin Δθ, a phase modulation factor pin θ0 and a DDS output pin Q; the amplitude modulation unit includes an amplitude modulation factor pin α, an AM input pin D in and AM output pin D out ; The adder includes AU input pin AU in and AU output pin AU out ,in:

[0005] The i-th sine wave generating unit SG(i), 1≤i≤n, the amplitude modulation factor CCM(i) is connected to α(i) of the corresponding amplitude modulation unit AM(i); the frequency modulation factor FCM(i) is connected to Δθ(i) of the corresponding sine wave direct digital synthesis unit DDS(i); the phase modulation factor PCM(i) is connected to θ0(i) of the corresponding sine wave direct digital synthesis unit DDS(i); the Q(i) of the sine wave direct digital synthesis unit DDS(i) is connected to the D(i) of the corresponding amplitude modulation unit AM(i);in (i) connected; D of the amplitude modulation unit AM(i) out (i) AU with adder in (i) Connection: AU of adder out Connected to the conversion code value DC.

[0006] Specifically, the order n of the CCM, FCM and PCM is equal to the order n of the sine wave generator array.

[0007] Specifically, the amplitude modulation coefficient represented by the amplitude modulation factor CCM(i) is in the range of [0, 1].

[0008] Specifically, the amplitude modulation factor CCM(i) satisfies the condition

[0009] Specifically, the adder AU has n input signals AU in (i), 1≤i≤n, output AU out With AU in The relationship between (i) is

[0010] Specifically, the sine wave direct digital synthesis unit DDS(i) completes phase synthesis and amplitude extraction according to its frequency control word Δθ(i) and phase control word θ0(i), and outputs sine wave amplitude information Q(i).

[0011] Specifically, the input of the amplitude modulation unit AM(i) includes the amplitude modulation coefficient α(i) and the input code value D in (i), its output code value is D out The relationship between (i) and the input can be expressed as D out (i) = α(i)·D in (i).

[0012] Specifically, the arbitrary waveform direct digital synthesis unit is implemented based on a programmable logic device.

[0013] The advantages and effects of the present invention are as follows: the present invention designs an arbitrary waveform direct digital synthesis unit, by setting a sine wave generator array in a programmable logic device, the array includes n sine wave generators, and by configuring the amplitude, phase and frequency of each sine wave generator, n programmable sine waves are generated. In addition, an n-input adder is also provided in the programmable logic device, and the direct digital synthesis of an arbitrary waveform is realized by superimposing n programmable sine waves. The unit is particularly suitable for an arbitrary waveform generator based on a programmable logic device, has a simple structure, strong versatility, and can be widely used in the industrial field. BRIEF DESCRIPTION OF THE DRAWINGS

[0014] Figure 1It is a schematic diagram of an arbitrary waveform generator based on FPGA and DAC;

[0015] Figure 2 This is a schematic diagram of the structure of an arbitrary waveform direct digital synthesis unit. DETAILED DESCRIPTION

[0016] The present invention will be further described below in conjunction with the accompanying drawings and specific implementations.

[0017] Embodiment 1

[0018] The technical solution of the present invention is: an arbitrary waveform direct digital synthesis unit, which is implemented based on a programmable logic device. The input of the arbitrary waveform direct digital synthesis unit includes an amplitude modulation factor matrix (Coefficient Code Matrix, abbreviated as CCM), a frequency modulation factor matrix (Frequency Code Matrix, abbreviated as FCM) and a phase modulation factor matrix (Phase Code Matrix, abbreviated as PCM), and the output of the arbitrary waveform direct digital synthesis unit includes a conversion code value (DAC Code, abbreviated as DC).

[0019] like Figure 2 As shown, the arbitrary waveform direct digital synthesis unit provided by the present application includes a sine wave generator array (SG) and an adder (AU), wherein the sine wave generator array SG includes n sine wave generating units, and the sine wave generating unit includes a sine wave direct digital synthesis unit (DDS) and an amplitude modulation unit (AM). The sine wave direct digital synthesis unit includes a frequency modulation factor pin Δθ, a phase modulation factor pin θ0, and a DDS output pin Q; the amplitude modulation unit includes an amplitude modulation factor pin α, an AM input pin D in and AM output pin D out ; The adder includes AU input pin AU in and AU output pin AU out ,in:

[0020] The i-th sine wave generating unit SG(i), 1≤i≤n, the amplitude modulation factor CCM(i) is connected to α(i) of the corresponding amplitude modulation unit AM(i); the frequency modulation factor FCM(i) is connected to Δθ(i) of the corresponding sine wave direct digital synthesis unit DDS(i); the phase modulation factor PCM(i) is connected to θ0(i) of the corresponding sine wave direct digital synthesis unit DDS(i); the Q(i) of the sine wave direct digital synthesis unit DDS(i) is connected to the D(i) of the corresponding amplitude modulation unit AM(i); in (i) connected; D of the amplitude modulation unit AM(i) out (i) AU with adder in(i) Connection: AU of adder out Connected to the conversion code value DC.

[0021] Preferably, the order n of the CCM, FCM and PCM is equal to the order n of the sine wave generator array.

[0022] In practical applications, the value of n can be adjusted according to the fidelity of the waveform required to be generated.

[0023] Preferably, the amplitude modulation coefficient represented by the amplitude modulation factor CCM(i) is in the range of / 0,1], 1≤i≤n, and must satisfy the condition

[0024] Preferably, the adder AU has n input signals AU in (i), 1≤i≤n, output AU out With AU in The relationship between (i) is

[0025] Preferably, the sine wave direct digital synthesis unit DDS(i) completes phase synthesis and amplitude extraction according to its frequency control word Δθ(i) and phase control word θ0(i), and outputs sine wave amplitude information Q(i).

[0026] Preferably, the input of the amplitude modulation unit AM(i) includes the amplitude modulation coefficient α(i) and the input code value D in (i), its output code value is D out The relationship between (i) and the input can be expressed as D out (i) = α(i)·D in (i).

[0027] In summary, the present invention provides an arbitrary waveform direct digital synthesis unit, which is implemented based on a programmable logic device and belongs to the field of digital circuit technology. It can realize the arbitrary waveform generation function by superimposing multiple programmable sine waves, which significantly improves the universality of the waveform generator and can be widely used in the industrial field.

[0028] Embodiment 2

[0029] The present invention is particularly suitable for arbitrary waveform generation based on programmable logic devices and digital-to-analog conversion. We know that an arbitrary waveform can be expanded into a superposition of multiple sine waves through Fourier series. Taking a square wave as an example, its Fourier series expansion is shown in formula (1).

[0030]

[0031] When the Fourier series of the square wave is known, we can obtain the amplitude information, frequency information and phase information of each sine wave that constitutes the square wave, and then obtain the amplitude modulation factor matrix CCM, the frequency modulation factor matrix FCM and the phase modulation factor matrix PCM, and write CCM, FCM and PCM into the specified register of the FPGA in sequence through the CPU. The FPGA is configured with a sine wave generator array SG, whose order is consistent with the order of CCM, FCM and PCM, all of which are n (can be configured according to the fidelity of the generated arbitrary waveform). The DDS (1) of the first sine wave generating unit SG (1) in SG synthesizes the phase according to FCM (1) and PCM (1), and extracts the sine wave amplitude information Q (1) with the phase as the index. The AM (1) of SG (1) modulates Q (1) according to CCM (1), and directly digitally synthesizes 4 / πsin (ωt); similarly, the second sine wave generating unit SG (2) in SG directly digitally synthesizes 4 according to FCM (2), PCM (2) and CCM (2). / (3π)sin(3ωt), the third sine wave generating unit SG(3) in SG directly digitally synthesizes 4 / (5π)sin(5ωt) according to FCM(3), PCM(3) and CCM(3), the fourth sine wave sound generating unit SG(4) in SG directly digitally synthesizes 4 / (7π)sin(7ωt) according to FCM(4), PCM(4) and CCM(4), and so on, until SG(n) directly digitally synthesizes the last sine wave.

[0032] The FPGA is also equipped with an n-input adder AU. in (i) are respectively connected to the output D of the sine wave generating unit SG(i) out (i) are connected, 0≤i≤n, and its function is to superimpose the sine waves directly synthesized by all sine wave generating units, so the output AU out It is equal to 4 / πsin(ωt)+4 / (3π)sin(3ωt)+4 / (5π)sin(5ωt)+4 / (7π)sin(7ωt)+…, and AU out Connected to DC, so because So AU out Finally, the control digital-to-analog converter will out Converting it into a voltage signal, we get the required square wave signal.

[0033] The generation process of other arbitrary waveforms is the same as that of square waves.

[0034] In summary, the present invention belongs to the field of digital circuit technology, and specifically relates to an arbitrary waveform direct digital synthesis unit. The unit is implemented based on FPGA, and its input includes an amplitude modulation factor matrix (Coefficient Code Matrix, abbreviated as CCM), a frequency modulation factor matrix (Frequency Code Matrix, abbreviated as FCM) and a phase modulation factor matrix (Phase Code Matrix, abbreviated as PCM), and its output includes a conversion code value (DAC Code, abbreviated as DC). A sine wave generator array and an adder are configured inside the unit, and the order of the sine wave generator array is equal to the order of the amplitude modulation, frequency modulation and phase modulation factor matrix, and each waveform generator includes a DDS unit and an amplitude modulation unit. Among them, the DDS unit synthesizes the digital phase according to the corresponding frequency modulation and phase modulation factors, and extracts the sine wave amplitude information in the lookup table with the digital phase as the index; the amplitude modulation unit realizes arbitrary amplitude modulation of the sine wave amplitude information output by the DDS within the range of [0,1]; the adder adds up the output results of all amplitude modulation units to generate a conversion code value DC. The present invention is implemented based on FPGA and realizes direct digital synthesis of arbitrary waveforms by configuring a sine wave generator array and an adder. The method can be applied to arbitrary waveform generators. The method has a high level of universality and strong adaptability and can be widely used in the industrial field.

Claims

1. An arbitrary waveform direct digital synthesis unit, It is characterized in that The arbitrary waveform direct digital synthesis unit comprises a sine wave generator array SG and an adder AU, the sine wave generator array SG comprises n sine wave generating units, each of the sine wave generating units comprises a sine wave direct digital synthesis unit DDS and an amplitude modulation unit AM; wherein the sine wave direct digital synthesis unit contained in the i-th sine wave generating unit corresponds to DDS(i), and the amplitude modulation unit contained corresponds to AM(i), wherein 1≤i≤n; The sine wave direct digital synthesis unit DDS(i) corresponding to the i-th sine wave generating unit includes a frequency modulation factor pin Δθ(i), a phase modulation factor pin θ 0 (i) and DDS(i) output pin Q(i); the amplitude modulation unit AM(i) corresponding to the i-th sine wave generating unit includes the amplitude modulation factor pin α(i), the AM(i) input pin D in (i) and AM(i) output pin D out (i); adder AU includes AU input pin AU in (i) and AU output pin AU out ,in: The input of the arbitrary waveform direct digital synthesis unit includes an amplitude modulation factor matrix CCM, a frequency modulation factor matrix FCM and a phase modulation factor matrix PCM. The amplitude modulation factor CCM(i) is connected to α(i) of the corresponding amplitude modulation unit AM(i); the frequency modulation factor FCM(i) is connected to Δθ(i) of the corresponding sine wave direct digital synthesis unit DDS(i); the phase modulation factor PCM(i) is connected to θ of the corresponding sine wave direct digital synthesis unit DDS(i). 0 (i) connected; Q (i) of the sine wave direct digital synthesis unit DDS (i) and the D of the corresponding amplitude modulation unit AM (i) in (i) connected; D of the amplitude modulation unit AM(i) out (i) AU with adder in (i) Connection: AU of adder out Connected to the conversion code value DC; α(i) is the amplitude modulation coefficient of the amplitude modulation unit AM(i), D in (i) is the input code value of the amplitude modulation unit AM(i), D out (i) is the output code value of the amplitude modulation unit AM(i); Q(i) is the sine wave amplitude information of the sine wave direct digital synthesis unit DDS(i), θ 0 (i) is the phase control word of the sine wave direct digital synthesis unit DDS(i), Δθ(i) is the frequency control word of the sine wave direct digital synthesis unit DDS(i); AU in (i) is the input signal of adder AU, out is the output signal of adder AU; The amplitude modulation coefficient represented by the amplitude modulation factor CCM(i) is in the range of [0,1], 1≤i≤n, and must satisfy the condition The sine wave direct digital synthesis unit DDS(i) is based on its frequency control word Δθ(i) and phase control word θ 0 (i) Complete phase synthesis and amplitude extraction, and output sinusoidal wave amplitude information Q(i).

2. The arbitrary waveform direct digital synthesis unit according to claim 1, It is characterized in that The order n of the amplitude modulation factor matrix CCM, the frequency modulation factor matrix FCM and the phase modulation factor matrix PCM is equal to the order n of the sine wave generator array.

3. The arbitrary waveform direct digital synthesis unit according to claim 1, It is characterized in that The adder AU has n input signals AU in (i), 1≤i≤n, output AU out With AU in The relationship between (i) is 4. The arbitrary waveform direct digital synthesis unit according to claim 1, It is characterized in that The input of the amplitude modulation unit AM(i) includes the amplitude modulation coefficient α(i) and the input code value D in (i), its output code value is D out (i) and the input code value D in The relationship between (i) is D out (i) = α(i)·D in (i).

5. The arbitrary waveform direct digital synthesis unit according to claim 2, It is characterized in that The arbitrary waveform direct digital synthesis unit is implemented based on a programmable logic device.