Its working principle is as follows: As shown in Figure 2, a triangle wave is generated at point F. The amplitude of the triangle wave can be adjusted by adjusting RP3, and the frequency of the triangle wave can be adjusted by adjusting RP2. U1D is a voltage comparator. The waveform at point F and the waveform at point B are compared to finally obtain the waveform at point C. Since the PWM waveform at point C is obtained by comparing the voltages at points F and B, the voltage value at point B can be adjusted by adjusting RP1, and the duty cycle of the waveform at point C can be adjusted to ensure that the duty cycle of the waveform at point C exceeds 50%. The waveform at point C is driven by the OTL circuit to obtain the final test waveform at point D. After the amplified square wave signal is obtained at point D, it is used as a drive output signal through the CMOS tube to drive a motor or a signal light.
[page]
1 Test Task
The test task of this design is: take the PWM circuit board as the test object, use the digital oscilloscope Tek TBS1012B-SC with USB interface, matrix switch, and digital I/O card to build a test platform, and design an automatic test system for measuring the waveform of the key points of the PWM circuit board on the LabVIEW development platform.
Make it have the following functions:
(1) It can observe and adjust the triangular wave output frequency and waveform, and can adjust it in a human-computer interaction way, fo=1kHz±5%; Up=3V±10%.
(2) It can observe the waveform of the comparator output point C. And it can adjust the duty cycle of point C to 50% in a human-computer interaction way.
(3) It can observe the modulation waveform of point D.
(4) The measured waveforms, frequency, and amplitude of points F, C, and D can be displayed on the interface of the test system.
2 Hardware Platform
This system uses LabVIEW as a development platform to write test programs. Test the key points of the PWM circuit to determine whether the circuit components have achieved the intended functions. The system hardware platform mainly consists of Tek TDS1012B-SC, voltage regulator, matrix switch, matrix switch driver - NI6509 digital I/O card, etc. The hardware platform is shown in Figure 3.
2.1 Oscilloscope
Since the system is used to measure the waveforms of key points F, C, and D in the PWM circuit, the circuit needs to be adjusted before the system starts testing. The debugging requirements are: adjust the frequency and amplitude of the triangle wave to make fo=1kHz±5%; Up=3V±10%. The debugging process needs to be carried out by observing the oscilloscope. In addition, after measuring the waveform of a test point, the general oscilloscope needs to manually switch the test point. If it is a Tek digital oscilloscope, the waveform can be tested continuously. Its function is to measure the waveform and automatically transmit the waveform and data to the computer.
[page]
2.2 Matrix switch
To measure the waveforms of the key points F, C, and D in the PWM circuit, there is only one oscilloscope. One oscilloscope is needed to measure the waveforms of the three test points, so a multi-point switch is needed for switching. We use a matrix switch to switch between the points.
This test system uses a 4×24 matrix switch to assign different test points (such as F, C, and D) to the input end of the oscilloscope to achieve time-sharing measurement of multi-point waveforms by the oscilloscope. The principle circuit diagram of the matrix switch is shown in Figure 4.
Generally, the measuring instruments are connected to H0, H1, H2, and H3, and V0, V1, V2, ..., and V23 are connected to the test points. As long as the switch that crosses the row and the column is turned on, the instrument connected to the row can be connected to the test point of the column. For example, if the oscilloscope is connected to H0, as long as K0 is turned on, the oscilloscope measures the waveform at point V0. If k1 is turned on, the oscilloscope measures the waveform at the V1 test point. For this system, H0 is connected to the oscilloscope, V0 is connected to point F of the circuit, V1 is connected to point C of the circuit, and V2 is connected to point D of the circuit. The actions of K0, K1, and K2 are controlled by the driving circuit of the matrix switch, that is, under the control of the driver, K0 is closed to measure the waveform at point F, K1 is closed to measure the waveform at point C, and K2 is closed to measure the waveform at point D.
2. 3 Matrix switch drive component - NI6509 digital I/O card
The NI PCI-6509 industrial 96-channel digital I/O card for PCI has 96 bidirectional digital I/O lines, capable of high current drive (24mA) and without the need for jumpers. Using the PCI-6509, you can input and output at 5VDC digital levels and directly drive external digital devices such as solid-state relays (SSRs) at up to 24mA per channel. Each port (8 lines) can be configured for input or output, and no external power is required for output. With the programmable power-on state enabled, the initial output state can be configured in software to ensure safe and trouble-free operation when connected to industrial actuators (pumps, gates, motors, relays).
For applications that require onboard pull-up resistors, consider using the NIPCI-DIO-96 parallel digital I/O card.
In the event of a computer or application failure, the PCI-6509 uses a digital I/O watchdog to switch to a configurable safe output state, ensuring that once it is connected to the industrial actuator, it can detect the fault condition and recover safely. With change detection, when the digital state changes (no polling is required), the digital I/O board can notify and trigger your software. The programmable input filter can be used to eliminate faults/spikes and debounce digital switches/relays through the optional software digital filter.
The 4-row 24-column array switch selected in this system requires 96 I/O ports to drive, and the 6509 digital I/O card happens to have 12 8-bit digital ports, which can fully meet the needs. So the 6509 digital I/O card was selected for operation.
Previous article:Using LabVIEW, PXI, DAQ, and DIAdem to Build a Sonar Dome Monitoring System
Next article:Design of induction motor test system based on virtual instrument
Recommended ReadingLatest update time:2024-11-16 17:28
- Popular Resources
- Popular amplifiers
- 100 Examples of Microcontroller C Language Applications (with CD-ROM, 3rd Edition) (Wang Huiliang, Wang Dongfeng, Dong Guanqiang)
- Arduino Nano collects temperature and humidity data through LabVIEW and DHT11
- Modern Testing Technology and System Integration (Liu Junhua)
- Computer Control System Analysis, Design and Implementation Technology (Edited by Li Dongsheng, Zhu Wenxing, Gao Rui)
- 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
- Introduction to PID Control Algorithm and Strategy
- Application of TI PD solutions in the security market
- DSP28335 Peripheral Clock
- Please explain the role of the window comparator here
- EEWORLD University Hall----Live Replay: TI MSP430 low-power analog peripherals help home portable healthcare products
- [Sipeed LicheeRV 86 Panel Review] I Unboxing and Basic Function Test
- [Atria Development Board AT32F421 Review] 4. Run RTX
- [MM32 eMiniBoard Review] Initial Impressions of Receiving Data Download Environment Setup
- A brief discussion on several application solutions of GPRS
- 【Embedded Qt】Building the Qt runtime environment for embedded Linux