Method of PID parameter adjustment based on quasi-mathematical model based on wireless laser communication

CN114895553BInactive Publication Date: 2024-09-24TIANJIN UNIV
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202210611337.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-05-31
Publication Date
2024-09-24
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

对于无线激光通信对准系统,不论是经典PID控制还是模糊PID控制,都需要对参数进行调整,压电陶瓷偏转镜属于精密仪器,PID调参过程可能会出现超调现象,电压超过压电陶瓷镜工作电压范围就会损坏仪器

Benefits of technology

[0030] This method establishes a mathematical model of the wireless laser communication alignment system, and applies this mathematical model to the PID control algorithm of the wireless laser communication alignment in the simulink simulation system of matlab software to quickly adjust parameters and verify its control effect, avoiding the need for real instruments. cause damage.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114895553B
    Figure CN114895553B
Patent Text Reader

Abstract

The invention discloses a method for performing PID parameter adjustment based on a mathematical model of wireless laser communication alignment. Firstly, a mathematical model of the wireless laser communication alignment system is established, and a transfer function of the mathematical model includes four parts: a transfer function of a voltage control signal of a piezoelectric ceramic deflection mirror, a transfer function of a single piezoelectric ceramic, a transfer function of the piezoelectric ceramic deflection mirror, and a transfer function of an angle control of the piezoelectric ceramic deflection mirror. After the mathematical model of the wireless laser communication alignment system is established, a SIMULILINK simulation system of MATLAB software is used to simulate a PID control algorithm of the wireless laser communication alignment, and the PID control algorithm of the wireless laser communication alignment is quickly adjusted and its control effect is verified, so as to avoid damage to a real instrument.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical fields of laser communication control and virtual instruments, and in particular relates to a method for performing PID parameter adjustment on an alignment mathematical model based on wireless laser communication. Background Art

[0002] Wireless Laser Communication (WLC) is a communication method that uses laser as a carrier to transmit data in free space without using optical fiber as a transmission medium. WLC combines the advantages of microwave communication and optical fiber communication, and has the advantages of high data transmission rate, large communication capacity, wide available communication frequency band, strong anti-interference ability, high confidentiality, small equipment size and low cost. The premise for establishing a stable wireless laser communication link is that the transmitting and receiving axes of the communication transmitter and receiver are aligned. However, lasers have the characteristics of narrow beams and strong directionality, and are easily affected by refractive index fluctuations during laser transmission, which leads to light spot jitter and other phenomena at the receiving end, causing instability in the communication process. Therefore, a laser alignment and tracking mechanism is needed to establish an accurate and stable communication link, which is a prerequisite for the normal operation of wireless laser communication.

[0003] PID control algorithm has been widely used in the field of control. By adjusting the three parameters of the PID controller, namely the proportional coefficient Kp, the integral coefficient Ki, and the differential coefficient Kd, the system can achieve the best control effect. For the wireless laser communication alignment system, whether it is classical PID control or fuzzy PID control, the parameters need to be adjusted. The piezoelectric ceramic deflection mirror is a precision instrument. Overshoot may occur during the PID parameter adjustment process. If the voltage exceeds the working voltage range of the piezoelectric ceramic mirror, the instrument will be damaged. Therefore, the present invention establishes a mathematical model of the wireless laser communication alignment system, and adjusts the PID parameters with the best effect through software simulation. It can also adjust the domain range of the fuzzy PID control to optimize the effect, thereby achieving the effect of protecting the precision instrument from damage. Summary of the invention

[0004] The purpose of the present invention is to overcome the shortcomings of the prior art and provide a method for PID parameter adjustment based on a wireless laser communication alignment mathematical model. The method establishes a mathematical model of the wireless laser communication alignment system, and applies the mathematical model to quickly adjust the PID control algorithm of the wireless laser communication alignment and verify its control effect, thereby avoiding damage to the real instrument.

[0005] The present invention is achieved through the following technical solutions:

[0006] A method for adjusting PID parameters based on a mathematical model based on wireless laser communication comprises the following steps:

[0007] Step 1, establishing a mathematical model of the wireless laser communication alignment system;

[0008] The transfer function of the mathematical model includes four parts: the transfer function of the voltage control signal of the piezoelectric ceramic deflection mirror, the transfer function of a single piezoelectric ceramic, the transfer function of the piezoelectric ceramic deflection mirror, and the transfer function of the angle control of the piezoelectric ceramic deflection mirror;

[0009] 1.1, the transfer function of the voltage control signal of the piezoelectric ceramic deflection mirror is:

[0010] G1(s)=K1

[0011] Where K1 is the voltage amplification factor;

[0012] 1.2, the transfer function of the single piezoelectric ceramic is:

[0013]

[0014] Where ΔX is the displacement change (μm), ΔU c is the voltage change (V), K2 is the voltage displacement conversion coefficient (μm / V), and T2 is the time constant;

[0015] 1.3, according to the structure and working principle of the piezoelectric ceramic deflection mirror, the two piezoelectric ceramics on the same axis of the piezoelectric ceramic deflection mirror are equivalent to an RLC network circuit;

[0016] According to the loop voltage law and node current law, we can get:

[0017]

[0018] Performing Laplace transform on the above equation gives the transfer function of the piezoelectric ceramic deflection mirror:

[0019]

[0020] 1.4, the transfer function of the piezoelectric ceramic deflection mirror angle control is:

[0021]

[0022] Where ΔU is the voltage change of the four-quadrant photodetector (V), ΔΘ is the angle deflection change of the piezoelectric ceramic deflection mirror (mrad), K4 is the piezoelectric angle conversion coefficient, and T4 is the time constant;

[0023] In summary, the transfer function of the wireless laser communication alignment system is:

[0024] G(s)=G1(s)G2(s)G3(s)G4(s).

[0025] Step 2, after establishing the mathematical model of the wireless laser communication alignment system, the PID control algorithm of the wireless laser communication alignment is simulated using the Simulink simulation system of the Matlab software.

[0026] In the above technical solution, for step 2, the mathematical model of the wireless laser communication alignment system established in step 1 is built in the simulink simulation system of the matlab software, and a PID controller is built. The three parameters P, I, and D of the PID controller can be easily adjusted in the simulink simulation system, and the adjustment effect of the PID parameters can be observed through the mathematical model of the wireless laser communication alignment system, thereby achieving the purpose of rapid parameter adjustment.

[0027] In the above technical solution, for step 2, the mathematical model of the wireless laser communication alignment system established in step 1 is built in the simulink simulation system of the MATLAB software, and a PID controller and a fuzzy controller are built. The PID controller is used to generate the initial values ​​of the PID control parameters, and the fuzzy controller is used to generate the optimized values ​​of the PID control parameters. The optimized PID control parameters are obtained, and the effect of the optimized PID control parameters is observed through the mathematical model of the wireless laser communication alignment system, so as to achieve the purpose of rapid parameter adjustment.

[0028] In the above technical solution, parameter generation modules such as membership function, fuzzy rules, domain range, etc. are set in the fuzzy controller.

[0029] The advantages and beneficial effects of the present invention are:

[0030] This method establishes a mathematical model of the wireless laser communication alignment system, and applies the mathematical model to quickly adjust the parameters of the PID control algorithm of the wireless laser communication alignment in the simulink simulation system of MATLAB software and verify its control effect to avoid damage to the real instrument. BRIEF DESCRIPTION OF THE DRAWINGS

[0031] Figure 1 This is the overall block diagram of the laser communication alignment system;

[0032] Figure 2 This is the closed-loop control block diagram of the fuzzy PID control method for the laser communication alignment system.

[0033] For ordinary technicians in this field, other relevant drawings can be obtained based on the above drawings without any creative work. DETAILED DESCRIPTION

[0034] In order to enable those skilled in the art to better understand the technical solution of the present invention, the technical solution of the present invention is further described below in conjunction with specific embodiments.

[0035] The wireless laser communication alignment system consists of two parts: the laser incident end and the laser receiving end. The laser receiving end includes a piezoelectric ceramic deflection mirror, a four-quadrant photodetector, an A / D conversion unit, a filter unit, a control unit (using an embedded single-chip microcomputer), a D / A conversion unit, a voltage amplifier module and a piezoelectric ceramic drive unit. Figure 1 As shown, the incident light beam emitted from the laser incident end is reflected by the piezoelectric ceramic deflection mirror and then irradiated to the four-quadrant photodetector. The four-quadrant photodetector collects the deflection information of the incident light beam in the horizontal and vertical directions. The collected information is filtered by the filtering unit, and the analog signal is converted into a digital signal by the A / D conversion unit and sent to the embedded single-chip microcomputer. The embedded single-chip microcomputer compares the collected data with the preset initial value, processes the data according to the program, and sends a pulse width modulation signal. The D / A conversion unit and the voltage amplifier module convert the data into an analog waveform and input it to the piezoelectric ceramic drive unit. The piezoelectric ceramic drive unit controls the deflection of the piezoelectric ceramic deflection mirror, thereby realizing the closed-loop alignment and tracking of the incident light beam.

[0036] The following specifically describes the method of the present invention for adjusting PID parameters based on the mathematical model based on wireless laser communication:

[0037] Step 1: Establish a mathematical model of the wireless laser communication alignment system.

[0038] By analyzing the working principle of the piezoelectric ceramic deflection mirror and the four-quadrant photodetector, it can be seen that the wireless laser communication alignment system is essentially a closed-loop control system. Due to the hysteresis effect of piezoelectric ceramics, piezoelectric ceramics can be equivalent to capacitors. Through the laws of electricity, a mathematical model can be established between the driving voltage of the piezoelectric ceramic deflection mirror and the observable quantity, and the transfer function of the mathematical model can be obtained.

[0039] The transfer function of the mathematical model includes four parts: the transfer function of the voltage control signal of the piezoelectric ceramic deflection mirror (G1), the transfer function of a single piezoelectric ceramic (G2), the transfer function of the piezoelectric ceramic deflection mirror (G3), and the transfer function of the angle control of the piezoelectric ceramic deflection mirror (G4).

[0040] (1) Transfer function of the voltage control signal of the piezoelectric ceramic deflection mirror (G1)

[0041] The voltage control signal of the piezoelectric ceramic deflection mirror refers to the conversion of the low voltage control signal output by the embedded single-chip microcomputer into a high voltage control signal that can make the piezoelectric ceramic deflection mirror work. Its transfer function is:

[0042] G1(s)=K1

[0043] Where K1 is the voltage gain.

[0044] (2) Transfer function of a single piezoelectric ceramic (G2)

[0045] Piezoelectric ceramic deflection mirrors are made of stacked piezoelectric ceramic sheets. Piezoelectric ceramics can produce tiny deformations through energy conversion between electrical energy and mechanical energy. The process of converting mechanical energy into electrical energy is called the positive piezoelectric effect, while the process of converting electrical energy into mechanical energy is called the inverse piezoelectric effect. Piezoelectric ceramics have creep characteristics, which means that when a fixed voltage is input to both ends of the piezoelectric ceramic, the displacement of the piezoelectric ceramic is not completed quickly, but needs to change slowly over a period of time to achieve stability, and the displacement of the piezoelectric ceramic is approximately linear with the applied voltage within a certain range.

[0046] According to the working principle of piezoelectric ceramics, a single piezoelectric ceramic can be equivalent to a capacitor, and the positive and negative piezoelectric effects of piezoelectric ceramics can be equivalent to the process of capacitor charging and discharging. According to the charging and discharging principle of capacitors, this process is equivalent to the first-order inertia link, which is:

[0047]

[0048] Therefore, the equivalent transfer function of a single piezoelectric ceramic is:

[0049]

[0050] Where ΔX is the displacement change (μm), ΔU c is the voltage change (V), K2 is the voltage displacement conversion coefficient (μm / V), and T2 is the time constant.

[0051] (3) Transfer function of piezoelectric ceramic deflecting mirror (G3)

[0052] The two axes (x-axis and y-axis) of the piezoelectric ceramic deflection mirror are designed based on four piezoelectric ceramic structures. Two piezoelectric ceramics are used in each axis to form a deflection motion in a push-pull mode, and a bridge connection circuit is used for control; the four actuators are placed at a 90° angle, which is a paired differential control distribution form. According to the structure and working principle of the piezoelectric ceramic deflection mirror, the two piezoelectric ceramics on the same axis of the piezoelectric ceramic deflection mirror can be equivalent to an RLC network circuit.

[0053] According to the loop voltage law and node current law, we can get:

[0054]

[0055] By performing Laplace transform on the above equation, we can get the transfer function of the piezoelectric ceramic deflection mirror:

[0056]

[0057] (4) Transfer function of piezoelectric ceramic deflection mirror angle control (G4)

[0058] Due to the piezoelectric effect and creep characteristics of piezoelectric ceramics, the angle change of the piezoelectric ceramic deflection mirror is not instantaneous. This process can be equivalent to a first-order inertia link, then:

[0059]

[0060] The transfer function is:

[0061]

[0062] Where ΔU is the voltage change of the four-quadrant photodetector (V), ΔΘ is the angle deflection change of the piezoelectric ceramic deflection mirror (mrad), K4 is the piezoelectric angle conversion coefficient, and T4 is the time constant.

[0063] In summary, since the various parts of the system are in series relationship, the transfer function of the wireless laser communication alignment system is:

[0064] G(s)=G1(s)G2(s)G3(s)G4(s)

[0065] The transfer function is a fourth-order system, and the response is composed of the superposition of two first-order inertial links and one second-order oscillation link.

[0066] Step 2: After establishing the mathematical model of the wireless laser communication alignment system, the PID control algorithm of the wireless laser communication alignment can be simulated using the Simulink simulation of the Matlab software. Not only can the simulation of the classic PID control algorithm be realized, but also the simulation of the fuzzy PID control algorithm can be realized. The following are introduced separately:

[0067] 2.1, Simulation of the classic PID control algorithm

[0068] In the simulink simulation system of the MATLAB software, the mathematical model of the wireless laser communication alignment system established in step 1 is built, and a PID controller is built. In the simulink simulation system, the three parameters P, I, and D of the PID controller can be easily adjusted, and the adjustment effect of the PID parameters can be observed through the mathematical model of the wireless laser communication alignment system, thereby achieving the purpose of rapid parameter adjustment.

[0069] 2.2, Simulation of fuzzy PID control algorithm

[0070] The key step of fuzzy PID control is to fuzzify the input quantity. In this process, the scope of the domain needs to be determined based on experience, which directly affects the final control effect. If the scope of the domain is unreasonable, the adjustment speed may be too slow, the control accuracy may be poor, or even overshoot may occur.

[0071] In the simulink simulation system of matlab software, the mathematical model of the wireless laser communication alignment system established in step 1 is built, and a PID controller (referring to the classic PID control) and a fuzzy controller are built. The PID controller is used to generate the initial value of the PID control parameter, and the fuzzy controller is used to generate the optimized (corrected) value of the PID control parameter, thereby obtaining the optimized (corrected) PID control parameter. For details, see the attached Figure 2 The structure of the fuzzy controller adopts a two-input and three-output mode, with the deviation E and the deviation change rate Ec as input, and the optimized (corrected) values ​​of the three PID control parameters (ΔKp, ΔKi, ΔKd) as output; the optimized PID control parameters are:

[0072]

[0073] Among them, Kp0, Ki0, and Kd0 are the initial values ​​of the PID control parameters of the PID controller.

[0074] The calculation formula of PID controller (classical PID control) is:

[0075]

[0076] Where K p is the proportional coefficient, which affects the adjustment accuracy and response speed of the controlled system; K i is the integral coefficient, which is used to eliminate static error; K d It is the differential coefficient, which affects the dynamic performance of the controlled system, predicts the direction of deviation change, and eliminates potential deviations.

[0077] Normally, after determining the mathematical model of the system, it is necessary to adjust the three parameters of the PID controller to achieve the desired control effect. The Ziegler-Nichols tuning method is generally used to determine the approximate parameters of the PID controller. The fuzzy PID control of this embodiment uses fuzzy logic and performs real-time optimization (correction) of the PID parameters according to certain fuzzy rules, including fuzzification, determination of fuzzy rules, and defuzzification. Fuzzy control skips the tedious parameter adjustment process, realizes real-time adjustment of the three PID parameters, and can improve the stability and dynamic response of the system.

[0078] Therefore, it is necessary to design a fuzzy controller in the Simulink simulation system of Matlab software and set up parameter generation modules such as membership function, fuzzy rules, and domain range.

[0079] In this embodiment, the input value and output value are fuzzified, and the fuzzy subset is defined as {PB, PM, PS, Z0, NS, NM, NB}, where N represents positive, P represents negative, S, M, B represent small, medium and large respectively, and ZO represents 0; the range of the deviation E and the deviation change rate Ec is determined according to the measured data to be [-6, 6], and the domains of ΔKp, ΔKi, and ΔKd are [-6, 6], [-6, 6], and [-0.003, 0.003] respectively; based on empirical reasoning, 49 fuzzy rules can be determined by the error and error change rate output by the system, and the fuzzy rules are made into the following fuzzy rule table.

[0080]

[0081] The present invention is described above by way of example. It should be noted that, without departing from the core of the present invention, any simple deformation, modification or other equivalent replacement that can be made by those skilled in the art without inventive effort falls within the protection scope of the present invention.

Claims

1. A method for adjusting PID parameters based on a mathematical model based on wireless laser communication, characterized in that it includes the following steps: Step 1, establishing a mathematical model of the wireless laser communication alignment system; The transfer function of the mathematical model includes four parts: the transfer function of the voltage control signal of the piezoelectric ceramic deflection mirror, the transfer function of a single piezoelectric ceramic, the transfer function of the piezoelectric ceramic deflection mirror, and the transfer function of the angle control of the piezoelectric ceramic deflection mirror; 1.1, the transfer function of the voltage control signal of the piezoelectric ceramic deflection mirror is: G1(s)=K1 Where K1 is the voltage amplification factor; 1.2, the transfer function of the single piezoelectric ceramic is: Where ΔX is the displacement change (μm), ΔU c is the voltage change (V), K2 is the voltage displacement conversion coefficient (μm / V), and T2 is the time constant; 1.3, according to the structure and working principle of the piezoelectric ceramic deflection mirror, the two piezoelectric ceramics on the same axis of the piezoelectric ceramic deflection mirror are equivalent to an RLC network circuit; According to the loop voltage law and node current law, we can get: Performing Laplace transform on the above equation gives the transfer function of the piezoelectric ceramic deflection mirror: 1.4, the transfer function of the piezoelectric ceramic deflection mirror angle control is: in, ΔU is the voltage change of the four-quadrant photodetector (V), ΔΘ is the angle deflection change of the piezoelectric ceramic deflection mirror (mrad), K4 is the piezoelectric angle conversion coefficient, and T4 is the time constant; In summary, the transfer function of the wireless laser communication alignment system is: G(s)=G1(s)G2(s)G3(s)G4(s); Step 2, after establishing the mathematical model of the wireless laser communication alignment system, the PID control algorithm of the wireless laser communication alignment is simulated using the Simulink simulation system of the Matlab software.

2. The method for performing PID parameter adjustment based on the alignment mathematical model based on wireless laser communication according to claim 1 is characterized in that: For step 2, build the mathematical model of the wireless laser communication alignment system established in step 1 in the simulink simulation system of MATLAB software, and build a PID controller. Adjust the three parameters P, I, and D of the PID controller in the simulink simulation system, and observe the adjustment effect of the PID parameters through the mathematical model of the wireless laser communication alignment system.

3. The method for PID parameter adjustment based on wireless laser communication to align mathematical model according to claim 1 is characterized in that: For step 2, the mathematical model of the wireless laser communication alignment system established in step 1 is built in the Simulink simulation system of the Matlab software, and a PID controller and a fuzzy controller are built. The PID controller is used to generate the initial values ​​of the PID control parameters, and the fuzzy controller is used to generate the optimized values ​​of the PID control parameters. The optimized PID control parameters are obtained, and the effect of the optimized PID control parameters is observed through the mathematical model of the wireless laser communication alignment system.

4. The method for PID parameter adjustment based on wireless laser communication to align mathematical model according to claim 3 is characterized in that: The membership function, fuzzy rules and parameter generation module of the domain range are set in the fuzzy controller.

Citation Information

Patent Citations

  • Piezoelectric ceramic objective driver control method

    CN103116276A

  • Control method and control device of multi-piezoelectric-ceramic-vibrator parallel combined system

    CN106527292A

  • PI-model-based fuzzy PID control method of piezoelectric ceramics

    CN106873380A

  • Method for adjusting temperature of train ventilation system on basis of fuzzy PID controller

    CN110501900A

  • Device for control of two-dimensional piezoceramic optical deflector

    RU2695281C1