System gain adjusting method and device and electronic equipment

By using PID control algorithm to adjust the system gain in wireless communication systems, the problem of mismatch between system gain and isolation in dynamic environments such as elevators is solved, and the signal coverage effect is optimized and system performance is improved.

CN119854925APending Publication Date: 2025-04-18CHINA TELECOM INTELLIGENT NETWORK TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411922487.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-24
Publication Date
2025-04-18

AI Technical Summary

Technical Problem

In dynamic environments such as elevators, the relative position changes between master and slave equipment lead to mismatch between system gain and isolation, resulting in poor signal coverage effect and reduced system performance.

Method used

By determining the system gain and isolation of the wireless communication system, the PID control algorithm is used to optimize the proportion, integral and differential parameters, calculate the control amount and adjust the system gain to match the desired state between the system gain and isolation.

Benefits of technology

It automatically adapts to the isolation change in the wireless communication system, dynamically adjusts the system gain, optimizes the signal coverage effect and system stability, and avoids system performance degradation caused by the isolation change.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119854925A_ABST
    Figure CN119854925A_ABST
Patent Text Reader

Abstract

The invention discloses a system gain adjusting method and device and electronic equipment. The method comprises the following steps: determining the system gain of the wireless communication system, and determining the expected value of the wireless communication system according to the system gain and a preset value, the expected value being used for representing the expected matching state between the system gain of the wireless communication system and the system isolation; determining the system isolation of the wireless communication system; the control quantity of the wireless communication system is determined according to the expected value and the system isolation degree, and the control quantity is obtained by optimizing a proportional parameter, an integral parameter and a differential parameter in a control algorithm; and adjusting the system gain of the wireless communication system according to the control quantity. The technical problems that the signal coverage effect is poor and the system performance is reduced due to the fact that the system gain and the isolation degree are not matched due to the change of the distance between the master device and the slave device are solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of wireless communication technology, and in particular to a method, device and electronic device for adjusting system gain. Background Art

[0002] In the field of wireless communications, especially for solutions for signal coverage in elevators, a master-slave device separation architecture is usually adopted, in which the master device is responsible for receiving external signal sources and transmitting the signals to the slave devices inside the elevator through cascading to achieve continuous signal coverage. This design performs well in a static environment, but in a dynamic environment such as an elevator, the relative position between the master and slave devices changes as the slave devices move up and down with the elevator, thus affecting the isolation of the system. Changes in isolation will not only weaken the effect of signal coverage and reduce the performance of the overall system, but may also cause system self-excitation, resulting in signal distortion and communication interruption.

[0003] In the related art, the method of dealing with isolation changes mainly relies on the optimization of hardware design, such as the use of high-isolation components and fine installation adjustments, as well as a certain degree of dynamic adjustment through software control. Although these methods are effective, they often have certain limitations in practical applications. For example, the need to rely on specific hardware components, such as high-isolation antennas and filters, not only increases the initial cost of the equipment, but also limits the adaptability of the system in different environments. At the same time, there are high requirements for equipment installation methods and environmental conditions, such as the fixed position of the equipment, the structural characteristics of the elevator shaft, etc., which may be difficult to meet in actual deployment, especially in scenarios where the elevator structure is complex or changes frequently. In addition, due to the complexity of hardware adjustment and software control, the response to isolation changes is often not fast enough, and the system gain cannot be adjusted in real time to adapt to the dynamic changes in isolation.

[0004] To address the above-mentioned problems, no effective solution has been proposed yet. Summary of the invention

[0005] The embodiments of the present application provide a method, device and electronic device for adjusting system gain, so as to at least solve the technical problem of poor signal coverage and reduced system performance caused by mismatch between system gain and isolation due to change in distance between master and slave devices.

[0006] According to one aspect of an embodiment of the present application, a method for adjusting system gain is provided, comprising: determining the system gain of a wireless communication system, and determining an expected value of the wireless communication system based on the system gain and a preset value, wherein the expected value is used to represent an expected matching state between the system gain and the system isolation of the wireless communication system; determining the system isolation of the wireless communication system; determining a control amount of the wireless communication system based on the expected value and the system isolation, wherein the control amount is obtained by optimizing a proportional parameter, an integral parameter and a differential parameter in a control algorithm; and adjusting the system gain of the wireless communication system based on the control amount.

[0007] Optionally, determining the system gain of the wireless communication system includes: determining a first gain in the wireless communication system, wherein the first gain is used to represent the gain of a near-end machine in the wireless communication system; determining a second gain in the wireless communication system, wherein the second gain is used to represent the gain between a far-end machine and a near-end machine in the wireless communication system; and determining the system gain based on the first gain and the second gain.

[0008] Optionally, determining a second gain in a wireless communication system includes: determining a first output power of a near-end machine and a second output power of a far-end machine, wherein the first output power and the second output power are actual powers used to transmit signals during the communication process; determining a control attenuation value generated by an automatic level control technology in the far-end machine, wherein the control attenuation value is an attenuation amount adjusted by the far-end machine to maintain a stable output signal level; and determining a second gain based on the first output power, the second output power and the control attenuation value.

[0009] Optionally, determining the system isolation of the wireless communication system includes: determining a first signal power of a near-end machine and a second signal power of a far-end machine by means of a direct digital frequency synthesis signal, wherein the first signal power and the second signal power are signal powers used to determine a total loss of the wireless communication system; and determining the system isolation based on the first signal power and the second signal power.

[0010] Optionally, adjusting the system gain of the wireless communication system according to the control amount includes: adjusting the isolation attenuation value of the remote device in the wireless communication system according to the control amount, wherein the isolation attenuation value is used to represent the attenuation amount adjusted by the remote device on the received signal.

[0011] Optionally, the method also includes: determining control parameters of the control algorithm, wherein the control parameters include proportional parameters, integral parameters and differential parameters; determining a sampling period of the wireless communication system, and determining a change in isolation of the wireless communication system within the sampling period, wherein the sampling period does not exceed a minimum communication interval of the wireless communication system; obtaining a historical sampling set of the wireless communication system, wherein the historical sampling set includes at least isolation data and gain data of the wireless communication system under different operating conditions; and optimizing the control parameters based on the sampling period, isolation change and historical sampling set.

[0012] Optionally, the method further comprises: performing amplitude limiting binary filtering processing on the proportional parameter, the integral parameter and the differential parameter.

[0013] According to another aspect of an embodiment of the present application, a system gain adjustment device is also provided, including: a first determination module, used to determine the system gain of the wireless communication system, and determine the expected value of the wireless communication system based on the system gain and a preset value, wherein the expected value is used to represent the expected matching state between the system gain and the system isolation of the wireless communication system; a second determination module, used to determine the system isolation of the wireless communication system; a third determination module, used to determine the control amount of the wireless communication system based on the expected value and the system isolation, wherein the control amount is obtained by optimizing the proportional parameter, integral parameter and differential parameter in the control algorithm; an adjustment module, used to adjust the system gain of the wireless communication system based on the control amount.

[0014] According to another aspect of the embodiment of the present application, there is also provided an electronic device, including: a memory and a processor, wherein the memory is used to store program instructions; the processor is connected to the memory and is used to execute the adjustment method for implementing the above-mentioned system gain.

[0015] According to another aspect of the embodiments of the present application, a non-volatile storage medium is provided, the non-volatile storage medium includes a stored computer program, wherein the device where the non-volatile storage medium is located executes the above-mentioned system gain adjustment method by running the computer program.

[0016] According to another aspect of the embodiments of the present application, a computer program product is provided, including computer instructions, which implement the above-mentioned system gain adjustment method when executed by a processor.

[0017] In an embodiment of the present application, the system gain of the wireless communication system is determined, and the expected value of the wireless communication system is determined based on the system gain and a preset value, wherein the expected value is used to represent the expected matching state between the system gain and the system isolation of the wireless communication system; the system isolation of the wireless communication system is determined; the control amount of the wireless communication system is determined based on the expected value and the system isolation, wherein the control amount is obtained by optimizing the proportional parameter, the integral parameter and the differential parameter in the control algorithm; the system gain of the wireless communication system is adjusted based on the control amount, so as to achieve the purpose of automatically adapting to the isolation change in the wireless communication system to dynamically adjust the system gain, thereby achieving the technical effect of optimizing the signal coverage effect and enhancing the system stability, and further solving the technical problem of poor signal coverage effect and reduced system performance caused by the mismatch between the system gain and the isolation due to the change in the distance between the master and slave devices. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] The drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:

[0019] Figure 1 is a hardware structure diagram of a computer terminal for implementing a method for adjusting system gain according to an embodiment of the present application;

[0020] Figure 2 is a flow chart of a method for adjusting system gain according to an embodiment of the present application;

[0021] Figure 3 is a schematic diagram of a principle of a system gain adjustment mechanism according to an embodiment of the present application;

[0022] Figure 4 is a schematic diagram of a system architecture according to an embodiment of the present application;

[0023] Figure 5 is a flow chart of another method for adjusting system gain according to an embodiment of the present application;

[0024] Figure 6 It is a structural diagram of a system gain adjustment device according to an embodiment of the present application. DETAILED DESCRIPTION

[0025] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present application.

[0026] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0027] First, some nouns or terms that appear in the process of explaining the embodiments of the present application are subject to the following explanations:

[0028] PID control (Proportional-Integral-Derivative Control): A commonly used feedback control algorithm used in automated process control. It calculates the deviation between the current measured value and the expected value, and uses the three controller parameters of proportion (P), integral (I), and derivative (D) to adjust the control quantity, thereby achieving the purpose of reducing the deviation and making the system run stably. The PID controller can handle the dynamic response of the system and adapt to environmental changes. It is an important tool in industrial control.

[0029] System gain: refers to the ability of a system or circuit to amplify the input signal, usually expressed as the ratio of the output signal to the input signal. In wireless communication systems, system gain can be understood as the signal strength amplification factor from the signal source to the final receiving point, which is determined by the amplification effect of multiple components, such as amplifiers, antennas, etc.

[0030] System isolation: An indicator that measures the degree of mutual interference between two signal paths in a system, usually referring to the ratio of signal leakage from one port to another. In wireless communication systems, high isolation means less signal interference between the master and slave devices, which is conducive to clear signal transmission and stable operation of the system.

[0031] Near-end and far-end: The near-end is usually located at the signal input end of the wireless communication network. It is responsible for receiving the signal and converting it into a form suitable for transmission, such as an intermediate frequency signal, and then sending it to the far-end. The far-end is located at the final output end of the signal and is responsible for restoring the signal transmitted by the near-end into a radio frequency signal for covering the target area. In the elevator coverage solution, the near-end is usually installed at the top of the elevator shaft, while the far-end is located inside or at the bottom of the elevator, changing with the movement of the elevator.

[0032] DDS (Direct Digital Synthesis): A digital direct synthesis signal, commonly used in signal generators, frequency sources and communication systems. In this application, the DDS signal is loaded on the RF sideband to monitor and adjust the isolation of the system. By measuring the output power of the DDS signal at the far-end machine and the power at the near-end machine's receiving port, the change in system isolation can be estimated.

[0033] ALC (Automatic Level Control): An electronic signal processing technology used to automatically adjust the signal level to keep it within a preset range. In a communication system, ALC can prevent the signal from being too strong or too weak, ensuring the stability and quality of signal transmission. In this application, the ALC control attenuation value of the remote unit is also taken into account in the calculation of the system gain to more accurately adjust the system performance.

[0034] In order to solve the problem of mismatch between system gain and isolation change in the related art, the present application embodiment provides a method for adjusting system gain, which can be run on Figure 1 In the computer terminal shown, the computer terminal is described below.

[0035] The system gain adjustment method embodiment provided in the embodiment of the present application can be executed in a mobile terminal, a computer terminal or a similar computing device. Figure 1 FIG. 1 shows a hardware structure block diagram of a computer terminal for implementing a method for adjusting system gain. Figure 1 As shown, the computer terminal 10 may include one or more (102a, 102b, ..., 102n are used to illustrate) processors (the processor may include but is not limited to a processing device such as a microprocessor MCU or a programmable logic device FPGA), a memory 104 for storing data, and a transmission module 106 for communication functions connected via a wired and / or wireless network. In addition, it may also include: a display, a keyboard, a cursor control device, an input / output interface (I / O interface), a universal serial bus (USB) port (which may be included as one of the ports of the I / O interface), a network interface, and a BUS bus. Those skilled in the art can understand that Figure 1 The structure shown is only for illustration and does not limit the structure of the above electronic device. Figure 1 More or fewer components as shown, or with Figure 1 Different configurations are shown.

[0036] It should be noted that the one or more processors and / or other data processing circuits described above may generally be referred to herein as "data processing circuits". The data processing circuits may be embodied in whole or in part as software, hardware, firmware, or any other combination thereof. In addition, the data processing circuit may be a single independent processing module, or may be incorporated in whole or in part into any of the other components in the computer terminal 10. As described in the embodiments of the present application, the data processing circuit acts as a processor control (e.g., selection of a variable resistor terminal path connected to an interface).

[0037] The memory 104 can be used to store software programs and modules of application software, such as the program instructions / data storage device corresponding to the method for adjusting the system gain in the embodiment of the present application. The processor executes various functional applications and data processing by running the software programs and modules stored in the memory 104, that is, the method for adjusting the system gain described above is realized. The memory 104 may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 104 may further include a memory remotely arranged relative to the processor, and these remote memories may be connected to the computer terminal 10 via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0038] The transmission module 106 is used to receive or send data via a network. The specific example of the above network may include a wireless network provided by a communication provider of the computer terminal 10. In one example, the transmission module 106 includes a network adapter (Network Interface Controller, NIC), which can be connected to other network devices through a base station so as to communicate with the Internet. In one example, the transmission module 106 can be a radio frequency (RF) module, which is used to communicate with the Internet wirelessly.

[0039] The display may be, for example, a touch screen liquid crystal display (LCD) that enables a user to interact with a user interface of the computer terminal 10 .

[0040] It should be noted that, in some optional embodiments, the above Figure 1The computer terminal shown may include hardware elements (including circuits), software elements (including computer code stored on a computer-readable medium), or a combination of hardware elements and software elements. It should be noted that Figure 1 This is merely one example of a particular embodiment and is intended to illustrate the types of components that may be present in the computer terminal described above.

[0041] In the above operating environment, an embodiment of the present application provides an embodiment of a method for adjusting system gain. It should be noted that the steps shown in the flowchart in the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although the logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.

[0042] Figure 2 is a flow chart of a method for adjusting system gain according to an embodiment of the present application, such as Figure 2 As shown, the method comprises the following steps:

[0043] Step S202, determining the system gain of the wireless communication system, and determining the expected value of the wireless communication system according to the system gain and a preset value, wherein the expected value is used to represent the expected matching state between the system gain and the system isolation of the wireless communication system.

[0044] In the above step S202, the system gain is the amplification capability of the signal from the input end to the output end, which reflects the transmission efficiency of the signal in the wireless communication system (a wireless cascade system). The expected value is the ideal gain level of the system under the current isolation change, which is used for the PID algorithm to adjust the system gain. In the present application, the expected value is determined by adding a fixed value (i.e., the above preset value) to the system gain, and this fixed value takes into account the relationship between the gain and isolation of the system during normal operation.

[0045] Step S204: determining the system isolation degree of the wireless communication system.

[0046] In the above step S204, by monitoring the ratio of signal leakage from one endpoint to a non-target endpoint in the wireless communication system, i.e., the system isolation, the influence of the relative position change between the master and slave devices on the signal transmission can be understood in real time. In the elevator signal coverage scenario, the movement of the remote device will cause the distance between it and the near-end device to change, thereby affecting the system isolation. By continuously monitoring this parameter, it is helpful to adjust the system gain in time.

[0047] Step S206, determining a control amount of the wireless communication system according to the expected value and the system isolation, wherein the control amount is obtained by optimizing a proportional parameter, an integral parameter and a differential parameter in the control algorithm.

[0048] In the above step S206, the control amount is determined by an optimized control algorithm (such as a PID control algorithm). Specifically, the PID algorithm uses three parameters, namely, proportional (P), integral (I) and differential (D), to calculate the control amount based on the deviation between the current measured value (system isolation) and the expected value, and guides the system on how to adjust the gain to achieve the best match between the isolation represented by the expected value and the gain. In this process, the proportional parameter, integral parameter and differential parameter in the PID algorithm need to be finely adjusted to adapt to actual environmental changes, avoid over-adjustment or under-adjustment, and ensure stable operation of the system.

[0049] Step S208: adjusting the system gain of the wireless communication system according to the control amount.

[0050] In the above step S208, according to the calculated control amount, the system will automatically adjust its system gain to compensate for the change in system isolation and ensure that the signal coverage quality is not affected. This adjustment method can form a closed-loop control mechanism in the system, by constantly comparing the current state with the expected state, iteratively optimizing the system gain, thereby achieving stable signal coverage in a dynamic environment.

[0051] Through the above steps S202 to S208, the purpose of automatically adapting to the isolation change in the wireless communication system to dynamically adjust the system gain is achieved, thereby achieving the technical effect of optimizing the signal coverage effect and enhancing the system stability, thereby solving the technical problem of poor signal coverage and reduced system performance caused by the mismatch between the system gain and the isolation due to the change in the distance between the master and slave devices. The following is a detailed description.

[0052] Figure 3 FIG. 1 is a schematic diagram showing the principle of a system gain adjustment mechanism according to an embodiment of the present application. Figure 3 As shown in the figure, the application process of a closed-loop PID control system in a wireless communication system is intuitively demonstrated. Specifically, in the initial state, the system starts the control process based on the difference between the current isolation and the expected isolation target value. The controller, that is, the PID algorithm in the remote machine, calculates the control quantity based on this difference, and the control quantity indicates the degree of isolation attenuation that needs to be adjusted. The actuator responds to the control signal and adjusts the isolation attenuation value (ATT value) of the remote machine, thereby affecting the overall gain of the system. The controlled object is the entire wireless communication system, and its isolation is a key parameter that the PID algorithm needs to maintain stability. The expected value is the ideal system gain set when the system is designed plus a fixed value, while the measured value is the actual measured system isolation.

[0053] It should be noted that this adjustment process is not a one-time process, but through a continuous feedback mechanism, the system continuously detects the new isolation and compares it with the expected value again to form a closed-loop control process. When the remote ATT increases, the system gain decreases, which in turn increases the target value, and vice versa, thereby ensuring that the system state is continuously optimized to the expected state. Through continuous feedback design, the PID algorithm can dynamically adjust the control amount according to the control error (that is, the difference between the measured value and the expected value), ultimately ensuring the match between the system isolation and the system gain, effectively avoiding the system self-excitation phenomenon, and maintaining the signal coverage quality and system performance stability.

[0054] In the above step S202, the system gain of the wireless communication system is determined, including: determining a first gain in the wireless communication system, wherein the first gain is used to represent the gain of the near-end machine in the wireless communication system; determining a second gain in the wireless communication system, wherein the second gain is used to represent the gain between the far-end machine and the near-end machine in the wireless communication system; and determining the system gain based on the first gain and the second gain.

[0055] Optionally, determining a second gain in a wireless communication system includes: determining a first output power of a near-end machine and a second output power of a far-end machine, wherein the first output power and the second output power are actual powers used to transmit signals during the communication process; determining a control attenuation value generated by an automatic level control technology in the far-end machine, wherein the control attenuation value is an attenuation amount adjusted by the far-end machine to maintain a stable output signal level; and determining a second gain based on the first output power, the second output power and the control attenuation value.

[0056] Figure 4 Schematic diagram of a system architecture according to an embodiment of the present application. Figure 4 As shown in the figure, in the wireless cascade system, the communication mechanism within the system is demonstrated through the interaction of three types of signals: DDS signal (used to monitor isolation), intermediate frequency signal (used for transmission) and RF signal (used for signal coverage). The measurement of isolation depends on the difference between the output power of the DDS signal at the far-end unit and the received power at the near-end unit, while the system gain is composed of the internal gain of the near-end unit (near-end gain) and the gain experienced by the signal during transmission from the near-end unit to the far-end unit (far-near-end output gain), the latter of which also takes into account the control attenuation value generated by the ALC automatic level control technology in the far-end unit.

[0057] In the embodiment of the present application, the system gain consists of two parts: the first gain and the second gain, namely, the internal gain of the near-end unit and the transmission gain from the near-end unit to the far-end unit. Specifically, the first gain quantifies the signal amplification performance of the near-end unit itself, while the second gain comprehensively considers the actual power change of the signal during the transmission from the near-end unit to the far-end unit and the signal attenuation actively controlled by the far-end unit through the ALC technology.

[0058] Among them, determining the second gain is a complex process involving multi-factor analysis. First, it is necessary to measure the first output power of the near-end machine and the second output power of the far-end machine. These two powers represent the energy status of the two ends of the communication link in the actual signal transmission. Then, the control attenuation value is obtained through the ALC technology in the far-end machine. The role of ALC is to dynamically adjust the level of the output signal to achieve stable transmission. Finally, the second gain is determined by the difference between the first output power and the second output power, plus the ALC control attenuation value. This gain calculation method fully considers the attenuation and loss that may be encountered during signal transmission, as well as the power adjustment made by the far-end machine to maintain signal stability, ensuring the comprehensiveness and accuracy of the system gain evaluation.

[0059] By combining the first gain with the second gain, the overall gain of the wireless communication system can be accurately determined. This gain determination method based on actual signal transmission power and remote ALC control technology provides a solid data foundation for the subsequent use of PID algorithm to automatically adjust the system gain to adapt to changes in isolation.

[0060] In the above step S204, the system isolation of the wireless communication system is determined, including: determining the first signal power of the near-end machine and the second signal power of the far-end machine through a direct digital frequency synthesis signal, wherein the first signal power and the second signal power are signal powers used to determine the total loss of the wireless communication system; and determining the system isolation based on the first signal power and the second signal power.

[0061] In the embodiment of the present application, the signal transmission efficiency between the near-end machine and the far-end machine, that is, the system isolation, can be achieved by measuring the first signal power of the DDS signal at the near-end machine and the second signal power at the far-end machine. The first signal power represents the energy level of the DDS signal when it is output from the near-end machine, while the second signal power reflects the actual power of the signal after it reaches the far-end machine through the transmission path and is processed.

[0062] By comparing the first signal power of the near-end machine with the second signal power of the far-end machine, the total loss of the signal during transmission from the near-end machine to the far-end machine can be calculated, that is, the system isolation. This calculation process quantifies the attenuation of signal transmission in the wireless communication system and is an important basis for evaluating signal integrity, system performance, and subsequent PID algorithm adjustment strategies. The determination of system isolation not only covers the inherent loss of the signal transmission path, but also comprehensively considers the impact of the system's internal signal processing steps (such as ALC automatic level control) on signal strength, thereby obtaining an indicator that fully reflects the system's signal transmission efficiency.

[0063] In the above step S206, it also includes: determining control parameters of the control algorithm, wherein the control parameters include proportional parameters, integral parameters and differential parameters; determining a sampling period of the wireless communication system, and determining a change in isolation of the wireless communication system within the sampling period, wherein the sampling period does not exceed a minimum communication interval of the wireless communication system; obtaining a historical sampling set of the wireless communication system, wherein the historical sampling set at least includes isolation data and gain data of the wireless communication system under different working conditions; and optimizing the control parameters according to the sampling period, isolation change and historical sampling set.

[0064] In the embodiment of the present application, the process of optimizing control parameters is an indispensable part of closed-loop control. It ensures that the PID algorithm can cope with various working conditions in the actual wireless communication system, and achieves the best signal transmission effect by adjusting the isolation attenuation in real time. The specific steps can be as follows:

[0065] S1. Initialize the control parameters of the PID algorithm, including the proportional parameter (P), integral parameter (I) and differential parameter (D). These parameters are crucial to the performance of the PID control algorithm and directly affect the controller's response speed to system changes, stability and sensitivity to measurement errors.

[0066] S2. Select a suitable sampling period to sample the data. The selection of the sampling period needs to take into account the constraint of the minimum communication interval between the master and slave devices in the wireless communication system. The sampling period cannot exceed this interval to ensure the real-time and effectiveness of the control. The time interval used in this application is 2 seconds, which can meet the needs of dynamic adjustment in most cases while maintaining the response speed of the system.

[0067] S3. Determine the current isolation change of the system based on the set time interval. In application scenarios such as elevator signal coverage, the isolation will change over time due to the movement of the slave device. Determining the current isolation change is the basis for optimizing PID parameters, which reflects the amplitude and frequency of the system's dynamic changes and is the basis for the control algorithm to adjust the gain.

[0068] S4. In the process of optimizing actual parameters, the construction of the engineering environment requires a large investment, and the determination of parameters requires many iterations of optimization. In order to facilitate the optimization and iterative analysis of parameters in engineering, a simulation data set needs to be established. Actual engineering sampling is performed on various typical situations of the target scene, and the corresponding (historical) data sampling set is established.

[0069] S5. Using the data in the historical sampling set, combined with the determined sampling period and the change of system isolation, the parameters of the PID control algorithm can be optimized. Specifically:

[0070] For the proportional parameters, you can increase and decrease the proportional parameters to find a value that allows the system to respond quickly to changes without excessive oscillation. For example, first optimize the proportional parameters in the proportional controller and remove the integral and differential terms in the controller. Then, optimize the model in the actual project, gradually increase the proportional parameters until the control system oscillates, and then reduce the proportional parameters until the system isolation no longer oscillates. Repeat several times and record the corresponding proportional parameters.

[0071] For the integral parameters, the integral time can be set to balance the accumulation of long-term errors and the stability of the control system. For example, after completing the optimization of the proportional control parameters, a larger integral time is set, and then the integral time is gradually reduced. Since continuous sampling cannot be performed in actual engineering, the minimum integral time designed here is not less than the minimum sampling period. At the same time, the integral parameters cannot be controlled by static data, and dynamic data needs to be introduced, that is, the remote end needs to move in the engineering case. Since the actual system isolation cannot be accurately determined in the actual movement process, the historical sampling set marked in step 4 is used for software simulation optimization. Finally, the integral parameter is determined to be 150%-180% of the integral parameter when the simulated system does not oscillate.

[0072] For differential parameters, the differential time constant can be adjusted to improve the system's ability to predict the trend of isolation changes and avoid overreaction or lag. For example, after completing the optimization of the integral parameters, the differential parameters are optimized again using the annotated historical sampling set. First, a larger differential time constant is set, and the differential time constant is reduced until the system isolation oscillates, and then the differential constant is increased until the system isolation is no longer oscillating. Finally, the differential parameters are determined to be about 30% of the time when the system does not oscillate.

[0073] S6. After completing the optimization process of the above parameters, the various parameters of the control system have been optimized, and then the system parameters can be fine-tuned and optimized according to the actual situation. For example, first establish a curve of the system isolation changing over time, and then the control system outputs a curve of the current isolation changing over time. Then, the control effect is evaluated based on the root mean square of the bright curve difference as a control effect evaluation factor, and finally the control parameters are optimized according to the actual needs and the control effect evaluation factor.

[0074] Optionally, the method further comprises: performing amplitude limiting binary filtering processing on the proportional parameter, the integral parameter and the differential parameter.

[0075] In the embodiment of the present application, the control amount obtained by the PID control algorithm in a single measurement is as follows:

[0076]

[0077] In the formula, u k represents the control quantity under the kth measurement; e k represents the difference between the expected value and the measured value under the kth measurement; K p *e k represents the scale parameter; represents the integral parameter; K d (e k -e k-1 ) represents the differential parameter; K p , K i , K d It is the control parameter optimized during the test.

[0078] Due to various uncontrollable factors in the actual test process, the proportional parameters, integral parameters and differential parameters may have extreme values, which may lead to incorrect control. Therefore, it is necessary to take certain filtering treatments on the above proportional parameters, integral parameters and differential parameters to improve the robustness and stability of the control algorithm in the wireless communication system. The specific processing methods are as follows:

[0079] Scale parameter K p *e k : Considering that the control error will appear extreme numbers when the measurement is wrong, in order to avoid this interference, the K in the model p *e k The limiting binary filtering can avoid system overshoot or undershoot caused by abnormal fluctuations in the proportional parameters. For example, when the control amount calculated by the proportional parameters is much larger or smaller than the normal range, the filtering process will limit it between the preset upper and lower limits, thereby avoiding oscillation of the system due to excessive control actions, or failure to effectively respond to system changes due to too small control actions.

[0080] Integration parameters Considering the influence of the previous control error of the system on the control, it is impossible to calculate all the previous states in the project, and among all the past control errors, the most recent measurement error has the strongest influence on the current control, so the integral parameter uses the past five control errors for integration and the weight relationship is 1:1:2:2:4. Similarly, since the past measurements may be measured, the control errors of the past measurements need to be limited by binary filtering before participating in this calculation.

[0081] Differentiation parameter K d (e k -e k-1): Considering the abnormal measurement of control error, the binary filtering with amplitude limiting is also used. In wireless communication systems, due to the instantaneous change of the signal, the differential term may fluctuate greatly. Although the differential parameter has been discretized and filtered, if the change trend is too drastic, it may still have an adverse effect on system control. The amplitude limiting process can eliminate such extreme changes, so that the differential parameter responds only within a reasonable range, avoiding the instability of the system due to excessive sensitivity to signal changes.

[0082] In the above step S208, adjusting the system gain of the wireless communication system according to the control amount includes: adjusting the isolation attenuation value of the remote device in the wireless communication system according to the control amount, wherein the isolation attenuation value is used to represent the attenuation amount adjusted by the remote device on the received signal.

[0083] In the embodiment of the present application, the positive or negative value of the control amount u indicates the direction in which the system gain needs to be increased or decreased, and its magnitude reflects the amplitude of the adjustment. The isolation attenuation value (usually referred to as ATT value) of the remote machine is the core parameter for achieving this gain adjustment, which directly affects the attenuation degree of the remote machine to the signal received from the near-end machine.

[0084] For example, when the PID algorithm detects that the system isolation is lower than the target value, which means that the current system gain is too high, it will instruct the remote machine to increase the ATT value through the control quantity u, that is, to increase the signal attenuation, thereby reducing the overall gain of the system. On the contrary, if the system isolation is higher than the target value, indicating that the current system gain is insufficient, the PID algorithm will instruct the remote machine to reduce the ATT value through the control quantity u, that is, to reduce the signal attenuation, thereby improving the overall gain of the system. This dynamic adjustment process ensures that the system can respond quickly to changes in isolation, maintain the match between system gain and isolation, and avoid system performance degradation caused by changes in isolation, such as weakened signal coverage or system self-excitation.

[0085] Figure 5 FIG. 1 is a flow chart of another method for adjusting system gain according to an embodiment of the present application. Figure 5As shown in the figure, it fully outlines how to use the PID control algorithm to automatically adjust the system gain to maintain isolation matching in wireless communication systems, especially for scenarios where the master and slave devices are separated and the isolation changes, such as elevator signal coverage. The process starts from "Start" and executes the following steps in sequence: read the far-end and near-end output power, calculate the gain between the far-end and near-end output ports, calculate the near-end gain, control the target value (expected value), turn on the DDS signal, calculate the DDS output power of the far-end output port, read the DDS power of the near-end receiving port, calculate the system isolation, calculate the difference e between the isolation and the target value, calculate the current control amount u, set the control amount, and finally end this control process and enter the next measurement and adjustment cycle. The overall process reflects the dynamic adjustment mechanism of the PID control algorithm in the wireless communication system. By real-time monitoring of isolation changes and adjusting the system gain based on this, the stability of signal coverage and the optimization of system performance are ensured.

[0086] In the embodiment of the present application, the dynamic matching of system gain and isolation is achieved through real-time monitoring of system isolation and optimization of PID control parameters. In particular, for the isolation fluctuation caused by the relative position change of the master and slave devices in the wireless communication system, the present application uses a software control strategy instead of relying on additional hardware to quickly respond to the isolation change, automatically adjust the system gain, avoid the system self-excitation phenomenon, improve the signal coverage effect and the overall performance of the system, significantly enhance the adaptability and stability of the system in a dynamic environment, optimize the signal transmission quality, reduce the system cost and complexity, and improve the user's communication experience in closed or semi-closed environments such as elevators.

[0087] According to an embodiment of the present application, a system gain adjustment device is provided. It should be noted that the system gain adjustment device of the embodiment of the present application can be used to execute the system gain adjustment method provided in the embodiment of the present application. The system gain adjustment device provided in the embodiment of the present application is introduced below.

[0088] Figure 6 is a structural diagram of a system gain adjustment device provided according to an embodiment of the present application. Figure 6 As shown, the device comprises:

[0089] A first determination module 60 is used to determine a system gain of the wireless communication system, and determine an expected value of the wireless communication system according to the system gain and a preset value, wherein the expected value is used to indicate a desired matching state between the system gain and the system isolation of the wireless communication system;

[0090] A second determination module 62, configured to determine a system isolation degree of the wireless communication system;

[0091] A third determination module 64 is used to determine a control amount of the wireless communication system according to an expected value and a system isolation degree, wherein the control amount is obtained by optimizing a proportional parameter, an integral parameter and a differential parameter in a control algorithm;

[0092] The adjustment module 66 is used to adjust the system gain of the wireless communication system according to the control amount.

[0093] Through the first determination module 60, the second determination module 62, the third determination module 64 and the adjustment module 66 in the above-mentioned system gain adjustment device, the purpose of automatically adapting to the isolation change in the wireless communication system to dynamically adjust the system gain is achieved, thereby achieving the technical effect of optimizing the signal coverage effect and enhancing the system stability, and further solving the technical problem of poor signal coverage and reduced system performance caused by the mismatch between the system gain and the isolation due to the change in the distance between the master and slave devices.

[0094] In the system gain adjustment device provided in an embodiment of the present application, the first determination module is also used to determine a first gain in the wireless communication system, wherein the first gain is used to represent the gain of a near-end machine in the wireless communication system; determine a second gain in the wireless communication system, wherein the second gain is used to represent the gain between a far-end machine and a near-end machine in the wireless communication system; and determine the system gain based on the first gain and the second gain.

[0095] In the system gain adjustment device provided in an embodiment of the present application, the first determination module is also used to determine the first output power of the near-end machine and the second output power of the far-end machine, wherein the first output power and the second output power are actual powers used to transmit signals during the communication process; determine the control attenuation value generated by the automatic level control technology in the far-end machine, wherein the control attenuation value is the attenuation amount adjusted by the far-end machine to maintain a stable output signal level; and determine the second gain based on the first output power, the second output power and the control attenuation value.

[0096] In the system gain adjustment device provided in an embodiment of the present application, the second determination module is also used to determine the first signal power of the near-end machine and the second signal power of the far-end machine through a direct digital frequency synthesis signal, wherein the first signal power and the second signal power are signal powers used to determine the total loss of the wireless communication system; and the system isolation is determined based on the first signal power and the second signal power.

[0097] In the system gain adjustment device provided in the embodiment of the present application, the third determination module is also used to determine the control parameters of the control algorithm, wherein the control parameters include proportional parameters, integral parameters and differential parameters; determine the sampling period of the wireless communication system, and determine the isolation change of the wireless communication system within the sampling period, wherein the sampling period does not exceed the minimum communication interval of the wireless communication system; obtain a historical sampling set of the wireless communication system, wherein the historical sampling set includes at least isolation data and gain data of the wireless communication system under different working conditions; optimize the control parameters based on the sampling period, isolation change and historical sampling set.

[0098] In the system gain adjustment device provided in the embodiment of the present application, the third determination module is also used to perform limiting binary filtering processing on the proportional parameter, the integral parameter and the differential parameter.

[0099] In the system gain adjustment device provided in the embodiment of the present application, the adjustment module is also used to adjust the isolation attenuation value of the remote device in the wireless communication system according to the control amount, wherein the isolation attenuation value is used to represent the attenuation amount adjusted by the remote device on the received signal.

[0100] An embodiment of the present application also provides an electronic device, including: a memory and a processor, wherein the memory is used to store program instructions; the processor is connected to the memory and is used to execute the adjustment method for implementing the above-mentioned system gain.

[0101] It should be noted that the above electronic equipment is used to execute Figure 2 The system gain adjustment method shown in the figure, therefore the relevant explanations in the above system gain adjustment method are also applicable to the electronic device and will not be repeated here.

[0102] An embodiment of the present application further provides a non-volatile storage medium, which includes a stored computer program, wherein the device where the non-volatile storage medium is located executes the above-mentioned system gain adjustment method by running the computer program.

[0103] It should be noted that the above non-volatile storage medium is used to execute Figure 2 The system gain adjustment method shown in the figure, therefore the relevant explanations in the above system gain adjustment method are also applicable to the non-volatile storage medium, and will not be repeated here.

[0104] The embodiment of the present application also provides a computer program product, including computer instructions, which implement the above-mentioned system gain adjustment method when executed by a processor.

[0105] It should be noted that the above-mentioned computer program product is used to execute Figure 2The system gain adjustment method shown in the figure, therefore the relevant explanations in the above system gain adjustment method are also applicable to the computer program product, and will not be repeated here.

[0106] The serial numbers of the above-mentioned embodiments of the present application are for description only and do not represent the advantages or disadvantages of the embodiments.

[0107] In the above embodiments of the present application, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, please refer to the relevant description of other embodiments.

[0108] In the several embodiments provided in this application, it should be understood that the disclosed technical content can be implemented in other ways. Among them, the device embodiments described above are only schematic. For example, the division of the units can be a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of units or modules, which can be electrical or other forms.

[0109] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple units. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.

[0110] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0111] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application, in essence, or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions to enable a computer device (which can be a personal computer, a server or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, disk or optical disk and other media that can store program codes.

[0112] The above is only a preferred implementation of the present application. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present application. These improvements and modifications should also be regarded as the scope of protection of the present application.

Claims

1. A method for adjusting system gain, characterized in that: include: Determine a system gain of a wireless communication system, and determine an expected value of the wireless communication system according to the system gain and a preset value, wherein the expected value is used to represent a desired matching state between the system gain and the system isolation of the wireless communication system; Determining a system isolation degree of the wireless communication system; Determining a control amount of the wireless communication system according to the expected value and the system isolation, wherein the control amount is obtained by optimizing a proportional parameter, an integral parameter and a differential parameter in a control algorithm; The system gain of the wireless communication system is adjusted according to the control amount.

2. The method according to claim 1, characterized in that Determine the system gain of a wireless communication system, including: Determine a first gain in the wireless communication system, wherein the first gain is used to represent a gain of a near-end device in the wireless communication system; Determine a second gain in the wireless communication system, wherein the second gain is used to represent a gain between a remote end unit and a near end unit in the wireless communication system; The system gain is determined according to the first gain and the second gain.

3. The method according to claim 2, characterized in that Determining a second gain in the wireless communication system includes: Determine a first output power of the near-end machine and a second output power of the far-end machine, wherein the first output power and the second output power are actual powers used to transmit signals during communication; Determining a control attenuation value generated by an automatic level control technology in the remote device, wherein the control attenuation value is an attenuation amount adjusted by the remote device to maintain a stable output signal level; The second gain is determined according to the first output power, the second output power and the controlled attenuation value.

4. The method according to claim 2, characterized in that: Determining a system isolation degree of the wireless communication system includes: Determine a first signal power of the near-end device and a second signal power of the far-end device by a direct digital frequency synthesis signal, wherein the first signal power and the second signal power are signal powers used to determine a total loss of the wireless communication system; The system isolation is determined according to the first signal power and the second signal power.

5. The method according to claim 1, characterized in that: Adjusting the system gain of the wireless communication system according to the control amount includes: The isolation attenuation value of the remote device in the wireless communication system is adjusted according to the control amount, wherein the isolation attenuation value is used to represent the attenuation amount adjusted by the remote device on the received signal.

6. The method according to claim 1, characterized in that The method further comprises: Determining control parameters of the control algorithm, wherein the control parameters include the proportional parameter, the integral parameter and the differential parameter; Determine a sampling period of the wireless communication system, and determine a change in isolation of the wireless communication system within the sampling period, wherein the sampling period does not exceed a minimum communication interval of the wireless communication system; Acquire a historical sampling set of the wireless communication system, wherein the historical sampling set at least includes isolation data and gain data of the wireless communication system under different working conditions; The control parameter is optimized according to the sampling period, the isolation change and the historical sampling set.

7. The method according to claim 6, characterized in that The method further comprises: The proportional parameter, the integral parameter and the differential parameter are subjected to amplitude limiting binary filtering.

8. A system gain adjustment device, characterized in that: include: A first determination module, configured to determine a system gain of a wireless communication system, and determine an expected value of the wireless communication system according to the system gain and a preset value, wherein the expected value is used to represent a desired matching state between the system gain and the system isolation of the wireless communication system; A second determination module, configured to determine a system isolation degree of the wireless communication system; A third determination module is used to determine a control amount of the wireless communication system according to the expected value and the system isolation, wherein the control amount is obtained by optimizing a proportional parameter, an integral parameter and a differential parameter in a control algorithm; An adjustment module is used to adjust the system gain of the wireless communication system according to the control amount.

9. An electronic device, characterized in that: include: A memory and a processor, wherein the memory is used to store program instructions; The processor is connected to the memory, and is used to execute the system gain adjustment method described in any one of claims 1 to 7.

10. A non-volatile storage medium, characterized in that: The non-volatile storage medium includes a stored computer program, wherein the device where the non-volatile storage medium is located executes the method for adjusting the system gain according to any one of claims 1 to 7 by running the computer program.

11. A computer program product comprising computer instructions, characterized in that: When the computer instructions are executed by a processor, the method for adjusting the system gain described in any one of claims 1 to 7 is implemented.