Device and method for monitoring noise of power supply system of field programmable logic device
Through the combination of the oscillation ring module and the delay chain sampling module, the problem of insufficient noise monitoring accuracy and universality in the FPGA power supply system is solved, and high sensitivity and high precision noise monitoring is achieved, which is suitable for the detection of high frequency and weak noise.
Patent Information
- Application Number
- CN202410607809.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-16
- Publication Date
- 2024-11-08
- Estimated Expiration
- 2044-05-16
AI Technical Summary
The existing FPGA power supply system noise monitoring methods are difficult to accurately monitor high-frequency or weak noise, and the built-in ADC module has insufficient bandwidth and resolution, and is not versatile, making it difficult to expand to other circuit systems.
The oscillation ring module is used to generate periodic oscillation signals, and the delay chain sampling module is used to quantify the high sampling rate, and noise monitoring is used to use the data processing module. All modules are implemented by the FPGA's own logic resources, with high sensitivity and high accuracy.
It realizes high sensitivity and high precision noise monitoring of power supply system, improves resolution and bandwidth, has flexibility and versatility, can cope with high frequency or weak noise monitoring, and does not rely on dedicated ADC circuits.
Smart Images

Figure CN118311338B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of noise monitoring and measurement of a power supply system of a field programmable logic device, and in particular to a device and method for monitoring the noise of a power supply system of a field programmable logic device. Background Art
[0002] Field programmable logic devices (FPGAs) are widely used in signal acquisition, processing, high-speed data transmission, communication and other fields with their flexible programmability, rich logic resources and dedicated circuit modules. With the development of VLSI technology, the integration (logic unit capacity), circuit design complexity and operating frequency of FPGA devices are constantly improving. In particular, with the application of high-speed data processing and communication interfaces inside FPGA, the importance of signal integrity of its internal power supply system has begun to emerge. Specifically, on the one hand, the circuit noise and interference generated by the high-speed and high-density logic circuits inside FPGA during operation and state switching will affect other circuit units inside FPGA and the normal operation of the precision circuit system around FPGA through the power supply system; on the other hand, the high-speed and high-precision modules and interface circuits (such as clocks, high-speed serial interface modules, etc.) inside FPGA will also be affected by the internal and external circuits of FPGA through the power supply system. The noise in the power supply system will affect the logic units that are still in the logic state switching, and even cause logic switching errors. The working timing of the logic circuit will also be affected by the power supply noise, thereby limiting the data transmission rate and the maximum clock operating frequency of FPGA. This makes us put forward higher requirements on the quality of FPGA power supply system. It is crucial to accurately monitor the FPGA's power supply system: on the one hand, by real-time and accurate detection of power supply system noise, the operating environment of the high-speed and high-precision modules inside the FPGA can be evaluated in real time, providing a reference for circuit fault diagnosis; on the other hand, accurate power supply system noise monitoring is also an important evaluation method for power supply system design, which can help us better evaluate the performance of power supply noise suppression technology.
[0003] Although the monitoring of FPGA power system noise can be indirectly achieved by monitoring the external power supply circuit, this approach is not easy to directly and accurately evaluate the impact on the internal circuit of the FPGA; monitoring the power system through the internal circuit of the FPGA can more accurately and directly reflect the operation of the internal circuit of the FPGA. At present, the ADC power monitoring module built into the FPGA is commonly used for monitoring the internal power noise of the FPGA. The built-in ADC power monitoring module can realize the monitoring of FPGA power noise to a certain extent, but the bandwidth and minimum resolution of the ADC power monitoring module are often not high (for example: the sampling rate of the XADC built into the Xilinx 7 series FPGA is 1MSPS, and the minimum resolution is 244μV), which makes it difficult to monitor high-frequency power noise or weak power noise. At the same time, the built-in ADC power monitoring module is not universal and is not easy to be extended to other circuit systems. In addition, the ADC module is a fixed function module inside the FPGA, with a limited number and fixed position. It is impossible to plan the number of monitoring units based on the actual situation of the internal circuit of the FPGA, nor can it be flexibly laid out to maximize the proximity to the monitored circuit. In order to improve the flexibility and versatility of power monitoring, one of the current mainstream methods is to use the oscillation ring integrated inside the FPGA. In this power monitoring method, a counter is used to count the edges of the oscillation ring to calculate the frequency of the oscillation ring that carries the power plane information. However, limited by the operating frequency of the FPGA, the sampling rate of this method is only at the level of hundreds of megahertz, with poor performance, and it is difficult to cope with the monitoring of high-frequency power supply noise or weak power supply noise. Summary of the invention
[0004] The object of the present invention is to provide a device and method for monitoring the noise of a power supply system of a field programmable logic device, which can realize high-sensitivity and high-precision power supply system noise monitoring.
[0005] The objective of the present invention is achieved through the following technical solutions:
[0006] A device for monitoring noise of a power supply system of a field programmable logic device comprises: an oscillation ring module, a delay chain sampling module and a data processing module;
[0007] The oscillation ring module is used to generate a periodic oscillation signal capable of reflecting the power system noise of the field programmable logic device;
[0008] The delay chain sampling module is used to sample the periodic oscillation signal generated by the quantization oscillation ring module;
[0009] The data processing module is used to receive the sampling quantization information of the delay chain sampling module, and obtain the monitoring result of the field programmable logic device power system noise by means of data processing.
[0010] A method for monitoring noise in a power system of a field programmable logic device, comprising:
[0011] Step 1, generating a periodic oscillation signal capable of reflecting the power system noise of the field programmable logic device;
[0012] Step 2: Using the delay chain to sample and quantize the periodic oscillation signal generated by the oscillation ring module;
[0013] Step 3: Receive sampling quantization information from the delay chain sampling module, and obtain monitoring results of the field programmable logic device power system noise through data processing.
[0014] It can be seen from the technical solution provided by the present invention that an oscillation ring is used to sense the noise signal of the power supply system, and the oscillation signal generated by the oscillation ring is sampled through a delay chain, so that the monitoring of the power supply system noise can be realized. All modules can be realized by the logic resources of the FPGA itself, and have the characteristics of high integration, simple structure, and flexible implementation. Compared with the method of using the built-in ADC module of the FPGA for power monitoring, the present invention has better resolution and bandwidth in performance, and does not rely on a dedicated ADC circuit in implementation, and can be flexibly arranged and reconstructed inside the FPGA according to needs. In addition, the method is also highly versatile and can be flexibly expanded or integrated into other circuit systems for power supply noise monitoring of corresponding systems. Compared with the power supply monitoring method that uses a counter to count the edge of the oscillation ring, this method uses a delay chain to sample and quantize the oscillation ring signal carrying the power plane information, has a higher sampling rate, and can improve the performance of the power supply monitoring work to cope with the monitoring of high-frequency power supply noise or weak power supply noise. BRIEF DESCRIPTION OF THE DRAWINGS
[0015] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying creative work.
[0016] Figure 1 A schematic diagram of a device for monitoring noise in a power supply system of a field programmable logic device provided by an embodiment of the present invention;
[0017] Figure 2 A schematic diagram of each module implemented by internal logic resources of a field programmable logic device provided in an embodiment of the present invention;
[0018] Figure 3 A flow chart of a method for monitoring noise in a power supply system of a field programmable logic device provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0019] The following is a clear and complete description of the technical solutions in the embodiments of the present invention in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the protection scope of the present invention.
[0020] First, the terms that may be used in this article are explained as follows:
[0021] The terms "include", "comprises", "contains", "has" or other descriptions with similar semantics should be interpreted as non-exclusive inclusion. For example, including certain technical feature elements (such as raw materials, components, ingredients, carriers, dosage forms, materials, dimensions, parts, components, mechanisms, devices, steps, procedures, methods, reaction conditions, processing conditions, parameters, algorithms, signals, data, products or products, etc.) should be interpreted as including not only certain technical feature elements explicitly listed, but also other technical feature elements known in the art that are not explicitly listed.
[0022] The term "consisting of..." means excluding any technical feature elements not explicitly listed. If this term is used in a claim, it will make the claim closed, so that it does not include technical feature elements other than the technical feature elements explicitly listed, except for the conventional impurities related to them. If this term only appears in a clause of a claim, it only limits the elements explicitly listed in the clause, and the elements recorded in other clauses are not excluded from the overall claim.
[0023] The following is a detailed description of a device and method for monitoring the noise of a field programmable logic device power supply system provided by the present invention. The contents not described in detail in the embodiments of the present invention belong to the prior art known to professional and technical personnel in the field. If no specific conditions are specified in the embodiments of the present invention, the conventional conditions in the field or the conditions recommended by the manufacturer are followed. The instruments used in the embodiments of the present invention, if the manufacturer is not specified, are all conventional products that can be purchased commercially.
[0024] Embodiment 1
[0025] The embodiment of the present invention provides a device for monitoring the noise of a power supply system of a field programmable logic device, such as Figure 1 As shown, it mainly includes: an oscillation ring module, a delay chain sampling module and a data processing module connected in sequence;
[0026] The oscillation ring module is used to generate a periodic oscillation signal capable of reflecting the power system noise of the field programmable logic device;
[0027] The delay chain sampling module is used to sample the periodic oscillation signal generated by the quantization oscillation ring module;
[0028] The data processing module is used to receive the sampling quantization information of the delay chain sampling module, and obtain the monitoring result of the field programmable logic device power system noise through data processing methods (bubble elimination, noise shaping, spectrum analysis, etc.).
[0029] The above-mentioned module provided by the embodiment of the present invention can be realized by the internal logic resources of the FPGA, has the characteristics of simple structure and easy implementation, and can be flexibly customized according to needs (quantity, and the position placed inside the FPGA). In addition, the present invention can realize the amplitude measurement of power supply noise and interference, and can also realize the frequency measurement of power supply noise and interference. Compared with the method of using the built-in ADC module of the FPGA for power supply monitoring, the present invention has better resolution and bandwidth in performance, and does not rely on dedicated ADC circuits in circuit implementation, and can be flexibly arranged and reconstructed inside the FPGA according to needs. In addition, it also has the characteristics of strong versatility and can be easily expanded to other systems. Compared with the power supply monitoring method that uses a counter to count the edges of the oscillation ring, the present invention uses a delay chain to sample and quantize the oscillation ring signal, which significantly improves the sampling rate, thereby achieving better resolution and bandwidth.
[0030] In order to more clearly demonstrate the technical solution and technical effects provided by the present invention, the device provided by the embodiment of the present invention is described in detail with reference to a specific embodiment below.
[0031] An apparatus for monitoring the noise of a field programmable logic device power system provided by an embodiment of the present invention mainly includes: an oscillation ring module, a delay chain sampling module and a data processing module, all of which can be implemented by internal logic resources of the field programmable logic device, such as Figure 2 As shown, a related example is shown; among them, 1 is an oscillation ring module; 2 is a periodic oscillation signal; 3 is a delay chain sampling module; 4 is a sampling quantization signal; and 5 is a data processing module.
[0032] The above device can solve the following problems: 1) The accuracy and bandwidth of FPGA internal power system noise monitoring: The current FPGA built-in ADC power monitoring module is difficult to monitor high-frequency power noise or weak power noise; 2) The customizability of FPGA internal power system noise monitoring (such as: the specific location inside the FPGA, the number of modules) and versatility: The number and location of the current FPGA built-in ADC power monitoring modules are fixed, and the versatility is poor, making it difficult to expand to other systems. 3) The sampling rate problem of the power monitoring method using an oscillation ring: The current power monitoring method based on a counter to count the edges of the oscillation ring has a low sampling rate. The following is a detailed introduction to each module inside the device.
[0033] 1. Oscillating ring module.
[0034] In an embodiment of the present invention, the oscillation ring module includes: a delay chain and an inverter composed of FPGA internal logic resources (such as CARRY8 carry logic resources), which are integrated inside the FPGA. Since the unit module delay in the oscillation ring module is modulated by the noise on the power supply, the periodic oscillation signal generated by it is affected by the power supply system noise of the FPGA, which can reflect the power supply system noise or interference of the FPGA.
[0035] 2. Delay chain sampling module.
[0036] In an embodiment of the present invention, the delay chain sampling module includes: a delay chain composed of FPGA internal logic (such as CARRY8 carry logic resources), which realizes sampling and quantization of periodic oscillation signals by capturing the state of periodic oscillation signals during transmission. The delay chain sampling module is equivalent to a delay interval of a carry connection subunit, and its equivalent sampling rate can reach 50GS / s based on a 20ps equivalent delay calculation.
[0037] 3. Data processing module.
[0038] In an embodiment of the present invention, the data processing module is also implemented using FPGA logic resources, and mainly includes: a bubble elimination module, a noise shaping module and a spectrum analysis module. By performing bubble elimination, noise shaping (such as exclusive OR operation) and spectrum analysis on the sampled quantization information in sequence, the monitoring results of the FPGA power supply system noise are obtained, including: the time domain waveform of the FPGA power supply noise, the frequency domain information and other processing results.
[0039] In the embodiment of the present invention, all modules inside the device are implemented by the internal logic resources of the FPGA, which has the advantages of simple structure and easy implementation, and can also be flexibly arranged and reconstructed inside the FPGA according to needs. All modules have strong versatility and can be easily expanded to other systems; at the same time, the delay chain sampling module used has a very high sampling rate and can accurately sample the periodic oscillation signal generated by the oscillation ring module. This feature significantly improves the bandwidth of the method, enabling it to more effectively monitor the high-frequency power supply noise of the FPGA; and while using the delay chain sampling to obtain a very high sampling rate, it also has the function of noise shaping, which has a wide range of application prospects in the monitoring of high-frequency noise and weak noise. In addition, the noise shaping (such as XOR operation) of the data processing module used gives the processing result a first-order shaping effect, thereby significantly improving the resolution. This feature enables it to more effectively monitor the weak power supply noise of the FPGA.
[0040] Through the above analysis, the present invention can achieve the following beneficial effects: all modules are implemented by the internal logic resources of the FPGA, which has the advantages of simple structure and easy implementation, and can also be flexibly arranged and reconstructed inside the FPGA according to needs; a delay chain sampling module is used to sample the periodic oscillation signal, which has an extremely high sampling rate, thereby giving the method excellent bandwidth characteristics; noise shaping (such as XOR operation) is used for signal processing, so that the processing result has a first-order noise shaping effect, thereby making the method have a very high resolution; all modules are implemented by logic resources, so that the method has strong versatility and can be easily extended to other systems for power supply noise monitoring of the corresponding systems.
[0041] Those skilled in the art can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional modules is used as an example. In actual applications, the above-mentioned functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above.
[0042] Embodiment 2
[0043] The present invention also provides a method for monitoring the noise of a field programmable logic device power supply system. Figure 3 As shown, the process mainly includes the following steps:
[0044] Step 1, generating a periodic oscillation signal capable of reflecting the power system noise of the field programmable logic device;
[0045] Step 2: Using the delay chain to sample and quantize the periodic oscillation signal generated by the oscillation ring module;
[0046] Step 3: Receive sampling quantization information from the delay chain sampling module, and obtain monitoring results of the field programmable logic device power system noise through data processing.
[0047] The above method provided by the embodiment of the present invention is mainly implemented based on the device provided in the aforementioned embodiment 1. Specifically: step 1 is implemented by an oscillation ring module, step 2 is implemented by a delay chain sampling module, and step 3 is implemented by a data processing module; the oscillation ring module, delay chain sampling module and data processing module are implemented by internal logic resources of a field programmable logic device.
[0048] In an embodiment of the present invention, the oscillation ring module includes: a delay chain and an inverter formed by internal logic resources of a field programmable logic device; the periodic oscillation signal generated by the oscillation ring module is affected by the power system noise of the field programmable logic device and can reflect the power system noise of the FPGA.
[0049] The delay chain sampling module comprises a delay chain formed by internal logic resources of a field programmable logic device, and realizes sampling and quantization of the periodic oscillation signal by capturing the state of the periodic oscillation signal during transmission.
[0050] The data processing module includes: a bubble elimination module, a noise shaping module and a spectrum analysis module which are composed of internal logic resources of a field programmable logic device. The monitoring result of the noise of the power supply system of the field programmable logic device is obtained by performing bubble elimination, noise shaping and spectrum analysis on the sampled quantization information in sequence.
[0051] Considering that the specific technical details involved in this method have been introduced in detail in the above-mentioned embodiment 1, they will not be repeated here.
[0052] The above is only a preferred specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any changes or substitutions that can be easily thought of by a person skilled in the art within the technical scope disclosed in the present invention should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.
Claims
1. A device for monitoring noise in a power supply system of a field programmable logic device, characterized in that: include: Oscillating ring module, delay chain sampling module and data processing module; The oscillation ring module is used to generate a periodic oscillation signal capable of reflecting the power system noise of the field programmable logic device; The oscillation ring module includes: a delay chain and an inverter formed by internal logic resources of a field programmable logic device; the periodic oscillation signal generated by the oscillation ring module is affected by the power system noise of the field programmable logic device and can reflect the power system noise of the FPGA; The delay chain sampling module is used to sample the periodic oscillation signal generated by the quantization oscillation ring module; The data processing module is used to receive the sampling quantization information of the delay chain sampling module, and obtain the monitoring result of the noise of the power supply system of the field programmable logic device by data processing; the data processing module includes: a bubble elimination module, a noise shaping module and a spectrum analysis module composed of internal logic resources of the field programmable logic device, and obtains the monitoring result of the noise of the power supply system of the field programmable logic device by performing bubble elimination, noise shaping and spectrum analysis on the sampling quantization information in sequence.
2. The device for monitoring noise of a field programmable logic device power supply system according to claim 1, characterized in that: The oscillation ring module, the delay chain sampling module and the data processing module are implemented by internal logic resources of a field programmable logic device.
3. A device for monitoring noise in a field programmable logic device power supply system according to claim 1 or 2, characterized in that: The delay chain sampling module comprises a delay chain formed by internal logic resources of a field programmable logic device, and realizes sampling and quantization of the periodic oscillation signal by capturing the state of the periodic oscillation signal during transmission.
4. A method for monitoring noise in a field programmable logic device power supply system, characterized in that: include: Step 1, generating a periodic oscillation signal capable of reflecting the power system noise of the field programmable logic device; The step 1 is implemented by an oscillation ring module, which includes: a delay chain and an inverter formed by internal logic resources of a field programmable logic device; the periodic oscillation signal generated by the oscillation ring module is affected by the power system noise of the field programmable logic device and can reflect the power system noise of the FPGA; Step 2: Using the delay chain to sample and quantize the periodic oscillation signal generated by the oscillation ring module; Step 3, receiving the sampling quantization information of the delay chain sampling module, and obtaining the monitoring result of the noise of the power supply system of the field programmable logic device by means of data processing; the step 3 is implemented by the data processing module, and the data processing module includes: a bubble elimination module, a noise shaping module and a spectrum analysis module composed of internal logic resources of the field programmable logic device, and the monitoring result of the noise of the power supply system of the field programmable logic device is obtained by performing bubble elimination, noise shaping and spectrum analysis on the sampling quantization information in sequence.
5. The method for monitoring the noise of a field programmable logic device power supply system according to claim 4, characterized in that: The step 2 is implemented by a delay chain sampling module, and the oscillation ring module, the delay chain sampling module and the data processing module are implemented by internal logic resources of a field programmable logic device.
6. The method for monitoring the noise of a field programmable logic device power supply system according to claim 5, characterized in that: The delay chain sampling module comprises a delay chain formed by internal logic resources of a field programmable logic device, and realizes sampling and quantization of the periodic oscillation signal by capturing the state of the periodic oscillation signal during transmission.
