Digital synchronization system
The digital synchronization system simplifies synchronization between chips and devices by using a JESD204B protocol with automatic/manual modes, eliminating the need for an additional clock chip and ensuring flexible phase control and timing performance.
Patent Information
- Application Number
- CN202411201250.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-29
- Publication Date
- 2024-12-03
- Estimated Expiration
- 2044-08-29
AI Technical Summary
Existing communication systems require an additional clock chip to provide a digital synchronization signal, making synchronization between multiple chips and devices complex and resource-intensive.
A digital synchronization system that uses a transmitting and receiving end with a digital synchronization signal connected via a JESD204B communication protocol, allowing automatic or manual mode operation, and controlled by a 1-bit serial peripheral interface, enabling synchronization without an additional clock chip.
Simplifies synchronization between multiple chips and devices, provides full phase controllability, and adapts to different scenarios, while eliminating the need for additional hardware resources and ensuring better timing performance.
Smart Images

Figure CN119070967A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of signal synchronization, and in particular to a digital synchronization system. Background Art
[0002] In modern communication systems, RF transceiver chips play a vital role in processing and transmitting wireless signals. In the design and application of these chips, high-speed data transmission and synchronization is a core issue. SerDes technology, namely serialization and deserialization technology, is a key means to achieve this goal. By converting parallel data into high-speed serial data, SerDes technology greatly increases the data transmission rate while reducing the physical size of the signal, which is especially important for space-constrained devices.
[0003] However, high-speed data transmission requires precise clock synchronization to ensure data integrity and accuracy. In the absence of an independent clock chip to provide a digital synchronization signal, the SerDes_Tx and SerDes_Rx modules need to output the SYSREF signal to the baseband chip through a specific pin. The SYSREF signal is a special synchronization reference signal that provides a common clock reference for the FPGA or baseband data chip in the system. In this way, even at different power-on times, each device can achieve synchronization through the SYSREF signal to ensure consistency in data transmission and consistency in delay.
[0004] This synchronization mechanism is critical to the link establishment process, which is the process of ensuring that all related devices or chips are in a synchronized state before data transmission begins. By using the SYSREF signal, even if the devices are powered on at different points in time, they can be guaranteed to remain synchronized when transmitting data, thus avoiding synchronization problems caused by clock skew.
[0005] Therefore, there is an urgent need in the art for a technical solution that can make synchronization between multiple chips and multiple devices simpler and does not require an additional clock chip to send a digital synchronization signal. Summary of the invention
[0006] In view of the above-mentioned shortcomings of the prior art, the purpose of the present application is to provide a digital synchronization system for solving the problem of how to provide a technical solution that can make synchronization between multiple chips and multiple devices simpler and does not require an additional clock chip to send a digital synchronization signal.
[0007] To achieve the above-mentioned purpose and other related purposes, the first aspect of the present application provides a digital synchronization system, including: a transmitting end and a receiving end; a digital synchronization signal is connected between the transmitting interface of the transmitting end and the system reference pin set on the receiving end, and the digital synchronization signal is used to align frame boundaries and multi-frame boundaries; the transmitting end and the receiving end communicate based on the JESD204B communication protocol; wherein the digital synchronization signal is configured to be turned on and off based on automatic mode or manual mode; if configured to automatic mode, the transmitting end automatically sends a digital synchronization signal to synchronize with the receiving end when the link is broken; if configured to manual mode, whether to send a digital synchronization signal is selected according to the level state of the manual enable signal.
[0008] In some embodiments of the first aspect of the present application, the digital synchronization signal is controlled by a serial peripheral interface.
[0009] In some embodiments of the first aspect of the present application, the system controls the automatic mode or the manual mode through a 1-bit serial peripheral interface signal; wherein, in the automatic mode, the enabling and disabling of the digital synchronization signal is controlled by a synchronization input signal; the synchronization input signal is sent from the receiving end to the transmitting end; and in the manual mode, the enabling and disabling of the digital synchronization signal is controlled by a manual enable level.
[0010] In some embodiments of the first aspect of the present application, in automatic mode, the transmitting end automatically turns off the digital synchronization signal after identifying a link establishment identifier.
[0011] In some embodiments of the first aspect of the present application, in an automatic mode, the transmitting end automatically turns on the digital synchronization signal after identifying a link break identifier.
[0012] In some embodiments of the first aspect of the present application, the link establishment flag is a synchronous input signal flag sent from the receiving end to the sending end, and when the synchronous input signal is at a high level, it indicates that the link has been established.
[0013] In some embodiments of the first aspect of the present application, the transmitting end is configured with a counter for recording the duration of the link break, and the counter has a reserved counting upper limit value, which is greater than the threshold value; the counter stops counting when the number of continuous low-level beats of the synchronous input signal recorded by the counter reaches the threshold.
[0014] In some embodiments of the first aspect of the present application, the transmitting end is configured with a counter for recording the duration of the link break, and the counter has a reserved counting upper limit value, which is greater than the threshold value; the counter stops counting when the number of continuous low-level beats of the synchronous input signal recorded by the counter reaches the threshold.
[0015] In some embodiments of the first aspect of the present application, in manual mode, if the manual enable signal is identified as a high level, the digital synchronization signal is turned on, and if the manual enable signal is identified as a low level, the digital synchronization signal is turned off.
[0016] In some embodiments of the first aspect of the present application, the phase of the digital synchronization signal is controlled; when the JESD204B communication protocol operates in the subclass 0 operation mode, the delay control signal is an n-bit signal, and the square wave period of the digital synchronization signal is 2 times the system clock period. n times, and the phase shift range is (0~2 n -1).
[0017] As described above, a digital synchronization system of the present application has the following beneficial effects: the present application can truly achieve a digital synchronization signal SYSREF, realize the link establishment of matching JESD204B in automatic mode, and continuously send out a synchronization signal to synchronize the RF chip with the FPGA or baseband data chip when the link is broken. In manual mode, it is possible to select whether to generate a digital synchronization signal SYSREF according to the high and low level conditions of the enable. Finally, the digital synchronization signal SYSREF satisfies the full phase controllability and can flexibly adapt to different usage scenarios. In normal use, synchronization between multiple chips and multiple devices can be made simpler, without the need for an additional clock chip to send a digital synchronization signal. At the same time, the digital synchronization signal SYSREF generated by the custom internal RF transceiver chip is in the same clock domain as the chip, and does not require additional hardware resources for cross-clock domain synchronization, and also has better timing performance. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] Figure 1 Shown is a structural schematic diagram of a digital synchronization system in one embodiment of the present application.
[0019] Figure 2 Shown is a timing waveform diagram of an automatic mode working state in an embodiment of the present application.
[0020] Figure 3 Shown is a timing waveform diagram of a manual mode working state in an embodiment of the present application.
[0021] Figure 4 Shown is a schematic diagram of the fully phase-controllable working condition in one embodiment of the present application.
[0022] Figure 5 The diagram shows a relatively simple simulation waveform diagram in the automatic mode in one embodiment of the present application.
[0023] Figure 6 The display shows a relatively complex simulation waveform diagram in the automatic mode in one embodiment of the present application.
[0024] Figure 7 Shown is a simulation waveform diagram in manual mode in an embodiment of the present application.
[0025] Figure 8 The figure shows the simulation result of full phase control in one embodiment of the present application (phase relationship when sys_pha_ctr=0).
[0026] Fig. 9 The figure shows the simulation result of full phase control in one embodiment of the present application (phase relationship when sys_pha_ctr=15).
[0027] Fig.10 The figure shows the simulation result of full phase control in one embodiment of the present application (phase relationship when sys_pha_ctr=31). DETAILED DESCRIPTION
[0028] The following describes the embodiments of the present application through specific examples, and those skilled in the art can easily understand other advantages and effects of the present application from the contents disclosed in this specification. The present application can also be implemented or applied through other different specific embodiments, and the details in this specification can also be modified or changed in various ways based on different viewpoints and applications without departing from the spirit of the present application. It should be noted that the following embodiments and features in the embodiments can be combined with each other without conflict.
[0029] Before further describing the present invention in detail, the nouns and terms involved in the embodiments of the present invention are explained. The nouns and terms involved in the embodiments of the present invention are applicable to the following interpretations:
[0030] <1> JESD204B communication protocol is a high-speed serial data converter interface standard developed by the JEDEC committee. It is mainly used for data transmission between ADC / DAC and logic devices such as FPGA. It supports data transmission rates up to 12.5Gbps. It simplifies connections and supports smaller solutions while ensuring system performance, making it suitable for high-speed data conversion applications.
[0031] <2> The LMFC (Local Multi-Frame Clock) signal is a clock signal used in the JESD204B standard to synchronize data transmission between high-speed data converters and logic devices. It achieves deterministic latency and multi-chip synchronization by ensuring that data is correctly aligned and decoded at the receiving end.
[0032] <3> RF transceiver chip is an integrated circuit used to receive and transmit signals in wireless communication systems. It usually contains a receiving link (including low noise amplifier, filter, analog-to-digital converter, etc.) and a transmitting link (including digital-to-analog converter, power amplifier, filter, etc.), which can process analog signals at radio frequency (RF).
[0033] <4> FPGA, Field-Programmable Gate Array, is a programmable semiconductor device that can implement custom hardware logic without manufacturing dedicated chips. FPGA contains configurable logic blocks and programmable interconnect resources, allowing developers to configure hardware circuits as needed.
[0034] <5> PCLK cycle, PCLK (Peripheral Clock) is a peripheral clock, which is the source clock that provides synchronous clock signals for various peripherals. The PCLK cycle refers to a complete cycle of this clock signal, that is, the time interval from one rising edge of the clock to the next rising edge.
[0035] <6> The SYSREF (System Reference) signal is a digital signal used to synchronize multiple components in a system. In some communication protocols (such as JESD204B), the SYSREF signal is used to ensure that data is aligned at a deterministic time point, thereby achieving precise synchronization.
[0036] <7> Link building is the process of establishing a data link, that is, the sender and the receiver establish a data transmission connection through a synchronization mechanism. In digital communication or data transmission protocols, link building is the prerequisite for ensuring that data can be transmitted correctly and orderly between the sender and the receiver.
[0037] <8> A link break is the disconnection of an established data link connection. This may be due to a communication error, physical connection interruption, or other reasons that cause the link to fail. After a link is disconnected, it may be necessary to re-establish the link to resume data transmission.
[0038] The technical solutions of the embodiments of the present application can be applied to a variety of application systems, including but not limited to the following:
[0039] a. Wireless communication infrastructure: RF transceiver chips combined with FPGA IP cores can be used to implement complex wireless communication systems, such as base stations, which need to handle high-speed data transmission and multi-user access.
[0040] b. Defense electronic systems: In the military and defense fields, the combination of RF transceiver chips and FPGAs can be used in electronic warfare, signal intelligence, and communication systems, which usually require high-performance signal processing and flexible hardware configuration.
[0041] c.RF test equipment and instruments: In the field of test and measurement, the synchronization of RF transceiver chips with FPGA IP cores can be used to implement high-performance test equipment that can perform precise signal analysis and generation.
[0042] d. Software-defined radio platform: The combination of RF transceiver chips and FPGA can build flexible software-defined radio (SDR) platforms that can adapt to different communication standards and protocols.
[0043] e. Medical devices: In the medical field, RF transceiver chips can be used in implantable medical devices such as pacemakers and neurostimulators, which are synchronized with FPGA IP cores to realize the design of in-vivo communication systems.
[0044] f. Wearable medical system: RF transceiver chips are integrated into wearable medical devices for wireless transmission of physiological data. FPGA IP cores provide necessary signal processing and data transmission control in this process.
[0045] g.5G communication system: The RF transceiver chip is combined with the FPGA IP core to implement the MASSIVE MIMO technology in 5G base stations, providing high-speed data transmission and increased bandwidth.
[0046] h. Satellite communication: The RF transceiver chip is synchronized with the FPGA IP core and can be used in satellite communication systems to achieve data transmission between earth stations and satellites.
[0047] i. Low-cost on-chip radar: In on-chip radar applications, the combination of RF transceiver chips and FPGA IP cores can be used to implement low-cost and efficient radar systems, which are suitable for a variety of monitoring and detection scenarios.
[0048] j. Wireless transmission of airborne video: In the field of UAVs, the RF transceiver chip is synchronized with the FPGA IP core, which can be used to realize the wireless transmission of airborne video and remote control and telemetry, meeting the requirements of small UAVs for data link volume, weight, power consumption and low cost.
[0049] In the above, the nouns and terms involved in the embodiments of the present application are explained, and the application fields of the technical solutions in the present application are explained to a certain extent. The following text will give a detailed description of the principles and implementation process of the technical solutions of the present application in combination with specific embodiments.
[0050] Figure 1The structural schematic diagram of a digital synchronization system in an embodiment of the present invention is shown. The digital synchronization system in this embodiment mainly includes a transmitting end and a receiving end, and a digital synchronization signal is connected between the transmitting interface of the transmitting end and the system reference pin set on the receiving end, and the digital synchronization signal is used to align the frame boundary and the multi-frame boundary; the transmitting end and the receiving end communicate based on the JESD204B communication protocol. Among them, the digital synchronization signal is configured to be turned on and off based on the automatic mode or the manual mode; if it is configured in the automatic mode, the transmitting end automatically sends out a digital synchronization signal to synchronize with the receiving end when the link is broken; if it is configured in the manual mode, whether to send a digital synchronization signal is selected according to the level state of the manual enable signal.
[0051] It should be understood that the ESD204B communication protocol is a high-speed serial data converter interface standard developed by the JEDEC committee. The transmitter (TX) and the receiver (RX) work together to achieve synchronous data transmission. The transmitter (TX) is responsible for encapsulating data into the format specified by the JESD204B protocol, including frame and multi-frame structures; the synchronization of data transmission is ensured through code group synchronization (CGS) and initialization channel alignment sequence (ILAS); the digital synchronization signal (SYSREF) is used to align the local multi-frame clock (LMFC) to achieve synchronization with the receiver; the digital synchronization signal (SYSREF) can be periodic or a single pulse to indicate the device clock edge of different converters or logic devices. The receiver (RX) receives data from the transmitter and decodes it using the serializer / deserializer (SERDES) module of the physical layer; the specific pattern in the data stream, such as the K28.5 code, is identified by detecting the SYNC signal to achieve code group synchronization; an elastic buffer is used to absorb the propagation delay of data in the link and release the data at the same time at a clearly defined time to ensure data synchronization.
[0052] The LMFC (Local Multi-Frame Clock) signal is used to ensure the synchronization of data transmission. LMFC is a local clock generated by the link clock and counted according to the F and K parameters. The K parameter ranges from 1 to 32, and the F parameter determines the number of bytes in each multi-frame. The periodic pulses of LMFC can be used to synchronize data transmission and ensure that the data can be correctly aligned and decoded at the receiving end. The period of LMFC can be calculated by the following formula:
[0053] LMFC period = link rate / (10×F×K); Formula (1)
[0054] For example, if the link rate is 10 Gbps, F=2, K=32, then the LMFC period is 64 ns.
[0055] The following uses the RF transceiver chip as the transmitter of the JESD204B communication protocol and the FPGA IP core as the receiver of the JESD204B communication protocol as an example to explain the technical solution of the present application in detail. For ease of description, the digital synchronization signal between the transmitter and the receiver is referred to as the SYSREF signal ( Figure 1 In the FPGA design, it is named lmfc_to_fpga), the system reference pin is referred to as the SYSREF pin, and the synchronous input signal is referred to as the sync_in signal.
[0056] It should be understood that the RF transceiver chip is the core component in the wireless communication system, responsible for converting the baseband signal into the RF signal for transmission, and converting the received RF signal into the baseband signal for processing. The functions of the RF transceiver chip include but are not limited to frequency conversion, frequency synthesis, signal amplification, filtering and switching. FPGA IP core, or intellectual property core, is a pre-designed circuit function module, which is divided into three forms according to the design complexity and application of the Yangtze River: soft core, solid core and hard core. The soft core provides hardware description language source code, which has high flexibility and reusability; the solid core is the integrated module, provided in the form of a netlist; the hard core is the final mask product, providing a fully laid out and wired netlist, with a high degree of predictability and optimization.
[0057] The signal transmission process between the RF transceiver chip and the FPGA IP core is roughly as follows: After the analog-to-digital converter (ADC) of the RF transceiver chip collects the analog signal and converts it into a digital signal, it sends the data through the JESD204B TX interface according to the specifications of the transport layer, data link layer, and physical layer specified in the protocol. At the data link layer, the synchronization of data transmission is ensured by code group synchronization (CGS) and initial channel alignment sequence (ILAS). Subsequently, the user data is transmitted to the 204B RX interface of the FPGA IP core in a high-speed serial manner at the physical layer. After the FPGA receives the data, it is processed by the corresponding JESD204B RX IP core to complete the synchronous reception and deserialization of the data. The FPGA IP core transmits the processed data through its 204B TX interface and the 204B RX interface of the RF transceiver chip, and then further transmits it to the digital transmission channel (tx_ch), and obtains the corresponding analog signal after digital-to-analog conversion for use in the analog domain.
[0058] In the embodiment of the present application, the system controls the automatic mode or manual mode through a 1-bit serial peripheral interface signal, for example, a high level indicates the automatic mode, and a low level indicates the manual mode, and the reverse setting may also be made, which is not limited in this embodiment. In the automatic mode, the enabling and disabling of the digital synchronization signal is controlled by a synchronization input signal (sync_in); the synchronization input signal is sent from the receiving end to the transmitting end.
[0059] In an embodiment of the present application, when the digital synchronization signal is configured as an automatic mode switch, the digital synchronization signal is automatically turned off after the sending end recognizes the link establishment identifier, and the digital synchronization signal is automatically turned on after the sending end recognizes the link disconnection identifier.
[0060] Preferably, the link establishment mark is represented by a synchronous input signal sent from the receiving end to the sending end, and when the synchronous input signal is in a high level state, it indicates that the link has been established; the link disconnection mark is that the synchronous input signal is in a low level and the duration reaches a threshold. The sending end is configured with a counter for recording the duration of the link disconnection, and the counter has a reserved upper limit value, which is greater than the threshold; the counter stops counting when the number of continuous low-level beats of the synchronous input signal recorded by the counter reaches the threshold.
[0061] In the specific implementation process, the transmitting end is configured with a counter for recording the duration of the link break. When the count value of the counter reaches a preset threshold, it is confirmed that the link break flag is identified and the digital synchronization signal is automatically turned on. For example, the counter records the number of low-level continuous beats of the sync_in signal, stops counting when the count reaches the threshold in a specific clock domain (such as the pclk clock domain), and pulls the SYSREF signal low.
[0062] Figure 2 The timing waveform diagram in the automatic mode working state is shown. It is formed according to the characteristics of the automatic mode. It is automatically closed when the link establishment signal is recognized, and reopened when the link is broken. The counter (cnt_sync_low) is used to record the low level duration of the sync_in signal, so that it stops when it counts to M in the pclk clock domain, and pulls the SYSREF signal low. If the count value of the counter (cnt_sync_low) is small, although the sync_in signal is low at this time, it is still judged as a link establishment state, and there is no need to pull SYSREF low.
[0063] It is worth noting that the synchronization input signal (hereinafter referred to as the sync_in signal) is used in the JESD204B communication protocol to indicate link establishment and link disconnection. The sync_in signal is a control signal used to request the transmitter to start sending synchronous data. The state of the sync_in signal usually indicates whether the receiver is ready to establish data link synchronization with the transmitter. If the state of the sync_in signal is high, it means that the link has been established, because the sync_in signal is usually valid at a low level, that is, when the sync_in signal is pulled low, it means that the receiver is requesting synchronization or link establishment. However, due to the alarm mode (for example, it may be due to a protection mechanism triggered by some abnormal or error state) or small interference that may exist in the RF transceiver chip, the low level of the sync_in signal may not be released immediately, which requires a certain margin for the low level time of sync_in to ensure that the system can be synchronized stably. Therefore, if the link disconnection lasts for a short time, it is not necessary to re-issue the SYSREF signal. The SYSREF signal needs to be re-issued only when the link disconnection time exceeds a limit.
[0064] Explanatory, when the link establishment signal is recognized, that is, the receiving end sends a sync_in signal, the sending end will automatically close the data stream and start sending a specific synchronization sequence (such as K28.5 code) to help the receiving end align and identify the boundaries of the data stream. This process is called code group synchronization (CGS). Once the receiving end successfully identifies and aligns the data stream, it will stop sending the sync_in signal, allowing the sending end to continue sending subsequent data, including the initial channel alignment sequence (ILAS) and user data. When the link is broken, that is, the data transmission is interrupted or an error occurs, the receiving end will re-send the sync_in signal to notify the sending end that the link is disconnected and needs to be resynchronized. At this time, the sending end will stop sending the current data stream and restart sending the synchronization sequence to re-establish link synchronization.
[0065] In an embodiment of the present application, when the digital synchronization signal is configured as a manual mode switch, a manual high level enables the digital synchronization signal, and a manual low level enables the digital synchronization signal.
[0066] In a specific implementation, the user can read and write specific registers (such as square wave registers) through software programming to change the state of the SYSREF signal. For example, when the manual enable signal (sys_man_en) is high, a square wave signal is output, and when the manual enable signal (sys_man_en) is low, no square wave signal is output. Figure 3 The timing waveform shown in .
[0067] In an embodiment of the present application, the system is provided with a delay control signal for controlling the phase of the SYSREF signal; when the JESD204B communication protocol operates in the subclass 0 operation mode, the delay control signal is an n-bit signal, and the square wave period of the SYSREF signal is 2 times the system clock period. n times, the phase shift range of the SYSREF signal is (0~2 n -1).
[0068] It should be understood that in the JESD204B interface, the SYSREF signal is a critical timing signal used to ensure synchronization between data converters and logic devices. When the SYSREF signal is used as a system-level reference signal, it allows deterministic latency, that is, the transmission of data from the transmitter to the receiver has a known and consistent delay. The phase of the SYSREF signal can be controlled by the delay control signal (hereinafter referred to as the sys_pha_ctr signal), which determines the delay of the SYSREF signal. When the JESD204B interface operates in mode 0, the square wave period of the SYSREF signal is 32 times the device clock period, so the phase shift range is 0 to 31, so the sys_pha_ctr signal should be a 5-bit signal, which is sufficient to provide the required phase control.
[0069] For example, during implementation, the delay time of SYSREF can be adjusted by configuring registers in the AXI4-LITE interface. This allows the phase of SYSREF to be adjusted programmatically to meet the synchronization requirements between different devices in the system. In some FPGA design examples, the SYSREF generator can generate a periodic or intermittent periodic SYSREF signal, and the period and duty cycle of SYSREF can be precisely controlled by configuring the multiplier and duty cycle.
[0070] Figure 4 The full phase controllable working condition is shown. The phase offset is determined by the value of the sys_pha_ctr signal and can be shifted by 0-31 pclk cycles (pclk is the master clock of the JESD204B communication protocol). Three typical cases are listed in the figure:
[0071] (1) When sys_pha_ctr = 0, the SYSREF signal has no phase shift.
[0072] (2) When sys_pha_ctr=16, the phase shift of the SYSREF signal is 16 pclk cycles. Combined with the fact that the entire SYSREF cycle is 32 pclk cycles, it is equivalent to inversion at this time.
[0073] (3) When sys_pha_ctr = 31, the phase shift of the SYSREF signal is the largest. When the sys_pha_ctr signal increases to 32, it is equivalent to the phase of the SYSREF signal has shifted a complete cycle. At this time, increasing the value of the sys_pha_ctr signal will have no additional meaning, because from the perspective of the phase, it returns to the original state. Therefore, the design in this mode is relatively simple, and the shift control of the sys_pha_ctr signal can be implemented by setting a 32-bit register to meet different phase adjustment requirements.
[0074] In the above, the structure of a digital synchronization system provided by an embodiment of the present invention is explained accordingly. Figures 5 to 10 To show the simulation results of the digital synchronization system of the present invention.
[0075] Figure 5 The figure shows a relatively simple situation in automatic mode. When rst_n is pulled high, the sync_in signal is 0, which means that the link is not established, so the lmfc_to_fpga signal (that is, the SYSREF signal in the modification requirement) will be issued. When the sync_in signal is 1, the 204B interface has established a link, so the lmfc_to_fpga signal will be pulled low. In the figure, the pclk period is 23.04ns, while the period of the lmfc_to_fpga signal is 737.28ns, which is exactly 32 times, which is consistent with the working state of mode 0.
[0076] Figure 6 The figure shows a more complicated situation in automatic mode. If the sync_in signal is pulled low irregularly due to the alarm mode or other interference, the cnt_sync_low variable is introduced to count the number of low-level beats of the sync_in signal in the pclk clock domain. In the figure, the intervals in which the sync_in signal is pulled low in the first few sections are too short, resulting in the sync_in signal not counting to the maximum value of 6. Therefore, it is considered that it is still in the link-building state at this time, and the lmfc_to_fpga (ie, SYSREF signal) will not be issued. The intervals in which the sync_in signal is pulled low in the following sections are getting longer and longer, and the value of cnt_sync_low reaches 6, so the lmfc_to_fpga signal will be output one after another. The last section of sync_in is at a low level for a long time, which is a completely disconnected state, so the output lmfc_to_fpga signal is a continuous square wave.
[0077] Figure 7The simulation results in manual mode are shown. As shown in the figure, sys_mode = 1, and the chip works in manual mode. When the manual enable signal sys_man_en is low, the output lmfc_to_fpga is 0. When the manual enable signal sys_man_en is high, the output lmfc_to_fpga signal is 1. The simulation results are consistent with the design requirements.
[0078] Figure 8 , 9 Figure 10 shows the simulation results of full phase control. In mode 0, the SYSREF signal period is 32 times that of pclk. Since the value of sys_pha_ctr can be 0-31, only a few typical cases need to be verified. Figure 8 The figure shows the phase relationship when sys_pha_ctr = 0. It can be observed that the lmfc_to_fpga signal samples the lmfc_to_fpga_temp signal, that is, it is in phase with the d[0] signal. Fig. 9 The figure shows the phase relationship when sys_pha_ctr=15(0F). At this time, the lmfc_to_fpga signal is in phase with d
[15] and is in anti-phase with the temp signal. Fig.10 The figure shows the phase relationship when sys_pha_ctr=31(1F). At this time, the lmfc_to_fpga signal is in phase with the temp signal and is in anti-phase with d
[15] .
[0079] Through the technical solution provided by this application, after this design, a digital synchronization signal SYSREF can be truly achieved, and the link establishment of JESD204B can be matched in the automatic mode, and the synchronization signal is continuously sent out to synchronize the RF chip with the FPGA or baseband data chip when the link is broken. In manual mode, it is possible to select whether to generate the digital synchronization signal SYSREF according to the high and low level conditions of the enable. Finally, the digital synchronization signal SYSREF satisfies the full phase controllability and can flexibly adapt to different usage scenarios. In normal use, synchronization between multiple chips and multiple devices can be made simpler, without the need for additional clock chips to send digital synchronization signals. At the same time, the digital synchronization signal SYSREF generated by the custom internal RF transceiver chip is in the same clock domain as the chip, and does not require additional hardware resources for cross-clock domain synchronization, and also has better timing performance.
[0080] In the embodiments of the present application, words such as "first" and "second" are used to distinguish the same or similar items with substantially the same functions and effects. For example, the first XX and the second XX are only used to distinguish different XXs, and do not limit their order. Those skilled in the art can understand that words such as "first" and "second" do not limit the quantity and execution order, and words such as "first" and "second" do not necessarily limit them to be different.
[0081] It should be noted that in the embodiments of the present application, words such as "exemplary" or "for example" represent examples, illustrations or descriptions. Any embodiment or design described as "exemplary" or "for example" in the present application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "exemplary" or "for example" is intended to present related concepts in a specific way.
[0082] In the embodiments of the present application, "at least one" refers to one or more, and "plurality" refers to two or more. "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone, where A and B can be singular or plural. The character " / " generally indicates that the previous and next associated objects are in an "or" relationship. "At least one of the following" or similar expressions refers to any combination of these items, including any combination of single or plural items. For example, at least one of a, b or c can represent: a, b, c, ab, ac, bc or abc, where a, b, c can be single or multiple.
[0083] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
[0084] In summary, the present application provides a digital synchronization system with the following beneficial effects: the present application can truly achieve a digital synchronization signal SYSREF, realize the link establishment of JESD204B in automatic mode, and continuously send out synchronization signals to synchronize the RF chip with the FPGA or baseband data chip when the link is broken. In manual mode, it is possible to select whether to generate a digital synchronization signal SYSREF according to the high and low level conditions of the enable. Finally, the digital synchronization signal SYSREF satisfies the full phase controllability and can flexibly adapt to different usage scenarios. In normal use, it can make synchronization between multiple chips and multiple devices simpler, without the need for additional clock chips to send digital synchronization signals. At the same time, the digital synchronization signal SYSREF generated by the RF transceiver chip is in the same clock domain as the chip, and does not require additional hardware resources for cross-clock domain synchronization, and also has better timing performance. Therefore, the present application effectively overcomes the various shortcomings in the prior art and has a high industrial utilization value.
[0085] The above embodiments are merely illustrative of the principles and effects of the present application and are not intended to limit the present application. Anyone familiar with the technology may modify or change the above embodiments without violating the spirit and scope of the present application. Therefore, all equivalent modifications or changes made by a person of ordinary skill in the art without departing from the spirit and technical ideas disclosed in the present application shall still be covered by the claims of the present application.
Claims
1. A digital synchronization system, characterized in that: include: A transmitting end and a receiving end; a digital synchronization signal is connected between the transmitting interface of the transmitting end and the system reference pin set on the receiving end, and the digital synchronization signal is used to align the frame boundary and the multi-frame boundary; the transmitting end and the receiving end communicate based on the JESD204B communication protocol; Among them, the digital synchronization signal is configured to be turned on and off based on automatic mode or manual mode; if it is configured in automatic mode, the transmitting end automatically sends out a digital synchronization signal to synchronize with the receiving end when the link is broken; if it is configured in manual mode, whether to send out a digital synchronization signal is selected according to the level state of the manual enable signal.
2. The digital synchronization system according to claim 1, characterized in that: The digital synchronization signal is controlled via a serial peripheral interface.
3. The digital synchronization system according to claim 2, characterized in that: The system controls the automatic mode or manual mode through a 1-bit serial peripheral interface signal; in the automatic mode, the enabling and disabling of the digital synchronization signal is controlled by a synchronization input signal; the synchronization input signal is sent from the receiving end to the transmitting end; in the manual mode, the enabling and disabling of the digital synchronization signal is controlled by a manual enable level.
4. The digital synchronization system according to claim 1, characterized in that: In the automatic mode, the transmitting end automatically turns off the digital synchronization signal after identifying the link establishment identifier.
5. The digital synchronization system according to claim 1, characterized in that: In the automatic mode, the transmitting end automatically turns on the digital synchronization signal after identifying a link break mark.
6. The digital synchronization system according to claim 3, characterized in that: The link establishment flag is represented by a synchronous input signal sent from the receiving end to the sending end. When the synchronous input signal is at a high level, it indicates that the link has been established.
7. The digital synchronization system according to claim 6, characterized in that: The link break indicator is that the synchronous input signal is at a low level and the duration reaches a threshold.
8. The digital synchronization system according to claim 6, characterized in that: The transmitting end is configured with a counter for recording the duration of the link break, the counter has a reserved counting upper limit value, and the counting upper limit value is greater than the threshold value; when the counter records the number of continuous low-level beats of the synchronous input signal reaching the threshold value, the counting stops.
9. The digital synchronization system according to claim 1, characterized in that: In manual mode, if the manual enable signal is identified as a high level, the digital synchronization signal is turned on, and if the manual enable signal is identified as a low level, the digital synchronization signal is turned off.
10. The digital synchronization system according to claim 1, characterized in that: The system is provided with a delay control signal for controlling the phase of the digital synchronization signal; when the JESD204B communication protocol operates in the subclass 0 operation mode, the delay control signal is an n-bit signal, and the square wave period of the digital synchronization signal is 2 times the system clock period. n times, and the phase shift range is (0~2 n -1).
Citation Information
Patent Citations
Multi-channel radio frequency direct acquisition and generation circuit applied to phased array radar
CN109889211A
Multi-channel sampling synchronization method based on timestamps
CN113533815A
ADC (Analog to Digital Converter) automatic synchronization method and device for ultrasonic system
CN115102682A
Satellite-borne SAR large-scale data synchronous acquisition device
CN118465760A
Digital radar intermediate frequency signal processing unit and digital phased array radar
CN215768986U
Cited By
Signal correlation synchronization method and system based on parallel processing
CN119853883A
