Share this

DSP-based power system measurement and detection device

2026-04-06 07:36:56 · · #1
1. Overall Design The hardware configuration of the entire device is shown in Figure 1. It consists of a data processing unit (DSP), a human-machine interface unit, and a data acquisition unit. The DSP unit mainly completes CAN bus communication, data storage, and a large number of mathematical operations, giving full play to its strong computing power. The acquisition unit adopts MAX125 to achieve 32 channels, 16 channels, simultaneous, high-speed, 14-bit resolution sampling. The human-machine interface unit adopts LCD display and Chinese menu operation. [align=left] 2. Features of TMS320LF2407A (1) High-performance static CMOS technology reduces the power supply voltage to 3.3V, reducing the chip's power consumption. The 30MIPS execution speed shortens the instruction cycle to 33ns, thereby improving the chip's real-time computing power and providing conditions for us to analyze the transient information of the sampled signals in real time. (2) The chip has up to 32K words of FLASH program memory, up to 1.5K words of data/program RAM, 544 words of dual-port RAM (DARAM), and 1.5K words of single-port RAM (SARAM). The external expandable memory has a total of 192K words, 64K words of program memory, 64K words of data memory, and 64K words of I/O address space. This is beneficial for us to store the sampled data and provide as much steady-state information as possible while analyzing transient information. (3) The CAN controller module is a complete CAN controller. It is a 16-bit peripheral module that fully supports the CAN2.0B protocol. Therefore, we can easily integrate it into the power integrated automation system through the CAN bus. (4) It has a serial communication module (SCI). The receiver and transmitter are double-buffered, and each has its own separate enable and interrupt flag bits. The two can work independently or in full-duplex mode. Here, we use the serial communication interface to communicate with the human-machine interface module. 3. Features of MAX125 MAX125 is a high-speed multi-channel 14-bit data acquisition chip with an internal synchronous sample-and-hold circuit. The chip includes a 14-bit successive approximation analog-to-digital converter with a conversion time of 3μs, an internal 2.5V voltage reference, a buffered internal voltage reference input, an internal 16MHz clock, and a set of sample-and-hold circuits that can simultaneously sample four input signals. Each sample-and-hold circuit (T/H) in the MAX125 has a 2-to-1 selector switch, resulting in a total of eight input signals. During signal conversion, a fault in one channel will not affect the conversion results of other channels. In default mode, the outputs of the four sample-and-hold amplifiers convert channels 1 through 4 sequentially, generating an interrupt signal after all four channels have been converted. Alternatively, the MAX125 can be programmed via its bidirectional parallel port to convert only channels 1, 2, and 3, allowing it to continuously convert specific channels until reprogrammed. The interrupt signal always occurs after the last conversion is completed. The conversion time for a single channel is 3μs, and the result is stored in the chip's internal 4×14-bit RAM after conversion. After all conversions are complete, read pulses can be applied to the RD pin sequentially to read the internal data. Four read operations sequentially read four data words from the RAM. Because the data bus levels of the MAX125 and TMS320LF2407A are not completely identical, a bus level conversion chip, SN741VTH245A, is used, with read/write control signals controlling the bus conversion direction. 4. Inter-module Communication The TMS320LF2407A not only has a serial communication module but also a CAN controller module. To alleviate the burden on the DSP and reduce the number of DSP interrupt responses, a separate microcontroller-controlled human-machine interface unit is used. The DSP and the human-machine interface unit communicate serially via RS232. Due to its simple structure, flexible communication methods, CRC checksum, long communication distance, strong anti-interference capability, low cost, and ease of adding or removing nodes as a masterless network, the CAN bus has been widely used in many areas. Here, through the CAN bus controller module, this part can be easily integrated into other systems. 5. Conclusion This device operates stably and reliably, overcoming the shortcomings of traditional devices with low sampling rates. It can achieve a maximum sampling rate of 76KHz, meeting the sampling rate requirements of wavelet transform for signal processing, and greatly improving the device's ability to acquire transient information of power systems. The 14-bit sampling accuracy improves the conditions for analyzing steady-state information of power systems. Therefore, the authors believe it can be well applied to power systems. [b]References[/b] [1] Liu Heping, et al. TMS320LF240x DSP Structure Principle and Application [M]. Beijing University of Aeronautics and Astronautics Press, 2002. [2] MAX125 Datasheet [M]. Maxim Integrated, 1998. Editor: He Shiping
Read next

CATDOLL 148CM Christina Silicone Doll

Height: 148 Silicone Weight: 33kg Shoulder Width: 34cm Bust/Waist/Hip: 70/58/82cm Oral Depth: N/A Vaginal Depth: 3-15cm...

Articles 2026-02-22