System structure principle
The frequency modulation (FM) system uses the changes in the frequency of the modulated signal to carry information. The instantaneous frequency of the FM wave is equal to the carrier frequency plus a time-varying frequency proportional to the modulating signal.
The expression of FM wave is:
Its instantaneous angular frequency is:
Where ω0 is the fixed angular frequency (carrier frequency); is the proportional constant (modulation constant), representing the sensitivity of the modulator [1].
The signal frequency of the DDS output can be given by the following formula:
Among them: is the reference clock, is the signal frequency resolution, is the output signal frequency, is the frequency control word, and is the number of bits of the phase accumulator. It can be seen that by setting the number of bits of the phase accumulator, the frequency control word and the value of the system reference clock, the output of any signal frequency can be generated [2].
It can be seen that, at that time, the lowest output frequency of the DDS, that is, the frequency resolution of this DDS is:
Using DDS to implement frequency modulation means that the frequency of the signal synthesizer output signal changes linearly with the amplitude of the modulation signal. The change of instantaneous frequency can be converted into the control of the change of the frequency control word [3]. Assuming that the modulation signal is converted into a B-bit digital signal by ADC, in order to meet the modulation frequency deviation requirement, it needs to be multiplied by an adjustable modulation constant in the MCU, and the product is used as the frequency control word of the modulation signal; assuming that the carrier frequency control word is, then the frequency control word of the frequency modulation wave is:
Substituting into (1) we can get the instantaneous frequency sequence of the FM wave signal:
Considering the integrator function of the phase accumulator, assuming that the waveform memory stores a cosine wave, the frequency modulation signal sequence output by the DDS is:
After the FM signal sequence passes through a digital-to-analog converter and a low-pass filter, the analog signal obtained is the direct digitally synthesized FM signal.
Hardware Implementation
Due to the full digital structure, the frequency band of the DDS output signal is limited by the device level and is generally within a few hundred megahertz. In this system, in order to meet the design index requirements of the modulation frequency band of 100 ~ 400MHz, considering the technical level and cost of the DDS chip, we use a dual-channel DDS combined with a mixer to increase the working frequency band of the FM signal, so that the maximum output frequency of each channel only needs to reach 200MHz. The same FM wave frequency control word is sent to the two channels of the dual-channel DDS, and the two channels DDS-1 and DDS-2 generate a completely synchronized FM signal sequence with a carrier frequency of , and then the FM signal sequence is mixed after passing through the D/A converter and the low-pass filter respectively, and the DC component is removed. The analog signal obtained is the FM signal with a carrier frequency of . The hardware structure principle of the system is shown in Figure 1.
Signal generation module
The signal generation module is mainly composed of DDS chips. Here, we use the dual-channel direct digital frequency synthesizer AD9958 from ADI, USA, with a maximum sampling frequency of 500 MSPS. It has two DDS cores and can provide two internally synchronized and independently programmed synchronous output channels. When the system clock operates at 500 MHz, the output frequency can be controlled in the range of 0 ~ 200 MHz[4], which can meet the requirements of system design.
AD9958 has four working modes, namely single frequency mode, modulation mode, linear sweep mode and amplitude output control mode. The single frequency mode is the default working mode after the chip is serviced. In this mode, the output is a sine wave with a monotonic frequency, amplitude and initial phase [5]. The AD9958 in this system adopts the single frequency mode. In this working mode, the two DDS channels share a common address. The frequency control word address is the register (0x04). By changing the frequency control word, the output frequency can be easily changed. Combined with the channel selection control word, the two channels can independently output two unrelated sine waves. The control function is completed by the MCU.
Since the maximum output frequency of DDS is limited by Nyquist sampling theorem, there is. At this time, considering the device factors, it is generally taken in actual use. In this system, the external reference clock uses a 50M high-stability crystal oscillator, and the DDS chip clock multiplier is set to 10, so that the system clock reaches 500 MHz. Therefore, the maximum output frequency of each channel that can ensure signal quality reaches 200 MHz.
Control Module
The functions of the control module are mainly composed of MCU chips. The MCU integrates a wealth of peripheral devices and has excellent processing capabilities. The use of MCU to complete the peripheral circuit can make the entire system structure simple and easy to use. In this system, MCU, as the core control module, completes the acquisition of the modulation signal frequency control word, the reception of the carrier frequency control word, and the control of DDS.
Modulation signal frequency control word: This system uses the ADC integrated in the MCU chip to obtain the modulation signal frequency control word. According to actual needs, the modulation signal of this system is a voice signal with a frequency range of 50 ~ 3400 Hz. According to the Nyquist sampling theorem, the ADC sampling frequency should be no less than 6.4 kHz. Considering that high-speed intensive sampling can reduce frequency deviation, the ADC sampling frequency is set to 100 kHz. The voice modulation signal is converted by A/D to obtain a 12-bit digital signal, which is multiplied by the modulation constant as the modulation signal frequency control word.
Carrier frequency control word: MCU communicates with the external control module through the on-chip UART interface, and the external control module uses asynchronous communication to send instructions such as carrier frequency control word to MCU. MCU processes the received instruction signal and extracts the carrier frequency control word required by the user.
FM wave frequency control word: MCU adds the modulation signal frequency control word and the carrier frequency control word as the frequency control word of the FM wave and processes it according to the frequency control word format of DDS before sending it to DDS.
Low pass filter
DDS uses digital technology. The final synthesized signal is obtained after D/A conversion. Its spectrum contains rich high-order spectrum components. In order to obtain a signal output with pure spectrum, they must be filtered out with a low-pass filter. The attenuation characteristics of the filter are required to be steep and the delay time is required to be short.
Software Design
The whole system adopts modular programming and is written in C language, which is easy to transplant and has strong readability. It is mainly based on the frequency control word format of AD9958, and writes these control words into the internal register of AD9958 through MCU to generate the corresponding frequency. The software mainly realizes two functions: system initialization and frequency control word writing.
System initialization: includes the initialization configuration of the MCU itself, and writing configuration instructions such as system clock, working mode, and channel selection to the AD9958 according to the register configuration method of the AD9958 chip.
Frequency control word writing: To complete a frequency control word replacement, the MCU needs to send a channel instruction according to the frequency word writing format of AD9958, which is 40 bits in total. The upper 8 bits are the register address (0x04), and the lower 32 bits are the frequency control word. Within an ADC sampling cycle, the channel instruction must be sent completely so that the output frequency can be continuously updated according to the ADC sampling frequency, thereby realizing digital frequency modulation. The instruction writing method of AD9958 can be divided into serial loading and parallel loading. This system adopts serial loading, and the MCU directly sends the frequency control word to AD9958. At the rising edge of each system clock (SCLK), a control word is shifted in from the data input port SDIO_0. The 40-bit control word can be loaded into the buffer register after 40 consecutive SCLK cycles. After the rising edge of the update signal (IO_UP) arrives, the control word is transferred to the control register, and the two channels of AD9958 update the output frequency at the same time. Simulation results
In practical applications, in order to improve the resolution and break through the limitation of waveform memory capacity, phase truncation technology is usually used. The existence of phase truncation will produce phase truncation error, thus causing spurious spectrum components. Since the analysis of spurious is relatively complicated, this paper builds the corresponding Matlab simulation platform according to the above hardware design method without considering the phase truncation error, and simulates the method of digital synthesis of FM signal. The result is shown in Figure 2.
According to the system design requirements, it is assumed that the carrier frequency of the FM wave to be generated is 200 MHz and the modulation frequency deviation is 45 MHz. For the convenience of analysis, it is assumed that the modulation signal is a 30 MHz sine signal. According to the previous analysis, the carrier frequency control word is 0x66666666, and the modulation signal. As shown in Figure 2, (a) and (b) respectively give the waveform and spectrum of the FM wave with a carrier frequency of 100 MHz output by the two channels DDS-1 and DDS-2 of the DDS; (c) and (d) give the waveform and spectrum of the FM wave with a carrier frequency of 200 MHz obtained after mixing and filtering of the two channels of the FM wave. It can be seen from the spectrum diagrams of (b) and (d) that new spectrum components with an interval of 30 MHz appear symmetrically on both sides of the carrier component, which is consistent with the spectrum structure of the theoretical single-tone FM wave.
Conclusion
This paper discusses a method for synthesizing FM signals based on the dual-channel DDS chip AD9958. It makes full use of the existing DDS chip to generate cross-band FM signals. The output carrier frequency and frequency deviation are programmable, the minimum frequency resolution is high, up to 0.116Hz, and the maximum output frequency is 400MHz. It has very high accuracy and frequency stability, while reducing costs, power consumption, and size. The hardware circuit of the FM signal generator is simple and versatile. In fact, it can also be configured with MCU control instructions to enable DDS to generate other arbitrary waveform signals. At present, the design scheme of the digital FM signal generator using the combination of AD9958 and MCU proposed in this paper has been put into practical use in a certain engineering project.
Previous article:Design and simulation of microwave low noise amplifier
Next article:Design of electronic sphygmomanometer
Recommended ReadingLatest update time:2024-11-16 21:24
- Popular Resources
- Popular amplifiers
- High signal-to-noise ratio MEMS microphone drives artificial intelligence interaction
- Advantages of using a differential-to-single-ended RF amplifier in a transmit signal chain design
- ON Semiconductor CEO Appears at Munich Electronica Show and Launches Treo Platform
- ON Semiconductor Launches Industry-Leading Analog and Mixed-Signal Platform
- Analog Devices ADAQ7767-1 μModule DAQ Solution for Rapid Development of Precision Data Acquisition Systems Now Available at Mouser
- Domestic high-precision, high-speed ADC chips are on the rise
- Microcontrollers that combine Hi-Fi, intelligence and USB multi-channel features – ushering in a new era of digital audio
- Using capacitive PGA, Naxin Micro launches high-precision multi-channel 24/16-bit Δ-Σ ADC
- Fully Differential Amplifier Provides High Voltage, Low Noise Signals for Precision Data Acquisition Signal Chain
- Innolux's intelligent steer-by-wire solution makes cars smarter and safer
- 8051 MCU - Parity Check
- How to efficiently balance the sensitivity of tactile sensing interfaces
- What should I do if the servo motor shakes? What causes the servo motor to shake quickly?
- 【Brushless Motor】Analysis of three-phase BLDC motor and sharing of two popular development boards
- Midea Industrial Technology's subsidiaries Clou Electronics and Hekang New Energy jointly appeared at the Munich Battery Energy Storage Exhibition and Solar Energy Exhibition
- Guoxin Sichen | Application of ferroelectric memory PB85RS2MC in power battery management, with a capacity of 2M
- Analysis of common faults of frequency converter
- In a head-on competition with Qualcomm, what kind of cockpit products has Intel come up with?
- Dalian Rongke's all-vanadium liquid flow battery energy storage equipment industrialization project has entered the sprint stage before production
- Allegro MicroSystems Introduces Advanced Magnetic and Inductive Position Sensing Solutions at Electronica 2024
- Car key in the left hand, liveness detection radar in the right hand, UWB is imperative for cars!
- After a decade of rapid development, domestic CIS has entered the market
- Aegis Dagger Battery + Thor EM-i Super Hybrid, Geely New Energy has thrown out two "king bombs"
- A brief discussion on functional safety - fault, error, and failure
- In the smart car 2.0 cycle, these core industry chains are facing major opportunities!
- The United States and Japan are developing new batteries. CATL faces challenges? How should China's new energy battery industry respond?
- Murata launches high-precision 6-axis inertial sensor for automobiles
- Ford patents pre-charge alarm to help save costs and respond to emergencies
- New real-time microcontroller system from Texas Instruments enables smarter processing in automotive and industrial applications
- Electromagnetic interference is no small matter, EMI prize survey is launched!
- Compile and run the button routine for the i.MX6ULL development board
- [GD32L233C-START Review] On-chip temperature detection and display
- What should we do when there is a large-scale power outage?
- [NXP Rapid IoT Review] Rapid IoT Studio Simple Programming Step 4 Add Bluetooth RGB Light Control
- [ESK32-360 Review] + LCD library function BUG review feedback
- The era of sodium-ion batteries is coming? How do you view the standardization of sodium-ion batteries?
- The authoritative book on frequency synthesis technology - "Frequency Synthesis Principles and Design (Third Edition)"
- [FS-IR02 + D1CS-D54] - 2: Electrical performance index detection (FS-IR02)
- Modbus to Profinet Gateway Connecting Delta ME300 Case