Method and device suitable for broadband receiver to realize multichannel signal parameterization synchronous demodulation processing, processor and readable storage medium
By creating multiple modemdata instances in a broadband receiver and using the modemdata class's demodulation function, the signal separation, parameter transmission and demodulation continuity problems in multiple signal processing are solved, and efficient and accurate multi-channel signal synchronization is achieved. Demodulation processing.
Patent Information
- Application Number
- CN202411064223.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-05
- Publication Date
- 2024-12-27
AI Technical Summary
Broadband receivers have problems such as signal separation, parameter transmission and demodulation continuity in multiple signal processing, making it difficult to efficiently process multiple data and achieve accurate signal display and demodulation.
By creating multiple modemdata instances, each iq data is demodulated, and the demodulation function of the modemdata class is used for signal processing, including low-pass filtering, resampling and bandpass filtering, combining multi-threading and dynamic link library calls, Implement signal separation and synchronous demodulation.
It improves signal processing speed and accuracy, realizes efficient separation and synchronization of multiple signals, and ensures continuity and accuracy under different parameters and demodulation methods.
Smart Images

Figure CN119207458A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of broadband receiver multi-channel signal acquisition, in particular to the field of analog signal demodulation, and specifically refers to a method, device, processor and computer-readable storage medium suitable for broadband receiver to implement multi-channel signal parameterized synchronous demodulation processing. Background Art
[0002] A broadband receiver is a tool for high-energy spectrum analysis and signal processing. It can track high-speed center frequencies and process broadband signals, and is one of the indispensable and important devices in wireless communication system engineering. In the channelized multi-channel display of broadband receivers, it is necessary to use advanced WPF (Windows Presentation Foundation) technology and C# programming language to realize the design of multi-channel display and user interface. The core of this technical solution is to use a set of codes to realize multi-channel display, and to realize multiple reuse through multiple instantiations, which ultimately achieves the effect of reducing duplicate code and management overhead.
[0003] The relevant concepts are as follows:
[0004] 1. Basic concepts of broadband receiver
[0005] The main function of a receiver is to receive electromagnetic waves in space, select the frequency components it needs, suppress or filter out unnecessary signals or noise and interference signals, and then obtain the original useful information through amplification and demodulation.
[0006] 2. Basic concepts of multi-channel signal acquisition
[0007] Multi-channel signal acquisition refers to the process of simultaneously acquiring multiple signals in a system. This technology is often used in industrial control systems, medical equipment, scientific research, and communication systems. The design and application of multi-channel signal acquisition systems need to consider factors such as signal type, sampling rate, accuracy, number of channels, etc. to meet specific application requirements.
[0008] 3. Basic introduction of synchronous demodulation
[0009] Synchronous demodulation is a communication technique used by the receiver to synchronize the received signal with the local clock in order to correctly decode and recover the data. It is commonly used in digital communication systems to ensure that the receiving end can accurately interpret the digital signal sent by the transmitter, thereby achieving reliable data transmission. Synchronous demodulation can be achieved by various methods, including using a reference signal for timing synchronization or using a pre-known signal pattern for data synchronization. This technique is widely used in wireless communications, modems, and digital communication systems.
[0010] 4. Basic introduction to C++ and C#
[0011] C++ is a general-purpose programming language that is widely used in software development. It is an extension of the C language, which provides more powerful and flexible programming capabilities by introducing object-oriented programming concepts and other features. C# is an object-oriented programming language launched by Microsoft on the .NET platform. In WPF technology, the C# programming language is the core of implementing business logic. Summary of the invention
[0012] The purpose of the present invention is to overcome the shortcomings of the above-mentioned prior art and provide a method, device, processor and computer-readable storage medium thereof which meet the requirements of fast processing speed, high precision and wide application range and are suitable for implementing parameterized synchronous demodulation processing of multi-channel signals in broadband receivers.
[0013] In order to achieve the above object, the method, device, processor and computer-readable storage medium thereof applicable to a broadband receiver for implementing parameterized synchronous demodulation processing of multi-channel signals are as follows:
[0014] The method is applicable to a broadband receiver to realize parameterized synchronous demodulation processing of multi-channel signals, and its main feature is that the method comprises the following steps:
[0015] (1) Create a different modemdata instance for each channel of iq data;
[0016] (2) Call the demodulation method of modemdata to demodulate the iq signal and save the center frequency and sampling points of each frame into the modemdata instance.
[0017] Preferably, the method further comprises the following steps:
[0018] (3) Continue with step (2) at the next demodulation and compare the obtained parameters with the parameters in the instance. If they are the same, take out the context variables from the window and save the context environment in the window after demodulation; if they are different, clear the demodulation context window and restart demodulation.
[0019] Preferably, the demodulation of the iq signal in step (2) specifically includes the following steps:
[0020] (2.1) Obtain iq data from DSP;
[0021] (2.2) low-pass filtering the iq data to remove out-of-band signals;
[0022] (2.3) Call the demodulation function of the modemdata class and demodulate the signal in the corresponding way;
[0023] (2.4) resampling the demodulated audio signal to meet common audio standards;
[0024] (2.5) Filter out signals beyond the human ear’s perception through a bandpass filter;
[0025] (2.6) Transmit and play.
[0026] Preferably, the step (2) further comprises the following steps:
[0027] For demodulation that requires context, store the demodulated intermediate variables in the window list.
[0028] Preferably, the modemdata class includes a plurality of private member variables, including pointers to other classes and some state variables, for processing signal modulation and demodulation, audio processing and dynamic link library calls.
[0029] The device for implementing parameterized synchronous demodulation processing of multi-channel signals for a broadband receiver has the following main features: the device comprises:
[0030] a processor configured to execute computer executable instructions;
[0031] The memory stores one or more computer executable instructions. When the computer executable instructions are executed by the processor, the steps of the method for implementing parameterized synchronous demodulation processing of multi-channel signals in a broadband receiver are implemented.
[0032] The processor for implementing parameterized synchronous demodulation processing of multiple signals for a wideband receiver has the main feature that the processor is configured to execute computer executable instructions, and when the computer executable instructions are executed by the processor, the various steps of the method for implementing parameterized synchronous demodulation processing of multiple signals for a wideband receiver are implemented.
[0033] The main feature of the computer-readable storage medium is that a computer program is stored thereon, and the computer program can be executed by a processor to implement the various steps of the above-mentioned method for implementing parameterized synchronous demodulation processing of multi-channel signals in a broadband receiver.
[0034] The method, device, processor and computer-readable storage medium for implementing parameterized synchronous demodulation processing of multiple signals by a broadband receiver of the present invention are adopted, which has the advantages of efficiently processing multiple signals, using a broadband receiver to simultaneously acquire multiple data, and demodulating the required data at the same time, realizing signal separation, and improving the processing speed and accuracy of the signal. The present invention has parameterized synchronous demodulation signals, saves different parameters of multiple signals through different instances of a class, saves context data required for demodulation through corresponding attributes in the instance, and demodulates multiple data simultaneously through multiple threads, realizing the ability of continuous synchronous processing of multiple signals under different parameters and different demodulation modes. BRIEF DESCRIPTION OF THE DRAWINGS
[0035] Figure 1 The present invention is a flow chart of a method for implementing parameterized synchronous demodulation processing of multi-channel signals in a broadband receiver.
[0036] Figure 2 It is a UML diagram of the demodulation class of the method for implementing parameterized synchronous demodulation processing of multi-channel signals in a broadband receiver according to the present invention. DETAILED DESCRIPTION
[0037] In order to more clearly describe the technical content of the present invention, further description is given below in conjunction with specific embodiments.
[0038] The method of the present invention, which is applicable to a broadband receiver and realizes parameterized synchronous demodulation processing of multi-path signals, comprises the following steps:
[0039] (1) Create a different modemdata instance for each channel of iq data;
[0040] (2) Call the demodulation method of modemdata to demodulate the iq signal and save the center frequency and sampling points of each frame into the modemdata instance.
[0041] As a preferred embodiment of the present invention, the method further comprises the following steps:
[0042] (3) Continue with step (2) at the next demodulation and compare the obtained parameters with the parameters in the instance. If they are the same, take out the context variables from the window and save the context environment in the window after demodulation; if they are different, clear the demodulation context window and restart demodulation.
[0043] As a preferred embodiment of the present invention, the demodulation of the iq signal in step (2) specifically includes the following steps:
[0044] (2.1) Obtain iq data from DSP;
[0045] (2.2) low-pass filtering the iq data to remove out-of-band signals;
[0046] (2.3) Call the demodulation function of the modemdata class and demodulate the signal in the corresponding way;
[0047] (2.4) resampling the demodulated audio signal to meet common audio standards;
[0048] (2.5) Filter out signals beyond the human ear’s perception through a bandpass filter;
[0049] (2.6) Transmit and play.
[0050] As a preferred embodiment of the present invention, the step (2) further comprises the following steps:
[0051] For demodulation that requires context, store the demodulated intermediate variables in the window list.
[0052] As a preferred embodiment of the present invention, the modemdata class includes a plurality of private member variables, including pointers to other classes and some state variables, which are used to process signal modulation and demodulation, audio processing and dynamic link library calling.
[0053] The device for implementing parameterized synchronous demodulation processing of multi-channel signals for a broadband receiver of the present invention comprises:
[0054] a processor configured to execute computer executable instructions;
[0055] The memory stores one or more computer executable instructions. When the computer executable instructions are executed by the processor, the steps of the method for implementing parameterized synchronous demodulation processing of multi-channel signals in a broadband receiver are implemented.
[0056] The processor of the present invention is used to implement parameterized synchronous demodulation processing of multiple signals for a wideband receiver, wherein the processor is configured to execute computer executable instructions. When the computer executable instructions are executed by the processor, the various steps of the method for implementing parameterized synchronous demodulation processing of multiple signals for a wideband receiver are implemented.
[0057] The computer-readable storage medium of the present invention stores a computer program thereon, and the computer program can be executed by a processor to implement the various steps of the above-mentioned method for implementing parameterized synchronous demodulation processing of multi-channel signals in a broadband receiver.
[0058] In a specific implementation of the present invention, in order to solve the problem of parameter transmission of multi-channel data of multi-channel signals of a broadband receiver, demodulation of analog modulated signals, and continuity of demodulation, the specific implementation is as follows:
[0059] Multi-channel processing issues:
[0060] Wideband receivers need to process multiple channel inputs simultaneously, separate them and display them correctly. This means that an effective algorithm and technology needs to be designed to process multiple signal sources and separate and display them reasonably to ensure accuracy and visualization.
[0061] The present invention provides a set of algorithms and techniques that can simultaneously process input signals of multiple channels, separate and process the inputs of multiple channels using appropriate signal processing methods, and ensure that the separated signals can be accurately and reliably transmitted to a demodulation module.
[0062] Parameter passing problem:
[0063] The characteristic parameters of multi-channel signals are different, and demodulation requires knowing the differences and similarities of the multi-channel signal parameters and being able to update the changed parameters in a timely manner.
[0064] The present invention establishes multiple threads to process different signals simultaneously, sets the initial values of system parameters by agreement, creates threads with corresponding parameters whenever a new channel is created, and transmits the parameters to the threads when they are modified.
[0065] Continuity issues in analog signal demodulation:
[0066] Since the receiver's signal is transmitted to the software in the form of frames, the data between each frame cannot be processed uniformly, and coordination is required to pass the status of each frame to the next frame to ensure continuity.
[0067] The present invention creates a class containing various required demodulation methods, adds corresponding parameters to save the data in demodulation, and calls the demodulation function by calling the class method to obtain the data saved in the last demodulation.
[0068] 1. ModemData class introduction:
[0069] The ModemData class is used to process modulation and demodulation, including demodulation functions for various modulation methods and some audio processing functions. The following are the functions and features of this class:
[0070] ModemData contains a series of private member variables, including pointers to other classes and some state variables.
[0071] The constructor ModemData() is used to create an object of the ModemData class, and the destructor ~ModemData() is used to destroy the object of the ModemData class and release dynamically allocated resources.
[0072] This class includes a series of functions for signal processing, such as getfft(), getfftiq(), LpfFactor(), LpfFactor2(), BpfFactor(), Lpf(), LpfIQ(), Bpf(), BpfIQ(), DC_Block(), resample(), resampleiq(), speex_denoise(), rnnoise_proc(), rnnoise_proc16bit(), etc.
[0073] This class also includes a series of functions for modulation and demodulation, such as demodAMData(), demodFMData(), demodDSBData(), demodUSBData(), demodLSBData(), demodISBData(), demodCWData(), demodFMStereoData(), demoDigital(), etc.
[0074] In addition, this class also includes audio processing functions, such as f32_to_s16(), s16_to_f32(), normalization(), normalization_smooth(), etc.
[0075] Finally, the class also includes the loading and release of the dynamic link library, which is used to call the identify function in SignalRecognition.dll.
[0076] In general, ModemData is a powerful class used to handle signal modulation and demodulation, audio processing, and dynamic link library calls.
[0077] 2. The entire demodulation process of IQ signal:
[0078] (1) Get iq data from DSP.
[0079] (2) Low-pass filter the IQ data to remove out-of-band signals.
[0080] (3) Call the demodulation function of the modemdata class to demodulate the signal in the corresponding manner.
[0081] (4) The demodulated audio signal is resampled to meet common audio standards.
[0082] (5) Use a bandpass filter to filter out signals that are beyond the reach of the human ear.
[0083] (6) Pass it to the C# program for playback.
[0084] 3. Implementation of multi-channel synchronous demodulation:
[0085] (1) Create a different modemdata instance for each channel of iq data.
[0086] (2) Call the demodulation method of modemdata and save the center frequency and sampling points of each frame into the modemdata instance. For demodulation that requires a context environment, store the demodulated intermediate variables into the window list.
[0087] (3) The next demodulation is performed as in (2) and the parameters such as the center frequency are compared with the parameters in the instance. If they are different, the demodulation context window is cleared and demodulation is restarted. If they are the same, the context variables are taken out from the window window and the context environment is saved in the window window after demodulation.
[0088] The specific implementation scheme of this embodiment can refer to the relevant description in the above embodiment, which will not be repeated here.
[0089] It can be understood that the same or similar parts of the above embodiments can be referenced to each other, and the contents not described in detail in some embodiments can refer to the same or similar contents in other embodiments.
[0090] It should be noted that, in the description of the present invention, the terms "first", "second", etc. are only used for descriptive purposes and cannot be understood as indicating or implying relative importance. In addition, in the description of the present invention, unless otherwise specified, the meaning of "plurality" refers to at least two.
[0091] Any process or method description in a flowchart or otherwise described herein may be understood to represent a module, segment or portion of code that includes one or more executable instructions for implementing the steps of a specific logical function or process, and the scope of the preferred embodiments of the present invention includes alternative implementations in which functions may not be performed in the order shown or discussed, including performing functions in a substantially simultaneous manner or in the reverse order depending on the functions involved, which should be understood by those skilled in the art to which the embodiments of the present invention belong.
[0092] It should be understood that the various parts of the present invention can be implemented by hardware, software, firmware or a combination thereof. In the above-mentioned embodiments, a plurality of steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution device. For example, if implemented by hardware, as in another embodiment, it can be implemented by any one of the following technologies known in the art or their combination: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.
[0093] A person skilled in the art may understand that all or part of the steps in the method for implementing the above-mentioned embodiment may be completed by instructing related hardware through a program, and the corresponding program may be stored in a computer-readable storage medium, which, when executed, includes one of the steps of the method embodiment or a combination thereof.
[0094] In addition, each functional unit in each embodiment of the present invention may be integrated into a processing module, or each unit may exist physically separately, or two or more units may be integrated into one module. The above-mentioned integrated module may be implemented in the form of hardware or in the form of a software functional module. If the integrated module is implemented in the form of a software functional module and sold or used as an independent product, it may also be stored in a computer-readable storage medium.
[0095] The storage medium mentioned above can be a read-only memory, a magnetic disk or an optical disk, etc.
[0096] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "examples", "specific examples", or "some examples" means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner.
[0097] The method, device, processor and computer-readable storage medium for implementing parameterized synchronous demodulation processing of multiple signals by a broadband receiver of the present invention are adopted, which has the advantages of efficiently processing multiple signals, using a broadband receiver to simultaneously acquire multiple data, and demodulating the required data at the same time, realizing signal separation, and improving the processing speed and accuracy of the signal. The present invention has parameterized synchronous demodulation signals, saves different parameters of multiple signals through different instances of a class, saves context data required for demodulation through corresponding attributes in the instance, and demodulates multiple data simultaneously through multiple threads, realizing the ability of continuous synchronous processing of multiple signals under different parameters and different demodulation modes.
[0098] In this specification, the present invention has been described with reference to specific embodiments thereof. However, it is apparent that various modifications and variations may be made without departing from the spirit and scope of the present invention. Therefore, the specification and drawings should be regarded as illustrative rather than restrictive.
Claims
1. A method for implementing parameterized synchronous demodulation processing of multi-channel signals in a broadband receiver, characterized in that: The method comprises the following steps: (1) Create a different modemdata instance for each channel of iq data; (2) Call the demodulation method of modemdata to demodulate the iq signal and save the center frequency and sampling points of each frame into the modemdata instance.
2. The method for implementing parameterized synchronous demodulation processing of multi-channel signals in a broadband receiver according to claim 1, characterized in that: The method further comprises the following steps: (3) Continue with step (2) at the next demodulation and compare the obtained parameters with the parameters in the instance. If they are the same, take out the context variables from the window and save the context environment in the window after demodulation; if they are different, clear the demodulation context window and restart demodulation.
3. The method for implementing parameterized synchronous demodulation processing of multi-channel signals in a broadband receiver according to claim 1, characterized in that: The step (2) of demodulating the iq signal specifically includes the following steps: (2.1) Obtain iq data from DSP; (2.2) low-pass filtering the iq data to remove out-of-band signals; (2.3) Call the demodulation function of the modemdata class and demodulate the signal in the corresponding way; (2.4) resampling the demodulated audio signal to meet common audio standards; (2.5) Filter out signals beyond the human ear’s perception through a bandpass filter; (2.6) Transmit and play.
4. The method for implementing parameterized synchronous demodulation processing of multi-channel signals in a broadband receiver according to claim 1, characterized in that: The step (2) further comprises the following steps: For demodulation that requires context, store the demodulated intermediate variables in the window list.
5. The method for implementing parameterized synchronous demodulation processing of multi-channel signals in a broadband receiver according to claim 3, characterized in that: The modemdata class includes a plurality of private member variables, including pointers to other classes and some state variables, which are used to process signal modulation and demodulation, audio processing and the calling of dynamic link libraries.
6. A device for implementing parameterized synchronous demodulation processing of multi-channel signals for a broadband receiver, characterized in that: The device comprises: a processor configured to execute computer executable instructions; A memory storing one or more computer executable instructions, wherein when the computer executable instructions are executed by the processor, the steps of the method for implementing parameterized synchronous demodulation processing of multi-channel signals in a wideband receiver according to any one of claims 1 to 5 are implemented.
7. A processor for implementing parameterized synchronous demodulation processing of multi-channel signals for a broadband receiver, characterized in that: The processor is configured to execute computer executable instructions. When the computer executable instructions are executed by the processor, the steps of the method for implementing parameterized synchronous demodulation processing of multi-channel signals in a wideband receiver as described in any one of claims 1 to 5 are implemented.
8. A computer-readable storage medium, characterized in that: A computer program is stored thereon, and the computer program can be executed by a processor to implement the various steps of the method for implementing parameterized synchronous demodulation processing of multi-channel signals in a broadband receiver as described in any one of claims 1 to 5.
