Channel transmitting power control method and device and storage medium
By adopting a method of static storage combined with dynamic storage in the ALC system, the problems of slow response speed and difficult power flatness in the prior art ALC system are solved, and fast power adjustment and efficient channel transmission power control are achieved.
Patent Information
- Application Number
- CN202411950447.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-27
- Publication Date
- 2025-04-11
AI Technical Summary
In the prior art, it is difficult for ALC systems to achieve performance indicators of low complexity and fast response speed, especially in the transmission of high-speed frequency hopping signals, and the system is difficult for the system to respond quickly and achieve power flatness.
The method of static storage combined with dynamic storage is adopted. After each power-on, each transmit frequency point is feedback controlled, and the dynamic storage power reaches the control value required for flatness. When switching to this frequency point again, the dynamic parameter value is called to achieve rapid power adjustment.
Through dynamic storage combined with static storage, it can quickly adapt to different working environments, improve the flatness and response speed of power output, simplify maintenance processes, and improve the robustness and stability of the system.
Smart Images

Figure CN119815482A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of wireless communication technology, and in particular to a channel transmission power control method device and a storage medium. Background Art
[0002] In the design of the ALC control system of the radio signal transmitter, for the emission control of the continuous carrier signal with a fixed frequency, the design difficulty of this type of ALC control system is relatively low because the frequency is fixed, the signal is continuous, and the signal response time requirements are not high. However, with the development of wireless communication technology, in order to adapt to the complex communication environment and prevent the communication performance from being affected by frequency interference and the communication security from being affected by local interception, frequency hopping communication technology has emerged. The frequency hopping communication system can effectively avoid frequency interference and prevent cracking and interception. Different communication systems have different frequency hopping rates. Taking ultra-short wave frequency band communication as an example, there are communication systems with frequency hopping rates ranging from 500 to 5000 hops per second, and some communication systems even have a frequency hopping rate of more than 10,000 hops per second. At the same time, the special feature of frequency hopping communication increases the difficulty of transmitter design. In the transmission of high-speed frequency hopping signals, the transmitter needs to control functional units such as frequency hopping filters, mixers, detectors, and electrically adjustable attenuators. This results in a very short time for ALC control in each piece of data, often only a dozen microseconds, or even shorter. The designed ALC control device and control algorithm are required to have good power flatness and fast response time. In addition, due to the design requirements of the entire communication system, the transmitter is often required to have the ability to transmit at multiple power levels. Therefore, in the design of the ALC system, it is often difficult to achieve performance indicators such as ultra-wideband, large dynamic range, low complexity and fast response speed.
[0003] The prior art discloses a closed-loop ALC control scheme based on the combination of an analog ALC loop and a digital extended power circuit, which realizes an ultra-wideband large dynamic range automatic level control system. The design scheme has a wide operating frequency coverage, a wide input and output dynamic range, and a high resolution, but the entire system design does not consider the response time of the ALC control, and the analog ALC loop design method used has a slow control process response time.
[0004] There is also a similar technology that uses directional couplers, detectors and transport methods to collect feedback signals to control the PIN electrically adjustable attenuator to achieve ALC control. This design does not store the initial calibration value, making it difficult to control the APIN electrically adjustable attenuator with a program. The system has low flexibility and is difficult to achieve multiple power level adjustments. Summary of the invention
[0005] The present invention aims to overcome at least one defect of the above-mentioned prior art and provide a channel transmission power control method device and a storage medium for solving the technical problem that the ALC system design in the prior art is difficult to achieve low complexity and fast response speed.
[0006] The present invention provides a channel transmission power control method, comprising:
[0007] S01, a digital signal input channel transmitting device converts the digital signal into an analog signal through a DAC conversion device;
[0008] S02, mixing the zero intermediate frequency signal through a mixer to the frequency point to be transmitted;
[0009] S03, after the control signal of the channel controller is enabled, the transmission frequency point and channel control parameters are sent to the channel controller;
[0010] S04, the channel controller reads the power control parameters of the transmission frequency point from the storage unit, and waits for the switching frequency enable signal to be valid after the parameter reading is completed;
[0011] S05, when the switching frequency enable signal is valid, the channel controller performs a pre-operation;
[0012] S06. During the power adjustment time, the power detection unit is used to cyclically calculate the power detection value, and compare the real-time power detection value with the target power value after each calculation is completed;
[0013] S07, when the real-time power detection value is equal to the target power value, the power control parameter of the transmission frequency point is stored in the storage unit, and the process goes to S08;
[0014] When the real-time power detection value is not equal to the target power value, the real-time power detection value is adjusted, and then the process returns to S06;
[0015] S08, ending the power adjustment control of the frequency point, and transmitting a radio wave with stable power through the radio frequency air interface after filtering by the analog filtering unit.
[0016] Since during the operation of the communication system, the statically stored control parameters are often parameter values under normal working conditions, and when the working environment changes, each time the static control parameters are called, real-time feedback control is required to achieve the power flatness requirement, which will further shorten the control time of the ALC control system and result in a slow response speed. Therefore, the storage unit in step S04 includes a static storage unit and a dynamic storage unit;
[0017] Each frequency point of the channel transmitting device is calibrated with a power static parameter before leaving the factory, and the power calibration value is stored in the static storage unit;
[0018] The power control parameters after startup are stored in the dynamic storage unit.
[0019] By introducing dynamic storage combined with static storage, after each power-on, the control value for the power flatness requirement in the feedback control of each transmitting frequency point is dynamically stored. When switching to the frequency point again, the dynamic parameter value is called to quickly meet the flatness requirement of power transmission, and the power output is controlled more accurately and quickly to adapt to different working environments, and the maintenance process of the staff is simplified.
[0020] Since the static power parameters stored in the static storage unit are calibrated at the factory and used as the reference value, the storage content of the static storage unit will not be lost after the device is powered off, ensuring the persistence and accuracy of the reference parameter value, reducing the workload and complexity of the staff, and enhancing the stability of the communication system. The power parameters of the dynamic storage unit are real-time power control parameters. Since the rate of the frequency hopping signal is very fast, the parameters are dynamically generated according to the current working environment, so there is no need to continuously store the dynamic storage unit. The dynamic storage content will lose data after power failure, which can more flexibly adapt to changes in the working environment and improve the robustness of the system.
[0021] When the transmitting frequency point is the transmitting frequency point sent down for the first time after the power is turned on, the channel controller reads the power control parameter of the transmitting frequency point from the static storage unit;
[0022] When the transmitting frequency point is not the transmitting frequency point sent for the first time after the power is turned on, the channel controller reads the power control parameter of the transmitting frequency point from the dynamic storage unit.
[0023] In order to achieve accurate control of the channel transmitting device to ensure that the signal can be accurately transmitted to the predetermined evaluation point, it is necessary to perform pre-operation on the channel transmitting device after powering on. The pre-operation in step S05 includes:
[0024] The channel controller controls the mixer to mix the transmission frequency to the corresponding frequency point to meet the communication system's precise requirements for signal frequency. At the same time, it controls the DAC converter to output the initial control voltage of the variable gain amplifier to achieve flexible adjustment of the signal gain to adapt to different working environments and transmission distance requirements, and writes the initial data attenuation parameters to the digitally controlled attenuator to accurately control the attenuation degree of the signal, thereby optimizing the transmission effect and reception quality of the signal.
[0025] In a communication or signal processing system, in order to realize automatic power regulation of a signal and ensure that the output power of the signal is stably maintained near a preset target power value, the comparison between the real-time power detection value and the target power value in step S06 further includes:
[0026] S06.1 When the real-time power detection value is greater than the target value, determine the state of the digital controlled attenuator:
[0027] S06.11 When the digital controlled attenuator has not reached the maximum attenuation value, the digital controlled attenuator is controlled to increase the attenuation value according to the difference between the real-time power detection value and the target power value;
[0028] S06.12 When the digital control attenuation value reaches the maximum attenuation value, the variable gain amplifier is controlled to reduce the signal amplification factor;
[0029] S06.2 When the real-time power detection value is less than the target value, determine the state of the digital controlled attenuator:
[0030] S06.21 When there is an attenuation value in the digital controlled attenuator, the digital controlled attenuator is controlled to reduce the attenuation value according to the difference between the real-time power detection value and the target value;
[0031] S06.22 When there is no attenuation value in the digital controlled attenuator, the variable gain amplifier is controlled to increase the signal amplification factor;
[0032] S06.3 returns the detection value of the calculated power detection unit.
[0033] By monitoring the signal power in real time and dynamically adjusting the parameters of the digitally controlled attenuator and variable gain amplifier based on the difference between the real-time power detection value and the target power value, the channel transmit power control can automatically compensate for power changes caused by environmental changes, equipment aging, or signal source fluctuations, thereby improving the stability and reliability of power control.
[0034] To improve calibration accuracy, the static parameter calibration performs automatic parameter calibration and storage through a frequency sweep power calibration algorithm, which can accurately measure and calibrate the power of each frequency point of the channel transmitting device to ensure that the output power of each frequency point meets the preset standards and requirements.
[0035] The frequency sweep power calibration algorithm includes:
[0036] S21, the frequency sweep control human-machine interface sends the output signal power value to the signal generator;
[0037] S22, the serial port control protocol sends the calibration frequency point and the initial value of the digital controlled attenuator to the channel transmission control device;
[0038] S23, reading the power value of the output signal of the radio frequency output port of the power detection device through the interface;
[0039] S24, adjusting the attenuation value of the digital controlled attenuator and the amplification value of the variable gain amplifier according to the real-time power value;
[0040] S25, controlling the output power within the range required by the target power flatness through closed-loop control;
[0041] S26. When the power output reaches the target value, the attenuation value, the control value of the variable gain and the analog voltage value of the power detection unit obtained by the frequency point calibration are stored in the static storage unit;
[0042] S27, repeat the calibration of the next frequency point until the calibration and storage of the transmission frequency points of the entire frequency band are completed.
[0043] The static parameters are automatically calibrated through the swept frequency power calibration algorithm to reduce manual intervention and improve the efficiency and accuracy of calibration. Automatic parameter calibration can also provide calibration data recording and tracing functions to facilitate subsequent analysis and troubleshooting.
[0044] The frequency sweep control human-machine interface exchanges control information with the power detection device and the signal generator via an Ethernet interface.
[0045] The present invention also provides a channel transmission power control device, comprising:
[0046] Enable module: used to enable control signals for controlling signal transmission;
[0047] Transmitting module: sends the transmitting frequency point and channel control parameters to the channel controller;
[0048] Reading module: reads the power control parameters of the transmitting frequency point from the storage unit;
[0049] Pre-operation module: performs pre-operation through the channel controller;
[0050] Operation module: within the power adjustment time, cyclically calculates the power detection value of the power detection unit, and compares the real-time power detection value with the target power value;
[0051] Storage module: When the real-time power detection value is equal to the target power value, the power control parameter of the transmission frequency point is stored in the storage unit.
[0052] The present invention also includes a non-transitory computer-readable storage medium having a computer program stored thereon, wherein the computer program, when processed and executed, implements the steps of the channel transmission power control method as described in any one of claims 1-8.
[0053] The beneficial effects of the present invention are as follows: a channel transmission power control method, device and storage medium, the channel transmission power control method compares a real-time power detection value with a target power value, adjusts the real-time power detection value through a digitally controlled attenuator and a variable gain amplifier to obtain a target power value, introduces a storage method combining static storage with dynamic storage, and after each power-on, dynamically stores the control value for achieving the flatness requirement of the power in the feedback control of each transmission frequency point, and when switching to the frequency point again, calls the dynamic parameter value, which can quickly meet the flatness requirement of the power transmission, and more accurately and quickly controls the power output to adapt to different working environments and optimize the transmission quality and anti-interference ability of the signal.
[0054] Through automatic static parameter calibration and storage algorithms, the bit error rate is reduced, the time and labor costs required for manual intervention and calibration are reduced, the traceability of data is enhanced, and strong data support is provided for subsequent maintenance, upgrades and troubleshooting, which promotes the development of communication systems in a more efficient, reliable and intelligent direction, providing users with a better communication experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0055] In order to more clearly illustrate the technical solutions in the present invention or the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are 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 It is a schematic diagram of the steps of the channel transmission power control method.
[0057] Figure 2 It is a system block diagram of the channel transmission power control device of Example 1.
[0058] Figure 3 It is a schematic diagram of a state machine for implementing a control method of a channel transmission power control device in Example 1.
[0059] Figure 4 This is a flow chart of the control algorithm of the channel transmission power control device of Example 2.
[0060] Figure 5 Schematic diagram of the steps of the swept frequency power calibration algorithm.
[0061] Figure 6 It is a block diagram of the static parameter calibration system of the channel transmission power control device of Example 3.
[0062] Figure 7 This is a flow chart of the static parameter calibration algorithm of the channel transmission power control device of embodiment 3 DETAILED DESCRIPTION
[0063] In order to make the purpose, technical solution and advantages of the present invention more clear, the embodiments of the present invention will be further described in detail below with reference to the accompanying drawings:
[0064] Example 1: Reference Figure 1 to Figure 3
[0065] Depend on Figure 1 As shown, the present invention provides a channel transmission power control method, comprising:
[0066] S01, a digital signal input channel transmitting device converts the digital signal into an analog signal through a DAC conversion device;
[0067] S02, mixing the zero intermediate frequency signal through a mixer to the frequency point to be transmitted;
[0068] S03, after the control signal of the channel controller is enabled, the transmission frequency point and channel control parameters are sent to the channel controller;
[0069] S04, the channel controller reads the power control parameters of the transmission frequency point from the storage unit, and waits for the switching frequency enable signal to be valid after the parameter reading is completed;
[0070] S05, when the switching frequency enable signal is valid, the channel controller performs a pre-operation;
[0071] S06. During the power adjustment time, the power detection unit is used to cyclically calculate the power detection value, and compare the real-time power detection value with the target power value after each calculation is completed;
[0072] S07, when the real-time power detection value is equal to the target power value, the power control parameter of the transmission frequency point is stored in the storage unit, and the process goes to S08;
[0073] When the real-time power detection value is not equal to the target power value, the real-time power detection value is adjusted, and then the process returns to S06;
[0074] S08, ending the power adjustment control of the frequency point, and transmitting a radio wave with stable power through the radio frequency air interface after filtering by the analog filtering unit.
[0075] Since during the operation of the communication system, the statically stored control parameters are often parameter values under normal working conditions, and when the working environment changes, each time the static control parameters are called, real-time feedback control is required to achieve the power flatness requirement, which will further shorten the control time of the ALC control system and result in a slow response speed. Therefore, the storage unit in step S04 includes a static storage unit and a dynamic storage unit;
[0076] Each frequency point of the channel transmitting device is calibrated with a power static parameter before leaving the factory, and the power calibration value is stored in the static storage unit;
[0077] The power control parameters after startup are stored in the dynamic storage unit.
[0078] By introducing dynamic storage combined with static storage, after each power-on, the control value for the power flatness requirement in the feedback control of each transmitting frequency point is dynamically stored. When switching to the frequency point again, the dynamic parameter value is called to quickly meet the flatness requirement of power transmission, and the power output is controlled more accurately and quickly to adapt to different working environments, and the maintenance process of the staff is simplified.
[0079] Since the static power parameters stored in the static storage unit are calibrated at the factory and used as the reference value, the storage content of the static storage unit will not be lost after the device is powered off, ensuring the persistence and accuracy of the reference parameter value, reducing the workload and complexity of the staff, and enhancing the stability of the communication system. The power parameters of the dynamic storage unit are real-time power control parameters. Since the rate of the frequency hopping signal is very fast, the parameters are dynamically generated according to the current working environment, so there is no need to continuously store the dynamic storage unit. The dynamic storage content will lose data after power failure, which can more flexibly adapt to changes in the working environment and improve the robustness of the system.
[0080] When the transmitting frequency point is the transmitting frequency point sent down for the first time after the power is turned on, the channel controller reads the power control parameter of the transmitting frequency point from the static storage unit;
[0081] When the transmitting frequency point is not the transmitting frequency point sent for the first time after the power is turned on, the channel controller reads the power control parameter of the transmitting frequency point from the dynamic storage unit.
[0082] In order to achieve accurate control of the channel transmitting device to ensure that the signal can be accurately transmitted to the predetermined evaluation point, it is necessary to perform pre-operation on the channel transmitting device after powering on. The pre-operation in step S05 includes:
[0083] The channel controller controls the mixer to mix the transmission frequency to the corresponding frequency point to meet the communication system's precise requirements for signal frequency. At the same time, it controls the DAC converter to output the initial control voltage of the variable gain amplifier to achieve flexible adjustment of the signal gain to adapt to different working environments and transmission distance requirements, and writes the initial data attenuation parameters to the digitally controlled attenuator to accurately control the attenuation degree of the signal, thereby optimizing the transmission effect and reception quality of the signal.
[0084] like Figure 2As shown, after the channel transmitting device is powered on, at the end of the signal transmitting path, the baseband unit first inputs the digital signal to be transmitted into the DAC conversion unit of the channel device, converts the digital signal into an analog signal, and the analog signal is mixed with the zero intermediate frequency signal to the frequency point to be transmitted through the mixer, and then the analog signal transmission power is adjusted to the target value through the variable gain amplifier unit and the digital control attenuation unit. Finally, the signal is processed by the analog filter unit and transmits a radio wave with stable power through the RF air interface.
[0085] At the signal control path end, before the transmission frequency switching is enabled, the control unit of the communication system sends the control parameters to the controller of the signal device. The controller calculates the mixing frequency control data according to the control parameters, reads the control parameters of the initial variable gain amplifier unit and the digitally controlled attenuation unit of the transmission frequency point and the target power value of the power detection unit, controls the mixer switching frequency at the effective moment when the transmission power switching is enabled, outputs the control parameters of the variable gain amplifier unit and the digitally controlled attenuation unit, and then detects the signal transmission power value through the power detection unit within the specified channel adjustment time, controls the variable gain amplifier unit and the digitally controlled attenuation unit in real time, and realizes stable channel power control.
[0086] like Figure 3As shown, when the communication system is powered on, the channel transmission power control device determines in real time whether the channel transmission control signal is enabled. If enabled, the channel control device enters the transmission control state, and the channel control device receives the transmission frequency point and channel control parameters issued by the system. Then it is determined whether the frequency point is the first transmission frequency point issued after the power is turned on. If it is the first transmission frequency point issued, the channel controller reads the power control parameters of the frequency point from the static storage unit. If it is not the first transmission frequency point issued, the channel controller reads the power control parameters of the frequency point from the dynamic storage unit. After the parameter reading is completed, wait for the switching frequency enable signal to be valid. When the switching frequency enable signal is valid, the mixer is controlled to mix the transmission frequency to the corresponding frequency point, control the DAC converter to output the initial control voltage of the variable gain amplifier, and write the initial data attenuation parameter to the digital control attenuator. Then, the power detection value of the power detection unit is cyclically calculated within the power adjustment time specified by the communication system algorithm, and the real-time detection value is compared with the target power value stored in the storage unit after each calculation is completed. When the power detection value is less than the target value, it is determined whether the digital controlled attenuator has an attenuation value. If the attenuation value exists, the digital controlled attenuator is controlled to reduce the attenuation value according to the difference between the detection value and the target power value, and then the power detection value of the power detection unit is calculated. If the attenuation value does not exist, the variable gain amplifier is controlled to increase the signal amplification factor and then the power detection value of the power detection unit is calculated. When the power detection value is greater than the target value, it is determined whether the digital controlled attenuator reaches the maximum attenuation value. If the maximum attenuation value is not reached, the digital controlled attenuator is controlled to increase the attenuation value according to the difference between the detection value and the target power value, and then the power detection value of the power detection unit is calculated. If the maximum attenuation value is reached, the variable gain amplifier is controlled to reduce the signal amplification factor and then the power detection value of the power detection unit is calculated. When the power detection value is equal to the target value, the power control parameter of the frequency point is stored in the dynamic storage unit, and the power adjustment control of the frequency point is ended.
[0087] Example 2: Reference Figure 4
[0088] Compared with Embodiment 1, the difference is that the comparison between the real-time power detection value and the target power value in step S06 further includes:
[0089] S06.1 When the real-time power detection value is greater than the target value, determine the state of the digital controlled attenuator:
[0090] S06.11 When the digital controlled attenuator has not reached the maximum attenuation value, the digital controlled attenuator is controlled to increase the attenuation value according to the difference between the real-time power detection value and the target power value;
[0091] S06.12 When the digital control attenuation value reaches the maximum attenuation value, the variable gain amplifier is controlled to reduce the signal amplification factor;
[0092] S06.2 When the real-time power detection value is less than the target value, determine the state of the digital controlled attenuator:
[0093] S06.21 When there is an attenuation value in the digital controlled attenuator, the digital controlled attenuator is controlled to reduce the attenuation value according to the difference between the real-time power detection value and the target value;
[0094] S06.22 When there is no attenuation value in the digital controlled attenuator, the variable gain amplifier is controlled to increase the signal amplification factor;
[0095] S06.3 returns the detection value of the calculated power detection unit.
[0096] By monitoring the signal power in real time and dynamically adjusting the parameters of the digitally controlled attenuator and variable gain amplifier based on the difference between the real-time power detection value and the target power value, the channel transmit power control can automatically compensate for power changes caused by environmental changes, equipment aging, or signal source fluctuations, thereby improving the stability and reliability of power control.
[0097] The block diagram of the static parameter calibration system of the channel transmission power control device is as follows: Figure 4 As shown in the figure, the calibration system automatically performs frequency sweep power calibration on the channel transmitter before the channel transmitter leaves the factory. The entire calibration system consists of a power frequency sweep calibration device and a channel transmitter control device. The power frequency sweep calibration device includes a frequency sweep control human-machine interface, a power detection device, and a signal generator. During the system power calibration process, the frequency sweep control human-machine interface exchanges control information with the power detection device and the signal generator through the Ethernet interface, and the power frequency sweep calibration device exchanges information with the channel transmitter control device through the serial port protocol.
[0098] Example 3: Reference Figure 5 to Figure 7
[0099] Compared with the above embodiment, the difference is that Figure 5 As shown, the frequency sweep power calibration algorithm includes:
[0100] S21, the frequency sweep control human-machine interface sends the output signal power value to the signal generator;
[0101] S22, the serial port control protocol sends the calibration frequency point and the initial value of the digital controlled attenuator to the channel transmission control device;
[0102] S23, reading the power value of the output signal of the radio frequency output port of the power detection device through the interface;
[0103] S24, adjusting the attenuation value of the digital controlled attenuator and the amplification value of the variable gain amplifier according to the real-time power value;
[0104] S25, controlling the output power within the range required by the target power flatness through closed-loop control;
[0105] S26. When the power output reaches the target value, the attenuation value, the control value of the variable gain and the analog voltage value of the power detection unit obtained by the frequency point calibration are stored in the static storage unit;
[0106] S27, repeat the calibration of the next frequency point until the calibration and storage of the transmission frequency points of the entire frequency band are completed.
[0107] The static parameters are automatically calibrated through the swept frequency power calibration algorithm to reduce manual intervention and improve the efficiency and accuracy of calibration. Automatic parameter calibration can also provide calibration data recording and tracing functions to facilitate subsequent analysis and troubleshooting.
[0108] The frequency sweep control human-machine interface exchanges control information with the power detection device and the signal generator via an Ethernet interface.
[0109] like Figure 6 The figure shows the block diagram of the static parameter calibration system of the channel transmission power control device. The calibration system automatically performs frequency sweep power calibration on the channel transmission device before it leaves the factory. The entire calibration system consists of a power frequency sweep calibration device and a channel transmission control device. The power frequency sweep calibration device includes a frequency sweep control human-machine interface, a power detection device, and a signal generator. During the system power calibration process, the frequency sweep control human-machine interface exchanges control information with the power detection device and the signal generator through the Ethernet interface, and the power frequency sweep calibration device exchanges information with the channel transmission control device through the serial port protocol.
[0110] like Figure 7 As shown, the system starts working after power-on. The sweep frequency control human-machine interface first sends the output signal power value to the signal generator to control the signal generator to output a signal with stable power; then, the calibration frequency point and the initial value of the digital attenuator are sent to the channel transmission control device through the serial port control protocol, and the channel module mixer is controlled to work at this frequency point. The power value of the output signal of the RF output port is detected by the power detection device through the Ethernet interface, and the attenuation value of the digital attenuator and the amplification value of the variable gain are adjusted according to the real-time power value. The output power is controlled within the range required by the target power flatness through closed-loop control. When the power output reaches the target value, the sweep frequency control human-machine interface stores the attenuation value of the frequency point calibration, the control value of the variable gain, and the analog voltage value detected by the power detection unit in the static storage unit (EEPROM memory, which is not lost when the power is off) of the channel transmission control device through the serial port protocol, and then calibrates the next frequency point, and repeats continuously until the calibration and storage of the transmission frequency points of the entire frequency band are completed. The algorithm design is realized by software. In the entire calibration process of the transmission power of the channel transmission control device, only the initial parameters need to be set, and the entire process will be automatically calibrated and stored.
Claims
1. A channel transmission power control method, characterized in that: include: S01, a digital signal input channel transmitting device converts the digital signal into an analog signal through a DAC conversion device; S02, mixing the zero intermediate frequency signal through a mixer to the frequency point to be transmitted; S03, after the control signal of the channel controller is enabled, the transmission frequency point and channel control parameters are sent to the channel controller; S04, the channel controller reads the power control parameters of the transmission frequency point from the storage unit, and waits for the switching frequency enable signal to be valid after the parameter reading is completed; S05, when the switching frequency enable signal is valid, the channel controller performs a pre-operation; S06. During the power adjustment time, the power detection unit is used to cyclically calculate the power detection value, and compare the real-time power detection value with the target power value after each calculation is completed; S07, when the real-time power detection value is equal to the target power value, the power control parameter of the transmission frequency point is stored in the storage unit, and the process goes to S08; When the real-time power detection value is not equal to the target power value, the real-time power detection value is adjusted, and then the process returns to S06; S08, ending the power adjustment control of the frequency point, and transmitting a radio wave with stable power through the radio frequency air interface after filtering by the analog filtering unit.
2. A channel transmission power control method according to claim 1, characterized in that: The storage unit in step S04 includes a static storage unit and a dynamic storage unit; Each frequency point of the channel transmitting device is calibrated with a power static parameter before leaving the factory, and the power calibration value is stored in the static storage unit; The power control parameters after startup are stored in the dynamic storage unit; After the device is powered off, the storage content of the static storage unit is not lost, but the storage content of the dynamic storage unit is lost.
3. A channel transmission power control method according to claim 2, characterized in that: When the transmitting frequency point is the transmitting frequency point sent down for the first time after the power is turned on, the channel controller reads the power control parameter of the transmitting frequency point from the static storage unit; When the transmitting frequency point is not the transmitting frequency point sent for the first time after the power is turned on, the channel controller reads the power control parameter of the transmitting frequency point from the dynamic storage unit.
4. A channel transmission power control method according to claim 1, characterized in that: The pre-operation in step S05 includes: The channel controller controls the mixer to mix the transmission frequency to the corresponding frequency point, controls the DAC converter to output the initial control voltage of the variable gain amplifier, and writes the initial data attenuation parameter to the digitally controlled attenuator.
5. A channel transmission power control method according to claim 4, characterized in that: The comparison between the real-time power detection value and the target power value in step S06 further includes: S06.1 When the real-time power detection value is greater than the target value, determine the state of the digital controlled attenuator: S06.11 When the digital controlled attenuator has not reached the maximum attenuation value, the digital controlled attenuator is controlled to increase the attenuation value according to the difference between the real-time power detection value and the target power value; S06.12 When the digital control attenuation value reaches the maximum attenuation value, the variable gain amplifier is controlled to reduce the signal amplification factor; S06.2 When the real-time power detection value is less than the target value, determine the state of the digital controlled attenuator: S06.21 When there is an attenuation value in the digital controlled attenuator, the digital controlled attenuator is controlled to reduce the attenuation value according to the difference between the real-time power detection value and the target value; S06.22 When there is no attenuation value in the digital controlled attenuator, the variable gain amplifier is controlled to increase the signal amplification factor; S06.3 returns the detection value of the calculated power detection unit.
6. A channel transmission power control method according to claim 2, characterized in that: The static parameter calibration is performed by automatically calibrating and storing the parameters through a frequency sweep power calibration algorithm.
7. A channel transmission power control method according to claim 6, characterized in that: The frequency sweep power calibration algorithm includes: S21, the frequency sweep control human-machine interface sends the output signal power value to the signal generator; S22, the serial port control protocol sends the calibration frequency point and the initial value of the digital controlled attenuator to the channel transmission control device; S23, reading the power value of the output signal of the radio frequency output port of the power detection device through the interface; S24, adjusting the attenuation value of the digital controlled attenuator and the amplification value of the variable gain amplifier according to the real-time power value; S25, controlling the output power within the range required by the target power flatness through closed-loop control; S26. When the power output reaches the target value, the attenuation value, the control value of the variable gain and the analog voltage value of the power detection unit obtained by the frequency point calibration are stored in the static storage unit; S27, repeat the calibration of the next frequency point until the calibration and storage of the transmission frequency points of the entire frequency band are completed.
8. A channel transmission power control method according to claim 7, characterized in that: The frequency sweep control human-machine interface exchanges control information with the power detection device and the signal generator via an Ethernet interface.
9. A channel transmission power control device, characterized in that: include: Enable module: used to enable control signals for controlling signal transmission; Transmitting module: sends the transmitting frequency point and channel control parameters to the channel controller; Reading module: reads the power control parameters of the transmitting frequency point from the storage unit; Pre-operation module: performs pre-operation through the channel controller; Operation module: within the power adjustment time, cyclically calculates the power detection value of the power detection unit, and compares the real-time power detection value with the target power value; Storage module: When the real-time power detection value is equal to the target power value, the power control parameter of the transmission frequency point is stored in the storage unit.
10. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is processed and executed, the steps of the channel transmission power control method according to any one of claims 1 to 8 are implemented.