PPO-based cognitive radar anti-interference strategy adaptive generation method and device
Through the adaptive generation method of cognitive radar anti-jamming strategy based on PPO, the PPO algorithm is used to train the network to generate anti-jamming strategies, which solves the problem of insufficient anti-jamming capability of cognitive radar in complex environments, and achieves fast and accurate anti-jamming and environment The authenticity of modeling.
Patent Information
- Application Number
- CN202410923237.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-10
- Publication Date
- 2024-11-05
- Estimated Expiration
- 2044-07-10
AI Technical Summary
Existing cognitive radars are difficult to quickly and accurately realize anti-interference in complex and real confrontation environments, and the anti-interference strategy selection capabilities are insufficient.
Adaptive generation method of cognitive radar anti-jamming strategy based on PPO is adopted. By obtaining the first echo spectrum, an anti-jamming model including the jammer model and the cognitive radar model is constructed. The actor network and commentator network are trained using the PPO algorithm to generate Anti-interference strategy selection model is used to optimize the center frequency of radar pulses to achieve anti-interference.
It ensures that cognitive radar can quickly and accurately realize anti-interference, and the environmental modeling is closer to the real anti-interference environment, suitable for application in the real anti-interference environment, and realizes the selection of anti-interference parameters for different interference strategies.
Smart Images

Figure CN118897261A_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the field of radar technology, and in particular relates to a method and device for adaptively generating an anti-interference strategy of a cognitive radar based on PPO (Proximal Policy Optimization). Background Art
[0002] Cognitive radar is a radar that improves its performance autonomously by interacting with the environment. It is widely used in increasingly complex cognitive electronic warfare, and its anti-interference capability is also constantly being tested. The anti-interference capability of cognitive radar is determined by the interference recognition capability, anti-interference strategy selection capability, and interference suppression capability. The anti-interference strategy selection capability refers to the ability of the radar to select the appropriate anti-interference strategy when facing various interference strategies.
[0003] However, in a complex real-world confrontation environment, even if cognitive radar has a high ability to select appropriate anti-interference strategies, it is still difficult for cognitive radar to achieve anti-interference quickly and accurately. Summary of the invention
[0004] In order to solve the above problems existing in the prior art, the present invention provides a method and device for adaptively generating an anti-interference strategy of a cognitive radar based on PPO.
[0005] The technical problem to be solved by the present invention is achieved through the following technical solutions:
[0006] A method for adaptively generating an anti-interference strategy of a cognitive radar based on PPO, comprising:
[0007] Acquire a first echo spectrum; wherein the first echo spectrum is an echo spectrum of a cognitive radar;
[0008] inputting the first echo spectrum into an anti-interference strategy selection model, so that the anti-interference strategy selection model adapts to output anti-interference parameters according to the first echo spectrum;
[0009] The anti-interference strategy selection model is trained in the following way:
[0010] Constructing a cognitive radar anti-interference model; wherein the cognitive radar anti-interference model includes a jammer model and a cognitive radar model; the cognitive radar model is configured to continuously transmit radar pulses with variable frequencies; the jammer model is configured to intercept the radar pulses transmitted by the cognitive radar model, and release interference of an adaptive type and adaptive parameters according to the intercepted radar pulses;
[0011] Constructing an actor network and a commentator network; wherein the actor network is used to output the expectation and standard deviation of the behavior implemented by the cognitive radar model according to the second echo spectrum; the commentator network is used to output the reward value that can be obtained by the cognitive radar model implementing the behavior according to the second echo spectrum; wherein the second echo spectrum is the echo spectrum obtained by the jammer model intercepting the radar pulse emitted by the cognitive radar model; the behavior implemented by the cognitive radar model and the center frequency of the radar pulse emitted by it correspond one to one;
[0012] The actor network and the critic network are trained using the PPO algorithm, and the anti-interference strategy selection model is constructed based on the trained actor network.
[0013] Optionally, the jammer model is specifically used to:
[0014] In a first duration of each working cycle, radar pulses are continuously intercepted and stored; in a second duration of each working cycle, adaptive interference is released according to the intercepted radar pulses; the length of the working cycle is equal to the sum of the first duration and the second duration;
[0015] Among them, if the continuously intercepted N cap If the average center frequency of each radar pulse is interfered by the interference released in the previous working cycle, then in the subsequent working cycle, the first duration is reduced by N with a probability of γ1. step radar pulse duration, and increasing the second duration by N step radar pulse duration; where N cap is an integer greater than 1, N step Adjust the steps for duration.
[0016] Optionally, the jammer model releases adaptive jamming according to the intercepted radar pulse, including:
[0017] If the continuously intercepted N cap The range of the center frequency of a radar pulse is less than B tar , then the release center frequency is The bandwidth is B tar The aiming interference; among them, B tar is the aiming interference bandwidth; f c is the center frequency of the radar pulse emitted by the cognitive radar model;
[0018] If the continuously intercepted N cap The range of change of the center frequency of each radar pulse is not less than B tar , then the release center frequency is The bandwidth is B blk The blocking interference ofblk To block the interference bandwidth.
[0019] Optionally, the cognitive radar model emits radar pulses according to time steps; and the using of the PPO algorithm to train the actor network and the commentator network includes:
[0020] In each time step i, the current second echo spectrum is taken as the state s at that time step i i are respectively input into the actor network so that the actor network outputs the expectation and standard deviation of the behavior implemented by the cognitive radar model; a normal distribution behavior probability density function is constructed according to the expectation and the standard deviation, and a behavior a is randomly extracted based on the probability density function i ; for behavior a i Conduct interference suppression effect evaluation to get reward r i , and determine the state s of the next time step i+1 i+1 ;
[0021] The state s of each time step i is i 、Behavior a i , Reward i and the state s of the next time step i+1 i+1 As a state combination (s i ,a i ,r i ,s i+1 ) is stored in the experience buffer; the experience buffer can store up to N cap A combination of states;
[0022] A state combination is randomly extracted from the experience buffer, and the actor network and the critic network are trained according to the extracted state combination.
[0023] Optionally, training the actor network and the critic network according to the extracted state combination comprises:
[0024] Calculating a first loss of the actor network using a first loss function and calculating a second loss of the critic network using a second loss function according to the extracted state combination and the reward value output by the critic network;
[0025] The second loss function is:
[0026] L2(ω)=(r i +γ2V ω (s i+1 )-V ω (s i )) 2 ;
[0027] Among them, γ2 represents the learning rate, ω represents the network weight parameter of the critic network, V ω (s i ) is the input state s to the critic network with network weight parameter ω i When the critic network outputs the reward value, V ω (s i+1 ) is the input state s to the critic network with network weight parameter ω i+1 When , the reward value output by the critic network, L2(ω) is the second loss of the critic network with network weight parameter ω;
[0028] The first loss function is:
[0029]
[0030] in, represents the gradient, log represents the logarithm, and p β (a i |s i ) is the cognitive radar model in state s i When selecting behavior a i The probability, p β (a i |s i ) is calculated using the target probability density function, which is based on the actor network with a network weight parameter β and an input of s i The behavior probability density function is constructed by the expectation and standard deviation of the corresponding output; L1(β) is the first loss of the actor network with the network weight parameter β.
[0031] Optionally, randomly extracting behavior a based on the probability density function i ,include:
[0032] Generate random numbers and calculate the dynamic exploration rate;
[0033] If the dynamic exploration rate is greater than the random number, the behavior a is randomly selected using the probability density function. i ;
[0034] If the dynamic exploration rate is not greater than the random number, the random selection behavior a i ;
[0035] The calculation formula of the dynamic exploration rate is:
[0036] ε=ε end +(ε start -ε end )×exp(-i / 64);
[0037] Among them, εstart is the preset initial exploration rate, ε end is the preset termination exploration rate, exp(·) is the natural exponential function, and ε is the dynamic exploration rate.
[0038] The present invention also provides a PPO-based cognitive radar anti-interference strategy adaptive generation device, comprising: an echo acquisition module and an anti-interference strategy selection model;
[0039] The echo acquisition module is used to acquire a first echo spectrum; wherein the first echo spectrum is an echo spectrum of a cognitive radar;
[0040] The anti-interference strategy selection model is used to adapt and output an anti-interference strategy according to the first echo spectrum;
[0041] The anti-interference strategy selection model is trained in the following way:
[0042] Constructing a cognitive radar anti-interference model; wherein the cognitive radar anti-interference model includes a jammer model and a cognitive radar model; the cognitive radar model is configured to continuously transmit radar pulses with variable frequencies; the jammer model is configured to intercept the radar pulses transmitted by the cognitive radar model, and release interference of an adaptive type and adaptive parameters according to the intercepted radar pulses;
[0043] Constructing an actor network and a commentator network; wherein the actor network is used to output the expectation and standard deviation of the behavior implemented by the cognitive radar model according to the second echo spectrum; the commentator network is used to output the reward value that can be obtained by the cognitive radar model implementing the behavior according to the second echo spectrum; wherein the second echo spectrum is the echo spectrum obtained by the jammer model intercepting the radar pulse emitted by the cognitive radar model; the behavior implemented by the cognitive radar model and the center frequency of the radar pulse emitted by it correspond one to one;
[0044] The actor network and the critic network are trained using the PPO algorithm, and the anti-interference strategy selection model is constructed based on the trained actor network.
[0045] Optionally, the jammer model is specifically used to:
[0046] Continuously transmitting and storing radar pulses during a first duration of each working cycle; releasing adaptive interference according to the intercepted radar pulses during a second duration of each working cycle; the length of the working cycle is equal to the sum of the first duration and the second duration;
[0047] Among them, if the continuously intercepted N capIf the average center frequency of each radar pulse is interfered by the interference released in the previous working cycle, then in the subsequent working cycle, the first duration is reduced by N with a probability of γ1. step radar pulse duration, and increasing the second duration by N step radar pulse duration; where N cap is an integer greater than 1, N step Adjust the steps for duration.
[0048] Optionally, the jammer model releases adaptive jamming according to the intercepted radar pulse, including:
[0049] If the continuously intercepted N cap The range of the center frequency of a radar pulse is less than B tar , then the release center frequency is The bandwidth is B tar The aiming interference; among them, B tar is the aiming interference bandwidth; f c is the center frequency of the radar pulse emitted by the cognitive radar model;
[0050] If N is intercepted continuously cap The range of change of the center frequency of each radar pulse is not less than B tar , then the release center frequency is The bandwidth is B blk The blocking interference of blk To block the interference bandwidth.
[0051] Optionally, the cognitive radar model emits radar pulses according to time steps; and the using of the PPO algorithm to train the actor network and the commentator network includes:
[0052] In each time step i, the current second echo spectrum is taken as the state s at that time step i i are respectively input into the actor network so that the actor network outputs the expectation and standard deviation of the behavior implemented by the cognitive radar model; a normal distribution behavior probability density function is constructed according to the expectation and the standard deviation, and a behavior a is randomly extracted based on the probability density function i ; for behavior a i Conduct interference suppression effect evaluation to get reward r i , and determine the state s of the next time step i+1 i+1 ;
[0053] The state s of each time step i is i 、Behavior a i , Reward i and the state s of the next time step i+1 i+1 As a state combination (si ,a i ,r i ,s i+1 ) is stored in the experience buffer; the experience buffer can store up to N cap A combination of states;
[0054] A state combination is randomly extracted from the experience buffer, and the actor network and the critic network are trained according to the extracted state combination.
[0055] The PPO-based adaptive generation method for cognitive radar anti-interference strategy provided by the present invention has the following beneficial effects:
[0056] (1) In the present invention, the first echo spectrum of the cognitive radar is directly input into the anti-interference strategy selection model, and the anti-interference strategy selection model can adaptively output anti-interference parameters according to the first echo spectrum, thereby ensuring that the cognitive radar can quickly and accurately achieve anti-interference. Specifically, when training the anti-interference strategy selection model, a cognitive radar anti-interference model including a jammer model and a cognitive radar model was constructed; the cognitive radar model was configured to continuously transmit radar pulses with variable frequency; the jammer model was configured to intercept the radar pulses emitted by the cognitive radar model, and release interference of adaptation type and adaptation parameters according to the intercepted radar pulses; on this basis, an actor network and a commentator network were constructed, and the actor network was used to output the expectation and standard deviation of the behavior implemented by the cognitive radar model according to the second echo spectrum; the commentator network was used to output the reward value that can be obtained by the implementation of the behavior of the cognitive radar model according to the second echo spectrum; thus, the actor network and the commentator network were trained using the PPO algorithm, and the anti-interference strategy selection model was constructed based on the trained actor network, so that when the cognitive radar model implements anti-interference by emitting radar pulses, a better center frequency can be selected as the anti-interference parameter for the radar pulses emitted by the cognitive radar model, so that the cognitive radar can quickly and accurately achieve anti-interference.
[0057] (2) When the present invention models the electromagnetic confrontation environment, two working modes are set for the jammer model, including: a reconnaissance mode for continuously intercepting and storing radar pulses, and a jamming mode for releasing adaptive jamming according to the intercepted radar pulses. Therefore, the environmental modeling of the present invention is closer to the real confrontation environment, has a smaller gap with the real confrontation environment, and is suitable for application in the real confrontation environment.
[0058] (3) The present invention sets the action space of the cognitive radar model as the center frequency of the radar pulse, thereby realizing the selection of anti-interference parameters for different interference strategies.
[0059] The present invention will be further described in detail below with reference to the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0060] Figure 1 It is a schematic diagram of the training process of the anti-interference strategy selection model provided by the present invention;
[0061] Figure 2 It is a schematic diagram of the jammer model change working mode provided by the present invention;
[0062] Figure 3 It is a schematic diagram of the interaction between the jammer model and the cognitive radar model provided by the present invention;
[0063] Figure 4 is a schematic diagram of the anti-interference effect of Example 1 provided by the present invention;
[0064] Figure 5 is a schematic diagram of the anti-interference effect of Example 2 provided by the present invention;
[0065] Figure 6 It is a schematic diagram of the anti-interference effect of Example 3 provided by the present invention. DETAILED DESCRIPTION
[0066] The present invention is further described in detail below with reference to specific embodiments, but the embodiments of the present invention are not limited thereto.
[0067] In view of the problem that the existing anti-interference strategy is too dependent on rules and experience and is difficult to meet the anti-interference requirements in a complex electromagnetic interference environment, in order to enable cognitive radar to quickly and accurately achieve anti-interference, an embodiment of the present invention provides a method for adaptively generating an anti-interference strategy for a cognitive radar based on PPO, the method comprising the following steps:
[0068] Step 1: Obtain a first echo spectrum; wherein the first echo spectrum is an echo spectrum of the cognitive radar.
[0069] Step 2: input the first echo spectrum into the anti-interference strategy selection model, so that the anti-interference strategy selection model adapts to output anti-interference parameters according to the first echo spectrum.
[0070] Here, the anti-interference parameter specifically refers to the center frequency of the radar pulse emitted by the cognitive radar.
[0071] In the embodiment of the present invention, the anti-interference strategy selection model is obtained by pre-training, and the training process includes the following steps:
[0072] (1) Constructing a cognitive radar anti-interference model; wherein the cognitive radar anti-interference model includes a jammer model and a cognitive radar model; the cognitive radar model is configured to continuously transmit radar pulses with variable frequency; the jammer model is configured to intercept the radar pulses transmitted by the cognitive radar model and release interference with adaptive types and adaptive parameters according to the intercepted radar pulses.
[0073] In the embodiment of the present invention, the cognitive radar model is modeled as a pulse-frequency agile cognitive radar, which continuously transmits a central frequency of f c A linear frequency modulated pulse with bandwidth B, f c ∈[f start ,f end ], f start Indicates the minimum operating frequency of the radar, f end Indicates the highest operating frequency, the minimum step length of frequency agility is f step The linear frequency modulated pulse emitted by the cognitive radar model can be characterized as:
[0074]
[0075] Among them, t is the time variable, represents the rectangular window signal, T represents the signal pulse width, f c is the center frequency of the radar pulse emitted by the cognitive radar model, B is the bandwidth of the radar pulse, exp(·) is the exponential function, j is the sign of the imaginary part, and Sig is the linear frequency modulation pulse emitted by the cognitive radar model.
[0076] The jammer model is specifically used to: continuously intercept and store radar pulses within the first duration of each working cycle; release adaptive interference according to the intercepted radar pulses within the second duration of each working cycle; the length of the working cycle is equal to the sum of the first duration and the second duration.
[0077] For example, see Figure 2 , assuming that when the jammer mode is initialized, the length of its working cycle is set equal to N per radar pulse length, then its working time in reconnaissance mode is N l The radar pulse length is N, and its working time in the jamming mode is j Radar pulse length, N per =N l +N j .
[0078] It can be understood that the jammer model has two working modes: reconnaissance and interference. In the first duration of each working cycle, the jammer model works in the reconnaissance mode; in the reconnaissance mode, the jammer model continuously intercepts and caches the radar pulses emitted by the cognitive radar model. In the second duration of each working cycle, the jammer model works in the interference mode; in the interference mode, the jammer model releases blocking interference or aiming interference of different frequencies according to the radar pulses intercepted in the first duration. In this way, the environmental modeling of the cognitive radar anti-interference model is closer to the real confrontation environment.
[0079] Among them, if the jammer model continuously intercepts N capThe average center frequency of the radar pulses is interfered by the interference released in the previous working cycle, which means that the interference released by the jammer model before can effectively interfere with the cognitive radar model. Therefore, in the subsequent working cycle, the first duration is reduced by N with a probability of γ1. step radar pulse duration, and increase the second duration by N step radar pulse duration; where N cap is an integer greater than 1, N step Adjust the steps for duration.
[0080] It can be understood that reducing the first duration and increasing the second duration with a probability of γ1 means that this will be done γ1×100 times out of 100 times, rather than reducing the first duration and increasing the second duration every time, 0<γ1<1.
[0081] Therefore, the duration of the jammer model's detection and interference on the cognitive radar model can be adjusted in real time according to the jamming effect.
[0082] The cache space of the jammer model can store a maximum of N cap radar pulses, the corresponding jammer model releases adaptive jamming according to the intercepted radar pulses, including: if N consecutively intercepted cap The range of the center frequency of a radar pulse is less than B tar , then the release center frequency is The bandwidth is B tar The aiming interference; among them, B tar is the aiming interference bandwidth; f c is the center frequency of the radar pulse emitted by the cognitive radar model; if N continuously intercepted cap The range of change of the center frequency of each radar pulse is not less than B tar , then the release center frequency is The bandwidth is B blk The blocking interference of blk To block the interference bandwidth.
[0083] Therefore, the interference emitted by the jammer model is not only variable in interference type but also variable in frequency.
[0084] Among them, the interference signal released by the jammer model in the interference mode can be expressed by the following formula:
[0085]
[0086] Among them, U0 represents the modulation signal amplitude, f j represents the interference center frequency, represents the initial phase that obeys the uniform distribution of [0,2π], U n(t) represents amplitude modulated noise, WGN represents environmental noise, Jam is the interference signal emitted by the jammer model, and this signal is a noise amplitude modulated signal.
[0087] (2) Constructing an actor network and a commentator network; wherein the actor network is used to output the expectation and standard deviation of the behavior implemented by the cognitive radar model according to the second echo spectrum; the commentator network is used to output the reward value that can be obtained by the cognitive radar model implementing the behavior according to the second echo spectrum; wherein the second echo spectrum is the echo spectrum obtained by the jammer model intercepting the radar pulse emitted by the cognitive radar model; the behavior implemented by the cognitive radar model corresponds to the center frequency of the radar pulse it emits; that is, the behavior implemented by the cognitive radar model is defined as the center frequency of the radar pulse emitted by the cognitive radar model.
[0088] In practice, both the actor network and the commentator network can be implemented by constructing a CNN (convolutional neural network), which is not limited in the embodiments of the present invention.
[0089] (3) The actor network and the critic network are trained using the PPO algorithm, and an anti-interference strategy selection model is constructed based on the trained actor network.
[0090] Specifically, the cognitive radar model emits radar pulses according to time steps. Accordingly, the actor network and the commentator network are trained using the PPO algorithm, including:
[0091] (3-1) In each time step i, the current second echo spectrum is taken as the state s at the time step i. i The expected and standard deviation of the behavior implemented by the cognitive radar model are respectively input into the actor network, so that the actor network outputs the expected and standard deviation of the behavior implemented by the cognitive radar model; a normal distribution behavior probability density function is constructed according to the expected and standard deviation, and a behavior a is randomly extracted based on the probability density function i ; for behavior a i Conduct interference suppression effect evaluation to get reward r i , and determine the state s of the next time step i+1 i+1 .
[0092] like Figure 2 As shown in the figure, in each time step i, the actor network will receive the second echo spectrum as the state, and then generate behavior according to the transmitted radar pulse, and generate rewards accordingly. For the jammer model, if it works in reconnaissance mode, the jammer model receives and stores the radar pulse, and does not release the jamming signal. At this time, the stored radar pulse is used as the state of the next time step; if the jammer works in the jamming mode, the jamming signal is released according to the jamming strategy set for the jammer model in the cognitive radar anti-jamming model, and the new echo generated by the superposition of the jamming signal and the radar pulse is used as the state of the next time step.
[0093] Therefore, after defining the states and behaviors in the training process, we can combine the Markov idea and use reinforcement learning to model the anti-interference strategy generation process as a mapping process of reinforcement learning agents, and use the PPO algorithm to train the actor network and the commentator network.
[0094] In one implementation, the behavior a is randomly selected based on the probability density function. i , which may include:
[0095] (a1) Generate random numbers and obtain a pre-configured exploration rate;
[0096] (b1) If the pre-configured exploration rate is greater than the random number, the probability density function is used to randomly extract behavior a i ;
[0097] (c1) If the pre-configured exploration rate is not greater than the random number, the random selection behavior a i .
[0098] In another implementation, in order to improve the convergence speed when training the model, the behavior a is randomly extracted based on the probability density function. i , which may include:
[0099] (a2) Generate random numbers and calculate the dynamic exploration rate;
[0100] (b2) If the dynamic exploration rate is greater than the random number, use the probability density function to randomly select behavior a i ;
[0101] (c2) If the dynamic exploration rate is not greater than the random number, the random selection behavior a i .
[0102] The calculation formula for the above dynamic exploration rate is:
[0103] ε=ε end +(ε start -ε end )×exp(-i / 64);
[0104] Among them, ε start is the preset initial exploration rate, ε end is the preset termination exploration rate, exp(·) is the natural exponential function, ε is the dynamic exploration rate, and i represents the time step.
[0105] In this implementation, an improved ε-greedy strategy is used to provide a wide and accurate behavior space, which can accelerate the convergence of the model.
[0106] In the embodiment of the present invention, for behavior a i Conduct interference suppression effect evaluation to get reward r i, can be set according to whether the cognitive radar model is successfully interfered and by what kind of interference signal. For example, if the cognitive radar model is not interfered by behavior a i The corresponding interference signal is interfered, then the reward r i =5, if the cognitive radar model is a i The corresponding blocking interference signal is interfered, then the reward r i = -5, if the cognitive radar model is a i The corresponding aiming jammer is jammed, then the reward is r i =-10.
[0107] (3-2) The state s of each time step i i 、Behavior a i , Reward i and the state s of the next time step i+1 i+1 As a state combination (s i ,a i ,r i ,s i+1 ) is stored in the experience buffer; the experience buffer can store up to N cap A combination of states;
[0108] Specifically, a first-in-first-out strategy can be used to store state combinations (s i ,a i ,r i ,s i+1 ).
[0109] (3-3) Randomly extract state combinations from the experience buffer, and train the actor network and the critic network based on the extracted state combinations.
[0110] In the embodiment of the present invention, a random sampling strategy can be used to extract state combinations from the experience buffer to train the actor network and the commentator network. It can be understood that with the experience buffer, it is not necessary to evaluate the loss of the actor network and the commentator network and adjust the network parameters at each time step. Instead, a large number of state combinations can be generated in the early stage, and then the loss of the actor network and the commentator network can be evaluated and the network parameters can be adjusted based on the large number of state combinations that have been generated, which can improve the training efficiency.
[0111] Among them, when modeling the anti-interference strategy generation process as a Markov process, it is hoped that the reward value obtained by the behavior implemented by the cognitive radar model can be quantified. In theory, this reward value can be calculated using the state value function, which is expressed as:
[0112]
[0113] Among them, γ2 represents the learning rate, π represents the strategy of selecting the implementation behavior in the state, and V π (·) indicates the return value; s i is the state of the current time step i, r i refers to the reward at the current time step i, Ε π [·] represents the expected return value, S represents the state space, A represents the action (behavior) space, π(a|s) represents the probability that strategy π chooses to implement behavior a in state s, r(s,a) represents the reward obtained by choosing to implement behavior a in state s, and p(s'|s,a) represents the probability that the next state is s' after choosing to implement behavior a in state s.
[0114] However, it is not possible to obtain V π (s'), so the commentator network is used in the embodiment of the present invention to quantify this reward value. Specifically, the commentator network is constructed to predict the reward value of the current state according to the input state (the second echo spectrum). In order to enable the commentator network to accurately predict the reward value, the second loss function can be used to evaluate the prediction performance of the commentator network, so that the network converges. At the same time, the first loss function is used to evaluate the prediction performance of the actor network.
[0115] Specifically, the actor network and the critic network are trained according to the extracted state combination, including: calculating a first loss of the actor network using a first loss function according to the extracted state combination and the reward value output by the critic network, and calculating a second loss of the critic network using a second loss function.
[0116] The second loss function mentioned above is:
[0117] L2(ω)=(r i +γ2V ω (s i+1 )-V ω (s i )) 2 ;
[0118] Among them, γ2 represents the learning rate, ω represents the network weight parameter of the critic network, and V ω (s i ) is the input state s to the critic network with network weight parameter ω i When the critic network outputs the reward value, V ω (s i+1 ) is the input state s to the critic network with network weight parameter ω i+1 When , the reward value output by the critic network, L2(ω) is the second loss of the critic network with network weight parameter ω.
[0119] The first loss function mentioned above is:
[0120]
[0121] in, represents the gradient, log represents the logarithm, and p β (a i |s i ) is the cognitive radar model in state s i When selecting behavior a i The probability, p β (a i |s i ) is calculated using the target probability density function, which is based on the actor network with network weight parameter β and input s i The behavior probability density function is constructed by the expectation and standard deviation of the corresponding output; L1(β) is the first loss of the actor network with the network weight parameter β.
[0122] Therefore, based on the above two loss functions, the back propagation algorithm is used to continuously update the actor network and the critic network until both losses converge below the corresponding thresholds, or the iteration is stopped when a sufficient number of iterations is reached.
[0123] Then, an anti-interference strategy selection model is constructed based on the trained actor network. Specifically, the anti-interference strategy selection model includes a trained actor network and a behavior extraction module; wherein the trained actor network is used to output the expectation and standard deviation of the cognitive radar implementation behavior according to the first echo spectrum, and the behavior extraction module is used to construct a normal distribution behavior probability density function based on the expectation and the standard deviation, and randomly extract behaviors based on the probability density function, determine the corresponding anti-interference parameters according to the behavior, and output the anti-interference parameters, thereby realizing the selection of anti-interference parameters for different interference strategies.
[0124] In the PPO-based adaptive generation method of cognitive radar anti-interference strategy provided by an embodiment of the present invention, the first echo spectrum of the cognitive radar is directly input into the anti-interference strategy selection model, and the anti-interference strategy selection model can adaptively output anti-interference parameters according to the first echo spectrum, thereby ensuring that the cognitive radar can achieve anti-interference quickly and accurately. Specifically, when training the anti-interference strategy selection model, a cognitive radar anti-interference model including a jammer model and a cognitive radar model was constructed; the cognitive radar model was configured to continuously transmit radar pulses with variable frequency; the jammer model was configured to intercept the radar pulses emitted by the cognitive radar model, and release interference of adaptation type and adaptation parameters according to the intercepted radar pulses; on this basis, an actor network and a commentator network were constructed, and the actor network was used to output the expectation and standard deviation of the behavior implemented by the cognitive radar model according to the second echo spectrum; the commentator network was used to output the reward value that can be obtained by implementing the behavior of the cognitive radar model according to the second echo spectrum; thus, after the actor network and the commentator network were trained using the PPO algorithm, an anti-interference strategy selection model was constructed based on the trained actor network, so that when the cognitive radar model implements anti-interference by transmitting radar pulses, a better center frequency can be selected as the anti-interference parameter for the radar pulses emitted by the cognitive radar model, so that the cognitive radar can quickly and accurately achieve anti-interference.
[0125] When the embodiment of the present invention models the electromagnetic confrontation environment, two working modes are set for the jammer model, including: a reconnaissance mode for continuously intercepting and storing radar pulses, and a jamming mode for releasing adaptive interference according to the intercepted radar pulses. As a result, the environmental modeling of the present invention is closer to the real confrontation environment, has a smaller gap with the real confrontation environment, and is suitable for application in the real confrontation environment. The embodiment of the present invention sets the action space of the cognitive radar model to the center frequency of the radar pulse, and realizes the selection of anti-interference parameters for different interference strategies.
[0126] The beneficial effects of the embodiments of the present invention are further illustrated below through simulation experiments.
[0127] Construct cognitive radar anti-interference model: The center frequency of the radar transmission pulse of the cognitive radar model is 8GHz~10GHz, the minimum frequency change step is 15.625MHz, and the bandwidth is 40MHz. The jammer model has two working modes: reconnaissance and interference. When working in the reconnaissance mode, it can intercept all radar signals in the frequency band of 8GHz~10GHz. When working in the interference mode, it will launch aiming interference or blocking interference according to the radar signal intercepted in the reconnaissance mode. If the center frequency variation range of the intercepted radar signal is less than 160MHz, the aiming interference with the average frequency of the center frequency of the intercepted radar signal and a bandwidth of 160MHz will be launched; otherwise, the blocking interference with the average frequency of the center frequency of the intercepted radar signal and a bandwidth of 800MHz will be launched.
[0128] Example 1: Based on the above cognitive radar anti-interference model, an actor network and a commentator network are constructed, and the actor network and the commentator network are trained using the PPO algorithm according to the training method given in the embodiment of the present invention. An anti-interference strategy selection model is constructed based on the trained actor network, and the anti-interference strategy selection model is used to perform anti-interference evaluation. The effect is as follows: Figure 4 shown.
[0129] from Figure 4 It can be seen that the radar pulses generated by the generated radar anti-interference strategy can effectively deceive the jammer. The jammer gradually increases the working time in the reconnaissance mode to obtain more radar pulse information, but it still cannot avoid being deceived by the above strategy. At the same time, the strategy is mature. Only two frequency points are exposed during the radar operation. The jammer only releases aiming interference, and the radar pulse is not interfered.
[0130] Example 2 is a comparative example: based on the above cognitive radar anti-interference model, the DQN algorithm is used to train the Q network. The DQN algorithm is a reinforcement learning algorithm based on deep learning, and its full name is Deep Q-Network. Specifically, the second echo spectrum is used as the state input to the Q network, so that the Q network directly outputs the behavior, and the center frequency of the radar pulse emitted by the cognitive radar model is corrected according to the behavior. After that, the reward is calculated by judging whether the cognitive radar model is interfered, and then the next state is entered; similarly, the state combination (s i ,a i ,r i ,s i+1 ), and store it in the experience buffer, use the state combination stored in the experience buffer to train the Q network, and use the trained Q network as the anti-interference strategy selection model for anti-interference evaluation. The effect is as follows Figure 5 shown.
[0131] from Figure 5It can be seen that the radar pulses generated by the generated strategy have a tendency to deceive the jammer, causing the jammer to gradually increase the working time in the reconnaissance mode to obtain more radar pulse information to avoid being deceived by the above strategy. Due to the immaturity of the strategy, the radar is exposed to more working frequencies, so the jammer releases aiming interference and blocking interference to interfere with the radar pulses, and a small part of the radar pulses are interfered by the jammer.
[0132] Example 3: Using the jammer model in the above cognitive radar anti-jamming model, an anti-jamming experiment is conducted on the random frequency agile cognitive radar. At each time step i, the random frequency agile cognitive radar is in the range [f i-1 -400MHz,f i-1 +400MHz] randomly selects the center frequency of the radar pulse, f i-1 represents the center frequency of the radar pulse in the previous time step. The anti-interference effect of this random frequency agility cognitive radar is as follows: Figure 6 As shown. Figure 6 It can be seen that the random frequency agile cognitive radar is frequently interfered by the blocking interference emitted by the jammer model. It can be seen that under the interference of the same jammer model, the cognitive radar using the anti-interference strategy selection model of the embodiment of the present invention has better anti-interference capability.
[0133] In summary, the PPO-based adaptive generation method for cognitive radar anti-interference strategy provided by the embodiments of the present invention performs better than the existing anti-interference strategy generation algorithm in terms of strategy generation speed and quality.
[0134] The method provided in the embodiment of the present invention can be applied to electronic devices. Specifically, the electronic device can be: a desktop computer, a portable computer, an intelligent mobile terminal, a server, etc. This is not limited here, and any electronic device that can implement the present invention belongs to the protection scope of the present invention.
[0135] Based on the same inventive concept, an embodiment of the present invention further provides a device for adaptively generating an anti-interference strategy of a cognitive radar based on PPO, comprising: an echo acquisition module and an anti-interference strategy selection model;
[0136] An echo acquisition module, used to acquire a first echo spectrum; wherein the first echo spectrum is an echo spectrum of a cognitive radar;
[0137] an anti-interference strategy selection model, used for adapting the output anti-interference strategy according to the first echo spectrum;
[0138] Among them, the anti-interference strategy selection model is trained in the following way:
[0139] Constructing a cognitive radar anti-interference model; wherein the cognitive radar anti-interference model includes a jammer model and a cognitive radar model; the cognitive radar model is configured to continuously transmit radar pulses with variable frequencies; the jammer model is configured to intercept the radar pulses transmitted by the cognitive radar model, and release interference of adaptive types and adaptive parameters according to the intercepted radar pulses;
[0140] Construct an actor network and a commentator network; wherein the actor network is used to output the expectation and standard deviation of the behavior implemented by the cognitive radar model according to the second echo spectrum; the commentator network is used to output the reward value that can be obtained by the cognitive radar model implementing the behavior according to the second echo spectrum; wherein the second echo spectrum is the echo spectrum obtained by the jammer model intercepting the radar pulse emitted by the cognitive radar model; the behavior implemented by the cognitive radar model corresponds to the center frequency of the radar pulse it emits one by one;
[0141] The PPO algorithm is used to train the actor network and the critic network, and an anti-interference strategy selection model is constructed based on the trained actor network.
[0142] Optionally, a jammer model is specifically used to:
[0143] Continuously transmitting and storing radar pulses during the first duration of each working cycle; releasing adaptive interference according to the intercepted radar pulses during the second duration of each working cycle; the length of the working cycle is equal to the sum of the first duration and the second duration;
[0144] Among them, if the continuously intercepted N cap If the average center frequency of each radar pulse is disturbed by the interference released in the previous working cycle, then in the subsequent working cycle, the first duration is reduced by N with a probability of γ1. step radar pulse duration, and increase the second duration by N step radar pulse duration; where N cap is an integer greater than 1, N step Adjust the steps for duration.
[0145] Optionally, a jammer model, which releases adaptive jamming based on intercepted radar pulses, includes:
[0146] If the continuously intercepted N cap The range of the center frequency of a radar pulse is less than B tar , then the release center frequency is The bandwidth is B tar The aiming interference; among them, B tar is the aiming interference bandwidth; f c is the center frequency of the radar pulse emitted by the cognitive radar model;
[0147] If N is intercepted continuouslycap The range of change of the center frequency of each radar pulse is not less than B tar , then the release center frequency is The bandwidth is B blk The blocking interference of blk To block the interference bandwidth.
[0148] Optionally, the cognitive radar model emits radar pulses according to time steps; the actor network and the critic network are trained using the PPO algorithm, including:
[0149] In each time step i, the current second echo spectrum is taken as the state s at that time step i i The expected and standard deviation of the behavior implemented by the cognitive radar model are respectively input into the actor network, so that the actor network outputs the expected and standard deviation of the behavior implemented by the cognitive radar model; a normal distribution behavior probability density function is constructed according to the expected and standard deviation, and a behavior a is randomly extracted based on the probability density function i ; for behavior a i Conduct interference suppression effect evaluation to get reward r i , and determine the state s of the next time step i+1 i+1 ;
[0150] The state s of each time step i is i 、Behavior a i , Reward i and the state s of the next time step i+1 i+1 As a state combination (s i ,a i ,r i ,s i+1 ) into the experience buffer; the experience buffer can store up to N cap A combination of states;
[0151] State combinations are randomly extracted from the experience buffer, and the actor network and the critic network are trained based on the extracted state combinations.
[0152] It should be noted that, for the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.
[0153] It should be noted that the terms "first", "second", etc. are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present disclosure described herein can be implemented in an order other than those illustrated or described herein. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present disclosure. Instead, they are merely examples of devices and methods consistent with some aspects of the present disclosure.
[0154] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" etc. means that the specific features 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 or characteristics described may be combined in any one or more embodiments or examples in a suitable manner. In addition, those skilled in the art may combine and combine the different embodiments or examples described in this specification.
[0155] Although the present application is described herein in conjunction with various embodiments, in the process of implementing the claimed application, those skilled in the art can understand and implement other changes to the disclosed embodiments by viewing the drawings and the disclosed content. In the description of the present invention, the term "comprising" does not exclude other components or steps, "one" or "an" does not exclude multiple situations, and the meaning of "multiple" is two or more, unless otherwise clearly and specifically limited. In addition, certain measures are recorded in different embodiments, but this does not mean that these measures cannot be combined to produce good results.
[0156] The above contents are further detailed descriptions of the present invention in combination with specific preferred embodiments, and it cannot be determined that the specific implementation of the present invention is limited to these descriptions. For ordinary technicians in the technical field to which the present invention belongs, several simple deductions or substitutions can be made without departing from the concept of the present invention, which should be regarded as falling within the protection scope of the present invention.
Claims
1. A method for adaptively generating cognitive radar anti-interference strategies based on PPO, characterized in that: include: Acquire a first echo spectrum; wherein the first echo spectrum is an echo spectrum of a cognitive radar; inputting the first echo spectrum into an anti-interference strategy selection model, so that the anti-interference strategy selection model adapts to output anti-interference parameters according to the first echo spectrum; The anti-interference strategy selection model is trained in the following way: Constructing a cognitive radar anti-interference model; wherein the cognitive radar anti-interference model includes a jammer model and a cognitive radar model; the cognitive radar model is configured to continuously transmit radar pulses with variable frequencies; the jammer model is configured to intercept the radar pulses transmitted by the cognitive radar model, and release interference of an adaptive type and adaptive parameters according to the intercepted radar pulses; Constructing an actor network and a commentator network; wherein the actor network is used to output the expectation and standard deviation of the behavior implemented by the cognitive radar model according to the second echo spectrum; the commentator network is used to output the reward value that can be obtained by the cognitive radar model implementing the behavior according to the second echo spectrum; wherein the second echo spectrum is the echo spectrum obtained by the jammer model intercepting the radar pulse emitted by the cognitive radar model; the behavior implemented by the cognitive radar model and the center frequency of the radar pulse emitted by it correspond one to one; The actor network and the critic network are trained using the PPO algorithm, and the anti-interference strategy selection model is constructed based on the trained actor network.
2. The method for adaptively generating cognitive radar anti-interference strategies based on PPO according to claim 1 is characterized in that: The jammer model is specifically used for: In a first duration of each working cycle, radar pulses are continuously intercepted and stored; in a second duration of each working cycle, adaptive interference is released according to the intercepted radar pulses; the length of the working cycle is equal to the sum of the first duration and the second duration; Among them, if the continuously intercepted N cap If the average center frequency of each radar pulse is interfered by the interference released in the previous working cycle, then in the subsequent working cycle, the first duration is reduced by N with a probability of γ1. step radar pulse duration, and increasing the second duration by N step radar pulse duration; where N cap is an integer greater than 1, N step Adjust the steps for duration.
3. The method for adaptively generating cognitive radar anti-interference strategies based on PPO according to claim 2 is characterized in that: The jammer model releases adaptive jamming according to the intercepted radar pulses, including: If the continuously intercepted N cap The range of the center frequency of a radar pulse is less than B tar , then the release center frequency is The bandwidth is B tar The aiming interference of tar is the aiming interference bandwidth; f c is the center frequency of the radar pulse emitted by the cognitive radar model; If the continuously intercepted N cap The range of change of the center frequency of each radar pulse is not less than B tar , then the release center frequency is The bandwidth is B blk The blocking interference of blk To block the interference bandwidth.
4. The method for adaptively generating cognitive radar anti-interference strategies based on PPO according to claim 1, characterized in that: The cognitive radar model emits radar pulses according to time steps; and the PPO algorithm is used to train the actor network and the commentator network, including: In each time step i, the current second echo spectrum is taken as the state s at that time step i i are respectively input into the actor network so that the actor network outputs the expectation and standard deviation of the implementation behavior of the cognitive radar model; a normal distribution behavior probability density function is constructed according to the expectation and the standard deviation, and a behavior a is randomly extracted based on the probability density function i ; for behavior a i Conduct interference suppression effect evaluation to get reward r i , and determine the state s of the next time step i+1 i+1 ; The state s of each time step i is i 、Behavior a i , Reward i and the state s of the next time step i+1 i+1 As a state combination (s i ,a i ,r i ,s i+1 ) is stored in the experience buffer; the experience buffer can store up to N cap A combination of states; A state combination is randomly extracted from the experience buffer, and the actor network and the critic network are trained according to the extracted state combination.
5. The method for adaptively generating cognitive radar anti-interference strategy based on PPO according to claim 4 is characterized in that: The actor network and the critic network are trained according to the extracted state combination, including: Calculating a first loss of the actor network using a first loss function and calculating a second loss of the critic network using a second loss function according to the extracted state combination and the reward value output by the critic network; The second loss function is: L2(ω)=(r i +γ2V ω (s i+1 )-V ω (s i )) 2 ; Among them, γ2 represents the learning rate, ω represents the network weight parameter of the critic network, V ω (s i ) is the input state s to the commentator network with network weight parameter ω i When the critic network outputs the reward value, V ω (s i+1 ) is the input state s to the commentator network with network weight parameter ω i+1 When , the reward value output by the critic network, L2(ω) is the second loss of the critic network with network weight parameter ω; The first loss function is: in, represents the gradient, log represents the logarithm, and p β (a i |s i ) is the cognitive radar model in state s i When selecting behavior a i The probability, p β (a i |s i ) is calculated using the target probability density function, which is based on the actor network with a network weight parameter β and an input of s i The behavior probability density function is constructed by the expectation and standard deviation of the corresponding output; L1(β) is the first loss of the actor network with the network weight parameter β.
6. The method for adaptively generating cognitive radar anti-interference strategies based on PPO according to claim 4 is characterized in that: Based on the probability density function, the behavior a is randomly selected. i ,include: Generate random numbers and calculate the dynamic exploration rate; If the dynamic exploration rate is greater than the random number, the behavior a is randomly selected using the probability density function. i ; If the dynamic exploration rate is not greater than the random number, the random selection behavior a i ; The calculation formula of the dynamic exploration rate is: e=e end +(e start -e end )×exp(-i / 64); Among them, ε start is the preset initial exploration rate, ε end is the preset termination exploration rate, exp(·) is the natural exponential function, and ε is the dynamic exploration rate.
7. A PPO-based cognitive radar anti-interference strategy adaptive generation device, characterized in that: include: Echo acquisition module and anti-interference strategy selection model; The echo acquisition module is used to acquire a first echo spectrum; wherein the first echo spectrum is an echo spectrum of a cognitive radar; The anti-interference strategy selection model is used to adapt and output an anti-interference strategy according to the first echo spectrum; The anti-interference strategy selection model is trained in the following way: Constructing a cognitive radar anti-interference model; wherein the cognitive radar anti-interference model includes a jammer model and a cognitive radar model; the cognitive radar model is configured to continuously transmit radar pulses with variable frequencies; the jammer model is configured to intercept the radar pulses transmitted by the cognitive radar model, and release interference of an adaptive type and adaptive parameters according to the intercepted radar pulses; Constructing an actor network and a commentator network; wherein the actor network is used to output the expectation and standard deviation of the behavior implemented by the cognitive radar model according to the second echo spectrum; the commentator network is used to output the reward value that can be obtained by the cognitive radar model implementing the behavior according to the second echo spectrum; wherein the second echo spectrum is the echo spectrum obtained by the jammer model intercepting the radar pulse emitted by the cognitive radar model; the behavior implemented by the cognitive radar model and the center frequency of the radar pulse emitted by it correspond one to one; The actor network and the critic network are trained using the PPO algorithm, and the anti-interference strategy selection model is constructed based on the trained actor network.
8. The device for adaptively generating cognitive radar anti-interference strategy based on PPO according to claim 7, characterized in that: The jammer model is specifically used for: Continuously detecting and storing radar pulses during a first duration of each working cycle; and releasing adaptive interference according to the intercepted radar pulses during a second duration of each working cycle; The length of the working cycle is equal to the sum of the first duration and the second duration; Among them, if the continuously intercepted N cap If the average center frequency of each radar pulse is interfered by the interference released in the previous working cycle, then in the subsequent working cycle, the first duration is reduced by N with a probability of γ1. step radar pulse duration, and increasing the second duration by N step radar pulse duration; where N cap is an integer greater than 1, N step Adjust the steps for duration.
9. The PPO-based cognitive radar anti-interference strategy adaptive generator device according to claim 8, characterized in that: The jammer model releases adaptive jamming according to the intercepted radar pulses, including: If the continuously intercepted N cap The range of the center frequency of a radar pulse is less than B tar , then the release center frequency is The bandwidth is B tar The aiming interference of tar is the aiming interference bandwidth; f c is the center frequency of the radar pulse emitted by the cognitive radar model; If N is intercepted continuously cap The range of change of the center frequency of each radar pulse is not less than B tar , then the release center frequency is The bandwidth is B blk The blocking interference of blk To block the interference bandwidth.
10. The method for adaptively generating cognitive radar anti-interference strategy based on PPO according to claim 7, characterized in that: The cognitive radar model emits radar pulses according to time steps; and the PPO algorithm is used to train the actor network and the commentator network, including: In each time step i, the current second echo spectrum is taken as the state s at that time step i i are respectively input into the actor network so that the actor network outputs the expectation and standard deviation of the implementation behavior of the cognitive radar model; a normal distribution behavior probability density function is constructed according to the expectation and the standard deviation, and a behavior a is randomly extracted based on the probability density function i ; for behavior a i Conduct interference suppression effect evaluation to get reward r i , and determine the state s of the next time step i+1 i+1 ; The state s of each time step i is i 、Behavior a i , Reward i and the state s of the next time step i+1 i+1 As a state combination (s i ,a i ,r i ,s i+1 ) is stored in the experience buffer; the experience buffer can store up to N cap A combination of states; A state combination is randomly extracted from the experience buffer, and the actor network and the critic network are trained according to the extracted state combination.
Citation Information
Patent Citations
Method for generating radar intelligent cognitive anti-interference strategy
CN112904290A
Behavior cloning-based interference strategy sensing method
CN116500552A
Interference strategy sensing method based on generative adversarial imitation learning
CN116643242A
Radar device and interference countermeasure detection method for radar device
US20240192310A1
Cited By
Electronic countermeasure double-layer modeling and decision optimization method, system, equipment and medium
CN119805377A
Radar anti-interference strategy generation method based on reinforcement learning
CN120314886A
