CDMA communication module test data analysis method based on data analysis

Through data analysis methods, in-depth analysis of the performance of CDMA communication modules has been solved, and the problem that the existing technology cannot fully understand the internal working principle of the module is achieved, and the depth and comprehensive evaluation of the performance of CDMA communication modules is achieved, and the optimization level is provided. Guide operation and maintenance operations.

CN119030646AInactive Publication Date: 2024-11-26GUANGXI XINBAITE MICROELECTRONICS CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202411450879.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-10-17
Publication Date
2024-11-26
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

The existing CDMA communication module test data analysis methods are not comprehensive enough to have an in-depth understanding of the internal working principles and potential problems of the module, and rely solely on surface data indicators to evaluate performance.

Method used

Using a data analysis method, the performance of the CDMA communication module is comprehensively analyzed through analog signal generation, analog-digital conversion, random spread spectrum encoding, demodulation and bit error rate calculation, including steps such as generating modulation instructions and collecting information codes. Rate, demodulation of digital signals, recording of code errors and transmission errors, comparing communication signals, calculating bit error rates, etc.

Benefits of technology

It realizes in-depth and comprehensive analysis of CDMA communication module test data, can more accurately evaluate module performance, and provide optimization levels to guide operation and maintenance operations.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119030646A_ABST
    Figure CN119030646A_ABST
Patent Text Reader

Abstract

The invention discloses a CDMA (Code Division Multiple Access) communication module test data analysis method based on data analysis, relates to the field of communication, and solves the problem that the existing CDMA communication module test data analysis method is not comprehensive enough and not deep enough. The method specifically comprises the following steps: reading a first analog signal and performing analog-digital conversion to convert the first analog signal into a second digital signal, meanwhile, a modulation instruction is generated, and the information code rate of the second digital signal is obtained; reading a second digital signal and generating a random spread spectrum code, and modulating the second digital signal to obtain a modulated digital signal; demodulating the modulated digital signal to obtain a demodulated digital signal, and recording the number of demodulated digital signal codes, the number of error codes and the transmission error amount; performing digital-analog conversion on the demodulated digital signal to convert the demodulated digital signal into a second analog signal; according to the CDMA communication module test data analysis method and system, deep analysis and comprehensive analysis of the CDMA communication module test data are achieved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the field of communication, and relates to a CDMA communication module test data analysis method technology, in particular to a CDMA communication module test data analysis method based on data analysis. Background Art

[0002] CDMA, also known as code division multiple access, is a communication technology. It uses a technology called spread spectrum to encode and decode data signals on different frequency bands, allowing multiple users to communicate using the same frequency band, distinguishing and allocating them through different chip sequences, thereby achieving parallel communication between multiple users. A communication module is a module that integrates communication functions and can be used for various communication standards and protocols, such as CDMA, GSM, etc. A CDMA communication module is a module that integrates CDMA communication functions. It contains a CDMA modem, a radio frequency transceiver, and other necessary components to implement a CDMA communication system.

[0003] The existing CDMA communication module test data analysis method is not comprehensive enough. It only relies on surface data indicators to evaluate the performance of CDMA communication modules, and cannot fully understand its internal working principles and potential problems. Therefore, it is necessary to conduct a more in-depth data interpretation of CDMA communication modules, and analyze CDMA communication module test data from multiple angles in combination with the internal working principles of the modules. To this end, the present invention proposes a CDMA communication module test data analysis method based on data analysis. Summary of the invention

[0004] In view of the deficiencies in the prior art, the present invention aims to provide a CDMA communication module test data analysis method based on data analysis.

[0005] The technical problems to be solved by the present invention are: How to achieve in-depth and comprehensive analysis of CDMA communication module test data.

[0006] The purpose of the present invention can be achieved through the following technical solutions: The CDMA communication module test data analysis method based on data analysis includes the following steps: Step S1, a tester issues a test request instruction to generate a first simulation signal; Step S2, reading the first analog signal and performing analog-to-digital conversion to convert the first analog signal into a second digital signal, and generating a modulation instruction and obtaining an information code rate of the second digital signal; Step S3, reading the second digital signal and generating a random spread spectrum code according to the modulation instruction, modulating the second digital signal to obtain a modulated digital signal, and collecting the direct spread code rate of the modulated digital signal; Step S4, the modulated digital signal is demodulated to obtain a demodulated digital signal, and the number of bits, the number of bit errors and the amount of transmission error of the demodulated digital signal are recorded; Step S5, demodulating the digital signal to perform digital-to-analog conversion, converting the demodulated digital signal into a second analog signal, comparing and generating a communication normal or communication abnormality signal; Step S6, calculating the bit error rate and analyzing the performance of the CDMA communication module.

[0007] Furthermore, the step S2 includes the following sub-steps: Step S201, sampling the first analog signal at the same interval, the sampling interval is recorded as T, and sampling to obtain a discrete time signal LSx(t), where x is the number of the first analog signal; The first analog signal is equivalent to an infinite number of first analog signal values, and a first analog signal value x(t) is sampled at each interval, t=nT, n is a sampling number, n=1, 2, ..., N, N is an integer; By formula It can be seen that the smaller T is, the less the first analog signal is discarded during sampling, and the greater the possibility of restoring the first analog signal by the discrete-time signal.

[0008] Furthermore, the step S2 further includes the following sub-steps: Step S202, the discrete time signal is quantized so that the discrete time signal after quantization is quantized into a first digital signal SZ1x(t) in groups of 16 bits; The quantization error will be generated in the process of quantizing discrete time signals. The quantization error amount e1x(t) in the quantization processing of the first analog signal is calculated by the formula e1x(t)=SZ1x(t)-LSx(t)①; By transforming formula ①, we can get SZ1x(t)=LSx(t)+e1x(t)②, we can get that the process of quantizing the discrete time signal into the first digital signal is equivalent to the discrete time signal plus the quantization error generated in the quantization process; Step S203, encode the first digital signal SZ1x(t) into an 8-bit binary string, record the binary string as the second digital signal SZ2x(t), collect the information code rate of the second digital signal as RBx, and generate a modulation instruction after the encoding is completed.

[0009] Furthermore, the information code rate is a transmission rate of the second digital signal.

[0010] Furthermore, the step S3 includes the following sub-steps: Step S301, the modulator reads the second digital signal TZ1x(t) and generates a random spread spectrum code SJ1x(t); Step S302, performing spread spectrum modulation on the second digital signal, and calculating the modulated digital signal TZ1x(t) by the formula TZ1x(t)=SZ2x(t)*SJ1x(t); A modulated digital signal is obtained by multiplying the second digital signal with the random spread spectrum code; The spread spectrum processing gain GDSx is then calculated using the formula GDSx=k*lg(RCx / RBx), where k is a fixed error compensation coefficient, RCx is the information code rate, and RCx is the direct spread code rate.

[0011] Further, the random spread spectrum is encoded into an m-bit binary string, where m is the number of bits of the binary string; The DS code rate is the transmission rate of the modulated digital signal.

[0012] Furthermore, the step S4 includes the following sub-steps: Step S401, reading the modulated digital signal and random spread spectrum coding; Step S402, despreading the modulated digital signal, and calculating the demodulated digital signal JT1x(t) by the formula JT1x(t)=TZ1x(t) / SJ1x(t); Step S403, since there are bit errors in the transmission process of the modulated digital signal, the demodulated digital signal code number JTMx(t), the bit error number WMx(t) generated by demodulating the modulated digital signal to the demodulated digital signal, and the transmission error amount e2x(t) are counted; The transmission error amount is the difference in the number of codes transmitted from the CDMA communication module in the first FPGA integrated circuit to the CDMA communication module in the second FPGA integrated circuit; The formula C=B*log2(1+TZ1x(t) / N) shows that when the channel capacity remains unchanged, the signal bandwidth is increased by spread spectrum modulation to achieve information transmission under a small signal-to-noise ratio; In the formula, C is the channel capacity, the signal transmission capacity of the transmission channel, B is the signal bandwidth, the width of the frequency signal passing through the frequency range, N is the noise generated during transmission, and S / N is the signal-to-noise ratio.

[0013] Furthermore, the step S5 includes the following sub-steps: Step S501, reading a demodulated digital signal, and decoding the demodulated digital signal into an 8-bit binary word to obtain a decoded digital signal JSx(t); The decoded digital signal is JSx(t)=γ*SZ1x(t)+e2x(t)③. The discrete time signal is calculated by formulas ② and ③: JSx(t)=γ*LSx(t)+γ*e1x(t)+e2x(t)④; where γ is a fixed value error compensation coefficient; From formula ④, it can be concluded that the smaller the error between the error amount e1x(t) and the transmission error amount e2x(t), the better the communication quality; Step S502, converting the decoded digital signal into a second analog signal using Matlab; By comparing the pixel values ​​of the first analog signal and the second analog signal; If the pixel value of the second analog signal is less than the pixel value of the first analog signal, a communication abnormality signal is generated and the next step is entered; If the pixel value of the second analog signal is smaller than the pixel value of the first analog signal, a communication normal signal is generated.

[0014] Furthermore, the step S5 includes the following sub-steps: The bit error rate is calculated by the formula, which is as follows: Bit error rate = (number of errors / number of demodulated digital signal codes) * 100%, that is, bit error rate = [WMx (t) / JTMx (t)] * 100%; If the bit error rate is less than the first threshold, the communication optimization level is the first communication optimization level; If the bit error rate is greater than or equal to the first threshold and the second threshold, the communication optimization level is the second communication optimization level; If the bit error rate is greater than or equal to the second threshold, the communication optimization level is the third level communication optimization level, and the first threshold is less than the second threshold; Perform operation and maintenance operations according to the communication optimization level.

[0015] Furthermore, the optimization strength of the first-level communication optimization level is smaller than that of the second-level communication optimization level, and the optimization strength of the second-level communication optimization level is smaller than that of the third-level communication optimization level.

[0016] In summary, due to the adoption of the above technical solution, the beneficial effects of the present invention are: The present invention firstly generates a first analog signal through a tester sending a test request instruction, reads the first analog signal and performs analog-to-digital conversion to convert the first analog signal into a second digital signal, and also generates a modulation instruction and obtains the information code rate of the second digital signal, reads the second digital signal according to the modulation instruction and generates a random spread spectrum code, modulates the second digital signal to obtain a modulated digital signal, collects the direct spread code rate of the modulated digital signal, demodulates the modulated digital signal to obtain a demodulated digital signal, records the demodulated digital signal code number, the bit error number and the transmission error amount, performs digital-to-analog conversion on the demodulated digital signal, converts the demodulated digital signal into a second analog signal, and compares it, and if the comparison generates a communication abnormality signal, further calculates the bit error rate, analyzes the CDMA communication module performance, and realizes in-depth and comprehensive analysis of CDMA communication module test data. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] In order to facilitate understanding by those skilled in the art, the present invention is further described below with reference to the accompanying drawings.

[0018] Figure 1 is a flow chart of the method of the present invention; Figure 2 A physical model diagram of analog signal sampling in the present invention; Figure 3 The analog-to-digital conversion flow chart of the analog-to-digital conversion module in the present invention; Figure 4 It is a communication structure diagram of the CDMA communication module in the present invention; Figure 5 It is a schematic diagram of the structure of the electronic device in the present invention. DETAILED DESCRIPTION

[0019] The technical solution of the present invention will be clearly and completely described below in conjunction with the embodiments. Obviously, the described embodiments are only part of the embodiments of the present invention, rather than 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.

[0020] Example 1: Please refer to Figure 1-Figure 4 As shown, the present invention provides a technical solution: a CDMA communication module test data analysis method based on data analysis, comprising the following steps: Step S1, a tester issues a test request instruction, generates a first simulation signal using Matlab, and inputs the first simulation signal into a CDMA communication module of a first FPGA integrated circuit; It should be specifically stated that Matlab is a software used in the fields of signal processing, data analysis, wireless communication, control systems, etc. FPGA is a programmable integrated circuit, which is composed of configurable logic grids and special modules. These programmable modules are combined together through configurable routing interconnections to realize a complete digital circuit. In this example, the CDMA communication module of the first FPGA integrated circuit includes an analog-to-digital conversion module, a collector, and a modulator; Step S2, the CDMA communication module of the first FPGA integrated circuit reads the first analog signal, and the first analog signal is converted from analog to digital by the analog-to-digital conversion module, so that the first analog signal is converted into a second digital signal; It should be specifically stated that the analog-to-digital conversion module is used to convert analog signals (such as continuous voltage or current generated by physical parameters such as temperature, pressure, and sound) into digital signals (usually digital codes in binary form); In this embodiment, step S2 includes the following sub-steps: Step S201, sampling the first analog signal at the same interval, the sampling interval is recorded as T, and sampling to obtain a discrete time signal LSx(t), where x is the number of the first analog signal; It should be specifically noted that the first analog signal can be equivalent to an infinite number of first analog signal values, and a first analog signal value is sampled at each interval time length as x(t), t=nT, n is a sampling number, n=1, 2, ..., N, N is an integer; By formula It can be seen that the smaller T is, the less the first analog signal is discarded when sampling, and the greater the possibility of the discrete time signal restoring the first analog signal; Step S202, the discrete time signal is quantized so that the discrete time signal after quantization is quantized into a first digital signal SZ1x(t) in groups of 16 bits; It should be specifically noted that the discrete time signal is essentially a voltage value or a current value. In this embodiment, the discrete time signal is preferably a voltage value. The quantization process is to output all input voltages between [0, 1) volts in the discrete time signal as 0 volts and to output all input voltages between [1, 2] volts in the discrete time signal as 1 volt to obtain a quantized voltage value, and then quantize it into a first digital signal in groups of 16 bits. For example, the quantized voltage values ​​in this example are: {1001101101010101100110110101010101100110110101010101010101…}, which is quantized into groups of 16 bits to obtain a first digital signal {39765397653976539765…}; Furthermore, in the process of quantizing the discrete time signal, since all input voltages between [0, 1) volts are output as 0 volts and all input voltages between [1, 2] volts are output as 1 volt, a quantization error will be generated. The quantization error amount e1x(t) in the quantization processing of the first analog signal is calculated by the formula e1x(t)=SZ1x(t)-LSx(t)①; By transforming formula ①, we can get SZ1x(t)=LSx(t)+e1x(t)②, which means that the process of quantizing the discrete time signal into the first digital signal is equivalent to the discrete time signal plus the quantization error generated in the quantization process. Therefore, the smaller the quantization error, the more accurate the first digital signal is restored to the discrete time signal. Step S203, encode the first digital signal SZ1x(t) into an 8-bit binary string, record the binary string as the second digital signal SZ2x(t) (bit stream), record the information code rate of the second digital signal collected by the collector as RBx, generate a modulation instruction after the encoding is completed, and send the information code rate and the modulation instruction to the modulator; It should be specifically stated that the information code rate refers to the transmission rate of the second digital signal in the CDMA communication module, and a bit is the smallest unit of information in a computer, and has a value of 1 or 0, where 1 represents a pulse signal and 0 represents a pulse interval, and the first digital signal is encoded into the second digital signal; In this example, the first digital signal may be: SZ1x(t)={39765397653976539765...}; The second digital signal after encoding is: SZ2x(t)={100101111011000101100101010111111001011110001110010101…}; Step S3, after receiving the modulation instruction, the modulator reads the second digital signal and generates a random spread spectrum code SJ1x(t), the second digital signal is modulated by the modulator to obtain a modulated digital signal TZ1x(t), the collector collects the direct spread code rate RCx of the modulated digital signal, and sends the modulation instruction, the modulated digital signal, the direct spread code rate, the information code rate RBx and the random spread spectrum code to the CDMA communication module in the second FPGA integrated circuit; It should be specifically noted that in this example, the CDMA communication module of the second FPGA integrated circuit includes a digital-to-analog conversion module, a collector, a modulator, and a demodulator; the direct spread code rate RCx refers to the transmission rate of the modulated digital signal in the CDMA communication module; In this embodiment, step S3 includes the following sub-steps: Step S301, the modulator reads the second digital signal SZ2x(t) and generates a random spread spectrum code SJ1x(t); It should be specifically noted that the random spread spectrum code is an m-bit binary string, where m is the number of bits of the binary string, m=1, 2, ..., M, and M is an integer. In this example, the number of bits of the random spread spectrum code is m=8, that is, the random spread spectrum code is an eight-bit binary string. The random spread spectrum code generation module in the modulator converts the randomly generated voltage 0 or 1 into a binary character until eight-bit binary characters are generated, thereby forming a random spread spectrum code. Step S302, performing spread spectrum modulation on the second digital signal, and calculating the modulated digital signal TZ1x(t) by the formula TZ1x(t)=SZ2x(t)*SJ1x(t); In this example, the modulated digital signal is obtained by multiplying the second digital signal by the random spread spectrum code generated by the modulator. The second digital signal SZ2x(t) may be {1001...}, the random spread spectrum code SJ1x(t) may be {11001011}, and the modulated digital signal obtained by spread spectrum modulation is {11001011001101000011010011001011...}. In this way, the direct spread code rate RCx of the modulated digital signal is increased by 8 times relative to the information code rate RBx of the second digital signal. Furthermore, the spread spectrum processing gain GDSx is calculated by the formula GDSx=k*lg(RCx / RBx). The greater the direct spread code rate of the modulated digital signal relative to the information code rate of the second digital signal, the greater the spread spectrum processing gain, and thus the stronger the anti-interference ability of the CDMA communication module, where k is a fixed value error compensation coefficient, and RCx and RBx can be called spread spectrum factors; Step S4, the CDMA communication module in the second FPGA integrated circuit reads the modulated digital signal, demodulates the modulated digital signal through a demodulator to obtain a demodulated digital signal, and records the demodulated digital signal code number, bit error number and transmission error amount, and sends the demodulated digital signal, transmission error amount, demodulated digital signal code number and bit error number to the analog-to-digital conversion module for digital-to-analog conversion; The step S4 includes the following sub-steps: Step S401, the demodulator reads the modulated digital signal and the random spread spectrum code; Step S402, despreading the modulated digital signal, and calculating the demodulated digital signal JT1x(t) by the formula JT1x(t)=TZ1x(t) / SJ1x(t); Step S403, during the transmission of the modulated digital signal from the CDMA communication module of the first FPGA integrated circuit to the CDMA communication module of the second FPGA integrated circuit, bit errors may be generated due to factors such as noise, alternating current pulses and equipment failures, and thus transmission errors may be generated during the transmission of the modulated digital signal. Statistics are collected on the demodulated digital signal code number JTMx(t), the code error number WMx(t) generated during the demodulation of the modulated digital signal to the demodulated digital signal, and the transmission error amount e2x(t) during the transmission of the two CDMA communication modules. The transmission error amount is the code number difference transmitted from the CDMA communication module in the first FPGA integrated circuit to the CDMA communication module in the second FPGA integrated circuit. It should be specifically noted that the bit error is generated during the signal transmission process. For example, the transmitted modulated digital signal is {1001}, while the received demodulated digital signal is {1110}. In this example, the number of bit errors is 3; Furthermore, through the formula C=B*log2(1+TZ1x(t) / N), it can be obtained that if the channel capacity remains unchanged, the signal bandwidth can be increased through spread spectrum modulation, so that information can be transmitted reliably and accurately under a smaller signal-to-noise ratio. Among them, C is the channel capacity, that is, the signal transmission capacity of the transmission channel, B is the signal bandwidth, that is, the width of the frequency signal passing through a certain frequency range, N is the noise generated during transmission, and S / N is the signal-to-noise ratio; Step S5, reading the demodulated digital signal, the transmission error amount, the demodulated digital signal code number and the bit error number, performing digital-to-analog conversion on the demodulated digital signal through a digital-to-analog conversion module, converting the demodulated digital signal into a second analog signal, comparing and generating a communication normal or communication abnormality signal; It should be specifically stated that the digital-to-analog conversion module is used to convert digital signals (usually digital codes in binary form) into analog signals (such as continuous voltage or current generated by physical parameters such as temperature, pressure, and sound); In this embodiment, step S5 includes the following sub-steps: Step S501, reading a demodulated digital signal, and decoding the demodulated digital signal into an 8-bit binary word to obtain a decoded digital signal JSx(t); Furthermore, the decoded digital signal can be expressed as JSx(t)=γ*SZ1x(t)+e2x(t)③, and the discrete time signal is calculated by formulas ② and ③: JSx(t)=γ*LSx(t)+γ*e1x(t)+e2x(t)④, where γ is a fixed value error compensation coefficient; Furthermore, it can be seen from formula ④ that the communication quality between the two FPGA integrated circuits is affected by the quantization error e1x(t) and the transmission error e2x(t). The smaller the quantization error and the transmission error, the better the communication quality between the two FPGA integrated circuits. Step S502, converting the decoded digital signal into a second analog signal using Matlab; Furthermore, in this example, the analog signal may be a picture. By comparing the pixel values ​​of the first analog signal and the second analog signal, if the pixel value of the second analog signal is less than the pixel value of the first analog signal, it is necessary to optimize and improve the CDMA communication module system to generate a communication abnormality signal. If the pixel value of the second analog signal is greater than or equal to the pixel value of the first analog signal, it is not necessary to optimize and improve the CDMA communication module system to generate a communication normal signal. Step S6, calculating the bit error rate and analyzing the performance of the CDMA communication module; Furthermore, the bit error rate is calculated by the formula: bit error rate = (number of bit errors / number of demodulated digital signal codes) * 100%, that is, bit error rate = [WMx (t) / JTMx (t)] * 100%; If the bit error rate is less than 10%, the communication optimization level of the CDMA communication module system is level 1; if the bit error rate is greater than or equal to 10% and less than 50%, the communication optimization level of the CDMA communication module system is level 2; if the bit error rate is greater than 50%, the communication optimization level of the CDMA communication module system is level 3, where level 3 communication optimization level is higher than level 2 communication optimization level, and level 2 communication optimization level is higher than level 1 communication optimization level; Testers perform corresponding operation and maintenance operations based on the communication optimization level, that is, parts need to be replaced at the third communication optimization level, repairs are required at the second communication optimization level, and inspections are required at the first communication optimization level.

[0021] In this application, if corresponding calculation formulas appear, the above calculation formulas are all dimensionless and take their numerical calculations. The weight coefficients, proportional coefficients and other coefficients in the formulas are set to a result value obtained by quantifying each parameter. The size of the weight coefficient and the proportional coefficient can be determined as long as it does not affect the proportional relationship between the parameter and the result value.

[0022] Example 2: Figure 5As shown, this embodiment provides a structural schematic diagram of an electronic device, which may include: a processor, a communication interface, a memory, and a communication bus, wherein the processor, the communication interface, and the memory communicate with each other through the communication bus. The processor can call the logic instructions in the memory to execute a CDMA communication module test data analysis method based on data analysis, the method comprising: a tester issues a test request instruction, uses Matlab to generate a first analog signal, and inputs the first analog signal into the CDMA communication module of the first FPGA integrated circuit; the CDMA communication module of the first FPGA integrated circuit reads the first analog signal, and the first analog signal is converted from analog to digital by an analog-to-digital conversion module, so that the first analog signal is converted into a second digital signal; after receiving the modulation instruction, the modulator reads the second digital signal and generates a random spread spectrum code, the second digital signal is modulated by the modulator to obtain a modulated digital signal, the collector collects the direct spread code rate RCx of the modulated digital signal, and the modulation instruction, the modulated digital signal, and the direct spread code are converted into a second digital signal. The rate, information code rate and random spread spectrum coding are sent to the CDMA communication module in the second FPGA integrated circuit; the CDMA communication module in the second FPGA integrated circuit reads the modulated digital signal, demodulates the modulated digital signal through a demodulator to obtain a demodulated digital signal, and records the demodulated digital signal code number, bit error number and transmission error amount, and sends the demodulated digital signal, transmission error amount, demodulated digital signal code number and bit error number to the analog-to-digital conversion module for digital-to-analog conversion; reads the demodulated digital signal, transmission error amount, demodulated digital signal code number and bit error number, and performs digital-to-analog conversion on the demodulated digital signal through the digital-to-analog conversion module, converts the demodulated digital signal into a second analog signal, compares and generates a normal communication or abnormal communication signal; calculates the bit error rate and analyzes the performance of the CDMA communication module.

[0023] In addition, the logic instructions in the above-mentioned memory can be implemented in the form of software functional units and can be stored in a computer-readable storage medium when sold or used as an independent product. Based on this understanding, the technical solution of the present application can be essentially or partly embodied in the form of a software product that contributes to the prior art. The computer software product is stored in a storage medium, including several instructions to enable a computer device (which can be a personal computer, server, or network device, etc.) to execute all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk, etc. Various media that can store program codes.

[0024] Embodiment 3: The present application also provides a computer program product, which includes a computer program stored on a computer-readable storage medium, and the computer program includes program instructions. When the program instructions are executed by a computer, the computer can execute the CDMA communication module test data analysis method based on data analysis provided by the above methods, the method including: a tester issues a test request instruction, uses Matlab to generate a first analog signal, and inputs the first analog signal into the CDMA communication module of the first FPGA integrated circuit; the CDMA communication module of the first FPGA integrated circuit reads the first analog signal, and the first analog signal is converted from analog to digital by an analog-to-digital conversion module to convert the first analog signal into a second digital signal; after receiving the modulation instruction, the modulator reads the second digital signal and generates a random spread spectrum code, and the second digital signal is modulated by the modulator to obtain a modulated digital signal The collector collects the direct spread code rate RCx of the modulated digital signal, and sends the modulation instruction, modulated digital signal, direct spread code rate, information code rate and random spread spectrum code to the CDMA communication module in the second FPGA integrated circuit; the CDMA communication module in the second FPGA integrated circuit reads the modulated digital signal, demodulates the modulated digital signal through a demodulator to obtain a demodulated digital signal, and records the demodulated digital signal code number, bit error number and transmission error amount, and sends the demodulated digital signal, transmission error amount, demodulated digital signal code number and bit error number to the analog-to-digital conversion module for digital-to-analog conversion; reads the demodulated digital signal, transmission error amount, demodulated digital signal code number and bit error number, and performs digital-to-analog conversion on the demodulated digital signal through the digital-to-analog conversion module, so that the demodulated digital signal is converted into a second analog signal, and a communication normal or communication abnormality signal is compared and generated; the bit error rate is calculated, and the performance of the CDMA communication module is analyzed.

[0025] Embodiment 4: The present application also provides a computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, the method for analyzing CDMA communication module test data based on data analysis provided above is implemented. The method comprises: a tester issues a test request instruction, generates a first analog signal using Matlab, and inputs the first analog signal into the CDMA communication module of the first FPGA integrated circuit; the CDMA communication module of the first FPGA integrated circuit reads the first analog signal, and the first analog signal is converted from analog to digital by an analog-to-digital conversion module to convert the first analog signal into a second digital signal; after receiving the modulation instruction, the modulator reads the second digital signal and generates a random spread spectrum code, the second digital signal is modulated by the modulator to obtain a modulated digital signal, and the collector collects the direct spread code rate R of the modulated digital signal. Cx, sends the modulation instruction, modulated digital signal, direct spread code rate, information code rate and random spread spectrum code to the CDMA communication module in the second FPGA integrated circuit; the CDMA communication module in the second FPGA integrated circuit reads the modulated digital signal, demodulates the modulated digital signal through a demodulator to obtain a demodulated digital signal, and records the demodulated digital signal code number, bit error number and transmission error amount, and sends the demodulated digital signal, transmission error amount, demodulated digital signal code number and bit error number to the analog-to-digital conversion module for digital-to-analog conversion; reads the demodulated digital signal, transmission error amount, demodulated digital signal code number and bit error number, and performs digital-to-analog conversion on the demodulated digital signal through the digital-to-analog conversion module, converts the demodulated digital signal into a second analog signal, compares and generates a normal communication or abnormal communication signal; calculates the bit error rate and analyzes the performance of the CDMA communication module.

[0026] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Ordinary technicians in this field can understand and implement it without paying creative labor.

[0027] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, can also be implemented by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.

[0028] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit it. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application.

Claims

1. A CDMA communication module test data analysis method based on data analysis, characterized in that: The specific method is as follows: Step S1, a tester issues a test request instruction to generate a first simulation signal; Step S2, reading the first analog signal and performing analog-to-digital conversion to convert the first analog signal into a second digital signal, and generating a modulation instruction and obtaining an information code rate of the second digital signal; Step S3, reading the second digital signal and generating a random spread spectrum code according to the modulation instruction, modulating the second digital signal to obtain a modulated digital signal, and collecting the direct spread code rate of the modulated digital signal; Step S4, the modulated digital signal is demodulated to obtain a demodulated digital signal, and the number of bits, the number of bit errors and the amount of transmission error of the demodulated digital signal are recorded; Step S5, demodulating the digital signal to perform digital-to-analog conversion, converting the demodulated digital signal into a second analog signal, comparing and generating a communication normal or communication abnormality signal; Step S6, calculating the bit error rate and analyzing the performance of the CDMA communication module.

2. The CDMA communication module test data analysis method based on data analysis according to claim 1, characterized in that: The step S2 includes the following sub-steps: Step S201, sampling the first analog signal at the same interval, the sampling interval is recorded as T, and sampling to obtain a discrete time signal LSx(t), where x is the number of the first analog signal; The first analog signal is equivalent to an infinite number of first analog signal values, and a first analog signal value x(t) is sampled at each interval, t=nT, n is a sampling number, n=1, 2, ..., N, N is an integer; By formula It can be seen that the smaller T is, the less the first analog signal is discarded during sampling, and the greater the possibility of restoring the first analog signal by the discrete-time signal.

3. The CDMA communication module test data analysis method based on data analysis according to claim 2 is characterized in that: The step S2 further comprises the following sub-steps: Step S202, the discrete time signal is quantized so that the discrete time signal after quantization is quantized into a first digital signal SZ1x(t) in groups of 16 bits; The quantization error will be generated in the process of quantizing discrete time signals. The quantization error amount e1x(t) in the quantization processing of the first analog signal is calculated by the formula e1x(t)=SZ1x(t)-LSx(t)①; By transforming formula ①, we can get SZ1x(t)=LSx(t)+e1x(t)②, we can get that the process of quantizing the discrete time signal into the first digital signal is equivalent to the discrete time signal plus the quantization error generated in the quantization process; Step S203, encode the first digital signal SZ1x(t) into an 8-bit binary string, record the binary string as the second digital signal SZ2x(t), record the information code rate of the second digital signal as RBx, and generate a modulation instruction after the encoding is completed.

4. The CDMA communication module test data analysis method based on data analysis according to claim 3 is characterized in that: The information code rate is the transmission rate of the second digital signal.

5. The CDMA communication module test data analysis method based on data analysis according to claim 3 is characterized in that: The step S3 includes the following sub-steps: Step S301, the modulator reads the second digital signal TZ1x(t) and generates a random spread spectrum code SJ1x(t); Step S302, performing spread spectrum modulation on the second digital signal, and calculating the modulated digital signal TZ1x(t) by the formula TZ1x(t)=SZ2x(t)*SJ1x(t); A modulated digital signal is obtained by multiplying the second digital signal with the random spread spectrum code; The spread spectrum processing gain GDSx is then calculated using the formula GDSx=k*lg(RCx / RBx), where k is a fixed error compensation coefficient, RCx is the information code rate, and RCx is the direct spread code rate.

6. The CDMA communication module test data analysis method based on data analysis according to claim 5, characterized in that: The random spread spectrum code is an m-bit binary string, where m is the number of bits in the binary string; The DS code rate is the transmission rate of the modulated digital signal.

7. The CDMA communication module test data analysis method based on data analysis according to claim 5, characterized in that: The step S4 includes the following sub-steps: Step S401, reading the modulated digital signal and random spread spectrum coding; Step S402, despreading the modulated digital signal, and calculating the demodulated digital signal JT1x(t) by the formula JT1x(t)=TZ1x(t) / SJ1x(t); Step S403, since there are bit errors in the transmission process of the modulated digital signal, the demodulated digital signal code number JTMx(t), the bit error number WMx(t) generated by demodulating the modulated digital signal to the demodulated digital signal, and the transmission error amount e2x(t) are counted; The transmission error amount is the difference in the number of codes transmitted from the CDMA communication module in the first FPGA integrated circuit to the CDMA communication module in the second FPGA integrated circuit; The formula C=B*log2(1+TZ1x(t) / N) shows that when the channel capacity remains unchanged, the signal bandwidth is increased by spread spectrum modulation to achieve information transmission under a small signal-to-noise ratio; In the formula, C is the channel capacity, the signal transmission capacity of the transmission channel, B is the signal bandwidth, the width of the frequency signal passing through the frequency range, N is the noise generated during transmission, and S / N is the signal-to-noise ratio.

8. The CDMA communication module test data analysis method based on data analysis according to claim 7 is characterized in that: The step S5 comprises the following sub-steps: Step S501, reading a demodulated digital signal, and decoding the demodulated digital signal into an 8-bit binary word to obtain a decoded digital signal JSx(t); The decoded digital signal is JSx(t)=γ*SZ1x(t)+e2x(t)③. The discrete time signal is calculated by formulas ② and ③: JSx(t)=γ*LSx(t)+γ*e1x(t)+e2x(t)④; where γ is a fixed value error compensation coefficient; From formula ④, it can be concluded that the smaller the error between the error amount e1x(t) and the transmission error amount e2x(t), the better the communication quality; Step S502, converting the decoded digital signal into a second analog signal using Matlab; By comparing the pixel values ​​of the first analog signal and the second analog signal; If the pixel value of the second analog signal is less than the pixel value of the first analog signal, a communication abnormality signal is generated and the next step is entered; If the pixel value of the second analog signal is smaller than the pixel value of the first analog signal, a communication normal signal is generated.

9. The CDMA communication module test data analysis method based on data analysis according to claim 8, characterized in that: The step S5 comprises the following sub-steps: The bit error rate is calculated by the formula, which is as follows: Bit error rate = (number of errors / number of demodulated digital signal codes) * 100%, that is, bit error rate = [WMx (t) / JTMx (t)] * 100%; If the bit error rate is less than the first threshold, the communication optimization level is the first communication optimization level; If the bit error rate is greater than or equal to the first threshold and the second threshold, the communication optimization level is the second communication optimization level; If the bit error rate is greater than or equal to the second threshold, the communication optimization level is the third level communication optimization level, and the first threshold is less than the second threshold; Perform operation and maintenance operations according to the communication optimization level.

10. The CDMA communication module test data analysis method based on data analysis according to claim 9, characterized in that: The optimization intensity of the first-level communication optimization level is less than that of the second-level communication optimization level, and the optimization intensity of the second-level communication optimization level is less than that of the third-level communication optimization level.

Citation Information

Patent Citations

  • MATLAB (Matrix Laboratory)-based PCM (Pulse Code Modulation) communication system simulation method and system

    CN105262609A

  • CDMA secure coding and decoding method and system

    CN113131967A

  • CDMA secure encoding method and system, and CDMA secure decoding method and system

    WO2022262023A1