Demodulation device and demodulator

By designing a demodulation device including analog-to-digital conversion, delay buffering, averaging processing, multiplication and filtering modules, the carrier frequency demodulation under the adaptive BELL and CCITT V.23 standards is realized, which solves the problem of the need to arrange multiple devices simultaneously in the existing technology. demodulator problem and reduces system cost.

CN115865589BActive Publication Date: 2024-09-03广州广哈通信股份有限公司
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202211510371.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-11-29
Publication Date
2024-09-03
Estimated Expiration
2042-11-29

AI Technical Summary

Technical Problem

The existing technology cannot adapt to the carrier frequency demodulation under the BELL standard and the CCITT V.23 standard, resulting in the need to deploy multiple demodulators at the same time, which increases the system cost.

Method used

A demodulation device is designed, including an analog-to-digital conversion module, a delay buffer module, an average processing module, a multiplication module and a filter module. Through oversampling signal delay processing and filtering processing, adaptive carrier frequency demodulation under two standards is achieved. .

Benefits of technology

There is no need to deploy multiple demodulators at the same time, reducing the additional deployment cost of demodulation equipment, and realizing carrier frequency demodulation under the BELL standard and CCITT V.23 standard.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115865589B
    Figure CN115865589B
Patent Text Reader

Abstract

The present invention discloses a demodulation device and a demodulator. The demodulation device oversamples an analog signal transmitted from a transmitting end through an analog-to-digital conversion module, wherein the analog signal is an analog signal based on frequency shift keying, and converts the oversampled analog signal into a serial oversampled digital signal, and delays the oversampled signal through a delay buffer module to output a target delayed sampled digital signal, and then multiplies the oversampled signal and the target delayed sampled digital signal through a multiplication module, and finally filters the multiplication result through a filtering module to obtain a demodulation result of a frequency shift keying signal. The present invention can adaptively demodulate the carrier frequency under the BELL standard and the carrier frequency under the CCITT V.23 standard, and does not require the demodulation system to simultaneously arrange a demodulator that complies with the BELL standard and a demodulator that complies with the CCITT V.23 standard, thereby reducing the cost of the system caused by the additional arrangement of the demodulation equipment. Accordingly, the present invention also provides a demodulator.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of communication technology, and in particular to a demodulation device and a demodulator. Background Art

[0002] In the application scenario of analog telephone, the circuit switch will use the keying frequency shift modulation method (FSK) to modulate the caller number and then transmit the signal. After the telephone terminal / relay equipment receives the signal, it needs to demodulate the modulated signal and analyze it to obtain the caller information.

[0003] However, there are two standards for FSK format caller ID, namely BELL standard and CCITT V.23 standard. The main difference between the two is the modulated carrier frequency, such as Figure 1 In actual product applications, because it is impossible to predict which standard signal the other end switch will output, the system needs to deploy both a demodulator that complies with the BELL standard and a demodulator that complies with the CCITT V.23 standard to achieve demodulation. Summary of the invention

[0004] The present invention provides a demodulation device and a demodulator, which can adaptively demodulate the carrier frequency under the BELL standard and the carrier frequency under the CCITT V.23 standard.

[0005] A first aspect of the present invention provides a demodulation device, comprising:

[0006] An analog-to-digital conversion module, used for oversampling an analog signal transmitted from a transmitting end, and converting the oversampled analog signal into a serial oversampled digital signal; wherein the analog signal is an analog signal based on frequency shift keying;

[0007] A demodulation processing module, including a delay buffer module, a mean value processing module, a multiplication module and a filtering module;

[0008] The delay buffer module is used to receive the oversampled digital signal output by the analog-to-digital conversion module as input and output a first delayed sampled digital signal and a second delayed sampled digital signal which are delayed by three sampling points and four sampling points respectively;

[0009] The mean value processing module is used to receive the first delayed sampling digital signal and the second delayed sampling digital signal output by the delay buffer module, and perform mean value processing on the first delayed sampling digital signal and the second delayed sampling digital signal and then output a target delayed sampling digital signal;

[0010] The multiplication module is used to receive the oversampled digital signal output by the analog-to-digital conversion module and the target delayed sampled digital signal output by the average processing module, and perform multiplication operation on the oversampled digital signal and the target delayed sampled digital signal and then output the multiplication result;

[0011] The filtering module is used to receive the multiplication result output by the multiplication module and obtain a demodulation result after filtering the multiplication result.

[0012] A second aspect of the present invention provides a demodulator, comprising the demodulation device provided above.

[0013] Compared with the prior art, the demodulation device and demodulator provided by the present invention have the following beneficial effects:

[0014] The demodulation device provided by the present invention oversamples the analog signal transmitted from the transmitting end through the analog-to-digital conversion module, the analog signal is an analog signal based on frequency shift keying, and converts the oversampled analog signal into a serial oversampled digital signal, and delays the oversampled signal through the delay buffer module to output the target delayed sampled digital signal, and then multiplies the oversampled signal and the target delayed sampled digital signal through the multiplication module, and finally filters the multiplication result through the filtering module to obtain the demodulation result of the frequency shift keying signal, which can adaptively demodulate the carrier frequency under the BELL standard and the carrier frequency under the CCITTV.23 standard, and does not require the demodulation system to simultaneously arrange the demodulator that meets the BELL standard and the demodulator that meets the CCITTV.23 standard, thereby reducing the cost of the system caused by the additional arrangement of the demodulation equipment. Accordingly, the present invention also provides a demodulator. BRIEF DESCRIPTION OF THE DRAWINGS

[0015] Figure 1 It is a schematic diagram of the carrier frequency corresponding to the BELL standard and CCITT V.23 standard modulation provided by the present invention;

[0016] Figure 2 It is a principle block diagram of the delay multiplication demodulation algorithm provided by the present invention;

[0017] Figure 3 It is a schematic diagram of determining the sampling points of symbol synchronization in the delay multiplication demodulation algorithm provided by the present invention;

[0018] Figure 4 It is a schematic diagram of the message frame format provided by the present invention;

[0019] Figure 5 It is a schematic diagram of the message layer data format provided by the present invention;

[0020] Figure 6 It is a flow chart of extracting message layer information provided by the present invention;

[0021] Figure 7 is a schematic diagram of demodulation values ​​at various delayed sampling points k provided by the present invention;

[0022] Figure 8 is a structural block diagram of a demodulation device provided by an embodiment of the present invention;

[0023] Fig. 9 is another schematic diagram of demodulation values ​​at each delayed sampling point k provided by an embodiment of the present invention;

[0024] Fig.10 It is a schematic diagram of a multi-channel demodulation structure obtained by parallel processing in a demodulation module provided in an embodiment of the present invention. DETAILED DESCRIPTION

[0025] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0026] There are two standards for FSK format caller numbers, namely the BELL standard and the CCITT V.23 standard. The main difference between the two is the modulated carrier frequency. In actual product applications, because it is impossible to predict which standard signal the other end switch outputs, the system needs to deploy both the BELL standard demodulator and the CCITT V.23 standard demodulator to achieve communication.

[0027] In order to solve the above problems, the prior art has proposed a coherent demodulation method to solve the above problems. However, the coherent demodulation method has a large amount of calculation compared to the incoherent demodulation method, and has high requirements on CPU performance during large-scale demodulation. The incoherent demodulation method of the envelope detection method also has certain defects. Specifically, when applied, the difference between the carrier frequency and the baud rate carrying the caller number is not large enough, so the envelope cannot be obtained after filtering. Another incoherent demodulation algorithm is the delayed multiplication method. However, it can only demodulate a specific set of frequency points and cannot be adaptive.

[0028] For details, see Figure 2 , the principle of the delay multiplication demodulation algorithm is as follows, including:

[0029] ① Input audio stream: take the audio as sampling point to obtain oversampled signal.

[0030] ② Input the oversampled signal into the buffer to obtain a delayed sampling signal delayed by k sampling points.

[0031] ③ Multiply the oversampled signal with the delayed sampled signal delayed by k sampling points to obtain a multiplication result.

[0032] ④ Send the multiplication result to a low-pass filter, the cutoff frequency of the filter is the code element frequency, that is, 1200HZ.

[0033] ⑤ Symbol synchronization: Use a counter to achieve this. Since the sampling rate is 8000 and the symbol frequency is 1200HZ, 3 symbol bits need to be output for every 20 points. The counter cycle is 20. Whenever the counter value is 3, 9, or 16, the sign bit of the filter output value is output as the symbol bit. Figure 3 , whenever the multiplication result passes through zero, the counter is cleared to achieve synchronization.

[0034] ⑥Frame synchronization process: According to the standard specification, the message frame format is as follows Figure 4 As shown, the message layer data format is as follows Figure 5 , including 1 start bit 0 and stop bit 1, and the middle 8 bits are valid data.

[0035] For example, see Figure 6 , the way to extract the message layer is: first find the channel occupation signal, which is 280 to 320 bits alternating between 0 and 1. After the conditions are met, the appearance of two consecutive bits 1 is considered to enter the mark signal stage. The mark signal stage is 160 to 200 consecutive bit1s. After the conditions are met, the appearance of bit 0 indicates the beginning of the message layer data. After extracting the message layer data, first determine the message type of the first byte. If the first byte is 0x04, it is a single data message type. According to the definition, the byte offset of the number can be directly known. If the message length is sufficient, the number can be extracted; if the first byte is 0x08, it conforms to the data message format, and then process the parameter type. If the parameter type is not 0x2, skip the byte specified by the parameter length and continue processing until the byte position with the parameter type of 0x02 is found, followed by the length of the calling number and the number content.

[0036] Specifically, the mathematical principle of the delay multiplication algorithm is as follows: First, the number of delay points k must be less than the number of samples corresponding to each code element, that is, k<(8000 / 1200 rounded up), and k<6. When calculating, multiply the received real-time oversampled value s(n) and the delayed sampled signal s(nk) after delaying k sampling points, and according to the product-to-sum formula, we get:

[0037] u(n)=s(n)*s(nk)=A2sin[2π(fc±f)*n*ts]*sin[2π(fc±f)*(nk)*ts]

[0038] =(A / 2)*{cos[2*2π(fc±f)*n*ts-2π(fc±f)*k*ts]+cos(2π(fc±f)*k*ts)}

[0039] Where A represents the input signal amplitude, fc represents the center carrier frequency, which is 1700 Hz for both standards. f is the offset frequency, which is 500 Hz for the CCITT V.23 standard and 600 Hz for the BELL standard, and ts is the sampling clock period, which is 125 us here.

[0040] After passing through the low-pass filter, the high-frequency part in the expression can be ignored, and the demodulated value R(n) = (A / 2)*[cos(2π(fc±f)*k*ts)] is obtained. Since k and ts are both constants, the value of R(n) depends only on whether the nth bit sent is "0" or "1". The choice of k should make d(k) = |cos(2π(fc+f)*k*ts)-cos(2π(fc-f)*k*ts)|, that is, |R(h)-R(l)| is maximized, and the demodulated value of bit 0 and the demodulated value of bit 1 are as symmetrical as possible about the origin, so that the best accuracy can be obtained.

[0041] By substituting k=1, 2, 3, 4, 5, 6 and calculating respectively, we get Figure 7 The demodulated values ​​at each delayed sampling point k are shown. Figure 7 In , R(h) represents the demodulated value corresponding to bit 1, and R(l) represents the demodulated value corresponding to bit 0. Figure 7 It can be seen that the BELL standard requires k=4 and the CCITT V.23 standard requires k=6, so that the demodulated value of bit 1 and the demodulated value corresponding to bit 0 can be as symmetrical as possible about the origin, that is, the sum of the demodulated value of bit 1 and the demodulated value corresponding to bit 0 is close to 0, and the difference between the demodulated value of bit 1 and the demodulated value corresponding to bit 0 is large. This is the reason why the delay multiplication algorithm cannot be adaptive to the BELL standard and the CCITT V.23 standard.

[0042] In order to solve the above problems, the present application provides a demodulation device and a demodulator, which can adaptively perform carrier frequency demodulation under the BELL standard and carrier frequency demodulation under the CCITT V.23 standard.

[0043] For details, see Figure 8 , a demodulation device provided by an embodiment of the present invention includes:

[0044] The analog-to-digital conversion module 1 is used for oversampling the analog signal transmitted from the transmitting end and converting the oversampled analog signal into a serial oversampled digital signal; wherein the analog signal is an analog signal based on frequency shift keying;

[0045] The demodulation processing module 2 includes a delay buffer module 21, a mean value processing module 22, a multiplication module 23 and a filtering module 24;

[0046] The delay buffer module 21 is used to receive the oversampled digital signal output by the analog-to-digital conversion module 1 as input and output a first delayed sampled digital signal and a second delayed sampled digital signal which are delayed by three sampling points and four sampling points respectively;

[0047] The mean value processing module 22 is used to receive the first delayed sampling digital signal and the second delayed sampling digital signal output by the delay buffer module 21, and perform mean value processing on the first delayed sampling digital signal and the second delayed sampling digital signal and then output a target delayed sampling digital signal;

[0048] The multiplication module 23 is used to receive the oversampled digital signal output by the analog-to-digital conversion module 1 and the target delayed sampled digital signal output by the mean value processing module 22, and perform a multiplication operation on the oversampled digital signal and the target delayed sampled digital signal and then output a multiplication result;

[0049] The filtering module 24 is used to receive the multiplication result output by the multiplication module 23 and obtain a demodulation result after filtering the multiplication result.

[0050] Exemplarily, in order to obtain a target delayed sampling point number that can satisfy the demodulation values ​​of bit 0 and bit 1 under two standards and is as symmetrical as possible about the origin and has a large difference, the embodiment of the present invention selects multiple reference delayed sampling points for calculation, such as Fig. 9 As shown, it can be found through calculation that when k=3.5, the demodulation value of bit 0 and the demodulation value of bit 1 under the two standards can be as symmetrical as possible about the origin (that is, the sum of the demodulation value of bit 0 and the demodulation value of bit 1 is as close to 0 as possible), and the difference between the demodulation value of bit 0 and the demodulation value of bit 1 is relatively large, therefore, k=3.5 is determined as the target delayed sampling point number of the embodiment of the present invention. However, the system itself does not have a definition of non-integer sampling points, resulting in the inability to improve the system sampling rate.

[0051] Therefore, the embodiment of the present invention delays the oversampled digital signal by 3.5 sampling points by designing the delay buffer module 21 and the average processing module 22, so that the demodulation processing module 2 can adaptively demodulate the carrier frequency under the two standards.

[0052] Specifically, two delayed sampling points of k=3 and k=4 are designed in the delay buffer module 21. These two delayed sampling points can be obtained using the same sliding buffer with a window of 4. Since the delayed sampling points of k=3 and k=4 are defined in the delay buffer module, it is only necessary to output the first delayed sampling digital signal and the second delayed sampling digital signal from the delay buffer module 21 and transmit them to the mean processing module 22 for mean processing, so as to obtain the target delayed sampling point of k=3.5, thereby enabling the demodulation processing module 2 to adaptively demodulate the carrier frequency under the two standards.

[0053] The demodulation device provided in the embodiment of the present invention oversamples the analog signal transmitted from the transmitting end through the analog-to-digital conversion module 1, and the analog signal is an analog signal based on frequency shift keying, and the oversampled analog signal is converted into a serial oversampled digital signal, and the oversampled signal is delayed and processed through the delay buffer module 21 and the mean processing module 22 to output the target delayed sampled digital signal, and then the oversampled signal and the target delayed sampled digital signal are multiplied by the multiplication module 23, and finally the multiplication result is filtered and processed by the filtering module 24 to obtain the demodulation result of the frequency shift keying signal, which can adaptively demodulate the carrier frequency under the BELL standard and the carrier frequency under the CCITT V.23 standard. There is no need to simultaneously arrange the demodulation system with a demodulator that complies with the BELL standard and a demodulator that complies with the CCITT V.23 standard, thereby reducing the cost of the demodulation system caused by the additional arrangement of the demodulation equipment.

[0054] Specifically, the demodulation processing module 2 adopts an FPGA chip.

[0055] Specifically, the filtering module 24 is a low-pass filter.

[0056] Specifically, the mean processing module 22 includes an adding circuit, a mantissa truncation circuit and a filling circuit; wherein the first input end of the adding circuit is used to receive the first delayed sampling digital signal, the second input end of the adding circuit is used to receive the second delayed sampling digital signal, and the output end of the adding circuit is used to output the addition result of the first delayed sampling digital signal and the second delayed sampling digital signal; the input end of the mantissa truncation circuit is connected to the output end of the adding circuit, and is used to receive the addition result and remove the mantissa of the addition result to obtain the truncation result; the input end of the filling circuit is connected to the output end of the mantissa truncation circuit, and is used to receive the truncation result and fill the highest bit of the truncation result with the second highest bit to obtain the target delayed sampling digital signal.

[0057] Specifically, the mean value processing module 22 adds the first delayed sampled digital signal and the second delayed sampled digital signal and then performs a division operation by 2. In the embodiment of the present invention, the mean value processing module 22 is mainly implemented by truncation and padding operations. For example, for decimal -113 divided by 2, its 8-bit binary number is 10001111, first take the high 15 bits, that is, 1000111, and then fill the highest bit as the second highest bit, that is, equal to 11000111.

[0058] Specifically, the demodulation processing module 2 also includes a serial-to-parallel conversion module, which is used to convert the serial digital signal output by the analog-to-digital conversion module into a multi-channel parallel data signal, and process the multi-channel parallel data signal in sequence through the delay buffer module, the mean processing module, the multiplication module and the filtering module to obtain a multi-channel demodulation result.

[0059] Exemplarily, in the calculation of the demodulation processing module 2, the multiplication module 23 and the filtering module 24 have higher resource requirements. The demodulation processing module 2 implemented in the present invention is based on parallel sequential logic, and the delay buffer module 21, the average processing module 22, the multiplication module 23 and the filtering module 24 are designed in the form of a pipeline, so that only one delay buffer module 21, one average processing module 22, one multiplication module 23 and one filtering module 24 are used to achieve multi-channel demodulation without doubling the computing resources.

[0060] For example, see Fig.10 , the oversampled signal is input into the delay buffer module, the mean processing module, the multiplication module and the filtering module in an interleaved format of 1 sampling value per channel. Taking 32 channels as an example, the oversampled digital signal input into the demodulation processing module changes from 8K samples / second to 256K samples / second. Among them, the clock beats occupied by the delay buffer module and the mean processing module are 1. Here, the delay buffer module and the mean processing module are classified into the delayed averaging operation. Then, each oversampled digital signal is input into the demodulation module, and needs to go through three operations of delayed averaging, multiplication and filtering, and each operation only takes 1 clock beat. The sliding buffer is used in the delay operation, so there is no need to consume extra clock beats. At the moment of data input, the historical data (delayed data) of the buffer can be directly taken out.

[0061] Specifically, the analog-to-digital conversion module is a SLIC interface circuit, and the demodulation processing module further includes a decoding module, and the decoding module is used to encode and compress the over-sampled signal output by the analog-to-digital conversion module.

[0062] It can be understood that, since the SLIC interface circuit performs A-law coding compression on the data, the analog signal output by the analog-to-digital conversion module is decoded to obtain a linear code stream.

[0063] Correspondingly, an embodiment of the present invention further provides a demodulator, which includes the demodulation device provided in the above embodiment.

[0064] The demodulator provided in the embodiment of the present invention oversamples an analog signal transmitted from a transmitting end through an analog-to-digital conversion module, wherein the analog signal is an analog signal based on frequency shift keying, and converts the oversampled analog signal into a serial oversampled digital signal, and delays the oversampled signal through a delay buffer module to output a target delayed sampled digital signal, and then multiplies the oversampled signal and the target delayed sampled digital signal through a multiplication module, and finally filters the multiplication result through a filtering module to obtain a demodulation result of a frequency shift keying signal, which can adaptively demodulate the carrier frequency under the BELL standard and the carrier frequency under the CCITTV.23 standard, and does not require the demodulation system to simultaneously arrange a demodulator that complies with the BELL standard and a demodulator that complies with the CCITTV.23 standard, thereby reducing the cost of the system caused by the additional arrangement of the demodulation equipment.

[0065] The above is a preferred embodiment of the present invention. It should be pointed out that a person skilled in the art can make several improvements and modifications without departing from the principle of the present invention. These improvements and modifications are also considered to be within the scope of protection of the present invention.

Claims

1. A demodulation device, characterized in that: include: An analog-to-digital conversion module, used for oversampling an analog signal transmitted from a transmitting end, and converting the oversampled analog signal into a serial oversampled digital signal; wherein the analog signal is an analog signal based on frequency shift keying; A demodulation processing module, including a delay buffer module, a mean value processing module, a multiplication module and a filtering module; The delay buffer module is used to receive the oversampled digital signal output by the analog-to-digital conversion module as input and output a first delayed sampled digital signal and a second delayed sampled digital signal which are delayed by three sampling points and four sampling points respectively; The mean value processing module is used to receive the first delayed sampling digital signal and the second delayed sampling digital signal output by the delay buffer module, and perform mean value processing on the first delayed sampling digital signal and the second delayed sampling digital signal and then output a target delayed sampling digital signal; The multiplication module is used to receive the oversampled digital signal output by the analog-to-digital conversion module and the target delayed sampled digital signal output by the average processing module, and perform multiplication operation on the oversampled digital signal and the target delayed sampled digital signal and then output the multiplication result; The filtering module is used to receive the multiplication result output by the multiplication module and obtain a demodulation result after filtering the multiplication result.

2. In the demodulation device as described in claim 1, the demodulation processing module also includes a serial-to-parallel conversion module, which is used to convert the serial digital signal output by the analog-to-digital conversion module into a multi-channel parallel data signal, and process the multi-channel parallel data signal in sequence through the delay buffer module, the mean processing module, the multiplication module and the filtering module to obtain a multi-channel demodulation result.

3. The demodulation device according to claim 1, characterized in that: The mean value processing module includes an addition circuit, a mantissa truncation circuit and a padding circuit; wherein, The first input end of the adding circuit is used to receive the first delayed sampled digital signal, the second input end of the adding circuit is used to receive the second delayed sampled digital signal, and the output end of the adding circuit is used to output the addition result of the first delayed sampled digital signal and the second delayed sampled digital signal; The input end of the mantissa truncation circuit is connected to the output end of the addition circuit, and is used to receive the addition result and remove the mantissa of the addition result to obtain a truncated result; The input end of the bit filling circuit is connected to the output end of the mantissa truncation circuit, and is used to receive the bit truncation result and fill the highest bit of the bit truncation result with the second highest bit to obtain the target delayed sampling digital signal.

4. The demodulation device according to claim 1, characterized in that: The demodulation processing module adopts FPGA chip.

5. The demodulation device according to claim 1, characterized in that: If the analog-to-digital conversion module is a SLIC interface circuit, the demodulation processing module further includes a decoding module, and the decoding module is used to encode and compress the over-sampled signal output by the analog-to-digital conversion module.

6. A demodulator, characterized in that: It comprises the demodulation device as claimed in any one of claims 1 to 5.