Novel rail flaw detection car electric control unit
The design of an electronic control unit based on a microcontroller solves the problems of large size and high price of existing PLC electronic control systems, realizes precise control of the rail flaw detection vehicle in harsh environments and the system's anti-interference capability, and adapts to various flaw detection needs.
Patent Information
- Application Number
- CN202422379930.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-27
- Publication Date
- 2025-10-17
- Estimated Expiration
- 2034-09-27
AI Technical Summary
The existing rail flaw detection vehicle electronic control system is based on PLC, which is bulky and expensive, and it is difficult to achieve precise control in harsh environments.
The electronic control unit is designed based on a microcontroller, including a main control module, a digital input module, an analog input module, an output interface module, a communication interface module, an input switch meter, an input analog meter, and a power module. Through a MOS high-side driver chip, a TTL to RS232 circuit, and relays, it achieves signal isolation and independent power supply, supporting precise control of the offset sensor and push rod motor.
It achieves precise control of the rail flaw detection vehicle in harsh environments, improves the system's anti-interference ability and maintenance convenience, and adapts to different flaw detection needs and environmental conditions.
Smart Images

Figure CN223450329U_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The utility model belongs to the field of rail damage detection, and specifically relates to a novel rail flaw detection vehicle electric control unit. BACKGROUND
[0002] The flaw detection vehicle is mainly used for periodic or aperiodic flaw detection of railway rails to ensure the safe and reliable operation of railway lines. The rail flaw detection vehicle can comprehensively scan the surface and interior of the rail through various detection technologies such as ultrasonic waves, magnetic powder, radio frequency, etc., detect defects such as cracks, fatigue, deformation, etc., and timely discover potential problems, so that periodic rail flaw detection can help to timely discover and repair rail problems, prolong the service life of the rail, and ensure the safety and stability of the railway line. Moreover, the rail flaw detection vehicle can realize rapid and accurate detection of a large area of rails, improve the line maintenance efficiency, reduce the maintenance time, and ensure the efficient operation of railway transportation.
[0003] Rail flaw detection vehicles are constantly emerging, but most of them are based on PLC for electric control, are bulky, and are expensive. A novel rail flaw detection vehicle electric control unit based on a microcontroller is developed, which can realize the control of the operation of the flaw detection vehicle, easily realize the detection and recording of rail damage, and accurately control the traveling direction of the flaw detection vehicle in harsh environments through the offset sensor and push rod motor control system. UTILITY MODEL CONTENTS
[0004] The utility model is a kind of electric control system design of rail flaw detection vehicle suitable for oil and gas well exploitation environment, realizes power control system, wireless network interface and sensor data receiving, analysis and diagnosis.
[0005] The utility model technical scheme is as follows:
[0006] A novel rail flaw detection vehicle electric control unit design, including main control module, digital quantity input module, analog quantity input module, output interface module, communication interface module, input switch quantity instrument, input analog quantity instrument, output instrument, communication module and power module. Wherein, input switch quantity instrument is connected main control module by digital quantity input module;Input analog quantity instrument is connected main control module by analog quantity input module;Main control module is connected output instrument by output interface module;Main control module is connected with communication module by communication interface module.
[0007] Specifically, the master control module outputs to the output interface module, the output interface module is composed of 2-way MOS high-side drive chip, TTL to RS232 circuit, 2-way relay, brush drive chip, open drain drive chip and DAC chip, the master control module GPIO / PWM / ADC multiplex port is connected with 2-way MOS high-side drive chip, the master control module UART1 port is connected with TTL to RS232 circuit, the master control module GPIO port is connected with 2-way relay, the master control module PWM / GPIO / ADC port is connected with brush drive chip, the master control module GPIO port is connected with open drain drive chip, the master control module SPI1 port is connected with DAC chip, the master control module UART0 and UART2 interface are connected with communication interface module.
[0008] Specifically, the input switch quantity instrument includes 3-way physical switch, 8-way centering lever switch, 2-way gear switch, 1-way parking stroke switch, 1-way seat sensor switch and 1-way reservation, the input switch quantity instrument is connected with the master control module GPIO port through the digital quantity input module, the digital quantity input module is realized by interface expansion chip, the interface expansion chip receives signals from the input switch quantity instrument through 16-bit parallel transmission and outputs to the master control module through IIC bus mode, the master control module is connected with the digital quantity input module through GPIO analog IIC mode.
[0009] Specifically, the input analog quantity instrument includes 2-way offset sensor, 4-way laser sensor, 2-way signal acquisition, 1-way throttle input and 1-way reservation, the input analog quantity instrument is connected with the master control module ADC port through the analog quantity input module, the analog quantity input module converts signals from the input analog quantity instrument into 0-5V analog voltage, receives signals from the input analog quantity instrument through 10-way parallel bus and transmits to the master control module ADC port through 10-way parallel bus.
[0010] Specific, the output instrument is composed of working lamp, warning light, display screen, headlamp, loudspeaker, 7-way motor, controller throttle, 4-way open drain output, the 7-way motor includes 5-way push rod motor and 2-way water pump motor, the 4-way open drain output includes brake, reverse, speed limit and cruise, the main control module GPIO / PWM / ADC multiplex port is connected with 2-way MOS high side drive chip for controlling working lamp and warning light, the main control module UART1 port is connected with TTL to RS232 circuit for communicating with display screen, the display screen includes display and touch control function, the display screen can display speed, this time mileage, total mileage, light state, battery power and voltage, WIFI connection state, GPS state, 4G state, water pump state, electronic parking state, constant speed cruise state, speed limit state, R / D / N gear, low power alarm, voltage output and other abnormal state alarm, the electronic touch display screen includes touch control for headlamp, warning light, front water spray, rear water spray, constant speed cruise, speed limit, parking, centering adjustment, the main control module GPIO port is connected with 2-way relay for controlling headlamp and loudspeaker, the main control module PWM / GPIO / ADC port is connected with brush drive chip for controlling 7-way motor, the main control module GPIO port is connected with open drain drive chip for 4-way open drain output, and the main control module SPI1 port is connected with DAC chip for controlling throttle output.
[0011] Specific, the power supply of the electric control system design is composed of standard power supply direct current 24V as main power supply, the power module is composed of DC / DC power conversion circuit, the main control module and communication interface module are powered by the power module, the 7-way motor in the output instrument is powered by main power supply 24V and 16.67A shunt circuit, the headlamp, loudspeaker and display screen are powered by external power supply separately, the working lamp and warning light are powered by 24V and 2.08A shunt circuit, and the laser sensor, offset sensor and relay in the output interface module in the input analog instrument are powered by 24V and 0.25A shunt circuit.
[0012] The utility model discloses a kind of advantages.
[0013] The utility model isolates power control system and wireless communication interface from each other, facilitates development and maintenance.
[0014] The utility model has independent interactive port for analog input signal, analog output signal, digital input signal and digital output signal, and isolation is realized between different signals.
[0015] The utility model adopts power supply separation power supply, meets design and certification standard, improves the anti-interference ability of system, and maintenance and debugging are more convenient.
[0016] The utility model provides a plurality of reserved interfaces can be customized and extension according to specific demand, adapts to different flaw detection demand and environmental condition. BRIEF DESCRIPTION OF DRAWINGS
[0017] Figure 1 A novel rail flaw detection vehicle electric control unit frame diagram of the utility model. DETAILED DESCRIPTION
[0018] The utility model will be further described in connection with examples, but the protection scope of the utility model is not limited to this:
[0019] As Figure 1 The utility model discloses a novel rail flaw detection vehicle electric control unit design, it is characterized by including main control module, digital quantity input module, analog quantity input module, output interface module, communication interface module, input switch quantity instrument, input analog quantity instrument, output instrument, communication module and power module.
[0020] The main control module adopts NXP S32K general microcontroller FS32K146UAT0VLQT of automobile, and the microcontroller is based on The microcontroller FS32K146UAT0VLQT4 is suitable for the automobile industry regional control and electrification application, including GPIO, IIC, SPI, UART, PWM and ADC general peripherals.
[0021] The digital quantity input module adopts TCA9539PWR interface extension chip of TI (Texas Instruments), and the interface extension chip receives input switch quantity instrument signal through 16-way parallel bus, and is output to the main control module through IIC bus;
[0022] The analog quantity input module is composed of voltage conversion circuit, current conversion circuit and small signal voltage conversion circuit, and the input analog quantity instrument is connected with the main control module ADC port through the analog quantity input module.The analog quantity input module receives input analog quantity instrument signal through 10-way parallel bus, and is transmitted to the main control module ADC port through 10-way parallel bus.The input analog quantity instrument includes 2-way offset sensor, 4-way laser sensor, 2-way signal acquisition, 1-way throttle input and 1-way reservation, and the 2-way offset sensor and 4-way laser sensor convert current into 0-5V analog quantity voltage through current acquisition circuit and give to the ADC port acquisition of the main control module, the 2-way signal acquisition is converted into 0-5V analog quantity voltage through voltage conversion circuit and gives to the ADC port acquisition of the main control module, and the 1-way throttle input is amplified and handled as 0-5V analog quantity voltage through small signal voltage conversion circuit and gives to the ADC port acquisition of the main control module.
[0023] The output interface module is composed of 2-way MOS high-side drive chip, TTL to RS232 circuit, 2-way relay, brush drive chip, open drain drive chip and DAC chip. The MOS high-side drive chip adopts TPS4H160BQPWPRQ1 of Texas Instruments, the GPIO / PWM / ADC multiplex port of the master control module is connected with the MOS high-side drive chip TPS4H160BQPWPRQ1 to control the working lamp and warning lamp; the TTL to RS232 circuit adopts MAX3232EUE+T of MAXIM, the UART1 port of the master control module is connected with the TTL to RS232 circuit, the TTL to RS232 circuit is connected with the display screen, the display screen adopts outdoor high-brightness 7-inch serial port color screen of Beijing Diwen Technology; the 2-way relay adopts small-size and low contact resistance relay APAN3124 of Panasonic, the GPIO of the master control module is connected with the relay to control the headlamp and horn; the brush drive chip adopts brush motor drive chip DRV8874QPWPRQ1 of Texas Instruments, the GPIO / PWM / ADC multiplex interface of the master control module is connected with the brush motor drive chip to control 7-way motor; the open drain drive chip adopts Darlington integrated circuit ULN2003AIPWR of Texas Instruments, the GPIO interface of the master control module is connected with the Darlington integrated circuit ULN2003AIPWR to realize 4-way open drain output, realizing the functions of brake, reverse, speed limit and cruise; the DAC chip adopts MCP4822-E / SN double-way 12-bit DAC chip of Microchip, the output is followed by an operational amplifier and ESD protection, the SPI1 interface of the master control module is connected with the DAC chip to control the throttle output.
[0024] The communication interface module is composed of TTL to RS232 circuit and TTL to RS485 circuit, the RS232 communication transceiver chip adopts MAX3232EUE+T of MAXIM, the RS485 communication transceiver chip adopts MAX3485ESA+T of MAXIM, the UART0 of the master control module is connected with the TTL to RS232 circuit of the communication interface module for debugging port, the UART2 of the master control module is connected with the TTL to RS485 circuit of the communication interface module and 4G router. The 4G router selects YeeCOM industrial 4G router R562G, supports 4G network and WIFI network, supports DTU function and has RJ45 network port.
[0025] The specific embodiments described in the utility model are merely illustrative of the utility model spirit. Those skilled in the art to which the utility model belongs can make various modifications or supplements to the described specific embodiments or replace them with similar ways, but will not deviate from the utility model spirit or exceed the range defined by the attached claims.
Claims
1. A new type of rail flaw detection vehicle electronic control unit, characterized by It includes a main control module, a digital input module, an analog input module, an output interface module, a communication interface module, an input switch meter, an input analog meter, an output meter, a communication module and a power supply module; among which, the input switch meter is connected to the main control module through the digital input module; the input analog meter is connected to the main control module through the analog input module; the main control module is connected to the output meter through the output interface module; and the main control module is connected to the communication module through the communication interface module.
2. The novel rail flaw detection vehicle electronic control unit according to claim 1 is characterized in that: The main control module outputs to the output interface module, which is composed of a 2-way MOS high-side driver chip, a TTL to RS232 circuit, a 2-way relay, a brush driver chip, an open-drain driver chip and a DAC chip. The GPIO / PWM / ADC multiplexing port of the main control module is connected to the 2-way MOS high-side driver chip, the UART1 port of the main control module is connected to the TTL to RS232 circuit, the GPIO port of the main control module is connected to the 2-way relay, the PWM / GPIO / ADC port of the main control module is connected to the brush driver chip, the GPIO port of the main control module is connected to the open-drain driver chip, and the SPI1 port of the main control module is connected to the DAC chip; the UART0 and UART2 interfaces of the main control module are connected to the communication interface module.
3. The novel rail flaw detection vehicle electronic control unit according to claim 1 is characterized in that: The input switch instrument includes 3 physical switches, 8 centering lever switches, 2 gear switches, 1 parking travel switch, 1 seat-leaving sensor switch and 1 reserved switch; the input switch instrument is connected to the GPIO port of the main control module through a digital input module. The digital input module is implemented by an interface expansion chip. The interface expansion chip receives signals from the input switch instrument through a 16-channel parallel bus and outputs them to the main control module through an IIC bus; the main control module is connected to the digital input module through a GPIO analog IIC method.
4. The novel rail flaw detection vehicle electronic control unit according to claim 1 is characterized in that: The input analog instrument includes 2 offset sensors, 4 laser sensors, 2 signal acquisition channels, 1 throttle input channel and 1 reserved channel. The input analog instrument is connected to the ADC port of the main control module through an analog input module; the analog input module converts the signal from the input analog instrument into a 0-5V analog voltage, receives the signal from the input analog instrument through a 10-channel parallel bus, and transmits it to the ADC port of the main control module through the 10-channel parallel bus.
5. The novel rail flaw detection vehicle electronic control unit according to claim 1 is characterized in that: The output instrument consists of a work light, a warning light, an electronic touch screen, a headlight, a horn, a 7-way motor, a controller throttle, and a 4-way open-drain output. The 7-way motor includes a 5-way push rod motor and a 2-way water pump motor. The 4-way open-drain output includes brake, reverse, speed limit, and cruise. The GPIO / PWM / ADC multiplexing port of the main control module is connected to a 2-way MOS high-side driver chip for controlling the work light and the warning light. The UART1 port of the main control module is connected to a TTL to RS232 circuit for communicating with the electronic touch screen. The electronic touch screen includes display and touch functions. The electronic touch screen displays speed, current mileage, total mileage, light status, battery power, and voltage. , WIFI connection status, GPS status, 4G status, water pump status, electronic parking status, cruise control status, speed limit status, R / D / N gear position, abnormal status alarm, the electronic touch display screen includes touch controls for headlights, warning lights, front water spray, rear water spray, cruise control, speed limit, parking, and centering adjustment; the GPIO port of the main control module is connected to 2-way relays for controlling headlights and horns; the PWM / GPIO / ADC port of the main control module is connected to a brushed driver chip for controlling 7-way motors; the GPIO port of the main control module is connected to an open-drain driver chip for 4-way open-drain output; the SPI1 port of the main control module is connected to a DAC chip for controlling the throttle output.
6. The novel rail flaw detection vehicle electronic control unit according to claim 5, characterized in that: The power supply module uses a standard DC 24V power supply as the main power supply. The power supply module is composed of a DC / DC power conversion circuit. The main control module and the communication interface module are powered by the power module. The 7-way motor in the output instrument is powered by the main power supply 24V and a 16.67A shunt circuit. The headlights, horns and electronic touch screen are powered separately by an external power supply. The work lights and warning lights are powered by a 24V and 2.08A shunt circuit. The laser sensor, offset sensor in the input analog instrument and the relay in the output interface module are powered by a 24V and 0.25A shunt circuit.