A signal modulation method, system, device and computer readable storage medium

By adjusting the gain value of the amplification component to control the peak value of the carrier signal, the problem of noise introduced by signal mixing in quantum measurement and control equipment is solved, and the demodulation performance and signal quality are improved.

CN118381699BActive Publication Date: 2024-09-10INSPUR (SHANDONG) COMPUTER TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410806345.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-06-21
Publication Date
2024-09-10
Estimated Expiration
2044-06-21

AI Technical Summary

Technical Problem

The signal mixing process in quantum measurement and control equipment introduces additional noise and interference, affecting demodulation performance and signal quality.

Method used

By adjusting the gain value of the amplification component, the peak size of the carrier signal is controlled to achieve signal modulation without relying on a mixer to avoid additional noise and interference.

Benefits of technology

Improved demodulation performance and signal quality without additional noise and interference, suitable for signal processing of quantum measurement and control equipment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118381699B
    Figure CN118381699B
Patent Text Reader

Abstract

The present invention discloses a signal modulation method, system, device and computer-readable storage medium, which relates to the field of quantum measurement and control. In order to solve the problem of introducing additional noise and interference into a mixer scheme, the signal modulation method includes: obtaining a carrier signal and an input signal; determining a target gain value based on the carrier signal and the input signal; adjusting the current gain value of an amplifying component to a target gain value, so that the amplifying component adjusts the peak value of the carrier signal according to the target gain value to obtain a modulated signal; the peak value of the adjusted carrier signal follows the input signal. The present invention changes the gain value of the amplifying component through an input signal to control the peak value of the carrier signal, thereby realizing signal modulation. Compared with the modulation scheme of the mixer, there is no problem of additional noise and interference, and the demodulation performance and signal quality are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of quantum measurement and control, and in particular to a signal modulation method, system, device and computer-readable storage medium. Background Art

[0002] With the development of quantum computing, the miniaturization of quantum measurement and control equipment has become an important research direction. The main reason for the miniaturization of quantum measurement and control equipment is the complex signal mixing, filtering and even secondary mixing of quantum measurement and control equipment. In the communication process, the signal needs to be moved from one frequency to another so that it can be easily processed and transmitted between different frequency bands. Mixing technology uses nonlinear elements, such as diodes, to mix the input signal with the local oscillation signal, and obtain the desired output signal through a frequency selection loop or other means. Since the mixer itself may introduce additional noise and interference, this may have an adverse effect on the demodulation performance and signal quality.

[0003] Therefore, how to provide a solution to the above technical problems is a problem that those skilled in the art need to solve at present. Summary of the invention

[0004] The purpose of the present invention is to provide a signal modulation method, system, device and computer-readable storage medium, which can change the gain value of the amplification component by inputting a signal to control the peak value of the carrier signal to achieve signal modulation. Compared with the modulation scheme of the mixer, there is no problem of additional noise and interference, and the demodulation performance and signal quality are improved.

[0005] In order to solve the above technical problems, the present invention provides a signal modulation method, which is applied to a signal modulation device, wherein the signal modulation device includes an amplification component, and the signal modulation method includes:

[0006] Obtaining a carrier signal and an input signal;

[0007] determining a target gain value based on the carrier signal and the input signal;

[0008] The current gain value of the amplifying component is adjusted to the target gain value, so that the amplifying component adjusts the peak value of the carrier signal according to the target gain value to obtain a modulated signal; the peak value of the adjusted carrier signal follows the input signal.

[0009] The process of determining the target gain value based on the carrier signal and the input signal includes:

[0010] determining a peak value of the carrier signal and an amplitude of the input signal;

[0011] Determining the amplitude of the carrier signal according to the peak value of the carrier signal;

[0012] A target gain value is determined based on the amplitude of the input signal and the amplitude of the carrier signal.

[0013] Before determining the target gain value based on the amplitude of the input signal and the amplitude of the carrier signal, the signal modulation method further includes:

[0014] Establishing a preset relationship based on the amplitude of the carrier signal, the frequency, the maximum swing and the amplitude of the input signal;

[0015] The process of determining the target gain value based on the amplitude of the input signal and the amplitude of the carrier signal includes:

[0016] A target gain value is determined based on the preset relationship.

[0017] Wherein, the preset relationship is K=(C / A)×(1+p)×(B×sin(2πft)) / B;

[0018] Among them, K is the target gain value, C is the amplitude of the input signal, A is the amplitude of the carrier signal, f is the frequency of the input signal, p is the modulation coefficient, B is the maximum swing of the input signal, and t is time.

[0019] In order to solve the above technical problems, the present invention further provides a signal modulation system, which is applied to a signal modulation device, wherein the signal modulation device includes an amplification component, and the signal modulation system includes:

[0020] An acquisition module, used for acquiring a carrier signal and an input signal;

[0021] A determination module, configured to determine a target gain value based on the carrier signal and the input signal;

[0022] The adjustment module is used to adjust the current gain value of the amplifying component to the target gain value, so that the amplifying component adjusts the peak value of the carrier signal according to the target gain value to obtain a modulated signal; the peak value of the adjusted carrier signal follows the input signal.

[0023] To solve the above technical problems, the present invention further provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of the signal modulation method as described in any one of the above are implemented.

[0024] In order to solve the above technical problems, the present invention further provides a signal modulation device, comprising:

[0025] A control component, configured to receive a carrier signal and an input signal, determine a target gain value based on the carrier signal and the input signal, and generate a current control signal based on the target gain value;

[0026] an adjusting component, configured to adjust a current gain value of the amplifying component to the target gain value according to the current control signal;

[0027] The amplifying component is used to adjust the peak value of the carrier signal according to the target gain value to obtain a modulated signal; the peak value of the adjusted carrier signal follows the input signal.

[0028] Wherein, the control component comprises:

[0029] A measuring module, used for receiving the carrier signal, measuring the peak value of the carrier signal, and obtaining the amplitude of the carrier signal based on the peak value of the carrier signal;

[0030] A sampling module, used for receiving the input signal and obtaining the amplitude of the input signal;

[0031] A control module is used to determine a target gain value according to the amplitude of the input signal and the amplitude of the carrier signal, and generate a current control signal based on the target gain value.

[0032] Wherein, the control module is further used to store a preset relationship, which is a relationship established based on the amplitude of the carrier signal, the frequency, maximum swing and amplitude of the input signal;

[0033] The process of determining the target gain value according to the amplitude of the input signal and the amplitude of the carrier signal includes:

[0034] The target gain value is determined according to the preset relationship.

[0035] Wherein, the preset relationship is K=(C / A)×(1+p)×(B×sin(2πft)) / B;

[0036] Among them, K is the target gain value, C is the amplitude of the input signal, A is the amplitude of the carrier signal, f is the frequency of the input signal, p is the modulation coefficient, B is the maximum swing of the input signal, and t is time.

[0037] The measuring module is a first analog-to-digital converter, the sampling module is a second analog-to-digital converter, and the sampling rate of the first analog-to-digital converter is greater than the sampling rate of the second analog-to-digital converter.

[0038] Wherein, the amplifying component includes an amplifier, and the adjusting component includes at least one resistance module;

[0039] The first ends of all the resistance modules after being connected are connected to the inverting input end of the amplifier, and the second ends of all the resistance modules after being connected are connected to the output end of the amplifier. Each of the resistance modules is used to be selectively connected between the output end of the amplifier and the inverting input end of the amplifier based on the current control signal.

[0040] Wherein, the current control signal includes a first control signal and a second control signal, and the resistance module includes at least one adjustment resistor and a switch connected to the adjustment resistor in a one-to-one correspondence;

[0041] The switch is configured to be turned on when the first control signal is received and to be turned off when the second control signal is received.

[0042] Wherein, the resistor module includes a plurality of the adjustment resistors, and the plurality of the adjustment resistors are connected in series and / or in parallel.

[0043] Wherein, the amplifying component further includes a power supply, a first resistor, a second resistor and a third resistor, wherein:

[0044] The positive terminal of the power supply is connected to the first end of the first resistor and the non-inverting input terminal of the amplifier, the first end of the second resistor is connected to the inverting input terminal of the amplifier, the first end of the third resistor is connected to the output terminal of the amplifier, the second end of the third resistor outputs a modulation signal, and the negative terminal of the power supply, the second end of the first resistor and the second end of the second resistor are all grounded.

[0045] Wherein, the signal modulation device further includes:

[0046] The filter component is used to filter out the switching noise in the modulated signal output by the amplifying component.

[0047] Wherein, the filtering component includes a bandpass filter.

[0048] Wherein, the signal modulation device further includes:

[0049] A conditioning component, used for processing the modulation signal from which the switching noise is filtered out, to obtain an envelope signal corresponding to the modulation signal, wherein the waveform of the envelope signal is the same as that of the input signal;

[0050] The process of determining the target gain value based on the carrier signal and the input signal includes:

[0051] A target gain value is determined based on the carrier signal and the envelope signal.

[0052] The present invention provides a signal modulation method, which is applied to a signal modulation device. The signal modulation device includes an amplifying component. The signal modulation method includes: acquiring a carrier signal and an input signal; determining a target gain value based on the carrier signal and the input signal; adjusting the current gain value of the amplifying component to the target gain value, so that the amplifying component adjusts the peak value of the carrier signal according to the target gain value to obtain a modulated signal; the peak value of the adjusted carrier signal follows the input signal.

[0053] It can be seen that in practical applications, the scheme of the present invention is adopted to change the gain value of the amplifying component through the input signal to control the peak value of the carrier signal to achieve signal modulation. Compared with the modulation scheme of the mixer, there is no problem of additional noise and interference, thereby improving the demodulation performance and signal quality.

[0054] The present invention also provides a signal modulation device, system and computer-readable storage medium, which have the same beneficial effects as the above-mentioned signal modulation scheme. BRIEF DESCRIPTION OF THE DRAWINGS

[0055] In order to more clearly illustrate the embodiments of the present invention, the following briefly introduces the drawings required for use in the embodiments. 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 paying creative work.

[0056] Figure 1 A flow chart of the steps of a signal modulation method provided by the present invention;

[0057] Figure 2 A schematic diagram of AM modulation provided by the present invention;

[0058] Figure 3 A schematic diagram of an AM modulation waveform provided by the present invention;

[0059] Figure 4 A schematic diagram of the structure of a first signal modulation device provided by the present invention;

[0060] Figure 5 A waveform diagram of a modulation signal provided by the present invention;

[0061] Figure 6 A structural schematic diagram of a signal modulation system provided by the present invention;

[0062] Figure 7 A schematic diagram of the structure of a second signal modulation device provided by the present invention;

[0063] Figure 8 A schematic diagram of the structure of an amplifying component provided by the present invention;

[0064] Fig. 9 This is a structural schematic diagram of an adjustment component provided by the present invention. DETAILED DESCRIPTION

[0065] The core of the present invention is to provide a signal modulation method, system, device and computer-readable storage medium, which changes the gain value of the amplification component through the input signal to control the peak value of the carrier signal to achieve signal modulation. Compared with the modulation scheme of the mixer, there is no problem of additional noise and interference, and the demodulation performance and signal quality are improved.

[0066] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0067] First, please refer to Figure 1 , Figure 1 A flow chart of steps of a signal modulation method provided by the present invention is applied to a signal modulation device, the signal modulation device includes an amplification component, and the signal modulation method includes:

[0068] S101: Acquire a carrier signal and an input signal;

[0069] It can be understood that this embodiment adopts AM (Amplitude Modulation) modulation, referring to Figure 2 As shown, the signal modulation device for AM modulation includes dual input ports and a single output port, wherein the first input port receives the input signal u Ω (t), the second input port is connected to the carrier signal u c (t), AM modulated signal The output port of the modulation device outputs the modulated signal u AM (t). Reference Figure 3 As shown, (a) is the waveform of the input signal, (b) is the waveform of the high-frequency carrier signal, and (c) is the waveform of the modulated signal. Based on the waveform characteristics of (c), it can be found that the frequency of the waveform of (c) is the same as that of (b), and the peak value change of the waveform of (c) is the same as that of (a). Based on this, this embodiment first obtains the input signal and the carrier signal, so that the peak value of the carrier signal can be adjusted by the input signal later, thereby realizing modulation.

[0070] S102: Determine a target gain value based on a carrier signal and an input signal;

[0071] Reference Figure 4As shown, the signal modulation device includes an amplifying component. In this embodiment, the gain value of the amplifying component is adjusted by the input signal, so that the peak value of the carrier signal reaches the function of AM modulation. It can be understood that the amplifying component is used to amplify the carrier signal according to the set gain value. In this embodiment, in order to make the size of the carrier signal follow the input signal, the target gain value of the amplifying component is determined based on the carrier signal and the input signal.

[0072] S103: adjusting the current gain value of the amplifying component to the target gain value, so that the amplifying component adjusts the peak value of the carrier signal according to the target gain value to obtain a modulated signal; the peak value of the adjusted carrier signal follows the input signal.

[0073] In this embodiment, after the current gain value of the amplifying component is adjusted to the target gain value, the amplifying component can adjust the peak value of the carrier signal according to the target gain value, and control the peak value of the carrier signal to achieve the AM modulation function, that is, the peak value of the carrier signal follows the input signal, thereby realizing signal modulation.

[0074] Compared with the frequency mixing technology, this embodiment does not have the problem of additional noise and interference, does not require a special filter for processing, and the output modulated signal gain is large. Compared with the mixer, no additional amplifier is required to process the signal. More importantly, all its devices can be integrated and can be made into an integrated chip.

[0075] It can be seen that in this embodiment, the gain value of the amplifying component is changed by the input signal to control the peak value of the carrier signal to achieve signal modulation. Compared with the modulation scheme of the mixer, there is no additional noise and interference problem, which improves the demodulation performance and signal quality.

[0076] Based on the above embodiments:

[0077] In an exemplary embodiment, the process of determining a target gain value based on a carrier signal and an input signal includes:

[0078] Determine the peak value of the carrier signal and the amplitude of the input signal;

[0079] determining the amplitude of the carrier signal according to the peak value of the carrier signal;

[0080] The target gain value is determined based on the amplitude of the input signal and the amplitude of the carrier signal.

[0081] In order to realize AM amplitude modulation, this embodiment obtains the amplitude of the carrier signal and the input signal. Considering that the high-speed carrier signal is a standard sine wave with a fast frequency and a stable swing, the peak value of the carrier signal can be obtained through a low sampling rate and high-precision analog-to-digital converter to convert the amplitude. Correspondingly, the amplitude of the input signal is sampled by a high sampling rate and high-precision analog-to-digital converter. According to the amplitude of the input signal and the amplitude of the carrier signal pair, the target gain value of the amplification component can be subsequently calculated.

[0082] In an exemplary embodiment, before determining the target gain value based on the amplitude of the input signal and the amplitude of the carrier signal, the signal modulation method further includes:

[0083] Establishing a preset relationship based on the amplitude of the carrier signal, the frequency, the maximum swing and the amplitude of the input signal;

[0084] The process of determining the target gain value based on the amplitude of the input signal and the amplitude of the carrier signal includes:

[0085] The target gain value is determined based on a preset relationship.

[0086] In this embodiment, when determining the target gain value, it is necessary to predetermine the amplitude of the carrier signal and the change of the input signal. The change of the input signal can be determined based on information such as the amplitude and frequency of the input signal. After determining the relevant information of the input signal and the carrier signal, a preset relationship is established based on the above-mentioned relevant information, and the preset relationship is stored in the signal modulation device, so that when performing signal modulation later, the target gain value can be calculated directly through the preset relationship, the carrier signal and the collected input signal.

[0087] In an exemplary embodiment, the preset relationship is K=(C / A)×(1+p)×(B×sin(2πft)) / B;

[0088] Where K is the target gain value, C is the amplitude of the input signal, A is the amplitude of the carrier signal, f is the frequency of the input signal, p is the modulation coefficient, B is the maximum swing of the input signal, and t is time.

[0089] Reference Figure 5 As shown in the figure, the modulation coefficient of AM amplitude modulation of 50% is used as an example, ma=0.5, that is, the amplitude of the modulation signal (envelope) is equal to 50% of the amplitude of the carrier signal and the carrier is adjusted to follow the input signal voltage change. Assuming that the carrier amplitude is A, the waveform information of the input signal is a B×sin(2πft) sine wave, where f is the frequency, the maximum swing is B, the AM amplitude modulation is 50%, and the amplitude of the modulation signal needs to be C, then the target gain value K=(C / A)×(1+p)×(B×sin(2πft)) / B.

[0090] Second, please refer to Figure 6 The present invention also provides a signal modulation system, which is applied to a signal modulation device, wherein the signal modulation device includes an amplification component, and the signal modulation system includes:

[0091] An acquisition module 11, used to acquire a carrier signal and an input signal;

[0092] A determination module 12, configured to determine a target gain value based on a carrier signal and an input signal;

[0093] The adjustment module 13 is used to adjust the current gain value of the amplifying component to a target gain value, so that the amplifying component adjusts the peak value of the carrier signal according to the target gain value to obtain a modulated signal; the peak value of the adjusted carrier signal follows the input signal.

[0094] It can be seen that in this embodiment, the gain value of the amplifying component is changed by the input signal to control the peak value of the carrier signal to achieve signal modulation. Compared with the modulation scheme of the mixer, there is no additional noise and interference problem, which improves the demodulation performance and signal quality.

[0095] In an exemplary embodiment, the process of determining a target gain value based on a carrier signal and an input signal includes:

[0096] Determine the peak value of the carrier signal and the amplitude of the input signal;

[0097] determining the amplitude of the carrier signal according to the peak value of the carrier signal;

[0098] The target gain value is determined based on the amplitude of the input signal and the amplitude of the carrier signal.

[0099] In an exemplary embodiment, the signal modulation system further includes:

[0100] An establishing module, used for establishing a preset relationship based on the amplitude of the carrier signal, the frequency, the maximum swing and the amplitude of the input signal before determining the target gain value based on the amplitude of the input signal and the amplitude of the carrier signal;

[0101] The process of determining the target gain value based on the amplitude of the input signal and the amplitude of the carrier signal includes:

[0102] The target gain value is determined based on a preset relationship.

[0103] In an exemplary embodiment, the preset relationship is K=(C / A)×(1+p)×(B×sin(2πft)) / B;

[0104] Where K is the target gain value, C is the amplitude of the input signal, A is the amplitude of the carrier signal, f is the frequency of the input signal, p is the modulation coefficient, B is the maximum swing of the input signal, and t is time.

[0105] Third, please refer to Figure 7 The present invention also provides a signal modulation device, comprising:

[0106] A control component 21, configured to receive a carrier signal and an input signal, determine a target gain value based on the carrier signal and the input signal, and generate a current control signal based on the target gain value;

[0107] The adjustment component 22 is used to adjust the current gain value of the amplification component 23 to a target gain value according to the current control signal;

[0108] The amplifying component 23 is used to adjust the peak value of the carrier signal according to the target gain value to obtain a modulated signal; the peak value of the adjusted carrier signal follows the input signal.

[0109] In this embodiment, the signal modulation device includes a control component 21, an adjustment component 22 and an amplification component 23. The control component 21 specifically includes an acquisition module (such as a measurement module 211 and a sampling module 212) for acquiring signals and a control module 213 for performing data processing, wherein the acquisition module is used to acquire a carrier signal and an input signal, the control module 213 calculates a target gain value of the amplification component 23 based on the carrier signal and the input signal, and then generates a current control signal based on the target gain value, and the adjustment component 22 is used to respond to the current control signal of the control component 21, and adjust the current gain value of the amplification component 23 to the target gain value, so that the amplification component 23 adjusts the peak value of the carrier signal according to the target gain value to obtain a modulated signal, so that the peak value of the carrier signal follows the input signal, thereby realizing the AM modulation function.

[0110] It can be seen that in this embodiment, the gain value of the amplifier component 23 is changed by the input signal to control the peak value of the carrier signal to achieve signal modulation. Compared with the modulation scheme of the mixer, there is no additional noise and interference problem, which improves the demodulation performance and signal quality.

[0111] In an exemplary embodiment, referring to Figure 7 , the control component 21 includes:

[0112] The measuring module 211 is used to receive the carrier signal, measure the peak value of the carrier signal, and obtain the amplitude of the carrier signal based on the peak value of the carrier signal;

[0113] The sampling module 212 is used to receive an input signal and obtain the amplitude of the input signal;

[0114] The control module 213 is used to determine the target gain value according to the amplitude of the input signal and the amplitude of the carrier signal, and generate a current control signal based on the target gain value.

[0115] In this embodiment, when calculating the target gain value, it is necessary to determine the amplitude of the carrier signal and the change of the input signal. For a high-speed carrier signal, it is a standard sine wave with a faster frequency and a fixed swing. Since this embodiment only needs to obtain the amplitude of the carrier signal, the measurement module 211 can be implemented by a low-sampling-rate and high-precision first analog-to-digital converter. The peak value can be obtained through the first analog-to-digital converter to convert the amplitude. For the input signal, this embodiment needs to determine the amplitude and frequency of the input signal. Therefore, the sampling module 212 can obtain its detailed waveform data after conversion by using a high-sampling-rate and high-precision second analog-to-digital converter. The control module 213 can determine the target gain value based on the amplitude of the carrier signal output by the measurement module 211 and the waveform data of the input signal output by the sampling module 212, and generate the current control signal based on the target gain value. The control module 213 can be specifically implemented by a DSP (Digital Signal Processing) chip.

[0116] In an exemplary embodiment, the control module 213 is further used to store a preset relationship, which is a relationship established based on the amplitude of the carrier signal, the frequency of the input signal, the maximum swing and the amplitude;

[0117] The process of determining the target gain value according to the amplitude of the input signal and the amplitude of the carrier signal includes:

[0118] The target gain value is determined according to a preset relationship.

[0119] In this embodiment, when determining the target gain value, it is necessary to predetermine the amplitude of the carrier signal and the change of the input signal. The change of the input signal can be determined based on information such as the amplitude and frequency of the input signal. After determining the relevant information of the input signal and the carrier signal, a preset relationship is established based on the above-mentioned relevant information, and the preset relationship is stored in the signal modulation device, so that when performing signal modulation later, the target gain value can be calculated directly through the preset relationship, the carrier signal and the collected input signal.

[0120] Take the modulation coefficient of 50% AM amplitude modulation as an example, ma=0.5, that is, the amplitude of the modulation signal (envelope) is equal to 50% of the amplitude of the carrier signal and the carrier is adjusted to follow the input signal voltage change. Assuming that the carrier amplitude is A, the waveform information of the input signal is B×sin(2πft) sine wave, where f is the frequency, the maximum swing is B, and the AM amplitude modulation is 50%. The amplitude of the modulation signal needs to be C, then the target gain value K=(C / A)×(1+p)×(B×sin(2πft)) / B.

[0121] In an exemplary embodiment, the amplification component 23 includes an amplifier, and the adjustment component 22 includes at least one resistance module;

[0122] The first ends of all the resistor modules after being connected are connected to the inverting input end of the amplifier, and the second ends of all the resistor modules after being connected are connected to the output end of the amplifier. Each resistor module is used to be selectively connected between the output end of the amplifier and the inverting input end of the amplifier based on the current control signal.

[0123] Reference Figure 8 As shown, the amplifying component 23 includes an amplifier Auo and its peripheral circuits, and its peripheral circuits include a power supply U S , the first resistor R 01 , the second resistor R 02 and the third resistor R 00 , where: power supply U S The positive terminal and the first resistor R 01 The first end of the second resistor R 02 The first end of the third resistor R is connected to the inverting input terminal of the amplifier Auo, 00 The first end of the third resistor R is connected to the output end of the amplifier Auo, 00 The second end outputs the modulation signal, the power supply U S The negative terminal of the first resistor R 01 The second end and the second resistor R 02 The second ends of are grounded. The amplifying component 23 also includes a feedback resistor. The adjusting component 22 in this embodiment corresponds to the feedback resistor in the amplifying component 23.

[0124] It can be understood that the gain adjustment of the amplifier Auo is based on adjusting the size of its feedback resistance. For the amplifier Auo, Figure 8 As shown, the second resistor R 02 When the feedback resistor R F The size determines the output size of the amplifier.

[0125] In this embodiment, the adjustment component 22 includes at least one resistance module. By adjusting the number of resistance modules connected between the output end of the amplifier Auo and the inverting input end of the amplifier Auo, the feedback resistance R F The size of the resistor module is adjusted to adjust the target gain value of the amplifying component 23. When there are multiple resistor modules, the connection relationship between the multiple resistor modules includes but is not limited to the following: any two resistor modules among the multiple resistor modules can be connected in parallel or in series, one resistor module can also be connected in parallel with multiple resistor modules connected in series, and one resistor module can also be connected in series with multiple resistor modules connected in parallel, so as to further improve the adjustment accuracy. The connection relationship between the resistor modules can be selected according to actual engineering needs, and this embodiment is not limited here.

[0126] In an exemplary embodiment, the current control signal includes a first control signal and a second control signal, and the resistance module includes at least one adjustment resistor and switches connected to the adjustment resistors in a one-to-one correspondence;

[0127] The switch is used to be turned on when a first control signal is received and turned off when a second control signal is received.

[0128] In this embodiment, each resistance module includes at least one adjustment resistor and a switch connected to the adjustment resistor in a one-to-one correspondence. The current control signal output by the control module 213 is used to control the conduction or disconnection of the switch, thereby adjusting the number of resistance modules connected between the output end of the amplifier Auo and the inverting input end of the amplifier Auo, that is, adjusting the resistance value of the feedback resistor. The switch can select a relay. In order to improve integration, the switch can also select a switch tube. This embodiment does not make specific limitations here.

[0129] It can be understood that the resistance values ​​of each resistor module can be different, and the resistance values ​​of the adjustment resistors in each resistor module can also be different. When the resistor module includes multiple adjustment resistors, the multiple adjustment resistors in each resistor module can have the following connection relationship. Any two adjustment resistors can be connected in series or in parallel. One adjustment resistor can be connected in parallel with multiple adjustment resistors connected in series, and one adjustment resistor can be connected in series with multiple adjustment resistors connected in parallel. It can be selected according to actual engineering needs, and this embodiment is not limited here.

[0130] Reference Fig. 9 As shown, taking a feedback resistor network with 15-bit precision as an example, the feedback resistor network includes fifteen adjustment resistors and switches connected to each adjustment resistor in a one-to-one correspondence, wherein the i-1th adjustment resistor Ri and the i-1th switch SWi0 connected to the i-1th adjustment resistor Ri in a one-to-one correspondence are controlled by the j+1th control signal Bj, j=i-2, i=2, 3, ..., 16, as shown in FIG. Fig. 9 As shown, the first adjustment resistor R2 and the first switch SW20 are controlled by the first control signal B0, the second adjustment resistor R3 and the second switch SW30 are controlled by the second control signal B1, and so on. The fifteenth adjustment resistor R16 and the fifteenth switch SW160 are controlled by the fifteenth control signal B14. For example, when the first control signal B0 to the fifteenth control signal B14 are all high levels, the resistance of the entire network is the sum of the resistance values ​​of R2-R16, and when the first control signal B0 to the fifteenth control signal B14 are low levels, the resistance of the entire network is 0. Different level changes of B0-B14 will cause different resistance values ​​of the entire network.

[0131] In an exemplary embodiment, the signal modulation device further includes:

[0132] The filter component 24 is used to filter out the switching noise in the modulated signal output by the amplifying component.

[0133] Considering that the switch feedback resistor matrix, i.e. the adjustment component 22 in this embodiment, has certain switching noise interference, it is easy to introduce unnecessary influence on the entire system, and there is a certain probability that a certain error input will be caused. In order to provide stability of the entire system and eliminate error interference, negative feedback is introduced. The modulated signal is output by the amplifier and then filtered out by a bandpass filter to remove certain switching noise before being output.

[0134] In an exemplary embodiment, the signal modulation device further includes:

[0135] The conditioning component 25 is used to process the modulation signal after filtering out the switching noise to obtain an envelope signal corresponding to the modulation signal, and the waveform of the envelope signal is the same as the waveform of the input signal;

[0136] The process of determining the target gain value based on the carrier signal and the input signal includes:

[0137] A target gain value is determined based on the carrier signal and the envelope signal.

[0138] In this embodiment, the modulated signal is output by the amplifier and then filtered out by a bandpass filter to remove certain switching noise, and then re-sampled by the sampling module 212 after passing through a certain conditioning circuit. It should be noted that the sampling rate of this sampling module 212 is generally unable to reach the level of sampling the modulated signal. At this time, the conditioning component 25 needs to be adjusted. The adjusted modulated signal becomes a low-speed signal with only an envelope, and the shape of this envelope signal is the same as the input signal, so after DSP analysis, the error can be removed and rapid feedback adjustment can be performed.

[0139] In a fourth aspect, the present invention further provides a computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the steps of the signal modulation method described in any one of the above embodiments are implemented.

[0140] For an introduction to a computer-readable storage medium provided in this embodiment, please refer to the above embodiment, and the present invention will not be described in detail here.

[0141] A computer-readable storage medium provided by the present invention has the same beneficial effects as the above-mentioned signal modulation method.

[0142] It should also be noted that, in this specification, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "comprises", "comprising" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the statement "comprising a ..." does not exclude the presence of other identical elements in the process, method, article or device including the element.

[0143] The above description of the disclosed embodiments enables those skilled in the art to implement or use the present invention. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention will not be limited to the embodiments shown herein, but rather to the widest scope consistent with the principles and novel features disclosed herein.

Claims

1. A signal modulation method, characterized in that: Applied to a signal modulation device, the signal modulation device includes an amplification component and an adjustment component, the amplification component includes an amplifier, the adjustment component includes at least one resistance module, the first ends of all the resistance modules are connected to the inverting input end of the amplifier, the second ends of all the resistance modules are connected to the output end of the amplifier, each of the resistance modules is used to selectively connect between the output end of the amplifier and the inverting input end of the amplifier based on the current control signal, the resistance module includes at least one adjustment resistor, and switches connected to the adjustment resistors in a one-to-one correspondence, and the signal modulation method includes: Obtaining a carrier signal and an input signal; determining a target gain value based on the carrier signal and the input signal; Controlling the adjustment component to adjust the current gain value of the amplifying component to the target gain value, so that the amplifying component adjusts the peak value of the carrier signal according to the target gain value to obtain a modulated signal; the peak value of the adjusted carrier signal follows the input signal, and the switch is turned on or off in response to the received current control signal, and the current control signal is generated according to the target gain value; The amplifying component further includes a power supply, a first resistor, a second resistor and a third resistor, wherein: The positive terminal of the power supply is connected to the first end of the first resistor and the non-inverting input terminal of the amplifier, the first end of the second resistor is connected to the inverting input terminal of the amplifier, the first end of the third resistor is connected to the output terminal of the amplifier, the second end of the third resistor outputs a modulation signal, and the negative terminal of the power supply, the second end of the first resistor and the second end of the second resistor are all grounded.

2. The signal modulation method according to claim 1, characterized in that: The process of determining the target gain value based on the carrier signal and the input signal includes: determining a peak value of the carrier signal and an amplitude of the input signal; Determining the amplitude of the carrier signal according to the peak value of the carrier signal; A target gain value is determined based on the amplitude of the input signal and the amplitude of the carrier signal.

3. The signal modulation method according to claim 2, characterized in that: Before determining the target gain value based on the amplitude of the input signal and the amplitude of the carrier signal, the signal modulation method further includes: Establishing a preset relationship based on the amplitude of the carrier signal, the frequency, the maximum swing and the amplitude of the input signal; The process of determining the target gain value based on the amplitude of the input signal and the amplitude of the carrier signal includes: A target gain value is determined based on the preset relationship.

4. The signal modulation method according to claim 3, characterized in that: The preset relationship is K=(C / A)×(1+p)×(B×sin(2πft)) / B; Among them, K is the target gain value, C is the amplitude of the input signal, A is the amplitude of the carrier signal, f is the frequency of the input signal, p is the modulation coefficient, B is the maximum swing of the input signal, and t is time.

5. A signal modulation system, characterized in that: Applied to a signal modulation device, the signal modulation device includes an amplification component and an adjustment component, the amplification component includes an amplifier, the adjustment component includes at least one resistance module, the first ends of all the resistance modules are connected to the inverting input end of the amplifier, the second ends of all the resistance modules are connected to the output end of the amplifier, each of the resistance modules is used to be selectively connected between the output end of the amplifier and the inverting input end of the amplifier based on the current control signal, the resistance module includes at least one adjustment resistor, and switches connected to the adjustment resistors in a one-to-one correspondence, the signal modulation system includes: An acquisition module, used for acquiring a carrier signal and an input signal; A determination module, configured to determine a target gain value based on the carrier signal and the input signal; an adjustment module, configured to control the adjustment component to adjust the current gain value of the amplifying component to the target gain value, so that the amplifying component adjusts the peak value of the carrier signal according to the target gain value to obtain a modulated signal; the peak value of the adjusted carrier signal follows the input signal, the switch is turned on or off in response to the received current control signal, and the current control signal is generated according to the target gain value; The amplifying component further includes a power supply, a first resistor, a second resistor and a third resistor, wherein: The positive terminal of the power supply is connected to the first end of the first resistor and the non-inverting input terminal of the amplifier, the first end of the second resistor is connected to the inverting input terminal of the amplifier, the first end of the third resistor is connected to the output terminal of the amplifier, the second end of the third resistor outputs a modulation signal, and the negative terminal of the power supply, the second end of the first resistor and the second end of the second resistor are all grounded.

6. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the signal modulation method according to any one of claims 1 to 4 are implemented.

7. A signal modulation device, characterized in that: include: A control component, configured to receive a carrier signal and an input signal, determine a target gain value based on the carrier signal and the input signal, and generate a current control signal based on the target gain value; an adjusting component, configured to adjust a current gain value of the amplifying component to the target gain value according to the current control signal; The amplifying component is used to adjust the peak value of the carrier signal according to the target gain value to obtain a modulated signal; The peak value of the adjusted carrier signal follows the input signal; The amplifying component includes an amplifier, and the adjusting component includes at least one resistance module; The first ends of all the resistor modules after being connected are connected to the inverting input end of the amplifier, and the second ends of all the resistor modules after being connected are connected to the output end of the amplifier, and each of the resistor modules is used to be selectively connected between the output end of the amplifier and the inverting input end of the amplifier based on the current control signal; The resistance module includes at least one adjustment resistor and a switch connected to the adjustment resistor in a one-to-one correspondence, and the switch is used to be turned on or off in response to a received current control signal; The amplifying component further includes a power supply, a first resistor, a second resistor and a third resistor, wherein: The positive terminal of the power supply is connected to the first end of the first resistor and the non-inverting input terminal of the amplifier, the first end of the second resistor is connected to the inverting input terminal of the amplifier, the first end of the third resistor is connected to the output terminal of the amplifier, the second end of the third resistor outputs a modulation signal, and the negative terminal of the power supply, the second end of the first resistor and the second end of the second resistor are all grounded.

8. The signal modulation device according to claim 7, characterized in that: The control component comprises: A measuring module, used for receiving the carrier signal, measuring the peak value of the carrier signal, and obtaining the amplitude of the carrier signal based on the peak value of the carrier signal; A sampling module, used for receiving the input signal and obtaining the amplitude of the input signal; A control module is used to determine a target gain value according to the amplitude of the input signal and the amplitude of the carrier signal, and generate a current control signal based on the target gain value.

9. The signal modulation device according to claim 8, characterized in that: The control module is further used to store a preset relationship, which is a relationship established based on the amplitude of the carrier signal, the frequency, maximum swing and amplitude of the input signal; The process of determining the target gain value according to the amplitude of the input signal and the amplitude of the carrier signal includes: The target gain value is determined according to the preset relationship.

10. The signal modulation device according to claim 9, characterized in that: The preset relationship is K=(C / A)×(1+p)×(B×sin(2πft)) / B; Among them, K is the target gain value, C is the amplitude of the input signal, A is the amplitude of the carrier signal, f is the frequency of the input signal, p is the modulation coefficient, B is the maximum swing of the input signal, and t is time.

11. The signal modulation device according to claim 8, characterized in that: The measuring module is a first analog-to-digital converter, the sampling module is a second analog-to-digital converter, and the sampling rate of the first analog-to-digital converter is greater than the sampling rate of the second analog-to-digital converter.

12. The signal modulation device according to claim 7, characterized in that: The current control signal includes a first control signal and a second control signal, and the switch is used to be turned on when the first control signal is received and turned off when the second control signal is received.

13. The signal modulation device according to claim 12, characterized in that: The resistor module includes a plurality of adjustment resistors, and the plurality of adjustment resistors are connected in series and / or in parallel.

14. The signal modulation device according to any one of claims 7 to 13, characterized in that: The signal modulation device also includes: The filter component is used to filter out the switching noise in the modulated signal output by the amplifying component.

15. The signal modulation device according to claim 14, characterized in that: The filtering component includes a bandpass filter.

16. The signal modulation device according to claim 14, characterized in that: The signal modulation device also includes: A conditioning component, used for processing the modulation signal from which the switching noise is filtered out, to obtain an envelope signal corresponding to the modulation signal, wherein the waveform of the envelope signal is the same as that of the input signal; The process of determining the target gain value based on the carrier signal and the input signal includes: A target gain value is determined based on the carrier signal and the envelope signal.