The test object of the logic analyzer is the digital information in the digital system [1]. In order to meet the detection requirements of the modern data domain, the logic analyzer should have a high sampling rate and sufficient input channels. Based on the concept of virtual instrument, this paper mainly discusses the design principle and method of a 400MHz/102-channel logic analyzer based on PC586, focusing on the system control circuit design and system software design.
2 Virtual Logic Analyzer Architecture
Figure 1 is a block diagram of the overall structure of the 400MHz/102-channel virtual logic analyzer control and acquisition system in a PC environment, which mainly includes data acquisition, probes, trigger tracking, timing conversion and generation, and test interfaces. The input acquisition of this system consists of three modules, each of which has 32 data channels (plus two clock channels), using exactly the same functional structure. The third module has additional functions such as clock input and output, and control. The main reasons for adopting this structure are, first, to avoid the main acquisition board being too large and the components being too dense, which will cause difficulties in heat dissipation (due to the large number of high-speed devices), and second, the system structure is flexible, and 32, 64, and 96-channel configurations can be selected as needed.
The control and management, data processing and data display of the logic analyzer are completed by the embedded computer. Therefore, the design of the system hardware mainly focuses on high-speed data capture and the interface with the microcomputer, while the software design mainly focuses on system management, data post-processing and data display.
Figure 1 400MHz/102-channel virtual logic analyzer block diagram
3 System Hardware Design
High-speed data capture in the 400MHz/102-channel virtual logic analyzer is achieved by the control circuit completing trigger control and data access control, and the control circuit also realizes the interface with the microcomputer.
3.1 Data Storage Principle
When performing state analysis, the logic analyzer works synchronously with the system under test. In order to make the state data stored in the memory consistent with the data flow of the system under test, the following conditions should be met:
DATA*/FWEN=f(sclk,trw,dtc)*data (1)
In formula (1), DATA is the data stored in the logic analyzer; /FWEN is the write enable control of the main memory FIFO of the logic analyzer; sclk is the state (external) clock; trw is the trigger word; dtc is the data control; data is the data of the system under test. From formula (1), we can get the following formula:
DATA=data (2)
The condition for this is that the /FWEN signal must have a strict relationship with the sclk, trw, and dtc signals. According to the controllability theory in the testability design of digital systems, the CAMFLOT[2] method (Computer Aided Measure For Logic Testability) is applied, and we have:
In formulas (3) and (4), CY is the controllability, and its value is ε(0,1); CTF is the controllable transfer factor; N(0) and N(1) are the total number of times "0" and "1" appear at the circuit output when all different input values are added to the circuit input. From formula (3), we know that when the control signals such as sclk, trw, and dtc are reliably set, we can calculate:
CY(/FWEN)=1 (5)
That is, /FWEN is fully controllable to ensure that DATA=data.
When performing timing analysis, the logic analyzer and the system under test work asynchronously. At this time, the following conditions must be met:
DATA*/FWEN=f(trw)*data (6)
At the same time, taking the sampling frequency as 5 to 10 times the operating frequency of the system under test can effectively store the data stream required for observation, and obtain a sufficient observation range and satisfactory time resolution. [page]
3.2 Trigger control implementation principle
According to the data storage principle, one of the keys to correctly store the logic analyzer FIFO data is the control of trw, that is, to realize the trigger control such as start, end, delay (clock, event), random, sequence, combination and limitation through trigger recognition. Using the bit storage mapping method, high-speed EPLD[3] is combined with the trigger memory, and the principle block diagram of trigger control is designed as shown in Figure 2.
In Figure 2, D0~Dmk-1 are the measured data. The trigger RAM data bit width is n, the address width is k, and the number is m, so the width of the observable data stream is m·k. When k≥n, the maximum sequence trigger or combination trigger recognition level L is:
L≦2n-1 (7)
Figure 2 Trigger control implementation principle block diagram
4 System Software Design
Using the graphical interface operating system Windows and the Windows-based visual programming platform C++Builder, the software consists of 15 windows and 5 unit files. The relationship between the main windows is shown in Figure 3.
Figure 3 System software windows and their relationships
5 Conclusion
The logic analyzer has a complex structure and high technical requirements. The design ideas and methods based on the concept of virtual instruments described in this article greatly simplify the hardware circuit due to the softening of some hardware functions. At the same time, EPLD devices are used to reduce the instrument cost, improve the reliability and performance of the instrument, and the function is easy to expand. The 400MHz/102-channel logic analyzer passed the technical appraisal hosted by the Military Industry Pre-Research Bureau of the Ministry of Information Industry on December 28, 2000.
Previous article:A Brief Analysis of Spectrum Analyzer and EMI Receiver
Next article:Design example of biochemical analyzer optics based on narrow-band filters
- Popular Resources
- Popular amplifiers
- Keysight Technologies Helps Samsung Electronics Successfully Validate FiRa® 2.0 Safe Distance Measurement Test Case
- From probes to power supplies, Tektronix is leading the way in comprehensive innovation in power electronics testing
- Seizing the Opportunities in the Chinese Application Market: NI's Challenges and Answers
- Tektronix Launches Breakthrough Power Measurement Tools to Accelerate Innovation as Global Electrification Accelerates
- Not all oscilloscopes are created equal: Why ADCs and low noise floor matter
- Enable TekHSI high-speed interface function to accelerate the remote transmission of waveform data
- How to measure the quality of soft start thyristor
- How to use a multimeter to judge whether a soft starter is good or bad
- What are the advantages and disadvantages of non-contact temperature sensors?
- 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
- EEWORLD University ---- Open Source PWM Robotic Arm (STM32 Version) Video Tutorial
- [RVB2601 Creative Application Development] Part 4 Sound Histogram
- Waveform changes of different ANT frequencies
- Regulator tube usage help
- SD card creative stickers
- How do you entertain yourself while staying at home?
- Is there any solution to adjust the voltage accurately to 0.1V and start continuously and stably? ??? ? Help! ! ! !
- Learn about the internal structure of ST waterproof pressure sensor in this 32-second video
- 【Qinheng CH582】Evaluation Summary
- Introduction to oscilloscope related terms (Part 2)