A railway locomotive communication equipment recording device and data storage method thereof
By using low-power audio analog-to-digital-to-digital conversion chips and G.729 voice compression codec algorithms in railway locomotive communication equipment, combined with high-speed FLASH storage, the problem of waste of voice data storage space is solved, and the equipment size and cost are realized. Save and support efficient daily maintenance and troubleshooting.
Patent Information
- Application Number
- CN202110657422.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-06-12
- Publication Date
- 2024-11-01
- Estimated Expiration
- 2041-06-12
AI Technical Summary
In existing railway locomotive communication equipment, voice data is directly stored or compressed and encoded with low efficiency, resulting in waste of storage space, large equipment size and high cost.
UDA1341, a low-power, low-voltage audio analog-to-digital-to-analog conversion chip, and the efficient G.729 voice compression codec algorithm are used, combined with the high-speed FLASH data storage chip, to achieve fast and efficient voice data compression and storage, through RS232 and The USB data communication unit records and reads voice data in real time.
It effectively reduces the equipment volume, saves equipment costs, meets the storage needs of voice and digital recording information of railway locomotive equipment, and supports efficient daily maintenance and fault repair.
Smart Images

Figure CN113327345B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of railway locomotive communication equipment, and in particular to a railway locomotive communication equipment recording device and a data storage method thereof. Background Art
[0002] With the rapid development of science and technology, the demand for communication technology and services on locomotives is also increasing, and the communication equipment on locomotives has been further developed and improved. Voice recording equipment using tape as recording media has been gradually eliminated, and digital voice recording equipment using FLASH memory as recording media has been widely used. Its electronic, no mechanical wear, and comprehensive functions have been well received by users. However, if voice data is directly stored or stored after using inefficient compression coding, it will require a large storage space, resulting in large storage devices, waste of storage space, and high equipment costs. Summary of the invention
[0003] In order to solve the above-mentioned deficiencies of the prior art, an object of the present invention is to provide a railway locomotive communication equipment recording device and a data storage method thereof to overcome the defects in the prior art.
[0004] In order to achieve the above-mentioned purpose, the present invention provides a railway locomotive communication equipment recording device, the recording device includes a main control unit, an analog-to-digital digital-to-analog conversion unit, an RS232 data communication unit, an NPN circuit, a storage unit, an LED display unit, a USB data communication unit, a clock unit and a power supply unit; wherein the main control unit is connected to the locomotive integrated communication equipment CIR through the analog-to-digital digital-to-analog conversion unit, the main control unit has a built-in G.729 voice compression codec algorithm, the analog-to-digital digital-to-analog conversion unit and the G.729 voice compression codec algorithm are used to process the voice signal of the locomotive integrated communication equipment CIR to realize the recording and playback function of the locomotive integrated communication equipment CIR; the main control unit is connected to the locomotive integrated communication equipment CIR through the RS232 data communication unit, the RS232 data communication unit is used for data communication between the locomotive integrated communication equipment CIR and the recording device, so as to record the operating status information of the locomotive integrated communication equipment CIR in real time; the locomotive integrated communication equipment CIR is connected to the NPN circuit, and the NPN circuit is connected to the main control unit The NPN circuit is connected to the main control unit, and is used to receive the low-level signal of the locomotive integrated communication equipment CIR to control the main control unit to start and stop the G.729 voice compression codec, so as to realize the control of the start and end of recording; the storage unit is connected to the main control unit, and the storage unit is used to store the call voice data and operation status data of the locomotive integrated communication equipment CIR; the LED display unit is connected to the main control unit, and the LED display unit is used to display the working status information of the recording device in real time; the main control unit is connected to the computer-specific software or U disk through the USB data communication unit, and the USB data communication unit is used for data communication between the computer-specific software or U disk and the recording device; the clock unit is connected to the main control unit, and the clock unit is used to record the start time and end time of various data; the locomotive integrated communication equipment CIR is connected to the power supply unit, and the power supply unit is a DC3.3V regulated power supply module, so that the locomotive integrated communication equipment CIR provides a DC13.8V power supply to the power supply unit, and the power supply unit provides a DC3.3V power supply to the recording device.
[0005] Through the above technical solution, the analog-to-digital conversion unit adopts the low-power, low-voltage audio analog-to-digital conversion chip UDA1341 to connect with the main control unit. The main control unit adopts the low-power, high-speed AM335x embedded microprocessor and has a built-in efficient G.729 voice compression codec algorithm. Combined with the storage unit using a high-speed FLASH data storage chip, fast and efficient voice data compression and writing and reading and decompression operations are achieved. With less data storage space, the storage requirements of railway locomotive equipment voice and digital recording information are met, effectively reducing the equipment size and saving equipment costs.
[0006] As a further explanation of the railway locomotive communication equipment recording device described in the present invention, preferably, the main control unit is connected to the analog-to-digital digital-to-analog conversion unit through the IIS interface and the L3 interface, the main control unit is connected to the RS232 data communication unit through the UART interface, the main control unit is connected to the NPN circuit through the GPIO interface, the main control unit is connected to the storage unit through the SPI interface, the main control unit is connected to the LED display unit through the SPI interface, the main control unit is connected to the USB data communication unit through the USB interface, and the main control unit is connected to the clock unit through the IIC interface.
[0007] As a further explanation of the railway locomotive communication equipment recording device described in the present invention, preferably, when recording, the analog audio signal output by the locomotive integrated communication equipment CIR is converted into a 16-bit linear PCM digital voice signal by the analog-to-digital digital-to-analog conversion unit, and then obtained by the G.729 voice compression codec algorithm in the main control unit. The compressed digital voice data is stored in the storage unit; when playing, the compressed digital voice data in the storage unit is read by the main control unit, decoded by the G.729 voice compression codec algorithm in the main control unit to obtain a 16-bit linear PCM digital voice signal, and then converted into a clear analog audio signal by the analog-to-digital digital-to-analog conversion unit and sent to the locomotive integrated communication equipment CIR.
[0008] As a further description of the railway locomotive communication equipment recording device described in the present invention, preferably, the USB data communication unit is connected to the computer-specific software to read the recorded data, and the USB data communication unit is connected to the U disk to transfer the recorded data.
[0009] Through the above technical solution, it is supported to read recorded data from a USB flash drive. The user can choose to directly connect to the recording device to read the recorded data through computer-specific software, or read the recorded data transferred from a USB flash drive, and then store the recorded data, play recordings, analyze the operating status of the CIR device, etc., to achieve support for efficient and accurate daily maintenance and troubleshooting of the CIR device.
[0010] As a further explanation of the railway locomotive communication equipment recording device described in the present invention, preferably, the clock unit adopts a high-precision DS3231 clock chip with an annual error of less than 1 minute, and the clock unit corrects the time through time synchronization in the GPS satellite positioning information or time synchronization of the locomotive integrated communication equipment CIR.
[0011] Through the above technical solution, accurate recording of the start and end time of various data can be achieved.
[0012] As a further explanation of the railway locomotive communication equipment recording device described in the present invention, preferably, the storage unit adopts a non-volatile memory NandFLASH memory with fast data reading and writing speed and large capacity.
[0013] Through the above technical solution, the storage function of a large amount of device recorded data is realized.
[0014] In order to achieve another purpose of the present invention, the present invention also provides a data storage method using the railway locomotive communication equipment recording device, the data storage method includes the following steps: when it is in the voice control mode, the recording device receives an analog voice signal, the analog-to-digital conversion unit converts the analog voice signal into a digital voice signal, and sends it to the main control unit, the main control unit starts the G.729 voice compression codec algorithm to perform voice compression encoding on the digital voice signal, and stores the compressed digital voice data in the storage unit; when it is in the electronic control mode, when recording is required, the locomotive integrated communication equipment CIR provides a low-level signal and sends it to the main control unit through the NPN circuit, the main control unit controls the main control unit to perform compressed voice encoding during the low-level effective period by detecting the level signal, and stores the encoded digital voice data in the storage unit.
[0015] The beneficial effects of the present invention are as follows: the analog-to-digital digital-to-analog conversion unit of the present invention adopts a low-power, low-voltage audio analog-to-digital digital-to-analog conversion chip UDA1341 to be connected to a main control unit, the main control unit adopts a low-power, high-speed AM335x embedded microprocessor, and has a built-in efficient G.729 voice compression codec algorithm, combined with a storage unit that adopts a high-speed FLASH data storage chip to achieve fast and efficient voice data compression and writing and reading and decompression operations, and meet the storage requirements of railway locomotive equipment voice and digital recording information with less data storage space, effectively reducing the size of the equipment and saving equipment costs. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] Figure 1 It is a schematic diagram of the structure of the railway locomotive communication equipment recording device of the present invention.
[0017] Figure 2 It is a structural schematic diagram of the main control unit of the present invention. DETAILED DESCRIPTION
[0018] In order to further understand the structure, features and other purposes of the present invention, the preferred embodiments are described in detail with reference to the accompanying drawings as follows. The embodiments described in the drawings are only used to illustrate the technical solutions of the present invention and are not intended to limit the present invention.
[0019] like Figure 1As shown, a railway locomotive communication equipment recording device includes a main control unit 1, an analog-to-digital conversion unit 2, an RS232 data communication unit 3, an NPN circuit 4, a storage unit 5, an LED display unit 6, a USB data communication unit 7, a clock unit 8 and a power supply unit 9. The main control unit 1 is connected to the locomotive integrated communication equipment CIR10 through the analog-to-digital conversion unit 2. The main control unit 1 has a built-in G.729 voice codec algorithm. The analog-to-digital conversion unit 2 and the G.729 voice codec algorithm are used to process the voice signal of the locomotive integrated communication equipment CIR10 to realize the recording and playback function of the locomotive integrated communication equipment CIR10. The main control unit 1 is connected to the locomotive integrated communication equipment CIR10 through the RS232 data communication unit 3. The RS232 data communication unit 3 is used for data communication between the locomotive integrated communication equipment CIR10 and the recording device to record the operation status information of the locomotive integrated communication equipment CIR10 in real time. The locomotive integrated communication device CIR10 is connected to the NPN circuit 4, and the NPN circuit 4 is connected to the main control unit 1. The NPN circuit 4 is used to receive the low-level signal of the locomotive integrated communication device CIR10 to control the main control unit 1 to start and stop the G.729 voice codec, so as to realize the control recording start and end function. The storage unit 5 is connected to the main control unit 1, and the storage unit 5 is used to store the call voice data and operation status data of the locomotive integrated communication device CIR10. The LED display unit 6 is connected to the main control unit 1, and the LED display unit 6 is used to display the working status information of the recording device in real time. The main control unit 1 is connected to the computer-specific software or U disk through the USB data communication unit 7, and the USB data communication unit 7 is used for data communication between the computer-specific software or U disk and the recording device. The clock unit 8 is connected to the main control unit 1, and the clock unit 8 is used to record the start time and end time of various data. The locomotive integrated communication equipment CIR10 is connected to the power supply unit 9, which adopts a DC3.3V regulated power supply module with high efficiency and small ripple, so that the locomotive integrated communication equipment CIR10 provides a DC13.8V power supply to the power supply unit 9, and the power supply unit 9 provides a stable and reliable DC3.3V power supply to the recording device.
[0020] The main control unit 1 adopts the AM335x embedded microprocessor with high-speed data processing capability, implements the Linux operating system on this hardware platform, and runs at a maximum frequency of 1GHz. It supports CAN bus controller, IIC controller, SPI controller, 512M Byte DDR3 large-capacity memory, USB high-speed data communication interface and multiple UART serial ports, and is very suitable for low-power, high-speed data processing and high-speed data communication application scenarios. The main control unit 1 communicates with each component unit according to the specified protocol interface, analyzes and processes the data information transmitted on the communication link, and controls each component unit to work according to the functional requirements. Figure 2 As shown, the main control unit 1 is connected to the analog-to-digital-to-analog conversion unit 2 through the IIS interface to realize audio data communication between the main control unit 1 and the analog-to-digital-to-analog conversion unit 2; the main control unit 1 is connected to the analog-to-digital-to-analog conversion unit 2 through the L3 interface to realize data communication between the main control unit 1 and the control register of the analog-to-digital-to-analog conversion unit 2, and the main control unit 1 sets the parameters of the analog-to-digital-to-analog conversion unit 2 and controls the gain of the playback signal amplitude; the main control unit 1 is connected to the RS232 data communication unit 3 through the UART interface to realize high-speed serial data communication between the main control unit 1 and the RS232 data communication unit 3, and based on the level conversion of the communication data by the RS232 data communication unit 3, the recording device and the locomotive integrated communication equipment CIR10 are stably and reliably communicated at high speeds; the main control unit 1 is connected to the NPN circuit 4 through the GPIO interface to realize that the locomotive integrated communication equipment CIR10 controls the NPN circuit 4 through a low-level signal, thereby controlling The main control unit 1 is controlled to start and stop the G.729 voice compression codec to realize the function of controlling the start and end of recording; the main control unit 1 is connected to the storage unit 5 through the SPI interface to realize data communication between the main control unit 1 and the storage unit 5, and realize the storage and reading of high-speed and large amounts of voice data and operating status data of the locomotive integrated communication equipment CIR10; the main control unit 1 is connected to the LED display unit 6 through the SPI interface to realize communication between the main control unit 1 and the LED display unit 6 to display various working status information of the recording device in real time; the main control unit 1 is connected to the USB data communication unit 7 through the USB interface to realize data communication between the main control unit 1 and the computer-specific software, realize high-speed data communication between the main control unit 1 and the U disk, and realize the function of transferring a large amount of recorded data in the recording device to the computer; the main control unit 1 is connected to the clock unit 8 through the IIC interface to realize data communication between the main control unit 1 and the clock unit 8, and realize functions such as clock reading and time correction.
[0021] The G.729 standard is a conjugate structure algebraic code excited linear prediction (CS-ACELP) speech compression coding standard with a rate of 8kbit / s developed by the International Telecommunication Union (ITU-T). The railway locomotive communication equipment recording device adopts the G.729 speech compression codec algorithm to achieve a higher speech compression coding rate, lower algorithm delay and clearer decoded synthesized speech, with a MOS value higher than 4.0, which is very suitable for the real-time call speech storage needs of railway locomotive communication.
[0022] The analog-to-digital conversion unit adopts the low-power, low-voltage audio analog-to-digital conversion chip UDA1341. When recording, the analog audio signal output by the locomotive integrated communication equipment CIR10 is converted into a 16-bit linear PCM digital voice signal by the analog-to-digital conversion unit 2, and then the compressed digital voice data is obtained by the G.729 voice codec algorithm in the main control unit 1 and stored in the storage unit 5; when playing, the main control unit 1 reads the compressed digital voice data in the storage unit 5, decodes it by the G.729 voice codec algorithm in the main control unit 1 to obtain a 16-bit linear PCM digital voice signal, and then converts it into a clear analog audio signal by the analog-to-digital conversion unit 2 and sends it to the locomotive integrated communication equipment CIR10.
[0023] The data communication of the RS232 data communication unit 3 includes the locomotive integrated communication equipment CIR10 sending the operating status information to the recording device in real time and storing it; the operation unit MMI of the locomotive integrated communication equipment CIR10 performs operations such as recording query, recording playback request, operating status history information query, clock query, clock correction, query and setting of recording working mode, query of recording device software version number, etc. on the recording device; the recording device periodically requests the locomotive integrated communication equipment CIR10 to send the CIR device time and GPS satellite positioning information, and then automatically corrects the local time, etc.
[0024] The USB data communication unit 7 uses a high-speed USB serial data communication chip, supports the USB2.0 standard, and the communication rate can be as high as 480MB / S. The USB data communication unit 7 is connected to the computer-specific software to read the recorded data for query and playback recording, and the USB data communication unit 7 is connected to the U disk to transfer the recorded data. That is, the U disk is inserted into the USB interface of the recording device, the recording device detects the insertion of the U disk, and the main control unit 1 reads the data stored in the storage unit 5 and writes the data to the U disk. The user inserts the U disk into the computer USB interface, reads the data in the U disk through the computer-specific software, and converts the voice data therein into a WAV format audio file, and converts the digital data such as the working status into a TXT format file and stores it in the computer hard disk. The names of the voice and digital files are named after the recording time. The computer-specific software can effectively manage the stored CIR device call voice, operating status and other data. Another way to transfer the recorded data is to use the computer's USB interface to connect with the USB interface of the recording device, send a record data transfer command through the computer-specific software, read all the record data stored in the recording device, and realize the transfer of the record data.
[0025] The clock unit 8 uses a high-precision DS3231 clock chip with an annual error of less than 1 minute. The clock unit 8 corrects the time through the time synchronization in the GPS satellite positioning information or the time synchronization of the locomotive integrated communication equipment CIR10. Clock correction can be achieved in three ways. The first is to manually query the recording device time through the operating unit MMI of the locomotive integrated communication equipment CIR10 and make corrections; the second is to manually query the recording device time through computer-specific software and make corrections; the third is that the recording device actively requests the locomotive integrated communication equipment CIR10 to send the CIR device time and current GPS data information at regular intervals. After receiving the response from the CIR device, if there is GPS information, the time information in the GPS information is used as the basis for correction. If there is no GPS information, the CIR device time is used as the basis for correction. The accurate recording device clock provides accurate recording time for the recording of various information, which is conducive to the effective analysis and fault judgment of the recorded data, and effectively improves the safety of railway transportation. The power supply of the clock unit 8 adopts the DC3.3V power supply provided by the power supply unit. When the power of the recording device is turned off, the DC3V power supply is supplied to it by the CR1620 button battery. The CR1620 button battery has the advantages of being mercury-free, environmentally friendly, stable in performance, and having a long service life.
[0026] The storage unit 5 uses a non-volatile memory NandFLASH memory with fast data read and write speed and large capacity to realize the rapid storage and reading of CIR voice, data and other information, which meets the requirements of CIR equipment call voice and working status recording. The recording device requires that the cumulative time length of voice recording should be ≥70 hours, and the cumulative number of data records should be ≥10,000.
[0027] The G.729 compression coding algorithm can achieve a voice compression rate of 8Kbit / s (ie 1000B / s).
[0028] Recording time = 70 hours * 3600 seconds / hour = 252000 seconds.
[0029] Voice recording space = recording time * voice compression rate = 252000 seconds * 1000 bytes / second = 240.3MB.
[0030] Data recording space = 10000*512 bytes = 4.9MB.
[0031] The storage capacity of the Flash chip should be ≥240.3MB+4.9MB=245.2MB; generally, the Flash chip exists in the form of 2 to the power of N, so a 256MB Flash chip can be used. In this solution, the storage capacity of the Flash chip is 512MB, which is sufficient to meet the CIR equipment's record data storage requirements.
[0032] The LED display unit 6 adopts a high-quality, high-definition, colorful color LCD display screen to display real-time working status information such as recording device power supply, operation, voice recording, data recording, playback, communication, button battery power, local time, etc.
[0033] In addition, based on the above-mentioned railway locomotive communication equipment recording device, a data storage method is provided to record and store the voice data of the locomotive integrated communication equipment CIR10 to realize the recording and playback function. The recording device has two recording working modes, one is a voice control mode and the other is an electric control mode. The user can set the recording working mode through the CIR operation unit MMI or computer-specific software. Therefore, the data storage method includes the following steps: when it is in the voice control mode, the recording device receives an analog voice signal, the analog-to-digital digital-to-analog conversion unit 2 converts the analog voice signal into a digital voice signal, and sends it to the main control unit 1, the main control unit 1 starts the G.729 voice codec algorithm to perform voice compression encoding on the digital voice signal, and stores the compressed digital voice data in the storage unit 5; when it is in the electric control mode, when recording is required, the locomotive integrated communication equipment CIR10 provides a low-level signal, and sends it to the main control unit 1 through the NPN circuit 4, the main control unit 1 detects the level signal to control the main control unit 1 to perform compressed voice encoding during the low-level effective period, and stores the encoded digital voice data in the storage unit 5.
[0034] The user can search for a certain recording according to the recording time and request to play the recording through the operation unit MMI of the locomotive integrated communication equipment CIR10. After the recording device receives the playback request, the main control unit 1 reads the corresponding voice data in the storage unit 5, runs the G.729 voice codec algorithm to perform compressed voice decoding, and then sends the decoded data to the analog-to-digital conversion unit 2, which converts it into an analog voice signal and sends it to the operation unit MMI of the locomotive integrated communication equipment CIR10 for playback.
[0035] The user can search for a certain recording according to the recording time through the computer dedicated software. After the recording device receives the request, the main control unit 1 reads the corresponding voice data, and then sends the voice data to the computer. The computer dedicated software converts the voice data format into WAV format and plays the voice.
[0036] The present invention is based on high-speed, low-power, and high-efficiency ARM digital processing technology, combined with the high-quality, low-delay, and high-compression efficiency G.729 voice compression codec algorithm, to construct a high-efficiency, low-power, and large-capacity railway locomotive communication equipment recording device. The main functions of the recording device are to perform sampling, analog-to-digital conversion, voice compression coding, and storage on the voice signals received and sent by the CIR device; to perform serial digital communication with the CIR device and to record the operating status information of the CIR device in real time; to respond to the query of the recorded data stored in the recording device by the operating unit MMI of the CIR device and the computer-specific software, and to play the recording and query , calibrate the recording device clock and working mode and other requests; use a high-definition LCD screen to display the working status of the recording device in real time; automatically identify the insertion of a USB flash drive, and write the recorded data to the USB flash drive, etc., to achieve real-time recording of the call voice of the locomotive integrated wireless communication equipment CIR in railway transportation driving operations, as well as the CIR equipment's startup, GSM-R network registration / deregistration, function number registration / deregistration, signal strength, operation, mode switching, bearer services, detection, alarm information, shutdown, power status and other operating states, to provide timely and effective data support for daily maintenance and fault repair of CIR equipment.
[0037] It should be noted that the above invention content and specific implementation methods are intended to demonstrate the practical application of the technical solution provided by the present invention and should not be interpreted as limiting the scope of protection of the present invention. Those skilled in the art can make various modifications, equivalent substitutions or improvements within the spirit and principles of the present invention. The scope of protection of the present invention shall be subject to the attached claims.
Claims
1. A railway locomotive communication equipment recording device, characterized in that: The recording device comprises a main control unit (1), an analog-to-digital digital-to-analog conversion unit (2), an RS232 data communication unit (3), an NPN circuit (4), a storage unit (5), an LED display unit (6), a USB data communication unit (7), a clock unit (8) and a power supply unit (9); wherein: The main control unit (1) is connected to the locomotive integrated communication equipment CIR (10) via the analog-to-digital digital-to-analog conversion unit (2); the main control unit (1) has a built-in G.729 voice codec algorithm; the analog-to-digital digital-to-analog conversion unit (2) and the G.729 voice compression codec algorithm are used to process the voice signal of the locomotive integrated communication equipment CIR (10) to realize the recording and playback functions of the locomotive integrated communication equipment CIR (10); The main control unit (1) is connected to the locomotive integrated communication device CIR (10) via the RS232 data communication unit (3), and the RS232 data communication unit (3) is used for data communication between the locomotive integrated communication device CIR (10) and the recording device to record the operation status information of the locomotive integrated communication device CIR (10) in real time; The locomotive integrated communication device CIR (10) is connected to the NPN circuit (4), and the NPN circuit (4) is connected to the main control unit (1). The NPN circuit (4) is used to receive the low-level signal of the locomotive integrated communication device CIR (10) to control the main control unit (1) to start and stop the G.729 voice codec, so as to realize the function of controlling the start and end of recording; The storage unit (5) is connected to the main control unit (1), and the storage unit (5) is used to store the call voice data and operation status data of the locomotive integrated communication equipment CIR (10); The LED display unit (6) is connected to the main control unit (1), and the LED display unit (6) is used to display the working status information of the recording device in real time; The main control unit (1) is connected to the computer-specific software or the USB disk via a USB data communication unit (7), and the USB data communication unit (7) is used for data communication between the computer-specific software or the USB disk and the recording device; The clock unit (8) is connected to the main control unit (1), and the clock unit (8) is used to record the start time and end time of various data; The locomotive integrated communication device CIR (10) is connected to a power supply unit (9), and the power supply unit (9) is a DC3.3V regulated power supply module, so that the locomotive integrated communication device CIR (10) provides a DC13.8V power supply to the power supply unit (9), and the power supply unit (9) provides a DC3.3V power supply to the recording device; The data storage method of the railway locomotive communication equipment recording device comprises the following steps: When in voice control mode, the recording device receives an analog voice signal, and the analog-to-digital digital-to-analog conversion unit (2) converts the analog voice signal into a digital voice signal and sends it to the main control unit (1). The main control unit (1) starts the G.729 voice compression codec algorithm to perform voice compression encoding on the digital voice signal, and stores the compressed digital voice data in the storage unit (5); When the electric control mode is in effect and recording is required, the locomotive integrated communication device CIR (10) provides a low-level signal and sends it to the main control unit (1) through the NPN circuit (4). The main control unit (1) detects the level signal to control the main control unit (1) to perform compressed voice encoding during the period when the low level is valid, and stores the encoded digital voice data in the storage unit (5).
2. The railway locomotive communication equipment recording device according to claim 1, characterized in that: The main control unit (1) is connected to an analog-to-digital digital-to-analog conversion unit (2) via an IIS interface and an L3 interface, the main control unit (1) is connected to an RS232 data communication unit (3) via a UART interface, the main control unit (1) is connected to an NPN circuit (4) via a GPIO interface, the main control unit (1) is connected to a storage unit (5) via an SPI interface, the main control unit (1) is connected to an LED display unit (6) via an SPI interface, the main control unit (1) is connected to a USB data communication unit (7) via a USB interface, and the main control unit (1) is connected to a clock unit (8) via an IIC interface.
3. The railway locomotive communication equipment recording device according to claim 1, characterized in that: During recording, the analog audio signal output by the locomotive integrated communication equipment CIR (10) is converted into a 16-bit linear PCM digital voice signal by the analog-to-digital digital-to-analog conversion unit (2), and then compressed digital voice data is obtained by the G.729 voice compression codec algorithm in the main control unit (1), and stored in the storage unit (5); during playback, the main control unit (1) reads the compressed digital voice data in the storage unit (5), decodes it by the G.729 voice compression codec algorithm in the main control unit (1) to obtain a 16-bit linear PCM digital voice signal, and then converts it into a clear analog audio signal by the analog-to-digital digital-to-analog conversion unit (2) and sends it to the locomotive integrated communication equipment CIR (10).
4. The railway locomotive communication equipment recording device according to claim 1, characterized in that: The USB data communication unit (7) is connected to the computer-specific software to read the recorded data, and the USB data communication unit (7) is connected to the U disk to transfer the recorded data.
5. The railway locomotive communication equipment recording device according to claim 1, characterized in that: The clock unit (8) uses a high-precision DS3231 clock chip with an annual error of less than 1 minute. The clock unit (8) corrects the time through time synchronization in GPS satellite positioning information or time synchronization of locomotive integrated communication equipment CIR (10).
6. The railway locomotive communication equipment recording device according to claim 1, characterized in that: The storage unit (5) uses a non-volatile memory NandFLASH memory.
