Motor train unit axle box gear box motor vibration and temperature data acquisition circuit based on FPGA

By using FPGA chips in rail transit systems to collect vibration and temperature data of axle boxes, gearboxes and motors, the problems of hardware independence and high maintenance costs in the existing system are solved, and more efficient, stable data collection and flexibility are achieved. system design.

CN118760261APending Publication Date: 2024-10-11WAYCOM TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410894842.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-04
Publication Date
2024-10-11

AI Technical Summary

Technical Problem

In the existing rail transit data acquisition system, the temperature data acquisition circuit and the vibration data acquisition circuit have independent hardware and complex designs, resulting in high maintenance costs.

Method used

An FPGA-based EMU axle box gearbox motor vibration and temperature data acquisition circuit is used, combined with a CPU core board, 8-bit ADC chip, Ethernet unit, indicator light, DB9 interface unit, storage unit, power supply unit, watchdog unit, The rotary encoder unit, vibration sensor and temperature sensor collect and process data through the FPGA chip.

Benefits of technology

It reduces hardware costs and maintenance costs, improves the stability and efficiency of data collection, and the flexible configurability of FPGA chips makes the system easier to upgrade and maintain.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118760261A_ABST
    Figure CN118760261A_ABST
Patent Text Reader

Abstract

The invention discloses a motor train unit axle box gearbox motor vibration and temperature data acquisition circuit based on an FPGA. The circuit comprises a CPU core board, an 8-bit ADC chip, an Ethernet unit, an indicating lamp, a DB9 interface unit, a storage unit, a power supply unit, a watchdog unit, a rotary encoder unit, a vibration sensor and a temperature sensor. During implementation, the data acquisition main processing circuit is realized through FPGA chip design, so that the stability of data acquisition is improved, and meanwhile, the hardware cost and the product maintenance cost are also reduced; 16-path vibration and 16-path data acquisition FPGA chip hardware logic design is realized, and the FPGA chip performs parallel processing, so that the data acquisition efficiency is greatly improved; fPGA logic design is flexible and configurable, corresponding FPGA chip logic can be designed according to different project requirements, the same type of hardware can be compatible with multiple types of products, and later system upgrading and product maintenance are facilitated.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the technical field of data acquisition for rail transit such as EMUs, urban railways and subways, and in particular to a vibration and temperature data acquisition circuit for an EMU axle box, gear box and motor based on FPGA. Background Art

[0002] The on-board safety monitoring system is composed of sensors on the car body, bogie, motor, axle box and the on-board safety monitoring host. Vibration temperature composite sensors and acceleration sensors are installed on the axle box, gear box and traction motor. Through data collection, data analysis algorithms and feature judgment, the axle box bearing fault diagnosis, gear box bearing fault diagnosis, traction motor bearing fault diagnosis are realized. At the same time, it has wheel polygon and rail corrugation detection functions to improve the accuracy of early fault diagnosis and enhance the safety prevention capability of the EMU.

[0003] The sensor data acquisition module of the on-board safety monitoring host includes six units: axle temperature module, stability module, instability module, motor vibration module, gearbox vibration module, and axle box vibration module. Each carriage of the EMU is equipped with an on-board safety monitoring system. Each on-board safety monitoring host includes the above six boards, their association diagram and description of each object Figure 1-5 shown.

[0004] Existing system products have the following disadvantages:

[0005] Temperature data acquisition circuits are mostly implemented with ADC chip ADS1220 + MPS430 processor + K60 processor;

[0006] The vibration data acquisition circuit is mostly implemented with ADC chip ADS7861 + DSP processor;

[0007] The two sets of hardware are independent of each other, the hardware and software design is complex, and the hardware material and product maintenance costs are relatively high. Summary of the invention

[0008] To this end, the present invention provides a vibration and temperature data acquisition circuit for an EMU axle box gearbox motor based on FPGA to solve the above-mentioned problems in the prior art.

[0009] In order to achieve the above object, the present invention provides the following technical scheme: a vibration and temperature data acquisition circuit for axle box gearbox motor of a train set based on FPGA, including a CPU core board, an 8-bit ADC chip, an Ethernet unit, an indicator light, a DB9 interface unit, a storage unit, a power supply unit, a watchdog unit, a rotary encoder unit, a vibration sensor, a temperature sensor and an FPGA chip,

[0010] The 8-bit ADC chip is used to collect the status data of the IEPE vibration sensor and determine whether the sensor hardware status is normal, open circuit or short circuit. Its input end is connected to the vibration sensor, and its output end is connected to the CPU core board;

[0011] The Ethernet unit includes 1 internal communication 100M Ethernet, connected to the internal switch for communication, 1 maintenance 100M Ethernet, and the Ethernet unit is connected to the CPU core board for communication;

[0012] The indicator lights are 8 LED panel status indicator lights, which are electrically connected to the CPU core board;

[0013] There are 8 DB9 interface units, and each DB9 interface includes 2 IEPE vibration sensor signal inputs and 2 PT1000 temperature data signal inputs, and the DB9 interface unit is arranged on the CPU core board;

[0014] The storage unit is an onboard MSATA hard disk storage, and is electrically connected to the CPU core board;

[0015] The power supply unit is powered by an onboard RTC battery and is electrically connected to the CPU core board;

[0016] The watchdog unit is an onboard hardware MAX6369 watchdog circuit, which is electrically connected to the CPU core board;

[0017] The rotary encoder unit is a rotary encoder, which is arranged in a carriage position and is electrically connected to the CPU core board;

[0018] The vibration sensor is used to collect vibration data, and is electrically connected to the CPU core board through the FPGA chip;

[0019] The temperature sensor is used to collect temperature data, and is electrically connected to the CPU core board through the FPGA chip;

[0020] The FPGA chip is used to collect and process vibration data and temperature data.

[0021] Preferably, the 8-bit ADC chip is a 16-channel SPI interface 8-bit AD analog-to-digital converter, two 8-channel 16-bit AD analog-to-digital converters ADS1178, each chip collects 8-channel vibration analog signal input; two 8-channel 16-bit AD analog-to-digital converters ADS1178 are connected in series, and after analog-to-digital conversion, the 16-channel vibration data are stored in two DPRAMs in the FPGA chip through the SPI interface. The two DPRAMs store data alternately, and when the single-chip data is full, the IMX6Q-CPU core board is notified to read, store and perform corresponding data processing.

[0022] Preferably, when the state of the IEPE vibration sensor is self-checked, the state of the IEPE vibration sensor is judged in the following manner:

[0023] State 1: The digital value tested is > 0xDF, and the software determines that the sensor is open circuit;

[0024] State 2: (tested digital value > 0x1F) & (tested digital value < 0xDF), the software determines that the sensor is normal;

[0025] State 3: The tested digital value is <0x1F, and the software determines that the sensor is short-circuited.

[0026] Preferably, an ADC converter of model MAX31865 is used, each PT1000 sensor corresponds to a MAX31865, a 2-wire system, SPI interface, BIAS ON continuous acquisition mode are adopted, 16 channels of temperature data are collected and stored in parallel, two DPRAMs in the FPGA chip, one stores PT1000 temperature data, and the other stores PT1000 status data. The rotary encoder collects temperature and status data simultaneously. Each frame of data takes 160ms. After storing 10 groups of data, the IMX6Q-CPU core board reads the data once, stores it, and performs corresponding data processing.

[0027] Preferably, the FPGA chip is Lattice's ECP5 series FPGA chip LFE5U-25F-BG256I, the IPEP vibration sensor data sampling ADC chip uses the 8-channel 16-bit ADS1178, the PT1000 temperature sensor data acquisition uses MAX31865, and the IMX6Q-CPU core board is the NXP IMX6Q series CORTEX-A9 quad-core processor core board.

[0028] Preferably, the FPGA chip data processing control logic is:

[0029] ADS1178 chip vibration data acquisition SPI interface communication logic;

[0030] MAX31865 chip temperature data collection SPI interface communication logic;

[0031] IMX6Q-CPU core board EIM parallel port data communication logic;

[0032] Data is stored as 4 dual-port DPRAM1, DPRAM2, DPRAM3, and DPRAM4;

[0033] DPRAM1 and DPRAM2 are vibration data storage RAMs, each with a size of 128Kbit. The data bit width of the ADS1178 port is 256, and the data bit width of the IMX6Q-CPU core board is 16.

[0034] DPRAM3 and DPRAM4 are temperature data storage RAMs, each with a size of 4Kbit. The data bit width of the MAX31865 port is 256, and the data bit width of the IMX6Q-CPU core board is 16.

[0035] Preferably, when storing and reading vibration data, the following steps are followed to support data storage of three types of vibration sensors on axle boxes, gear boxes and motors:

[0036] If the board is used as an axle box data acquisition board, it can collect 1-8, 16 vibration data in radial direction and transverse direction and store them;

[0037] If the board is used as a gearbox data acquisition board, it can collect and store 16 vibration data from the small gear vertical 1 to the large gear vertical 8;

[0038] If the board is used as a motor data acquisition board, it will collect and store 8 channels of vibration data, from motor radial 1 to motor radial 8.

[0039] The spaces of DPRAM1 and DPRAM2 are 8192*16bit respectively. The data bit width of the ADS1178 data acquisition writing end is 256, and the data bit width of the CPU reading end is 16. The vibration data writing of DPRAM1 and DPRAM2 works alternately. When DPRAM1 is full, the CPU is notified to read the data of DPRAM1, and the vibration data starts to be written into DPRAM2. After the CPU reads the data of DPRAM1, it returns the DPRAM1 reading flag signal to the FPGA chip; when DPRAM2 is full, the CPU is notified to read the data of DPRAM2, and the vibration data starts to be written into DPRAM1; when the CPU reads the data of DPRAM1, the CPU reads the data of DPRAM2, and returns the DPRAM2 reading flag signal to the FPGA chip;

[0040] ADS1178 input clock 12.5MHZ, AD chip sampling rate 12.2KSPS, two DPRAMs are 8192*16bit respectively, FPGA chip AD sampling frequency is 12.2KSPS (82US), 16 channels of data are collected simultaneously, and the time to write a single DPRAM is =8192 / 16*0.082mS=41.9mS;

[0041] The time for IMX6Q-CPU core board to read DPRAM data each time should be less than 41.9mS;

[0042] The steps for CPU to read ADS1178 data are as follows:

[0043] S1, CPU initialization;

[0044] S2, start AD data collection, ADS1178_READ_EN = 1;

[0045] S3. Check if RAM1_FULL_FLAG==1?, read RAM1 128Kbit data;

[0046] S4. After RAM1 is read, CPU_RAM1_READ_FINISH is set to 1 and then to 0, and the RAM1_FULL_FLAG status returns to 0;

[0047] S5. Check if RAM2_FULL_FLAG==1?, read RAM2 128Kbit data;

[0048] S6. After RAM2 is read, CPU_RAM2_READ_FINISH is set to 1 and then to 0, and the RAM2_FULL_FLAG status returns to 0;

[0049] S7. Return to S3.

[0050] Preferably, when storing and reading temperature data, the following steps are performed:

[0051] DPRAM3 and DPRAM4 are 256*16bit respectively. DPRAM3 is used to store the collected PT1000 temperature data, and DPRAM4 is used to store the collected PT1000 status data. The data bit width of the write end of 16 MAX31865 simultaneous data collection is 256, and the data bit width of the CPU read end is 16.

[0052] Temperature data storage DPRAM3,

[0053] Status data storage DPRAM4,

[0054] The rotary encoder collects temperature and status data simultaneously. Each frame of data takes 160ms. After storing 10 sets of data, the CPU reads the data once.

[0055] The steps for the CPU to read MAX31865 data are as follows:

[0056] Step 1, CPU initialization; Max31865_int_clr = 1, keep 500ms, Max31865_int_clr = 0;

[0057] Step 2: Start AD data acquisition, MAX31865_READ_EN = 1;

[0058] Step 3, check RAM3_FULL_FLAG==1?, read RAM1 4Kbit data;

[0059] Step 4: After RAM1 is read, CPU_RAM3_READ_FINISH is set to 1 and then to 0, and the RAM3_FULL_FLAG status returns to 0;

[0060] Step 5. Return to step 3.

[0061] The present invention has the following advantages:

[0062] 1. The main data acquisition processing circuit is implemented by FPGA chip design, which improves the stability of data acquisition and reduces hardware costs and product maintenance costs;

[0063] 2. 16-channel vibration and 16-channel data acquisition FPGA chip hardware logic design and implementation, FPGA chip parallel processing, greatly improving data acquisition efficiency;

[0064] 3. The FPGA chip logic design is flexible and configurable. The corresponding FPGA chip logic can be designed according to different project requirements. The same hardware can be compatible with multiple products, which is convenient for subsequent system upgrades and product maintenance. BRIEF DESCRIPTION OF THE DRAWINGS

[0065] Figure 1 It is a structural diagram of the prior art;

[0066] Figure 2 It is the block diagram of vibration data collection for the existing system;

[0067] Figure 3 It is the block diagram of the vibration data acquisition scheme of the existing system;

[0068] Figure 4 This is the block diagram of the existing temperature data acquisition solution;

[0069] Figure 5 This is the block diagram of the temperature data acquisition solution for the existing system;

[0070] Figure 6 This is the vibration and temperature data acquisition block diagram of this solution;

[0071] Figure 7 This is the hardware diagram of the vibration and temperature data acquisition solution of this solution;

[0072] Figure 8 It is the vibration data acquisition circuit module of this scheme;

[0073] Fig. 9 It is the temperature data acquisition circuit module of this scheme;

[0074] Fig.10 This is the block diagram of the FPGA chip implementation of this solution;

[0075] Fig.11The vibration data storage format and reading for this solution;

[0076] Fig.12 This is the temperature data storage format and reading for this solution. DETAILED DESCRIPTION

[0077] The following is a description of the implementation of the present invention by specific embodiments. People familiar with the art can easily understand other advantages and effects of the present invention from the contents disclosed in this specification. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0078] Example 1

[0079] like Figure 6-12 The FPGA-based EMU axle box gearbox motor vibration and temperature data acquisition circuit in the embodiment of the first aspect of the present invention includes a CPU core board, an 8-bit ADC chip, an Ethernet unit, an indicator light, a DB9 interface unit, a storage unit, a power supply unit, a watchdog unit, a rotary encoder unit, a vibration sensor, a temperature sensor and an FPGA chip.

[0080] The 8-bit ADC chip is used to collect the status data of the IEPE vibration sensor and determine whether the sensor hardware status is normal, open circuit or short circuit. Its input end is connected to the vibration sensor, and its output end is connected to the CPU core board;

[0081] The Ethernet unit includes 1 internal communication 100M Ethernet, connected to the internal switch for communication, 1 maintenance 100M Ethernet, and the Ethernet unit is connected to the CPU core board for communication;

[0082] The indicator lights are 8 LED panel status indicator lights, which are electrically connected to the CPU core board;

[0083] There are 8 DB9 interface units, and each DB9 interface includes 2 IEPE vibration sensor signal inputs and 2 PT1000 temperature data signal inputs, and the DB9 interface unit is arranged on the CPU core board;

[0084] The storage unit is an onboard MSATA hard disk storage, and is electrically connected to the CPU core board;

[0085] The power supply unit is powered by an onboard RTC battery and is electrically connected to the CPU core board;

[0086] The watchdog unit is an onboard hardware MAX6369 watchdog circuit, which is electrically connected to the CPU core board;

[0087] The rotary encoder unit is a rotary encoder, which is arranged in a carriage position and is electrically connected to the CPU core board;

[0088] The vibration sensor is used to collect vibration data, and is electrically connected to the CPU core board through the FPGA chip;

[0089] The temperature sensor is used to collect temperature data, and is electrically connected to the CPU core board through the FPGA chip;

[0090] The FPGA chip is used to collect and process vibration data and temperature data.

[0091] The present invention adopts a dedicated thermistor (P1000 or PT100) ADC chip MAX31865+8-channel 16-bit differential ADC chip ADS1178+large-scale programmable chip FPGA chip design and implementation, 16-channel temperature and 16-channel vibration data acquisition FPGA chip parallel processing, and adopts hardware logic design and implementation. The data acquisition performance is much better than the acquisition solution of MCU software. At the same time, the FPGA chip logic design is flexible and configurable, and different hardware logics can be designed according to different project requirements. The same hardware can be compatible with multiple sets of products and systems, which is convenient for later system upgrades and product maintenance.

[0092] Brief description of core components:

[0093] Vibration sensor: IEPE vibration sensor, bias voltage 10V-14V, vibration signal output ±5V

[0094] Temperature sensor: PT1000

[0095] ADS1178 chip: 8-channel 16-bit successive approximation ADC, sampling rate 52KSPS

[0096] MAX31865 chip: thermistor (P1000 or PT100) ADC conversion chip

[0097] FPGA chip: Lattice ECP5 series FPGA chip LFE5U-25F-BG256

[0098] IMX6Q-CPU core board: NXP IMX6Q series CORTEX-A9 quad-core processor core board.

[0099] The master and slave DC+24V power inputs are respectively output through the isolated DC24V / DC24V (URB2424LD-20WR3) power module two-in-one redundant output board DC24V power supply, the onboard DC / DC [TPS5430] converts and outputs DC+5V (3A) power supply, LDO [MIC29302] +5V to +3.3V (3A) power supply, LDO [AMS1117-2.5] +5V to +2.5V (700mA) power supply, LDO [SC4215ASTRT] +3.3V to +1.1V (1.5A) power supply;

[0100] 1 internal communication 100M Ethernet, connected to communicate with the internal switch;

[0101] 1 maintenance 100M Ethernet for data download and software upgrade;

[0102] 1 CANBUS bus interface;

[0103] 8 LED panel status indicators;

[0104] 8 DB9 interfaces (4 male and 4 female), each DB9 interface includes 2 IEPE vibration sensor signal inputs and 2 PT1000 temperature data signal inputs;

[0105] Onboard MSATA hard disk storage, supports 256GB~512GB;

[0106] Onboard RTC battery powered, using CR1220 removable button battery;

[0107] Onboard hardware MAX6369 watchdog circuit, feeding time 60S;

[0108] Figure 7 The middle board carries 2 groups of 16 rotary encoders, which are set with carriage positions;

[0109] Vibration data acquisition circuit module:

[0110] There are 8 DB9 connectors on the front panel, each DB9 is connected to 2 IEPE vibration sensors, for a total of 16 vibration sensor signal inputs. ADS7961 is a 16-channel SPI interface 8-bit AD analog-to-digital converter, which is used to collect the status data of the IEPE vibration sensor and determine whether the sensor hardware status is normal, open or short. Two 8-channel (parallel working) 16-bit AD analog-to-digital converters ADS1178, each collecting 8 vibration analog signal inputs, two ADS1178s are connected in series, and after analog-to-digital conversion, the 16 vibration data is stored in two DPRAMs (8192x 16bit) in the FPGA chip through the SPI interface. The two DPRAMs store alternately. When the single-chip data is full, the IMX6Q-CPU core board is notified to read, store and perform corresponding data processing.

[0111] ADS1178 hardware configuration: clock input clk = 12.5MHZ, clkdiv = 1, High-Speed ​​mode, FORMAT[2:0] = 001, 16-channel data parallel acquisition.

[0112] IEPE vibration sensor status self-test: 16 The voltage value of the IEPE sensor after resistor voltage division is collected through the 8-bit ADC chip ADS7961. The input voltage is 5V when the circuit is open, 2.1V when normal, and 0V when short-circuited.

[0113] The device is powered on for self-test. The voltage signal of the 16-channel IEPE vibration sensor status is converted by ADS7961 and then output to the IMX6Q-CPU core board as an 8-bit digital quantity. The CPU software determines the current sensor status:

[0114] State 1: The digital value tested is > 0xDF, and the software determines that the sensor is open circuit;

[0115] State 2: (tested digital value > 0x1F) & (tested digital value < 0xDF), the software determines that the sensor is normal;

[0116] State 3: The digital value of the test is <0x1F, and the software determines that the sensor is short-circuited;

[0117] According to the vibration data acquisition circuit schematic:

[0118] IEPE_A1+ is the input signal of the vibration sensor, the bias voltage is 10V, and the effective signal input range is 10Vp-p. U50 (LM134H) constant current source chip provides 4mA constant current power supply for the IEPE vibration sensor. U58 (SA5532D) is an analog op amp, which reduces the vibration signal by 1 times in the same proportion and outputs a 5Vp-p signal to the differential op amp U65 (OPA1632). U65 converts it into a differential signal and sends it to the ADC sampling chip U41 (ADS1178). After analog-to-digital conversion, U41 sends the digital value of the vibration signal to the FPGA chip for processing.

[0119] Temperature data acquisition circuit module:

[0120] There are 8 DB9 connectors on the front panel, each DB9 is connected to 2 temperature sensors, a total of 16 temperature sensor signal inputs. MAX31865 is a 15-bit dedicated RTD to digital output ADC converter. Each PT1000 sensor corresponds to a MAX31865, using a 2-wire system, SPI interface, BIAS ON continuous acquisition mode. 16 channels of temperature data are collected and stored in parallel. There are two DPRAMs (256x 16bit) in the FPGA chip, one for storing PT1000 temperature data and one for storing PT1000 status data. The rotary encoder [256bit] is collected at the same time. Each frame of data takes 160ms. After storing 10 groups of data, the IMX6Q-CPU core board reads the data once [10x256bit] x2, that is, the IMX6Q-CPU core board reads the PT1000 temperature / status data once every 1.6 seconds, and stores and performs corresponding data processing.

[0121] FPGA chip logic design solution:

[0122] The FPGA chip uses Lattice's ECP5 series FPGA chip LFE5U-25F-BG256I, the IPEP vibration sensor data sampling ADC chip uses the 8-channel 16-bit ADS1178, the PT1000 temperature sensor data acquisition uses MAX31865, and the IMX6Q-CPU core board is the NXP IMX6Q series CORTEX-A9 quad-core processor core board.

[0123] FPGA chip data processing control logic design and implementation:

[0124] First, the ADS1178 chip vibration data acquisition SPI interface communication logic;

[0125] Second, the MAX31865 chip temperature data collection SPI interface communication logic;

[0126] Third, IMX6Q-CPU core board EIM parallel port data communication logic;

[0127] Data is stored as four dual-port DPRAM1, DPRAM2, DPRAM3, and DPRAM4.

[0128] DPRAM1 and DPRAM2 are vibration data storage RAMs, each with a size of 128Kbit. The data bit width of the ADS1178 port is 256, and the data bit width of the IMX6Q-CPU core board is 16.

[0129] DPRAM3 and DPRAM4 are temperature data storage RAMs, each with a size of 4Kbit. The data bit width of the MAX31865 port is 256, and the data bit width of the IMX6Q-CPU core board is 16.

[0130] Supports three types of vibration sensor data storage on axle boxes, gear boxes and motors:

[0131] The first type, such as the board used as the axle box data acquisition board, collects 16 channels of vibration data [radial 1 - lateral 8], and the data storage format is as follows Fig.11 As shown;

[0132] The second type, such as the board used as a gearbox data acquisition board, collects 16 channels of vibration data [small gear vertical 1 - large gear vertical 8], and the data storage format is as follows Fig.12 The left part is shown;

[0133] The third type, if the board is used as a motor data acquisition board, collects 8 channels of vibration data [motor radial 1 - motor radial 8], and the data storage format is as follows Fig.12 Shown on the right.

[0134] The space of DPRAM1 and DPRAM2 is 8192*16bit respectively, the data bit width of ADS1178 data acquisition writing end is 256, and the data bit width of CPU reading end is 16. DPRAM1 and DPRAM2 write vibration data alternately. When DPRAM1 is full, the CPU is notified to read the data of DPRAM1, and the vibration data starts to be written into DPRAM2. After the CPU reads the data of DPRAM1, it returns the DPRAM1 reading flag signal to the FPGA chip; when DPRAM2 is full, the CPU is notified to read the data of DPRAM2, and the vibration data starts to be written into DPRAM1; when the CPU reads the data of DPRAM1, the CPU reads the data of DPRAM2 and returns the DPRAM2 reading flag signal to the FPGA chip.

[0135] ADS1178 input clock 12.5MHZ, AD chip sampling rate 12.2KSPS, two DPRAMs are 8192*16bit respectively, FPGA chip AD sampling frequency is 12.2KSPS (82US), 16 channels of data are collected simultaneously, single DPRAM full write time is =8192 / 16*0.082mS=41.9mS.

[0136] The time for the IMX6Q-CPU core board to read DPRAM data each time is less than 41.9mS.

[0137] CPU reads ADS1178 data operation:

[0138] S1, CPU initialization;

[0139] S2, start AD data collection, ADS1178_READ_EN = 1;

[0140] S3. Check if RAM1_FULL_FLAG==1?, read RAM1 128Kbit data;

[0141] S4. After RAM1 is read, CPU_RAM1_READ_FINISH is set to 1 and then to 0, and the RAM1_FULL_FLAG status returns to 0;

[0142] S5. Check if RAM2_FULL_FLAG==1?, read RAM2 128Kbit data;

[0143] S6. After RAM2 is read, CPU_RAM2_READ_FINISH is set to 1 and then to 0, and the RAM2_FULL_FLAG status returns to 0;

[0144] S7. Return to S3.

[0145] Temperature data storage format and reading:

[0146] DPRAM3 and DPRAM4 are 256*16bit respectively. DPRAM3 is used to store the collected PT1000 temperature data, and DPRAM4 is used to store the collected PT1000 status data. 16 MAX31865s collect data simultaneously. The data bit width of the write end is 256, and the data bit width of the CPU read end is 16.

[0147] Temperature data is stored in DPRAM3, address addressing space: CS1+EIM_ADDR

[10] =1'b0+EIM_ADDR[8:0],

[0148] Status data storage DPRAM4, address addressing space: CS1+EIM_ADDR

[10] =1'b1+EIM_ADDR[8:0],

[0149] The rotary encoder [256bit] collects data simultaneously, each frame of data takes 160ms, and after storing 10 sets of data, the CPU reads the data once [10x256bit] x2, that is, the CPU reads the PT1000 temperature data once per second.

[0150] CPU reads MAX31865 data operation:

[0151] Step 1, CPU initialization; Max31865_int_clr = 1, keep 500ms, Max31865_int_clr = 0;

[0152] Step 2: Start AD data acquisition, MAX31865_READ_EN = 1;

[0153] Step 3, check RAM3_FULL_FLAG==1?, read RAM1 4Kbit data;

[0154] Step 4. After RAM1 is read, CPU_RAM3_READ_FINISH is set to 1 and then to 0, and the RAM3_FULL_FLAG status returns to 0;

[0155] Step 5. Return to step 3.

Claims

1. Based on FPGA, the EMU axle box gearbox motor vibration and temperature data acquisition circuit is characterized by: Including CPU core board, 8-bit ADC chip, Ethernet unit, indicator light, DB9 interface unit, storage unit, power supply unit, watchdog unit, rotary encoder unit, vibration sensor, temperature sensor and FPGA chip, The 8-bit ADC chip is used to collect the status data of the IEPE vibration sensor and determine whether the sensor hardware status is normal, open circuit or short circuit. Its input end is connected to the vibration sensor, and its output end is connected to the CPU core board; The Ethernet unit includes 1 internal communication 100M Ethernet, connected to the internal switch for communication, 1 maintenance 100M Ethernet, and the Ethernet unit is connected to the CPU core board for communication; The indicator lights are 8 LED panel status indicator lights, which are electrically connected to the CPU core board; There are 8 DB9 interface units, and each DB9 interface includes 2 IEPE vibration sensor signal inputs and 2 PT1000 temperature data signal inputs, and the DB9 interface unit is arranged on the CPU core board; The storage unit is an onboard MSATA hard disk storage, and is electrically connected to the CPU core board; The power supply unit is powered by an onboard RTC battery and is electrically connected to the CPU core board; The watchdog unit is an onboard hardware MAX6369 watchdog circuit, which is electrically connected to the CPU core board; The rotary encoder unit is a rotary encoder, which is arranged in a carriage position and is electrically connected to the CPU core board; The vibration sensor is used to collect vibration data, and is electrically connected to the CPU core board through the FPGA chip; The temperature sensor is used to collect temperature data, and is electrically connected to the CPU core board through the FPGA chip; The FPGA chip is used to collect and process vibration data and temperature data.

2. The FPGA-based EMU axle box gearbox motor vibration and temperature data acquisition circuit according to claim 1 is characterized in that: The 8-bit ADC chip is an 8-bit AD analog-to-digital converter with a 16-channel SPI interface. Two 8-channel 16-bit AD analog-to-digital converters ADS1178 are used, and each chip collects 8 vibration analog signal inputs. The two 8-channel 16-bit AD analog-to-digital converters ADS1178 are connected in series, and after analog-to-digital conversion, the 16-channel vibration data are stored in two DPRAMs in the FPGA chip through the SPI interface. The two DPRAMs store data alternately. When the single-chip data is full, the IMX6Q-CPU core board is notified to read, store and perform corresponding data processing.

3. The FPGA-based EMU axle box gearbox motor vibration and temperature data acquisition circuit according to claim 2 is characterized in that: When the IEPE vibration sensor is self-checked, the IEPE vibration sensor status is judged in the following way: State 1: The digital value tested is > 0xDF, and the software determines that the sensor is open circuit; State 2: The digital value of the test > 0x1F & the digital value of the test < 0xDF, the software determines that the sensor is normal; State 3: The tested digital value is <0x1F, and the software determines that the sensor is short-circuited.

4. The FPGA-based EMU axle box gearbox motor vibration and temperature data acquisition circuit according to claim 2 is characterized in that: An ADC converter is used, and each PT1000 sensor corresponds to a converter. A 2-wire system, SPI interface, and BIAS ON continuous acquisition mode are adopted. 16-channel temperature data are collected and stored in parallel. There are two DPRAMs in the FPGA chip, one for storing PT1000 temperature data and one for storing PT1000 status data. The rotary encoder collects temperature and status data at the same time. Each frame of data takes 160ms. After storing 10 groups of data, the IMX6Q-CPU core board reads the data once, stores it, and performs corresponding data processing.

5. The FPGA-based EMU axle box gearbox motor vibration and temperature data acquisition circuit according to claim 4 is characterized in that: The FPGA chip is Lattice's ECP5 series FPGA chip LFE5U-25F-BG256I, the IPEP vibration sensor data sampling ADC chip uses the 8-channel 16-bit ADS1178, the PT1000 temperature sensor data acquisition uses MAX31865, and the IMX6Q-CPU core board is the NXP IMX6Q series CORTEX-A9 quad-core processor core board.

6. The FPGA-based EMU axle box gearbox motor vibration and temperature data acquisition circuit according to claim 5 is characterized in that: The data processing control logic of the FPGA chip is: ADS1178 chip vibration data acquisition SPI interface communication logic; MAX31865 chip temperature data collection SPI interface communication logic; IMX6Q-CPU core board EIM parallel port data communication logic; Data is stored as 4 dual-port DPRAM1, DPRAM2, DPRAM3, and DPRAM4; DPRAM1 and DPRAM2 are vibration data storage RAMs, each with a size of 128Kbit. The data bit width of the ADS1178 port is 256, and the data bit width of the IMX6Q-CPU core board is 16. DPRAM3 and DPRAM4 are temperature data storage RAMs, each with a size of 4Kbit. The data bit width of the MAX31865 port is 256, and the data bit width of the IMX6Q-CPU core board is 16.

7. The FPGA-based EMU axle box gearbox motor vibration and temperature data acquisition circuit according to claim 6 is characterized in that: When storing and reading vibration data, follow the steps below to support data storage of three types of vibration sensors on axle boxes, gear boxes, and motors: When the sensor data collection is used as the axle box data collection, the radial 1 to lateral 8, 16 vibration data are collected and stored; When the sensor data is collected as gearbox data, the data collected is 16 vibration data of small gear vertical 1 to large gear vertical 8, and then stored; When the sensor data is collected as motor data, 8 vibration data from motor radial 1 to motor radial 8 are collected and stored; The spaces of DPRAM1 and DPRAM2 are 8192*16bit respectively. The data bit width of the ADS1178 data acquisition writing end is 256, and the data bit width of the CPU reading end is 16. The vibration data writing of DPRAM1 and DPRAM2 works alternately. When DPRAM1 is full, the CPU is notified to read the data of DPRAM1, and the vibration data starts to be written into DPRAM2. After the CPU reads the data of DPRAM1, it returns the DPRAM1 reading flag signal to the FPGA chip; when DPRAM2 is full, the CPU is notified to read the data of DPRAM2, and the vibration data starts to be written into DPRAM1; when the CPU reads the data of DPRAM1, the CPU reads the data of DPRAM2, and returns the DPRAM2 reading flag signal to the FPGA chip; ADS1178 input clock 12.5MHZ, AD chip sampling rate 12.2KSPS, two DPRAMs are 8192*16bit respectively, FPGA chip AD sampling frequency is 12.2KSPS (82US), 16 channels of data are collected simultaneously, and the time to write a single DPRAM is =8192 / 16*0.082mS=41.9mS; The time for IMX6Q-CPU core board to read DPRAM data each time should be less than 41.9mS; The steps for CPU to read ADS1178 data are as follows: S1, CPU initialization; S2, start AD data collection, ADS1178_READ_EN = 1; S3. Check if RAM1_FULL_FLAG==1?, read RAM1 128Kbit data; S4. After RAM1 is read, CPU_RAM1_READ_FINISH is set to 1 and then to 0, and the RAM1_FULL_FLAG status returns to 0; S5. Check if RAM2_FULL_FLAG==1?, read RAM2 128Kbit data; S6. After RAM2 is read, CPU_RAM2_READ_FINISH is set to 1 and then to 0, and the RAM2_FULL_FLAG status returns to 0; S7. Return to S3.

8. The FPGA-based EMU axle box gearbox motor vibration and temperature data acquisition circuit according to claim 6 is characterized in that: When storing and reading temperature data, follow the steps below: DPRAM3 and DPRAM4 are 256*16bit respectively. DPRAM3 is used to store the collected PT1000 temperature data, and DPRAM4 is used to store the collected PT1000 status data. The data bit width of the write end of 16 MAX31865 simultaneous data collection is 256, and the data bit width of the CPU read end is 16. Temperature data storage DPRAM3, Status data storage DPRAM4, The rotary encoder collects temperature and status data simultaneously. Each frame of data takes 160ms. After storing 10 sets of data, the CPU reads the data once. The steps for the CPU to read MAX31865 data are as follows: Step 1, CPU initialization; Max31865_int_clr = 1, keep 500ms, Max31865_int_clr = 0; Step 2: Start AD data acquisition, MAX31865_READ_EN = 1; Step 3, check RAM3_FULL_FLAG==1?, read RAM1 4Kbit data; Step 4: After RAM1 is read, CPU_RAM3_READ_FINISH is set to 1 and then to 0, and the RAM3_FULL_FLAG status returns to 0; Step 5. Return to step 3.