1 System overall design reading and writing
According to the design requirements: display more than 2 characters or patterns on the oscilloscope, such as displaying 0-9 ten numbers and English characters, images, etc., combined with the oscilloscope display principle, the circuit is designed as shown in Figure 1. The numbers or symbols to be displayed are modulo to obtain their binary form. The converted data is sent to the FPGA internal RAM for storage.
In the design, we use XILINX's SPARTAN-3 chip as the controller to complete the control of the total numerical control part, keyboard and display interface part. Adopt eight-bit (or higher bit) D/A conversion to convert the binary digital quantity output by the FPGA chip to analog, and get its voltage after passing through the high-speed operational amplifier. It is divided into two channels, X and Y, and output to the oscilloscope. According to the principle of oscilloscope, the numbers (or graphics) are displayed on the screen. The Z channel is another independent channel to control the brightness of the displayed digital.
2 System Hardware Design
2.1 Overall control module
Based on this design, the part of the system control module is a logic device with a mask programmable gate array - FPGA.
Spartan series FPGA is a representative of the high cost-effective products among Xilinx's programmable logic products, and Spartan-Ⅲ series FPGA is designed for users who need large capacity and low price electronic applications. This system uses the XC3S200 chip of XILINX, and its technical parameters are as follows:
●4 320 logic units;
●System gate density 200 k;
●CLB array 24*20, 480 in total;
●Maximum user I/O 173, maximum differential I/O 76;
●Distributed RAM capacity 30 Kbit, Block RAM capacity 216Kbit;
●Embedded 18x18 multiplier supports high-performance DSP applications;
●PCI and high-speed differential signaling with LVDS.
2.2 Storage unit module
Since FPGA is based on CMOS SRAM technology, it does not have power-off protection function. When there is no power supply, the configured data is lost and the chip function is also lost. Therefore, this design adopts the FLASH memory online reconfiguration method.
2.3 Peripheral circuit module
2.3.1 D/A Conversion
In the selection of D/A, we use the DAC0832 of American Semiconductor Company, which has the characteristics of 8-bit parallel, medium speed (setup time 1 us), current type, low price, etc. It has two working modes: single buffer working mode and double buffer working mode. In single buffer working mode, one register works in direct state and the other works in controlled latch state. When multi-phase D/A is not required to output simultaneously, single buffer mode can be used. At this time, only one write operation is required to start conversion, which can improve the data throughput of D/A. In double buffer working mode, both registers work in controlled latch state. When multiple analog quantities are required to output simultaneously, double buffer mode can be used.
Its technical parameters are: setup time 1 us; 8-bit parallel; low power consumption 20 mW; support voltage: 5 V ~ 15 V.
2.3.2 Operational Amplification
After D/A conversion, we get a current signal, and what needs to be input into the oscilloscope is a voltage signal, so an operational amplifier is used for conversion, and the operational amplifier is designed to be adjustable. By adjusting it, the output voltage can be adjusted to achieve the purpose of controlling the display amplitude. This design uses the LM741 series operational amplifier, and its technical indicators are as follows:
3 System Software Design
Based on the functions and flexibility of VHDL language, its advantages of non-dependency and portability, this design is implemented in FPGA programming using VHDL language. Overall design idea: Use 50 MHz external clock control to control the frequency division inside the FPGA, and obtain the clock signal required for the design under the action of the frequency division module. Select the module part to be displayed inside the ROM by key selection, scan in the X and Y directions to obtain preliminary data, and add a Z direction scan to control the brightness of the displayed graphics. By storing all "1"s in a ROM as a cache, the purpose of eliminating zero points is achieved. Transfer the data in the ROM to the RAM, perform mode conversion through ping-pong exchange operations, and finally input the oscilloscope through the peripheral circuit to achieve display. Overall flow chart:
4 Conclusion
This article is the hardware/software design ideas and design solutions of the digital oscilloscope graphic display system based on FPGA. After the design of this system is completed, the test shows that the system can display the corresponding graphics and text, and the displayed graphics and text are basically consistent with the expectations. The design meets the needs of the system, and more importantly, it has strong flexibility and controllability, while making the display faster and faster, and has a very broad application prospect.
Previous article:FPGA-based low-power automotive design based on non-volatile technology
Next article:Design and testing of RFID board-level electronic tag verification platform
- Huawei's Strategic Department Director Gai Gang: The cumulative installed base of open source Euler operating system exceeds 10 million sets
- Analysis of the application of several common contact parts in high-voltage connectors of new energy vehicles
- Wiring harness durability test and contact voltage drop test method
- Sn-doped CuO nanostructure-based ethanol gas sensor for real-time drunk driving detection in vehicles
- Design considerations for automotive battery wiring harness
- Do you know all the various motors commonly used in automotive electronics?
- What are the functions of the Internet of Vehicles? What are the uses and benefits of the Internet of Vehicles?
- Power Inverter - A critical safety system for electric vehicles
- Analysis of the information security mechanism of AUTOSAR, the automotive embedded software framework
Professor at Beihang University, dedicated to promoting microcontrollers and embedded systems for over 20 years.
- 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
- 【Development Kit for nRF52840】+ Review 5-thread trial
- How to determine whether the EN enable pin of the chip needs a series resistor?
- Looking for a constant current chip
- [National Technology N32G457 Review] RT_Thread Studio transplants USB virtual serial port
- Xunwei 4418 development board Linux system TFTP transfer file
- Thermal Design of Semiconductor Components: Heat Transfer and Heat Dissipation Paths
- 【Qinheng Trial】Implementation of USB HID
- matlab
- Driving external RF front end via BlueNRG-LP
- Live broadcast at 10 am today [How to reduce power supply noise with ADI low-noise Buck regulator]