APP下载

Test system for miniature pulse-powered photoelectric invert switch based on CPLD

2015-07-06WANGHuanTANGBoLIZubo

关键词:北京航天中北大学可靠性

WANG Huan, TANG Bo, LI Zu-bo

(1. Science and Technology on Electronic Test & Measurement Laboratory,North University of China,Taiyuan 030051, China;2. Beijing Aerospace Automatic Control Institute, Beijing 100854, China)



Test system for miniature pulse-powered photoelectric invert switch based on CPLD

WANG Huan1, TANG Bo2, LI Zu-bo1

(1.ScienceandTechnologyonElectronicTest&MeasurementLaboratory,NorthUniversityofChina,Taiyuan030051,China;2.BeijingAerospaceAutomaticControlInstitute,Beijing100854,China)

For electronic piezo gauge used for testing gun chamber pressure, its internal miniature pulse-powered photoelectric invert switch cannot often be powered up normally. To solve this problem, a test system for invert switch is presented to verify the reliability of the invert switch. The test system uses complex programmable logic device (CPLD) to control data acquisition of A/D converter and data storage of external flash memory, and then transmits the acquired data to a computer for data analysis and processing. The test system can provide the required sampling frequency of the signal in high temperature, normal temperature and low temperature environments, and the reliability of the invert switch can be verified according to the signal parameters. The results show that the test system has high precision and the tested invert switch has low power consumption and high reliability.

invert switch; storage measurement technology; complex programmable logic device (CPLD); test system

0 Introduction

Low power design is desired by storage measurement technology[1-3]. A miniature pulse-powered photoelectric invert switch has been implemented and has become the key part of the power control unit of storage measurement system. It is a new switch that is suitable for volume production and without manual operation. It has the characteristics of low voltage actuation, low power consumption, small volume and time delay function[4]. In actual storage measurement, there were many failed tests because the test system could not be powered up normally by the invert switch. Considering the high cost of test experiments, it is necessary to verify the reliability of the invert switch[5-8].

1 Photoelectric invert switch

The miniature pulse-powered photoelectric invert switch is composed of photoelectric control module and CPLD control module. The functional block diagram is shown in Fig.1.

Fig.1 Block diagram of miniature pulse-powered photoelectric invert switch

In Fig.1, D1 is an infrared emitting diode, Q1 is a phototransistor, IR is pulse voltage signal, ID is the output signal of Q1 and PON is the delay signal of electrical control signal. To reduce the power consumption of the photoelectric invert switch, pulse-driven approach is adopted for infrared emitting diode in photoelectric control module.

2 Test system

2.1 Design of test circuit

The block diagram of test circuit for photoelectric control module signal ID is shown in Fig.2.

It can be seen that the test system consists of analog-to-digital (A/D) converter, FIFO1, FIFO2, external static memory, high frequency oscillator, complex programmable logic device (CPLD) control module, power control module and serial communication interface. Among them, CPLD control module is the core. According to the needs of signal acquisition, the test circuit adopts two FIFO chips to implement the double negative delay function.

Fig.2 Block diagram of test circuit for photoelectric control module signal ID

The working principle of test system is as follows.

The output signal ID of photoelectric controlmodule is an important parameter to be monitored. When the photoelectric control module is triggered by a external optical signal, the signal ID output by the photoelectric control module is sampled circularly and at the same time the acquired data are written into FIFO1. When the rising edge of signal ID arrives, the data in FIFO1 is imported to FIFO2 and the data in FIFO2 is to external static memory until the memory is full. At this time, data acquisition stops and the acquired data is waiting for being read from the static memory. When receiving a read command from the computer, the system begins to count until the data transfer is completed. Finally, if the computer needs to read the data again, it will send a read command and the test system will run as the above steps, or else, the test system will be reset or cut off.

2.2 Logic design of CPLD control module

High performance and low power CPLD EPM7128BTC100-4 belongs to MAX7000B series from Altera company. It is the core of the test circuit[8]. The block diagram of CPLD control module is shown in Fig.3 and the schematic diagram is shown in Fig.4.

Fig.3 Block diagram of CPLD control module

When the rising edge of trigger signal ID arrives, A/D converter begins to sample and the acquired data is written to FIFO1 by write operation. Meanwhile, FIFO1 and FIFO2 push the address and then FIFO1 performs read operation and FIFO2 performs write operation. Afterwards, the static memory and FIFO2 push the address and FIFO2 performs read operation and static memory performs write operation. Consequently, the data are imported from FIFO2 to the static memory. When the static memory capacity is over 375 KB, a full count signal is sent and correspondingly the computer sends the read command to read the data again.

If signal TEST arrives, the test system will work as the same as the first step. A/D converter begins to sample again and the data are stored. Meanwhile, FIFO1 and FIFO2 begin to push the address. Afterwards, the data are read from FIFO1 and then written to FIFO2 . It is negative delay. Based on the same control principle, if there are 64 sampling points for FIFO2, when the rising edge of the trigger signal TEST arrives, FIFO2 and static memory begin to push the address. Meanwhile, begins to read the data and the static memory begins to write the data. The data in FIFO2 is the signal with arrow pulse peak before signal ID, and then adjacent wave signal is written into the memory. The 192 sampling points in all are stored in the memory, which are the signal ID peak and the adjacent wave signal. After that, the memory stops writing the data and waits for the next the rising edge of the signal TEST. Finally, the computer generates read signal and begins to read the data in the memory. When the memory is full, end signal is sent after the 1 000 th trigger signal.

In Fig.4, clk module is responsible for controlling the address operation of FIFO1, FIFO2 and static memory and judging whether the static memory capacity is full.

Fig.4 Schematic diagram of CPLD control module

2.3 Simulation of signal ID

Quartus II is used for test system design and implementation. It is a synthetical PLD development software from Altera company with embedded synthesizer and simulator, which can complete the design process from design input to hardware configuration. Fig.5 shows the CPLD timing.

For a practical pulse-powered photoelectric invert switch, the high level of signal ID should last 122 μs theoretically. Using the designed test system, the real high level of ID signal waveform is obtained as 120 μs, as shown in Fig.6. The test result is very close to theoretical value 122 μs, which proves the reliability of the pulse-powered photoelectric invert switch used.

Fig.5 CPLD timing

Fig.6 Waveform of signal ID

3 Conclusion

This paper describes a test system for miniature pulse-powered photoelectric invert switch. Especially, the test system uses two FIFO chips to realize the double negative delay function, which provides a reference for the collection of narrow pulse signal. The test result proves the reliability of the invert switch.

[1] ZU Jing, ZHANG Zhi-jie, PEI Dong-xing, et al. The new concept of dynamic test. Journal of Test and Measurement Technology, 2004, 18(z5): 52-53.

[2] YANG Yan, ZU Jing, ZHANG Yu. Miniature pulse-powered electro-optical invert switch. Journal of Gun Launch & Control, 2011, 3(1): 24-27.

[3] MA Ying-zhuo, ZU Jing. Design of smart invert switch applied to electronic piezo gauge. Chinese Journal of Sensors and Actuators, 2012, 25(12): 1664-1667.

[4] GONG Lin-ping, JIN Hong, ZU Jing. The testing system design based on the many and successive trigger storage CPLD. Electronics Design project, 2009, 7(12): 80-81.

[5] ZHANG Yu, ZU Jing, ZHANG Hong-yan, et al. Research on projectile breech pressure measuring method based on storage measurement technique. Fire Control & Command Control, 2014, 39(1): 172-175.

[6] SHI Lei, ZHANG Yu, MA Tie-hua. Study of storage measurement of fiber optic isolation. Journal of Engineering Design, 2011, 18(5): 382-385.

[7] JIN Hong, CHEN Chang-xin, SHI Xiao-jun. Divided part data storage method with negative delay. Journal of Test & Control, 2013, 35(2): 25-28.

[8] DING Yong-hong, YOU Wen-bin, MA Tie-hua. Design and application of a shock wave recorder used in warship subjected to dynamic explosive. Explosion and Shock Waves, 2013, 33(2): 194-199.

基于CPLD的微型脉冲供电式光电倒置开关测试系统

王 欢1, 唐 波2, 李祖博1

(1. 中北大学 电子测试技术国家重点实验室, 山西 太原 030051;2. 北京航天自动控制研究所, 北京 100854)

针对放入式电子测压器在测试火炮膛压时, 内部的微型脉冲供电式光电倒置开关无法正常上电的问题, 设计了倒置开关的检测系统。 该系统由CPLD控制A/D转换器的数据采集和外部闪存的存储, 将采集的数据传输到计算机中进行分析处理。 系统能满足高温、 常温和低温环境下信号的采样频率, 并可根据信号参数验证倒置开关的可靠性。 试验结果表明, 该检测系统精确度高, 且被测倒置开关功耗低、 可靠性高。

倒置开关; 存储测试; CPLD; 测试系统

WANG Huan, TANG Bo, LI Zu-bo. Test system for miniature pulse-powered photoelectric invert switch based on CPLD. Journal of Measurement Science and Instrumentation, 2015, 6(1): 36-40.

10.3969/j.issn.1674-8042.2015.01.007

WANG Huan (wanghuan_0103@126.com)

1674-8042(2015)01-0036-05 doi: 10.3969/j.issn.1674-8042.2015.01.007

Received date: 2014-10-05

CLD number: TP274 Document code: A

猜你喜欢

北京航天中北大学可靠性
一群牵引“星星”的年轻人(下)——记北京航天飞行控制中心操控团队
一群牵引“星星”的年轻人(上)——记北京航天飞行控制中心操控团队
北京航天长峰股份有限公司
柠檬酸辅助可控制备花状银粒子及其表面增强拉曼散射性能
中北大学信创产业学院入选首批现代产业学院
《中北大学学报(自然科学版)》征稿简则
可靠性管理体系创建与实践
有机相化学镀铝法制备Al/石墨烯复合材料粉末
5G通信中数据传输的可靠性分析
北京航天长峰股份有限公司