A DSP local reconstruction method and system for communication signal recognition and processing
Through the local reconstruction method of multi-core DSP, combined with modulation mode identification and parallel algorithm processing, the resource waste and heat dissipation problems of single-core processing platforms in complex signal processing are solved, and efficient and real-time communication signal identification and demodulation are achieved, improving Improve the recognition accuracy and parallel efficiency of the system.
Patent Information
- Application Number
- CN202210273124.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-03-19
- Publication Date
- 2024-09-10
- Estimated Expiration
- 2042-03-19
AI Technical Summary
It is difficult for existing single-core processing platforms to balance real-time performance, efficiency and scalability, especially in complex signal processing and multi-condition operation scenarios, resulting in a waste of system resources and heat dissipation problems, and cannot meet the needs of modern communication signal recognition.
The local reconstruction method of multi-core DSP is used to combine modulation mode identification, multi-core reconstruction and parallel algorithm processing. Tasks are allocated through the main control core and identification core, and the high-order characteristics and spectral characteristic parameters of the signal are used to realize automatic identification and recognition of signals. Demodulate and dynamically allocate algorithm tasks to ensure the real-time and high efficiency of the system.
It improves the accuracy of signal recognition and the parallel efficiency of the system, reduces noise interference, avoids resource waste and heat dissipation problems between multi-processors, and achieves flexible algorithm deployment and efficient signal processing.
Smart Images

Figure CN114826849B
Abstract
Description
Technical Field
[0001] The invention belongs to the technical field of general signal processing, and in particular relates to a DSP local reconstruction method and system for communication signal recognition processing. Background Art
[0002] At present, the new generation of avionics systems are faced with complex digital signal types, large data volumes, high real-time requirements, and limited volume. Although hardware processing equipment is updated quickly and processor performance is exponentially improved, in order to meet the application requirements of real-time, high efficiency, and scalability on one platform at the same time, a single-core processing platform can no longer meet the processing requirements. Today, the mainstream digital signal processing platform DSP chip has powerful floating-point computing capabilities and real-time processing capabilities. The development of multi-core DSP enables it to have excellent processing capabilities in scenarios with multi-conditional operations and complex algorithms. While improving the overall performance of the system, it also takes into account system heat dissipation, resource conservation, and computing efficiency.
[0003] In terms of modulation recognition technology, with the increasing complexity of modern signal types and the increasing scarcity of communication environment resources, the recognition of communication signals has become particularly critical. Currently, modulation mode recognition has received widespread attention in both civilian and military fields. Due to the complexity and diversity of current signal modulation methods and channel transmission environments, signal modulation mode recognition for non-cooperative communications has become particularly important.
[0004] Through the above analysis, the problems and defects of the existing technology are as follows: Since real-time, high efficiency and scalability must be met on one platform at the same time, the existing single-core processing platform cannot meet the processing requirements. At present, the mainstream digital signal processing hardware platforms are divided into three categories: field programmable array FPGA, dedicated ASIC chip, and digital signal processor DSP. Due to the limitations of the hardware system, the first two can only process relatively fixed tasks in signal processing and cannot achieve flexible algorithm adjustment. It is difficult to complete the deployment of complex algorithms in multi-conditional operations and complex transaction management application scenarios. If a multi-processor architecture interconnection solution is used to make up for the hardware defects with the advantage of quantity, the overall computing performance and task concurrency of the signal processing platform can be improved in theory, but the collaborative work between multiple processors requires more interfaces and scheduling solutions. It greatly increases the system hardware resources and power consumption overhead, and brings difficulties in layout and wiring between processors, resulting in excessively large board size. The most serious problem is that multiple processors will cause difficulties in heat dissipation of the board, and excessive board temperature will greatly reduce the stability and reliability of the chip. Summary of the invention
[0005] In view of the problems existing in the prior art, the present invention provides a DSP local reconstruction method and system for communication signal recognition processing.
[0006] The present invention is implemented as follows: a DSP local reconstruction method for communication signal identification processing, the DSP local reconstruction method for communication signal identification processing comprising:
[0007] The present invention combines the signal modulation mode recognition, multi-core local reconstruction and parallel algorithm processing, and rationally allocates these three tasks to the underlying cores. Core 0 is responsible for the communication and scheduling of the system as the main control; Core 1 is used as the recognition core to recognize and process external signals; the remaining 6 cores perform parallel processing and are responsible for the execution of specific demodulation algorithms.
[0008] ① Modulation mode identification
[0009] Aiming at the modulation mode recognition of general signals, the present invention studies the current mainstream signal modulation mode recognition algorithm, and selects an extraction and recognition method based on the characteristic value of the modulation signal in combination with the system hardware characteristics and application requirements. After simulation experiments, it was found that the recognition performance of the signal was not high under low signal-to-noise ratio conditions, so it was proposed to add the high-order cumulative amount parameters and spectral characteristic parameters of the signal to enhance the recognition features on the basis of the original recognition method. The experimental results show that this scheme can effectively reduce noise interference and improve the recognition accuracy. The high-order characteristics of the signal perfectly avoid the influence of noise during the transmission process.
[0010] ② Partial reconstruction of multi-core
[0011] With local reconstruction, the algorithm recognition core can send the recognition result to the main control core after identifying the modulation mode. The main control core then selects the corresponding demodulation reconstruction algorithm. The selection of the reconstruction algorithm mainly depends on the algorithm matching mechanism: after the recognition core sends the recognition result to the main control core, the main control core matches the recognition result with the algorithm feature ID set in advance to find the entry address of the algorithm to be reconstructed. The selection of the core to be reconstructed is based on the busy and idle status of the underlying core. It will sequentially poll the underlying core and assign the algorithm task to the first idle core. This process is an automated processing logic, so it does not need to be allocated by the upper system. At the same time, the local reconstruction using the local mode can ensure the real-time requirements of the system.
[0012] Furthermore, the DSP local reconstruction method for communication signal recognition processing comprises the following steps:
[0013] Step 1: Using the SPI interface startup method, the main control core is started first and is responsible for the normal operation of the entire system. After the system is powered on, the main control core runs normally, and other cores are in the IDLE state. The main control core begins to initialize various communication interfaces and peripherals of the system;
[0014] Step 2: Core 0 starts the algorithm identification core No. 1. After receiving the signal to be identified, core No. 1 identifies the modulation mode of the signal through the modulation identification method. After the identification is completed, the identification result is handed over to the main control core. The main control core analyzes the identification result and matches the demodulation algorithm corresponding to the modulation mode.
[0015] Step 3: When the master core receives the reconstruction command, it compares the recognition result with the allocated program information. The comparison is based on the corresponding demodulation algorithm according to the modulation ID number, so as to find the entry address of the demodulation algorithm.
[0016] Step 4: Analyze the busy and idle status of the underlying core and assign the reconstruction algorithm to the idle core with the smallest core number; write the entry address of the new algorithm program at the BootMagic_addr address of the core. After writing, the main control core sends an IPC interrupt to the core to wake up the core and run the corresponding demodulation algorithm.
[0017] Furthermore, the BootMagic_addr address is the entry address after the core is restarted.
[0018] Furthermore, the workflow of the main control core includes:
[0019] (1) After the system is running, multiple task threads are created, the Bios_start() function is run to start the real-time operating system, and the master control core No. 0 starts running;
[0020] (2) The system main task thread initializes all global variables, semaphores, and system hardware resources, creates a monitoring interrupt thread, monitors whether a reconstruction instruction has arrived, and performs the reconstruction operation after receiving the reconstruction instruction;
[0021] (3) When the reconstruction command arrives, a hardware interrupt is triggered, and the main control core enters the reconstruction process and parses the instructions; through the instructions, it determines the core that needs to be reconstructed, the image reconstruction algorithm, and whether to use remote transmission of the image or read the image from the local Flash; if the image is read from a remote location, the network communication task is triggered to read the image data from the remote end; if it is a local mode reconstruction, the corresponding image is loaded from the Flash; the core that loads the reconstruction algorithm is selected based on the core that is idle at the current moment.
[0022] Further, the workflow of the identification core includes:
[0023] (1) The software of the recognition core is woken up and started by the main control core after it is powered on and loaded on the DSP. It is used to run the programmed modulation recognition algorithm and classify and recognize the signal to be recognized.
[0024] (2) While monitoring the interrupt information, the global variables and semaphores are initialized, and then the SRIO hardware is configured. The input of external data is transmitted through the SRIO bus, and the semaphore is cyclically waited for to be available, and the external interrupt is waited for to inform the arrival of a new signal;
[0025] (3) When an external signal arrives, a hardware interrupt is generated, the system releases the semaphore, and the main task identifies the communication signal modulation method. After the identification is completed, the identification result is handed over to the main control core; after the main control core performs the corresponding reconstruction scheduling, the main task continues to suspend until a new signal arrives.
[0026] Furthermore, the workflow of the algorithm core includes:
[0027] (1) Initialize the task running environment after establishing synchronization with the main control core, including initializing global variables;
[0028] (2) Continuously monitor and process the data through an algorithm flow after reading it. After processing, the processing results are sent back to the main control core or directly output.
[0029] Another object of the present invention is to provide a DSP local reconstruction system for communication signal identification processing using the DSP local reconstruction method for communication signal identification processing, the DSP local reconstruction system for communication signal identification processing comprising:
[0030] The 8 underlying cores of DSP are assigned related tasks; in view of the multi-core characteristics of DSP, the signal modulation method recognition, multi-core local reconstruction, and parallel algorithm processing are combined to assign tasks to the underlying cores. Core 0 is used as the main control to be responsible for the communication and scheduling of the system; core 1 is used as the identification core to identify and process external signals; the remaining 6 cores perform parallel processing and are responsible for the execution of specific demodulation algorithms.
[0031] The master control core is responsible for scheduling other slave cores. It identifies the communication signal through core 1 and then notifies core 0 to reconstruct, and then dynamically updates the software on other cores. The software on the master control core consists of the system reconstructing main task, receiving the reconstructing command of core 1 and two interrupts.
[0032] The identification core has a core number of 1, which is used to run the communication signal identification algorithm, identify the new signal, and then hand over the identification result to the main control core, and then perform local reconstruction of the idle core;
[0033] The algorithm core is responsible for processing various signal processing tasks distributed by the main control core. Different algorithm processing tasks are sent to multiple algorithm cores during idle times. The main control core controls the operation and stop of each algorithm core, and the main control core is responsible for updating the specific algorithm files. There is only one task thread on the algorithm core, and a dead loop is responsible for continuously polling and listening for new tasks.
[0034] Another object of the present invention is to provide a computer device, the computer device comprising a memory and a processor, the memory storing a computer program, and when the computer program is executed by the processor, the processor performs the following steps:
[0035] The local reconstruction is adopted, and the modulation mode is identified by the algorithm recognition core, and the recognition result is sent to the main control core. The main control core selects the corresponding demodulation algorithm to dynamically update the algorithm of the underlying idle algorithm core.
[0036] Another object of the present invention is to provide a computer-readable storage medium storing a computer program, wherein when the computer program is executed by a processor, the processor executes the following steps:
[0037] The local reconstruction is adopted, and the modulation mode is identified by the algorithm recognition core, and the recognition result is sent to the main control core. The main control core selects the corresponding demodulation algorithm to dynamically update the algorithm of the underlying idle algorithm core.
[0038] Another object of the present invention is to provide an information data processing terminal, which is used to implement the DSP local reconstruction system for communication signal recognition processing.
[0039] In combination with the above technical solutions and the technical problems solved, please analyze the advantages and positive effects of the technical solutions to be protected by the present invention from the following aspects:
[0040] First, in view of the technical problems existing in the above-mentioned prior art and the difficulty of solving the problems, the technical solutions to be protected by the present invention and the results and data during the research and development process are closely combined to analyze in detail and deeply how the technical solutions of the present invention solve the technical problems, and some creative technical effects brought about after solving the problems. The specific description is as follows:
[0041] The present invention takes the communication signal modulation mode identification as the background, utilizes the multi-core characteristics of DSP, takes the dynamic scheduling and parallel architecture of DSP as the core, designs and implements a DSP dynamic reconstruction system based on the communication signal modulation mode identification, and makes good use of the multi-core characteristics of DSP while realizing the modulation mode identification. At the same time, based on the hardware characteristics of DSP, certain improvements are made to the feature value selection of modulation signal identification, and it is proposed to combine the instantaneous characteristics of the modulation signal, the high-order characteristics of the signal, and the cyclic spectrum envelope feature values of the signal to realize the effective identification of the intra-class and inter-class modulation modes of the general digital signal.
[0042] 1. Realize the recognition task of conventional modulated signals. The recognition process includes signal noise estimation, signal carrier frequency estimation, parameter extraction of signal time-frequency characteristics, and recognition and classification based on decision tree classifiers. When the signal-to-noise ratio is greater than 5dB, a recognition accuracy of 90% can be achieved. At the same time, the experimental results were analyzed and it was found that the parameter characteristics of the signal were not obvious under low signal-to-noise ratio conditions and were seriously interfered by noise. Therefore, it was proposed to use the high-order cumulants and cyclic spectra of the signal to extract obvious eigenvalues and envelope mean features to classify the modulation methods within the class. The experimental results show that the use of these two methods can significantly reduce noise interference.
[0043] 2. Utilizing the hardware characteristics of multi-core DSP, TI's TMS320C6678 chip is selected as the processing board. The DSP is equipped with 8 industrial-grade C66x cores at the bottom layer. Because the core models are exactly the same, the 8 cores on the chip can execute one task at the same time or multiple tasks in parallel. The present invention uses core 0 as the main control core, which is responsible for completing the management and control of the remaining 7 cores and issuing tasks. When reconstruction is required, it can receive the reconstruction file sent by the external device through remote reconstruction, or read the pre-stored image file from the local cache, and then query the busy and idle status of the bottom core, replace the old and new algorithms of the core, and realize the dynamic switching of the core algorithm program. This reconstruction process is a local behavior and will not affect the normal operation of other cores; core 1 is used as a modulation mode identification core, responsible for modulation mode identification; cores 2 to 7 are used as processing cores, responsible for completing the demodulation processing logic of the assigned tasks.
[0044] Second, considering the technical solution as a whole or from the perspective of the product, the technical effects and advantages of the technical solution to be protected by the present invention are described in detail as follows:
[0045] The present invention mainly utilizes the multi-core characteristics of the signal processing platform DSP to realize the parallel processing of the signal processing algorithm. The process of the present invention is an automated processing logic, so it does not need to be allocated and decided by the upper system, and the local reconstruction of the local mode can ensure the real-time requirements of the system.
[0046] The workflow of the algorithm core of the present invention is relatively simple, and it is only responsible for processing the algorithm, and the result can be output after the processing is completed. All the algorithm cores in the present invention are in a parallel mode, and the data and results between them do not interfere with each other. The crash of one core will not affect the normal operation of other cores. The present invention makes full use of the multi-core characteristics of DSP and greatly improves the parallel efficiency of the system.
[0047] Third, as auxiliary evidence of the inventiveness of the claims of the present invention, it is also reflected in the following important aspects:
[0048] (1) The expected benefits and commercial value of the technical solution of the present invention after transformation are:
[0049] From a civilian perspective, in order to manage the radio spectrum scientifically and rationally, the government needs to monitor signal transmission in real time to ensure timely analysis and processing when special situations occur. In this process, all recognition work requires the use of modulation recognition technology. An integrated signal processing platform can make the recognition process more efficient.
[0050] In the military and national security, which have a great impact on my country, it also plays a very critical role, especially in the process of electronic confrontation with foreign countries. In electronic confrontation, communication confrontation plays a very important role in electronic warfare, which mainly includes communication reconnaissance and communication interference. In this application scenario, it is mainly responsible for interception, analysis and identification, and finally formulates an effective processing plan to achieve the purpose of destroying the enemy. A flexible and miniaturized multi-standard signal processing platform maximizes its own safety factor.
[0051] (2) The technical solution of the present invention fills the technical gap in the industry at home and abroad:
[0052] The current signal processing platform has the following main disadvantages:
[0053] 1. After the modulation mode of the signal is identified, a demodulation algorithm is manually re-programmed into the signal processing platform. The programming process of this process will result in poor real-time performance of the system.
[0054] Second, the system is not integrated enough. Most modulation recognition algorithms run on computers, while signal processing algorithms run on hardware devices. The data interaction problems between the two and the size of the platform are not conducive to the development of technology under the current situation.
[0055] The present invention combines the two processes and realizes the research of modulation recognition algorithm with high recognition rate and flexible hardware processing logic on the same platform.
[0056] (3) The technical solution of the present invention solves a technical problem that people have long been eager to solve but have never been able to solve successfully: the integrated development of signal processing platforms. BRIEF DESCRIPTION OF THE DRAWINGS
[0057] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the following briefly introduces the drawings required for use in the embodiments of the present invention. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0058] Figure 1 is a flow chart of a DSP local reconstruction method for communication signal recognition processing provided by an embodiment of the present invention;
[0059] Figure 2 It is a schematic diagram of a DSP local reconstruction method for communication signal recognition processing provided by an embodiment of the present invention;
[0060] Figure 3 is a workflow diagram of the main control core provided by an embodiment of the present invention;
[0061] Figure 4 is a specific flow chart of the algorithm identification core provided by an embodiment of the present invention;
[0062] Figure 5 2ASK modulation signal waveform diagram provided by an embodiment of the present invention;
[0063] Figure 6 is a schematic diagram of 2ASK recognition results provided by an embodiment of the present invention;
[0064] Figure 7 2ASK demodulation waveform diagram provided by an embodiment of the present invention;
[0065] Figure 8 2FSK modulation signal waveform diagram provided by an embodiment of the present invention;
[0066] Fig. 9 2FSK recognition result schematic diagram provided by an embodiment of the present invention;
[0067] Fig.10 2FSK demodulation waveform diagram provided by an embodiment of the present invention;
[0068] Fig.11 2PSK modulation signal waveform diagram provided in an embodiment of the present invention;
[0069] Fig.12 is a schematic diagram of a 2PSK recognition result provided by an embodiment of the present invention;
[0070] Fig.13 2PSK demodulation waveform diagram provided by an embodiment of the present invention;
[0071] Fig.14 is a schematic diagram of a modulation waveform before core 2 reconstruction provided by an embodiment of the present invention;
[0072] Fig.15 is a schematic diagram of a modulation waveform after reconstruction of core 2 provided in an embodiment of the present invention;
[0073] Fig.16 It is a schematic diagram of the improved modulation signal recognition accuracy provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0074] In order to make the purpose, technical solution and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.
[0075] In view of the problems existing in the prior art, the present invention provides a DSP local reconstruction method and system for communication signal recognition processing. The present invention is described in detail below with reference to the accompanying drawings.
[0076] 1. Explanatory Examples In order to enable those skilled in the art to fully understand how to implement the present invention, this section provides an illustrative example that expands and describes the technical solution of the claims.
[0077] like Figure 1 As shown, the DSP local reconstruction method for communication signal recognition processing provided by the embodiment of the present invention includes the following steps:
[0078] S101, using the SPI interface startup mode, the main control core is started first and is responsible for the normal operation of the entire system. After the system is powered on, the main control core runs normally, and other cores are in the IDLE state. The main control core begins to initialize various communication interfaces and peripherals of the system;
[0079] S102, core 0 starts algorithm identification core core 1. After receiving the signal to be identified, core 1 identifies the modulation mode of the signal through the modulation identification mode. After the identification is completed, the identification result is handed over to the main control core. The main control core matches the demodulation algorithm corresponding to the modulation mode by analyzing the identification result.
[0080] S103, when receiving the reconstruction command, the main control core compares the recognition result with the allocated program information, and the comparison is based on the corresponding demodulation algorithm according to the ID number of the modulation mode, so as to find the entry address of the demodulation algorithm;
[0081] S104, analyzing the busy and idle states of the underlying cores, and assigning the reconstruction algorithm to the idle core with the smallest core number; writing the entry address of the new algorithm program at the BootMagic_addr address of the core, and after the writing is completed, the main control core sends an IPC interrupt to the core to wake up the core to run the corresponding demodulation algorithm.
[0082] The DSP local reconstruction system for communication signal recognition processing provided by the embodiment of the present invention includes:
[0083] The 8 underlying cores of DSP are assigned related tasks; in view of the multi-core characteristics of DSP, the signal modulation method recognition, multi-core local reconstruction, and parallel algorithm processing are combined to assign tasks to the underlying cores. Core 0 is used as the main control to be responsible for the communication and scheduling of the system; core 1 is used as the identification core to identify and process external signals; the remaining 6 cores perform parallel processing and are responsible for the execution of specific demodulation algorithms.
[0084] The master core is responsible for scheduling other slave cores. It identifies the communication signal through core 1 and then notifies core 0 to reconstruct, and then dynamically updates the software on other cores. The software on the master core consists of the system reconstructing main task, receiving the reconstructing command of core 1 and two interrupts.
[0085] The identification core is numbered 1 and is used to run the communication signal recognition algorithm. After recognizing the incoming signal, it sends the recognition result to the main control core, and then performs partial reconstruction of the idle core.
[0086] The algorithm core is responsible for processing various signal processing tasks distributed by the main control core. Different algorithm processing tasks are assigned to multiple algorithm cores during idle times. The main control core controls the operation and stop of each algorithm core, and the main control core is responsible for updating the specific algorithm files. There is only one task thread on the algorithm core, and an infinite loop is responsible for continuously polling and listening for new tasks.
[0087] Example 1: Dynamic Reconfiguration Rule Design
[0088] The reconstruction method adopted by the present invention is a local reconstruction, because after the algorithm recognition core recognizes the modulation mode, it can send the recognition result to the main control core, and the main control core then selects the corresponding demodulation algorithm to dynamically update the algorithm of the underlying idle algorithm core. This process is an automated processing logic, so it does not need to be allocated and decided by the upper system. At the same time, the local reconstruction using the local mode can ensure the real-time requirements of the system.
[0089] The present invention adopts the SPI interface startup method. First, the main control core is started first and is responsible for the normal operation of the entire system. After the system is powered on, the main control core operates normally, and other cores are in the IDLE state. At this time, the main control core will start to initialize various communication interfaces and peripherals of the system. Then core 0 will first start the algorithm recognition core No. 1. After receiving the signal to be recognized, core No. 1 will recognize the modulation mode of the signal through the modulation recognition method proposed in the previous chapter. After the recognition is completed, the recognition result will be handed over to the main control core. The main control core analyzes the recognition result and matches the demodulation algorithm corresponding to the modulation mode. The recognition process is as follows: Figure 2 shown.
[0090] When the master core receives the reconstruction command, it will compare the recognition result with the assigned program information. The comparison is based on the demodulation algorithm corresponding to the modulation ID number, so as to find the entry address of the demodulation algorithm. Next, the busy and idle status of the underlying core is analyzed, and the reconstruction algorithm is assigned to the idle core with the smallest core number. Then, the entry address of the new algorithm program is written to the BootMagic_addr address of the core (this address is the entry address of the core after re-running). After the writing is completed, the master core will send an IPC interrupt to the core to wake up the core to run the corresponding demodulation algorithm.
[0091] Example 2
[0092] The present invention takes the communication signal modulation mode identification as the background, utilizes the multi-core characteristics of DSP, takes the dynamic scheduling and parallel architecture of DSP as the core, designs and implements a DSP dynamic reconstruction system based on the communication signal modulation mode identification, and makes good use of the multi-core characteristics of DSP while realizing the modulation mode identification. At the same time, based on the hardware characteristics of DSP, certain improvements are made to the feature value selection of modulation signal identification, and it is proposed to combine the instantaneous characteristics of the modulation signal, the high-order characteristics of the signal, and the cyclic spectrum envelope feature values of the signal to realize the effective identification of the intra-class and inter-class modulation modes of the general digital signal.
[0093] The 8 cores at the bottom of DSP are assigned related tasks. In view of the multi-core characteristics of DSP, the modulation mode recognition of the signal, the local reconstruction of the multi-core, and the parallel algorithm processing are combined, and these three tasks are rationally assigned to the bottom cores. Core 0 is responsible for the communication and scheduling of the system as the main control; core 1 is used as the recognition core to recognize and process external signals; the remaining 6 cores are parallel processing and are responsible for the execution of specific demodulation algorithms.
[0094] 1. Main control core function design:
[0095] In a multi-core system, the master core is responsible for scheduling other slave cores. It identifies the communication signal through core 1 and then notifies core 0 to reconstruct. Then it dynamically updates the software on other cores. The software on the master core mainly consists of two tasks (system reconstructing main task and receiving reconstructing command from core 1) and two interrupts.
[0096] like Figure 3 As shown, the main control core workflow is as follows:
[0097] 1. After the system is running, it first creates multiple task threads, then runs the Bios_start() function to start the real-time operating system, and the master control core No. 0 starts running.
[0098] 2. The system main task thread first initializes all global variables, semaphores and system hardware resources, and then creates a monitoring interrupt thread; monitors whether there is a reconstruction instruction, and performs the reconstruction operation after receiving the reconstruction instruction.
[0099] 3. When the reconstruction command arrives, the hardware interrupt is triggered, and then the main control core enters the reconstruction process and parses the instruction. The instruction determines which core needs to be reconstructed, which algorithm image is used for reconstruction, and whether to use remote transmission image or read the image from local Flash. If the image is read from a remote location, the network communication task is triggered to read the image data from the remote end. If it is a local mode reconstruction, then the corresponding image is loaded from Flash. The core that loads the reconstruction algorithm is selected based on the core that is idle at the current moment.
[0100] 2. Design of Identification Core Function
[0101] In this system, the identification core is numbered 1. The identification core mainly runs the communication signal recognition algorithm. After recognizing the new signal, it hands the recognition result to the main control core, and then performs partial reconstruction of the idle core. This core is crucial to realize the intelligence and automation of this system, because only by accurately identifying the type of modulated signal can the corresponding demodulation algorithm be selected to obtain the information content.
[0102] like Figure 4 As shown in the figure, the specific process of algorithm identification core is as follows:
[0103] 1. The software of the recognition core is woken up and started by the main control core after it is powered on and loaded on the DSP. Its job is to run the programmed modulation recognition algorithm and classify and recognize the signals to be recognized.
[0104] 2. While monitoring the interrupt information, the global variables and semaphores will be initialized, and then the SRIO hardware will be configured, because the input of external data is transmitted through the SRIO bus, and then the semaphore will be available in a loop. Wait for external interrupts to notify the arrival of new signals.
[0105] 3. When an external signal comes, a hardware interrupt is generated, the system releases the semaphore, and the main task identifies the communication signal modulation mode. After the identification is completed, the identification result is handed over to the main control core, and then the main control core performs corresponding reconstruction scheduling. Then the main task continues to suspend until a new signal comes.
[0106] 3. Algorithm Core Function Design
[0107] The specific work content of the algorithm core is to handle the various signal processing tasks distributed by the main control core. Multiple algorithm cores are assigned different algorithm processing tasks during idle time. The main control core controls the operation and stop of each algorithm core, and the specific algorithm file is updated by the main control core. There is only one task thread on the algorithm core, and a dead loop is responsible for continuously polling and listening for new tasks.
[0108] The workflow of the algorithm core is:
[0109] 1. Initialize the task running environment after establishing synchronization with the main control core, including initializing global variables.
[0110] 2. Continuously monitor and process the data through the algorithm flow after reading it. After the processing is completed, the processing results are sent back to the main control core or directly output.
[0111] The workflow of the algorithm core is relatively simple. It is only responsible for processing the algorithm and outputting the result after processing. All the algorithm cores in the present invention are in a parallel mode. The data and results between them do not interfere with each other. The crash of one core does not affect the normal operation of other cores. The multi-core characteristics of DSP are fully utilized to greatly improve the parallel efficiency of the system.
[0112] 2. Application Examples: In order to prove the creativity and technical value of the technical solution of the present invention, this section provides application examples of the technical solution of the claims on specific products or related technologies.
[0113] The present invention is mainly aimed at a processor architecture with DSP+FPGA as the core.
[0114] The FPGA module realizes external signal reception and signal preprocessing, and the DSP module realizes signal feature extraction, classification recognition and signal demodulation. The demodulation algorithm file in the DSP can be pre-burned into the external Flash for storage or dynamically reconstructed in remote mode. The host computer or other equipment sends the new algorithm file to the running memory of the core to be reconstructed, and the main control core does not need to run the migration program again.
[0115] It should be noted that the embodiments of the present invention can be implemented by hardware, software, or a combination of software and hardware. The hardware part can be implemented using dedicated logic; the software part can be stored in a memory and executed by an appropriate instruction execution system, such as a microprocessor or dedicated design hardware. It can be understood by a person of ordinary skill in the art that the above-mentioned devices and methods can be implemented using computer executable instructions and / or contained in a processor control code, such as a carrier medium such as a disk, CD or DVD-ROM, a programmable memory such as a read-only memory (firmware), or a data carrier such as an optical or electronic signal carrier. Such code is provided on the carrier medium. The device and its modules of the present invention can be implemented by hardware circuits such as very large-scale integrated circuits or gate arrays, semiconductors such as logic chips, transistors, etc., or programmable hardware devices such as field programmable gate arrays, programmable logic devices, etc., can also be implemented by software executed by various types of processors, and can also be implemented by a combination of the above-mentioned hardware circuits and software, such as firmware.
[0116] 3. Evidence of the effects of the embodiments. The embodiments of the present invention have achieved some positive effects during the development or use process, and indeed have great advantages over the prior art. The following content is described in conjunction with the data, charts, etc. of the test process.
[0117] 1. Improvement of recognition accuracy
[0118] like Fig.16 As shown in the figure, the improved recognition scheme can effectively improve the recognition accuracy at low signal-to-noise ratio, proving that the signal modulation recognition performance can be improved by combining the signal's characteristic parameters with the signal's high-order statistics and the cyclic spectrum envelope mean.
[0119] 2. Bottom-layer dynamic reconstruction of multi-core DSP
[0120] In order to test the scheduling and processing results of tasks in parallel mode, cores 0 and 1 run their own scheduling and modulation recognition algorithms respectively, and cores 3 and 5 run some algorithms. Cores 2, 4, and 6 are placed in an idle state first. According to the algorithm allocation in the figure above, when tasks come, according to the principle of sequential allocation, cores 2, 4, and 6 will run 2ASK demodulation, 2FSK demodulation, and 2PSK demodulation tasks in sequence.
[0121] The signal carrier frequency estimation or modulation mode identification is actually the calculation of signal time-frequency. Since the program written by DSP is less accurate than Matlab and the sampling bit number is limited, there will be a certain deviation from the actual data, but the size of the error still needs to be analyzed to see if it is within a reasonable range.
[0122] The experimental process is as follows:
[0123] (1) First, use the Graph function of DSP to extract the modulation signal waveform of 2ASK, and obtain the following Figure 5 The modulation signal waveform shown in the figure, at this time, the 2ASK signal data is sent to the recognition core for modulation mode recognition, and the recognition result is output through the console as shown in the figure. Figure 6 The main control core schedules the currently idle core No. 2 to demodulate the 2ASK signal. The demodulated waveform is as follows Figure 7 .
[0124] (2) First, use the DSP's Graph function to extract the 2FSK modulation signal waveform, and obtain the following Figure 8 The modulation signal waveform shown in the figure, at this time, the 2FSK signal data is sent to the recognition core for modulation mode recognition, and the recognition result is output through the console as shown in the figure. Fig. 9 The main control core schedules the currently idle core No. 4 to demodulate the 2FSK signal. The demodulated waveform is as follows Fig.10 .
[0125] (3) First, use the Graph function of DSP to extract the modulation signal waveform of 2PSK, and obtain the following Fig.11 The modulation signal waveform shown in the figure, at this time, the 2PSK signal data is sent to the recognition core for modulation mode recognition, and the recognition result is output through the console as shown in the figure. Fig.12 The main control core schedules the currently idle core No. 4 to demodulate the 2FSK signal. The demodulated waveform is as follows Fig.13 .
[0126] When all cores are idle at this time, if a new task to be identified appears, the new task will be assigned to core 2 again. At this time, core 2 performs the reconstruction task and outputs the demodulated signal waveform. The modulation waveform of core 2 before and after reconstruction is as follows: Fig.14 and Fig.15 .
[0127] The above description is only a specific implementation mode of the present invention, but the protection scope of the present invention is not limited thereto. Any modifications, equivalent substitutions and improvements made by any technician familiar with the technical field within the technical scope disclosed by the present invention and within the spirit and principle of the present invention should be covered by the protection scope of the present invention.
Claims
1. A DSP local reconstruction method for communication signal recognition processing, characterized in that: The following steps are involved: The SPI interface startup mode is adopted. The main control core is started first and is responsible for the normal operation of the entire system. After the system is powered on, the main control core runs normally, and other cores are in the IDLE state. The main control core starts to initialize various communication interfaces and peripherals of the system. Among them, the DSP bottom layer is equipped with 8 cores as standard, and the core models are exactly the same. Core 0 is responsible for the communication and scheduling of the system as the main control core; Core 1 is used as the identification core to identify and process external signals; The remaining 6 cores are used as algorithm cores for parallel processing and are responsible for the execution of specific demodulation algorithms; Core 0 starts core 1. After receiving the signal to be identified, core 1 identifies the modulation mode of the signal through a modulation identification method. After the identification is completed, the identification result is handed over to the main control core, and the main control core is notified to reconstruct. The modulation identification method is: combining the instantaneous characteristics of the modulation signal, the high-order characteristics of the signal, and the cyclic spectrum envelope characteristic values of the signal to realize the identification of the intra-class and inter-class modulation modes of the general digital signal; When the master core receives the reconstruction instruction from core 1, it compares the recognition result with the pre-assigned program information. The comparison is based on the corresponding demodulation algorithm according to the modulation ID number, so as to find the entry address of the demodulation algorithm. Analyze the busy and idle status of the underlying core, and assign the reconstruction algorithm to the idle core with the smallest core number; write the entry address of the new algorithm program at the BootMagic_addr address of the idle core with the smallest core number, and after writing, the main control core sends an IPC interrupt to the idle core with the smallest core number to wake up the idle core with the smallest core number to run the corresponding demodulation algorithm; The workflow of the main control core includes: (1) After the system is running, multiple task threads are created, the Bios_start() function is run to start the real-time operating system, and the master control core No. 0 starts running; (2) The system main task thread initializes all global variables, semaphores, and system hardware resources, creates a monitoring interrupt thread, monitors whether a reconstruction instruction has arrived, and performs the reconstruction operation after receiving the reconstruction instruction; (3) When the reconstruction command arrives, a hardware interrupt is triggered, and the main control core enters the reconstruction process and parses the instruction. The instruction determines the core to be reconstructed, the image reconstruction algorithm, and whether to use remote image transmission or read the image from the local Flash. If the image is read from a remote location, the network communication task is triggered to read the image data from the remote end. If it is a local mode reconstruction, the corresponding image is loaded from the Flash. The workflow of identifying the core includes: (1) The software of the recognition core is woken up and started by the main control core after it is powered on and loaded on the DSP. It is used to run the modulation recognition algorithm that has been burned in advance to classify and recognize the signal to be recognized; (2) While monitoring the interrupt information, the global variables and semaphores are initialized, and then the SRIO hardware is configured. The input of external data is transmitted through the SRIO bus, and the semaphore is cyclically waited for to be available, and the external interrupt is waited for to inform the arrival of a new signal; (3) When an external signal arrives, a hardware interrupt is generated, the system releases the semaphore, and the main task identifies the communication signal modulation method. After the identification is completed, the identification result is handed over to the main control core; after the main control core performs the corresponding reconstruction scheduling, the main task continues to suspend until a new signal arrives.
2. The DSP local reconstruction method for communication signal recognition processing as claimed in claim 1, characterized in that: The workflow of the algorithm core includes: (1) Initialize the task running environment after establishing synchronization with the main control core, including initializing global variables; (2) Continuously monitor and process the data through an algorithm flow after reading it. After processing, the processing results are sent back to the main control core or directly output.
3. A DSP local reconstruction system for communication signal recognition processing that implements the DSP local reconstruction method for communication signal recognition processing as described in any one of claims 1 to 2, characterized in that: The DSP local reconstruction system for communication signal recognition processing includes: The 8 cores at the bottom of the DSP are assigned related tasks. Core 0 is the main control core responsible for system communication and scheduling; Core 1 is the recognition core to identify and process external signals; the remaining 6 cores are used as algorithm cores for parallel processing and are responsible for the execution of specific demodulation algorithms; The master control core is responsible for scheduling other slave cores, notifying core 0 to reconstruct after core 1 recognizes the communication signal, and then dynamically updates the software on other cores; the software on the master control core consists of the system reconstructing main task, receiving the reconstructing command of core 1 and two interrupts; The identification core has a core number of 1, which is used to run the communication signal identification algorithm, identify the new signal, and then hand over the identification result to the main control core, and then perform local reconstruction of the idle core; The algorithm core is responsible for processing various signal processing tasks distributed by the main control core. Different algorithm processing tasks are sent to multiple algorithm cores during idle times. The main control core controls the operation and stop of each algorithm core, and the main control core is responsible for updating the specific algorithm files. There is only one task thread on the algorithm core, and a dead loop is responsible for continuously polling and listening for new tasks.
4. A computer device, characterized in that: The computer device includes a memory and a processor, the memory stores a computer program, and when the computer program is executed by the processor, the processor executes the DSP local reconstruction method for communication signal recognition processing as described in any one of claims 1 to 2.
5. A computer-readable storage medium storing a computer program, wherein when the computer program is executed by a processor, the processor executes the DSP local reconstruction method for communication signal recognition processing as described in any one of claims 1 to 2.
6. An information data processing terminal, characterized in that: The information data processing terminal is used to implement the DSP local reconstruction system for communication signal recognition processing as described in claim 3.
