Multi-channel time sequence time interval measuring device

文档序号:1096928 发布日期:2020-09-25 浏览:15次 中文

阅读说明:本技术 一种多路时序时间间隔测量装置 (Multi-channel time sequence time interval measuring device ) 是由 吕志刚 李良杰 王鹏 郜辉 许韫韬 李晓艳 张炜尧 陈相伟 于 2020-06-09 设计创作,主要内容包括:本发明涉及一种多路时序时间间隔测量装置,包括基准信号产生模块、输入接口模块、硬件滤波电路、时钟模块、数据存储模块、主控芯片、电源模块和PC上位机;输入接口模块包括42路测试信号,输入接口模块的42路时序信号经硬件滤波电路送入主控芯片;基准信号产生模块产生基准信号经硬件滤波电路送入主控芯片;主控芯片分别与数据存储模块、时钟模块连接;主控芯片通过TCP/IP协议和PC上位机连接。本发明装置利用FPGA的高速可编程逻辑处理能力,实现对多路时序时间间隔的采集与测量,解决了现有测量手段存在的测量路数少,测量效率低,测量结果不满足精确度的问题。(The invention relates to a multi-channel time sequence time interval measuring device which comprises a reference signal generating module, an input interface module, a hardware filter circuit, a clock module, a data storage module, a main control chip, a power supply module and a PC upper computer, wherein the reference signal generating module is used for generating a reference signal; the input interface module comprises 42 paths of test signals, and 42 paths of timing signals of the input interface module are sent to the main control chip through the hardware filter circuit; the reference signal generating module generates a reference signal and sends the reference signal to the main control chip through the hardware filter circuit; the main control chip is respectively connected with the data storage module and the clock module; the main control chip is connected with the PC upper computer through a TCP/IP protocol. The device of the invention utilizes the high-speed programmable logic processing capacity of the FPGA to realize the acquisition and measurement of the multi-channel time sequence time interval, and solves the problems of few measuring channels, low measuring efficiency and unsatisfactory measuring result accuracy existing in the existing measuring means.)

1. The multi-channel time sequence time interval measuring device is characterized by comprising a reference signal generating module, an input interface module, a hardware filter circuit, a clock module, a data storage module, a main control chip, a power supply module and a PC upper computer;

the input interface module comprises 42 paths of test signals, and 42 paths of timing signals of the input interface module are sent to the main control chip through the hardware filter circuit; the reference signal generating module generates a reference signal and sends the reference signal to the main control chip through the hardware filter circuit; the main control chip is respectively connected with the data storage module and the clock module; the main control chip is connected with the PC upper computer through a TCP/IP protocol.

2. The multi-channel timing interval measuring device of claim 1, wherein the main control chip is an FPGA chip with a model number of EP2C5T144C 8.

3. The multi-channel timing interval measuring device of claim 1 or 2, wherein the power module circuit employs an LM317 chip.

4. The multi-channel timing interval measurement device of claim 3, wherein said hardware filtering circuit employs a 6N137 optocoupler.

5. The multi-channel timing interval measurement apparatus of claim 4 wherein said clock module employs PCF 8563.

6. The multi-channel timing interval measurement device of claim 5, wherein the data storage module is an SD card data storage module.

Technical Field

The invention belongs to the field of automatic testing, and particularly relates to a multi-channel time sequence time interval measuring device.

Background

With the development of modern weaponry towards remote striking, accurate guidance, digitization and unmanned, modern military shooting ranges are required to have more advanced testing technology. The time sequence measurement technology is taken as an indispensable important link for testing the performance of modern weaponry, and is widely applied to the fields of modern military weaponry, social life and the like.

At present, most of common time sequence measuring devices are used for single measurement control or detection control by using a computer, the system has single function, complex structure and high cost, and meanwhile, a shooting range time sequence measuring means which is formed by aiming at short-distance and non-guided weapons and depends on manpower and has low efficiency cannot meet the requirements of accurate test and measurement on novel equipment.

Disclosure of Invention

The invention provides a multi-channel time sequence time interval measuring device, which utilizes the high-speed programmable logic processing capacity of an FPGA (field programmable gate array) to realize the acquisition and measurement of multi-channel time sequence time intervals and solves the problems of few measuring channels, low measuring efficiency and unsatisfied measuring result precision of the existing measuring means.

In order to achieve the purpose, the technical scheme of the invention is as follows:

the multi-channel time sequence time interval measuring device comprises a reference signal generating module, an input interface module, a hardware filter circuit, a clock module, a data storage module, a main control chip, a power supply module and a PC upper computer;

the input interface module comprises 42 paths of test signals, and 42 paths of timing signals of the input interface module are sent to the main control chip through the hardware filter circuit; the reference signal generating module generates a reference signal and sends the reference signal to the main control chip through the hardware filter circuit; the main control chip is respectively connected with the data storage module and the clock module; the main control chip is connected with the PC upper computer through a TCP/IP protocol.

Furthermore, the main control chip is an FPGA chip with the model number of EP2C5T144C 8.

Further, the power module circuit adopts an LM317 chip.

Further, the hardware filter circuit adopts a 6N137 optical coupler.

Further, the clock module adopts PCF 8563.

Further, the data storage module adopts an SD card data storage module.

The invention has the following beneficial effects:

1. the device adopts the photoelectric coupler and the peripheral circuit to construct the input interface module, can receive 42 paths of timing signals, accurately measures 42 paths of high-precision timing time intervals, and has the characteristic of multiple channels.

2. The data storage module does not completely depend on a single control or computer detection control system any more, and the flexibility of the high-speed programmable FPGA logic processing chip is utilized to measure the 42 time sequence time interval, so that the measurement efficiency is ensured; obtaining high-frequency and high-stability oscillation signal output by utilizing a phase-locked loop frequency multiplication synthesis technology; the 200MHz clock output is realized by the frequency multiplication of a phase-locked loop in the chip; the 200MHz clock is used as the main clock of the delay system, thereby ensuring the time resolution less than 5ns and ensuring the measurement precision.

3. The device provided by the invention provides a data storage circuit for data storage, and stores time sequence data through the data storage module SD card, so that a user can call and analyze the time sequence data conveniently at any time.

4. The device establishes communication connection between the upper computer software and the time sequence measuring hardware device through a TCP/IP communication protocol, the upper computer software can realize data mode switching, and the operation is simple and flexible; the measurement time interval is displayed in real time, and technicians can conveniently analyze the time interval data.

Drawings

In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings of the embodiments can be obtained according to the drawings without creative efforts.

FIG. 1 is a functional block diagram of the present invention;

FIG. 2 is a block diagram of a hardware implementation of the apparatus of the present invention;

FIG. 3 is a circuit diagram of the power module of FIG. 2;

FIG. 4 is a circuit diagram of the input interface module of FIG. 2;

FIG. 5 is a circuit diagram of the reference signal generating module of FIG. 2;

FIG. 6 is a circuit diagram of the data storage module of FIG. 2;

FIG. 7 is a circuit diagram of the clock module of FIG. 2;

FIG. 8 is a flow chart of a method of the apparatus of the present invention.

Detailed Description

To facilitate an understanding of the invention, the invention will now be described more fully with reference to the accompanying drawings. Preferred embodiments of the present invention are shown in the drawings. This invention may, however, be embodied in many different forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete.

The working principle of the device is as follows: the device integrally comprises a reference signal generation module, a 42-path signal input interface module to be detected, a hardware filter circuit, a clock module, a data storage module, a main control unit and an upper computer software part. Forming a complete time sequence signal detection device. The timing sequence signals of 42 channels are received through the input interface end, the measured signals are subjected to signal processing through hardware filtering to improve the signal accuracy, the time interval between each level change and the reference signal on any channel is calculated, the measured time interval of each channel is uploaded to an upper computer through a TCP/IP communication protocol to be displayed, and meanwhile, the upper computer performs the mode selection of the measured signals to support the measurement of the levels and the on-off signals.

Referring to fig. 1, an embodiment of the present invention provides a multi-channel timing interval measurement apparatus, which is used for receiving 42 channels of timing signals and improving the accuracy of timing interval measurement; the reference signal and the signal to be measured enter the main control interior through the filter circuit to be measured and calculated; meanwhile, a data storage module SD card and a clock chip which are connected with the main control unit are respectively used for storing data and providing a time stamp function; finally, the master control sends the measured data to an upper computer system through a TCP/IP communication protocol; forming a complete service device.

Referring to fig. 2, the hardware circuit of the multi-channel timing interval measuring apparatus is composed of a power supply module, an input interface module, a reference signal generating module, a data storage module, a clock module, and the like. The specific implementation mode is that a high-speed programmable FPGA chip is used as a main control chip, and the specific model of the high-speed programmable FPGA chip is EP2C5T144C 8; the main control unit is matched with a peripheral circuit to realize the acquisition, calculation and processing of data.

Referring to fig. 3, the power module circuit uses an LM317 chip, and converts an external voltage into voltage values required by the system through the LM317, which are +5V, +3.3V, +1.5V, respectively. In the system, large capacitors such as 22uF and 100uF are used for low-frequency filtering in a power conversion circuit, and small capacitors of 100nF are used for high-frequency filtering, so that the stability of level signals is ensured; meanwhile, magnetic beads and inductors are used at a power pin of a phase-locked loop of the FPGA to suppress high-frequency noise and spike interference and improve the electrostatic pulse absorption capacity of the system.

Referring to fig. 4, the input interface module performs hardware filtering on the timing signal by using a 6N137 optical coupler; the VCC pin of 6N137 is connected with +5V power supply, EN is connected with +5V, pin GND is grounded, and the input and output are changed into same phase by adopting SGM3204 voltage reverser at the signal input end. And the current amplification is realized by using a Darlin tube at the rear end.

Referring to fig. 5, the reference signal generating module generates a reference signal as a start signal for detecting a plurality of timing signals, and in order to ensure the accuracy requirement of the signal, a subsequent signal is connected to a 6N137 chip to perform hardware filtering on the reference signal. The input voltage range of the main control chip for generating signals is 5V to 10V, a 10K resistor is added between the external input port and the photoelectric coupler for voltage division, and the safety of devices is protected. The VCC pin of 6N137 is connected with +5V power supply, EN is connected with +5V, and pin GND is grounded.

Referring to fig. 6, the data storage module uses SPI communication protocol, pin 1 is used as chip select line signal CS of SPI, pin 2 is used as data output signal MOSI of SPI bus, pin 7 is used as data input signal MISO, and pin 5 is used as clock line signal line, and after power and ground are connected as required, other pins can be left floating.

Referring to fig. 7, the clock module adopts PCF8563, the chip adopts IIC communication protocol, VCC is connected to +3.3V power supply, GND is connected to ground of the circuit, SDA and SCL ensure that the IIC bus is in high impedance state when idle by adding pull-up resistor; the working frequency of the chip is provided by an external crystal oscillator. The generation of the time information is realized.

Referring to fig. 8, a measurement method related to a multipath time sequence time interval measurement device includes that a system is initialized to be in an initial working state, configuration information of an upper computer is read, a reference signal is generated, time sequence time intervals are measured and calculated after channel time sequence information is read, and data are stored and sent to the upper computer to be displayed.

The above-mentioned embodiments only express several embodiments of the present invention, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the inventive concept, which falls within the scope of the present invention. Therefore, the protection scope of the present patent shall be subject to the appended claims.

8页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种精确的火箭两级电子延时点火装置

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!