Microwave attenuator control system and method and electronic equipment
By using a control system driven by solenoid drive gears and racks in the microwave attenuator to monitor and adjust the microwave power attenuator, the problem of difficulty in accurately monitoring and stable control of microwave attenuators in the prior art is solved, and high-precision and stable microwave power control are achieved.
Patent Information
- Application Number
- CN202411810142.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-10
- Publication Date
- 2025-03-25
AI Technical Summary
Existing microwave attenuators are difficult to accurately monitor and stabilize the microwave power attenuation value, especially in the presence of electromagnetic interference.
A microwave attenuator control system consisting of a helical drive gear, rack and driven gear is used to monitor the rotation angle of the helical drive gear, and the microwave power attenuator is adjusted in real time until the target value is reached.
Accurate monitoring and stable control of the microwave power attenuation value of microwave attenuators is realized, reducing the impact of electromagnetic interference on the system, and improving the accuracy and stability of the system.
Smart Images

Figure CN119695424A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of microwave attenuators, and in particular to a microwave attenuator control system, method and electronic equipment. Background Art
[0002] Microwave attenuators are mainly used to realize automatic control of microwave power. Conventional microwave attenuators use voltage control to attenuate. Power supply noise and DAC resolution directly affect the noise and resolution of signal attenuation. Polarization rotation microwave attenuators can overcome the above shortcomings.
[0003] The most important requirements for polarization rotary microwave attenuators are accuracy and stability. Accuracy means that the microwave signal attenuation value can be adjusted by 0.1dB or even 0.01dB, so that the output microwave power can be precisely adjusted; stability means that the microwave signal attenuation value can remain stable, so that the microwave power can be stably maintained near the set value.
[0004] Regardless of the accuracy requirement or stability requirement of the microwave attenuator, it is necessary to accurately monitor the microwave power attenuation value of the microwave attenuator. Summary of the invention
[0005] The present invention aims to solve one of the technical problems in the related art at least to a certain extent. To this end, the first object of the present invention is to provide a microwave attenuator control system to accurately monitor the microwave power attenuation value of the microwave attenuator.
[0006] The second object of the present invention is to provide a microwave attenuator control method.
[0007] A third objective of the present invention is to provide an electronic device.
[0008] To achieve the above-mentioned purpose, a first aspect of the present invention proposes a microwave attenuator control system, characterized in that the microwave attenuator includes a rotating absorption plate and a fixed absorption plate, and the system includes a helical drive gear, a rack, a driven gear and a drive gear control subsystem, the helical drive gear is connected to a power assembly to rotate under the control of the power assembly, the driven gear is fixedly connected to the rotating absorption plate through a second connecting member, the helical drive gear drives the driven gear to rotate through the rack to drive the rotating absorption plate to rotate relative to the fixed absorption plate, and the drive gear control subsystem is used to rotate the helical drive gear so that the current microwave power attenuation value of the microwave attenuator reaches the target microwave power attenuation value, wherein the initial meshing position of the helical drive gear and the rack is the position with the largest radius on the helical drive gear.
[0009] In addition, the microwave attenuator control system according to the embodiment of the present invention may also have the following additional technical features:
[0010] In one embodiment of the present invention, the driving gear control subsystem includes: a monitoring device connected to the helical driving gear, used to monitor a first rotation angle of the helical driving gear, wherein the first rotation angle of the helical driving gear is an angle corresponding to an arc between a current meshing position and an initial meshing position, the current meshing position is a position on the helical driving gear that meshes with the rack, and the initial meshing position is a position on the helical driving gear with a maximum radius; a control device connected to the monitoring device and the power assembly, used to obtain a current microwave power attenuation value of the microwave attenuator according to the first rotation angle, and when the current microwave power attenuation value does not reach a target microwave power attenuation value, control the power assembly to rotate the helical driving gear to change the current microwave power attenuation value until the current microwave power attenuation value reaches the target microwave power attenuation value.
[0011] In one embodiment of the present invention, the rotation axis of the driven gear is consistent with the rotation axis of the rotating absorption sheet.
[0012] In one embodiment of the present invention, the equivalent radius of the helical driving gear, the first rotation angle, and the radius of the driven gear satisfy the following relationship:
[0013]
[0014] Among them, r is the equivalent radius, R' is the radius of the driven gear, k is the preset coefficient, x is the first rotation angle, the equivalent radius is the radius at the current meshing position, the first rotation angle of the helical drive gear is the angle corresponding to the arc between the current meshing position and the initial meshing position, and the current meshing position is the position on the helical drive gear that is currently meshing with the rack.
[0015] In one embodiment of the present invention, the monitoring device includes: a rotary potentiometer, the rotary potentiometer includes a resistor and a brush, the first end of the resistor is grounded, the second end is connected to a preset power supply, the brush of the rotary potentiometer is connected to the rotating component, and the rotary potentiometer is configured so that when the rotating component rotates, the brush moves on the resistor; an angle monitoring device, the first input end of the angle monitoring device is connected to the first end of the resistor, the second input end of the angle monitoring device is connected to the brush, and the third input end of the angle monitoring device is connected to the second end of the resistor, and the angle monitoring device is used to collect a first voltage at the first end, a second voltage at the brush, and a third voltage at the second end, and obtain the first rotation angle according to the first voltage, the second voltage and the third voltage.
[0016] In one embodiment of the present invention, the angle monitoring device is also used to: calculate a first voltage difference between the third voltage and the second voltage, a second voltage difference between the third voltage and the first voltage, and obtain the first rotation angle based on the first voltage difference, the second voltage difference, and the total resistance of the resistor.
[0017] In one embodiment of the present invention, the monitoring device also includes a signal generating device and a switch, wherein the signal generating device is used to generate a modulation signal, the first end of the switch is connected to the preset power supply, the second end of the switch is connected to the second end of the resistor, the control end of the switch is connected to the output end of the signal generating device, and the switch is used to perform a switching action under the control of the modulation signal.
[0018] In one embodiment of the present invention, the fourth input terminal of the angle monitoring device is also connected to the output terminal of the signal generating device, and the angle monitoring device is also used to: multiply the collected voltage signal with the modulation signal to obtain a first multiplication result, shift the modulation signal by 90 degrees and multiply it with the voltage signal to obtain a second multiplication result, and low-pass filter the first multiplication result to obtain a first filtering result, low-pass filter the second multiplication result to obtain a second filtering result, and obtain the first voltage, the second voltage and the third voltage according to the first filtering result and the second filtering result.
[0019] To achieve the above-mentioned purpose, a second embodiment of the present invention proposes a microwave attenuator control method, wherein the microwave attenuator includes a rotating absorption plate and a fixed absorption plate, wherein the rotating absorption plate rotates relative to the fixed absorption plate under the drive of a driven gear, the driven gear rotates under the drive of a rack, and the rack moves under the drive of a helical driving gear, and the initial meshing position of the helical driving gear and the rack is the position with the largest radius on the helical driving gear, and the method includes: obtaining a first rotation angle of the helical driving gear; obtaining a current microwave power attenuation value of the microwave attenuator according to the first rotation angle; when the current microwave power attenuation value does not reach the target microwave power attenuation value, rotating the helical driving gear to change the current microwave power attenuation value, and returning to the step of obtaining the first rotation angle of the helical driving gear until the current microwave power attenuation value reaches the target microwave power attenuation value.
[0020] To achieve the above objectives, the third aspect of the present invention proposes an electronic device, comprising a memory, a processor, and a computer program stored in the memory and running on the processor, wherein when the computer program is executed by the processor, the above microwave attenuator control method is implemented.
[0021] According to the microwave attenuator control system, method and electronic device of the embodiment of the present invention, a microwave attenuator is provided including a rotating absorption plate and a fixed absorption plate. The system includes a helical drive gear, a rack, a driven gear and a drive gear control subsystem. The helical drive gear is connected to the power assembly to rotate under the control of the power assembly. The driven gear is fixedly connected to the rotating absorption plate through a second connecting member. The helical drive gear drives the driven gear to rotate through the rack to drive the rotating absorption plate to rotate relative to the fixed absorption plate. The drive gear control subsystem is used to rotate the helical drive gear so that the current microwave power attenuation value of the microwave attenuator reaches the target microwave power attenuation value. Therefore, by setting the helical driving gear, it can be achieved that while the helical driving gear rotates, the rotation speed of the driven gear keeps changing. That is to say, it is only necessary to set the initial meshing position of the helical driving gear and the rack to the position with the largest radius on the helical driving gear. As a result, as the helical driving gear rotates, the rotation speed of the driven gear gradually decreases, causing the rotation speed of the rotating absorption plate to gradually decrease, thereby reducing the difficulty of obtaining the current microwave power attenuation value of the microwave attenuator and accurately monitoring the microwave power attenuation value of the microwave attenuator.
[0022] Additional aspects and advantages of the present invention will be given in part in the following description and in part will be obvious from the following description, or will be learned through practice of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS
[0023] Figure 1is a structural block diagram of a microwave attenuator control system according to an embodiment of the present invention;
[0024] Figure 2 is a schematic diagram of the structure of an exemplary microwave attenuator control system;
[0025] Figure 3 It is a structural schematic diagram of a microwave attenuator control system of an example of the present invention;
[0026] Figure 4 is a circuit diagram of a microwave attenuator control system according to an example of the present invention;
[0027] Figure 5 is a circuit diagram of a microwave attenuator control system according to another example of the present invention;
[0028] Figure 6 is a block diagram of an example microwave attenuator control system;
[0029] Figure 7 is a schematic diagram of the operation of an exemplary microwave attenuator control system;
[0030] Figure 8 This is an example of a function graph used in the operation of a microwave attenuator control system;
[0031] Fig. 9 is a flow chart of a microwave attenuator control method according to an embodiment of the present invention;
[0032] Fig.10 It is a structural block diagram of an electronic device according to an embodiment of the present invention. DETAILED DESCRIPTION
[0033] The microwave attenuator control system, method and electronic device of the embodiments of the present invention are described below with reference to the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements with the same or similar functions. The embodiments described with reference to the accompanying drawings are exemplary and should not be construed as limiting the present invention.
[0034] Figure 1 It is a structural block diagram of a microwave attenuator control system according to an embodiment of the present invention.
[0035] In the embodiment of the present invention, the microwave attenuator includes a rotating absorption sheet and a fixed absorption sheet. For the microwave attenuator including the rotating absorption sheet and the fixed absorption sheet, the following method can be used: Figure 2 The structure shown is controlled. Figure 2The structure shown includes a driving swing arm, an intermediate connecting rod and a driven swing arm. In order to detect the power attenuation value of the microwave attenuator, a power meter can be used to access the input signal and the output signal. The power meter will calculate the attenuation value, and the MCU reads the current attenuation value of the power meter through the serial port. The disadvantage of this method is that due to the electromagnetic interference of the environment, the microwave input signal and the output signal may increase or decrease as a whole, resulting in a deviation between the calculated attenuation value and the target value, thereby causing the MCU to mis-adjust the microwave attenuator. Although the impact of electromagnetic interference on the microwave signal itself can be eliminated in the subsequent modulation and demodulation process, the mis-adjustment of the microwave attenuator caused by this will cause the actual attenuation value to deviate from the target setting value (when the electromagnetic interference is continuously stable), or cause the microwave attenuator system to frequently and repeatedly adjust the attenuation value, making it difficult to stabilize the attenuation value (when the electromagnetic interference fluctuates). For high-precision microwave attenuators, the above problems must be considered and overcome.
[0036] Therefore, the present invention proposes a microwave attenuator control system.
[0037] like Figure 1 As shown, the microwave attenuator control system 10 includes a helical drive gear, a rack, a driven gear and a drive gear control subsystem, wherein the helical drive gear is connected to the power assembly 101 so as to rotate under the control of the power assembly 101, and the driven gear is fixedly connected to the rotating absorption plate through a second connecting member, and the helical drive gear drives the driven gear to rotate through the rack to drive the rotating absorption plate to rotate relative to the fixed absorption plate, and the drive gear control subsystem is used to rotate the helical drive gear so that the current microwave power attenuation value of the microwave attenuator reaches the target microwave power attenuation value, wherein the initial meshing position of the helical drive gear and the rack is the position with the largest radius on the helical drive gear.
[0038] exist Figure 1 In the embodiment, the rotating assembly 102 is the above-mentioned helical driving gear, the driving assembly 103 includes the above-mentioned rack and driven gear, and the above-mentioned driving gear control subsystem includes a monitoring device 200 and a control device 300, the monitoring device 200 is used to monitor the rotation angle of the helical driving gear, and the control device 300 is used to rotate the helical driving gear according to the rotation angle of the helical driving gear. It should be noted that Figure 1 This is only a specific embodiment, and it may not be limited to this in actual application. For example, the driving gear control subsystem including the monitoring device 200 and the control device 300 may not be provided to respectively implement the monitoring and control functions, but the monitoring and control functions may be directly implemented by the monitoring device 200; for another example, the monitoring device 200 may not be provided, that is, the control method may be pre-set, and the control may be directly performed by the control device 300; for another example, the monitoring device 200 may not be provided, and the control method may be pre-set, and the control may be performed directly by the control device 300.
[0039] In one embodiment of the present invention, a drive gear control subsystem includes: a monitoring device 200, connected to the helical drive gear, and used to monitor a first rotation angle of the helical drive gear, wherein the first rotation angle of the helical drive gear is an angle corresponding to an arc between a current meshing position and an initial meshing position, the current meshing position is a position on the helical drive gear that meshes with a rack, and the initial meshing position is a position on the helical drive gear with a maximum radius; a control device 300, connected to the monitoring device 200 and the power assembly 101, and used to obtain a current microwave power attenuation value of the microwave attenuator according to the first rotation angle, and when the current microwave power attenuation value does not reach a target microwave power attenuation value, control the power assembly 101 to rotate the helical drive gear to change the current microwave power attenuation value until the current microwave power attenuation value reaches the target microwave power attenuation value.
[0040] In one embodiment of the present invention, the rotation axis of the driven gear coincides with the rotation axis of the rotating absorption sheet.
[0041] In one embodiment of the present invention, the equivalent radius of the helical driving gear, the first rotation angle, and the radius of the driven gear satisfy the following relationship:
[0042]
[0043] Among them, r is the equivalent radius, R' is the radius of the driven gear, k is the preset coefficient, x is the first rotation angle, the equivalent radius is the radius at the current meshing position, the first rotation angle of the helical drive gear is the angle corresponding to the arc between the current meshing position and the initial meshing position, the current meshing position is the position on the helical drive gear that is currently meshed with the rack, and the initial meshing position is the position with the largest radius on the helical drive gear.
[0044] In one embodiment of the present invention, the monitoring device 200 includes: a rotary potentiometer, the rotary potentiometer includes a resistor and a brush, the first end of the resistor is grounded, the second end is connected to a preset power supply, the brush of the rotary potentiometer is connected to the rotating component 102, and the rotary potentiometer is configured so that when the rotating component 102 rotates, the brush moves on the resistor; an angle monitoring device, the first input end of the angle monitoring device is connected to the first end of the resistor, the second input end of the angle monitoring device is connected to the brush, and the third input end of the angle monitoring device is connected to the second end of the resistor, and the angle monitoring device is used to collect a first voltage at the first end, a second voltage at the brush, and a third voltage at the second end, and obtain a first rotation angle based on the first voltage, the second voltage, and the third voltage.
[0045] In one embodiment of the present invention, the angle monitoring device is also used to: calculate a first voltage difference between the third voltage and the second voltage, a second voltage difference between the third voltage and the first voltage, and obtain a first rotation angle based on the first voltage difference, the second voltage difference, and the total resistance of the resistor.
[0046] In one embodiment of the present invention, the monitoring device 200 also includes a signal generating device and a switch, the signal generating device is used to generate a modulation signal, the first end of the switch is connected to a preset power supply, the second end of the switch is connected to the second end of the resistor, the control end of the switch is connected to the output end of the signal generating device, and the switch is used to perform a switching action under the control of the modulation signal.
[0047] In one embodiment of the present invention, the fourth input terminal of the angle monitoring device is also connected to the output terminal of the signal generating device, and the angle monitoring device is also used to: multiply the collected voltage signal with the modulation signal to obtain a first multiplication result, shift the modulation signal by 90 degrees and multiply it with the voltage signal to obtain a second multiplication result, and low-pass filter the first multiplication result to obtain a first filtering result, low-pass filter the second multiplication result to obtain a second filtering result, and obtain a first voltage, a second voltage and a third voltage according to the first filtering result and the second filtering result.
[0048] The microwave attenuator control system 10 according to the embodiment of the present invention is described in detail below.
[0049] Specifically, the microwave attenuator control system 10 includes: a driving device 100, the driving device 100 includes a power component 101, a rotating component 102 and a driving component 103, the power component 101 is used to rotate the rotating component 102, when the rotating component 102 rotates, it drives the driving component 103 to rotate the rotating absorption plate, so that the rotating absorption plate rotates relative to the fixed absorption plate; a monitoring device 200, connected to the rotating component 102, for monitoring a first rotation angle of the rotating component 102; a control device 300, connected to the monitoring device 200 and the power component 101, for obtaining a current microwave power attenuation value of the microwave attenuator according to the first rotation angle, and when the current microwave power attenuation value does not reach the target microwave power attenuation value, controlling the power component 101 to rotate the rotating component 102 to change the current microwave power attenuation value until the current microwave power attenuation value reaches the target microwave power attenuation value.
[0050] Of course, the driving gear control subsystem including the monitoring device 200 and the control device 300 may not be provided to respectively implement the monitoring and control functions, but the monitoring and control functions may be directly implemented by the monitoring device 200; for another example, the monitoring device 200 may not be provided, that is, the control method is pre-set, and the control is directly performed by the control device 300; for another example, the monitoring device 200 may not be provided, and the control method may be pre-set, and the control may be directly performed by the control device 300.
[0051] For the above-mentioned microwave attenuator including a rotating absorption plate and a fixed absorption plate, when there is an angle between the rotating absorption plate and the fixed absorption plate, the input microwave signal will be absorbed, and the degree of absorption is related to the angle between the rotating absorption plate and the fixed absorption plate. Therefore, as long as the angle between the rotating absorption plate and the fixed absorption plate is accurately and stably controlled, accurate and stable control of the microwave attenuator can be achieved.
[0052] Therefore, a microwave attenuator control system 10 as described above is designed, comprising a driving device 100, a monitoring device 200 and a control device 300. The driving device 100 comprises a power assembly 101, a rotating assembly 102 and a driving assembly 103, wherein the power assembly 101 is used to rotate the rotating assembly 102, and when the rotating assembly 102 rotates, the driving assembly 103 is driven to rotate the rotating absorption sheet.
[0053] A monitoring device 200 is provided, and the monitoring device 200 is used to monitor the first rotation angle of the rotating component 102. When the rotating component 102 rotates, it drives the driving component 103 to rotate the rotating absorption sheet, and since the angle between the rotating absorption sheet and the fixed absorption sheet is related to the current rotation microwave power attenuation value of the microwave attenuator, therefore, the rotation of the rotating component 102 by the power component 101 will cause the microwave power attenuation value of the microwave attenuator to change.
[0054] The power assembly 101 can be implemented by a drive motor, a stepper motor, a reducer, etc., and the monitoring device 200 can be implemented by a rotary potentiometer, a rotary encoder, etc.
[0055] Specifically, the upper computer software sends a specific power value, and after receiving the specific power value, the control device 300 obtains the target microwave power attenuation value according to the specific power value, controls the power component 101 to rotate the rotating component 102, and obtains the first rotation angle obtained by the monitoring device 200 in real time, and obtains the current microwave power attenuation value of the microwave attenuator according to the first rotation angle, until the current microwave attenuation value of the microwave attenuator reaches the target microwave power attenuation value.
[0056] Therefore, by monitoring the first rotation angle, the current microwave power attenuation value of the microwave attenuation value is obtained according to the first rotation angle, thereby avoiding the problem of using a power meter to access the input signal and the output signal to obtain the current microwave power attenuation value, and achieving accurate monitoring of the microwave power attenuation value of the microwave attenuator.
[0057] For the above microwave attenuator, as the angle between the rotating absorption plate and the fixed absorption plate gradually increases, the increment of the microwave power attenuation value corresponding to the unit increment of the angle between the rotating absorption plate and the fixed absorption plate will also gradually increase, which results in that when the angle between the rotating absorption plate and the fixed absorption plate is large, the accuracy of the microwave power attenuation value obtained by monitoring the first rotation angle of the rotating absorption plate is significantly reduced. In other words, the above scheme of using the monitoring device 200 to monitor the first rotation angle of the rotating component 102 and obtaining the current microwave power attenuation value according to the first rotation angle can avoid the problem of using the power meter to access the input signal and the output signal to obtain the current microwave power attenuation value, and accurately monitor the microwave power attenuation value of the microwave attenuator, but when the angle between the rotating absorption plate and the fixed absorption plate is large, even if the angle between the rotating absorption plate and the fixed absorption plate changes only slightly, it will cause the microwave power attenuation value of the microwave attenuator to change significantly, which increases the difficulty of obtaining the above current microwave power attenuation value.
[0058] Therefore, in order to reduce the difficulty of obtaining the current microwave power attenuation value, the rotating component 102 is provided to include a helical driving gear, and the driving component 103 includes a rack and a driven gear. The helical driving gear is connected to the power component 101 to rotate under the control of the power component 101. The driven gear is fixedly connected to the rotating absorption sheet through a second connecting member, and the rotation axis of the driven gear is consistent with the rotation axis of the rotating absorption sheet. The helical driving gear drives the driven gear to rotate through the rack to drive the rotating absorption sheet to rotate.
[0059] The helical drive gear is a helical gear, and the helical drive gear can rotate under the drive of the power assembly 101 .
[0060] Specifically, the rotating component 102 is set as a helical drive gear. Since the radii of different positions of the helical drive gear are different, when the power component 101 drives the helical drive gear to rotate, the radius of the meshing position between the helical drive gear and the rack will change continuously.
[0061] Since for a gear, when the rotation angle is constant, the smaller the radius, the smaller the arc corresponding to the rotation angle. Therefore, the above-mentioned rotating assembly 102 is set to include a helical driving gear, and the driving assembly 103 includes a rack and a driven gear. The helical driving gear is meshed with the rack to drive the rack to move. With the rotation of the helical driving gear, the moving speed of the rack changes continuously under the premise that the rotation speed of the helical driving gear remains unchanged, so that the rotation speed of the driven gear changes continuously, thereby realizing the continuous change of the rotation speed of the rotating absorption sheet.
[0062] Furthermore, since the driven gear is fixedly connected to the rotating absorption sheet via the second connecting member, and the rotation axis of the driven gear is consistent with the rotation axis of the rotating absorption sheet, the rotation angle of the driven gear is consistent with the rotation angle of the rotating absorption sheet.
[0063] At this time, it is only necessary to set the power component 101 to drive the spiral driving gear to rotate continuously in a manner in which the radius of the meshing position with the rack is continuously reduced, so that the rotation speed of the rotating absorption plate can be continuously reduced as the angle between the rotating absorption plate and the fixed absorption plate is continuously increased.
[0064] In this way, the difficulty of obtaining the current microwave power attenuation value of the microwave attenuator can be reduced.
[0065] The equivalent radius of the helical driving gear, the first rotation angle of the helical driving gear, and the radius of the driven gear satisfy the following relationship:
[0066]
[0067] Among them, r is the equivalent radius, R' is the radius of the driven gear, k is the preset coefficient, x is the first rotation angle, the equivalent radius is the radius at the current meshing position, the first rotation angle of the helical drive gear is the angle corresponding to the arc between the current meshing position and the initial meshing position, the current meshing position is the position on the helical drive gear that is currently meshed with the rack, and the initial meshing position is the position with the largest radius on the helical drive gear.
[0068] by Figure 3 The example shown is used for illustration.
[0069] exist Figure 3 , the current meshing position is point E, the initial meshing position is point F, and the first rotation angle corresponding to point E is the angle corresponding to the arc between point E and point F. Specifically, the helical driving gear rotates, and the initial meshing position of the helical driving gear with the rack is point F. After rotation, the meshing position of the helical driving gear with the rack changes from point F to point E. At this time, the helical driving gear has rotated an angle.
[0070] Specifically, in order to overcome the problem of decreased accuracy of the microwave power attenuation value obtained by monitoring the rotation angle of the rotating absorption plate when the angle between the rotating absorption plate and the fixed absorption plate is large, a helical driving gear can be used in conjunction with a rack to drive a driven gear, so that as the second rotation angle increases, the change in the driven gear rotation angle corresponding to the rotation angle of the driving gear unit gradually decreases.
[0071] More preferably, the rotation angle of the helical drive gear and the microwave power attenuation value y can have a linear relationship. Specifically, y=401g (cosθ) is used.
[0072] Since the rotation speed of the rotating absorption sheet needs to be continuously reduced as the helical driving gear rotates, it is necessary to set the meshing position of the helical driving gear and the rack to the initial meshing position when the helical driving gear starts to rotate. Therefore, the first rotation angle is the rotation angle of the helical driving gear.
[0073] At the same time, since the rotation angle of the driven gear is consistent with the rotation angle of the rotating absorption plate, and in the above-mentioned microwave attenuator including the rotating absorption plate and the fixed absorption plate, the default initial state of the rotating absorption plate is parallel to the fixed absorption plate, so the rotation angle of the driven gear is the above-mentioned θ.
[0074] Therefore, the above y=40lg(cosθ) can be modified to
[0075] get About the inverse function of s:
[0076]
[0077] Because under the transmission of the rack, the edge displacement generated by the rotation of the helical driving gear is equal to the arc length generated by the rotation of the driven gear, both of which are s; therefore, the relationship between the rotation angle x and s of the helical driving gear is:
[0078]
[0079] Since the differential relationship between x and s is: Therefore, the relationship between r and x should be the derivative of s with respect to x:
[0080]
[0081] Wherein, s′ is the derivative function of s with respect to x.
[0082] By making the radius of the helical drive gear start from the driving starting position (i.e., the above-mentioned initial meshing position), and designing the change of r (the distance between the edge of the helical drive gear and the axis of rotation) according to the above formula based on x (having a starting radius and then gradually decreasing), a linear relationship can be made between x and y, thereby making it easier to maintain a stable accuracy of the microwave power attenuation value obtained by monitoring the rotation angle of the rotating absorption plate.
[0083] That is to say, by setting the first rotation angle x of the helical drive gear and the equivalent radius r to satisfy the above formula, it is possible to achieve a linear relationship between the first rotation angle x of the helical drive gear and the current microwave power attenuation value y, thereby further reducing the difficulty of obtaining the current microwave power attenuation value.
[0084] exist Figure 3 In the embodiment, the fixed seat is used to enable the helical drive gear to move under the constraint of the fixed seat, the spring is used to push the helical drive gear, and the rack seat is used to provide services for the rack.
[0085] The monitoring device 200 includes: a rotary potentiometer, the rotary potentiometer includes a resistor and a brush, the first end of the resistor is grounded, the second end is connected to a preset power supply, the brush of the rotary potentiometer is connected to the rotating component 102, and the rotary potentiometer is configured so that when the rotating component 102 rotates, the brush moves on the resistor; an angle monitoring device, the first input end of the angle monitoring device is connected to the first end of the resistor, the second input end of the angle monitoring device is connected to the brush, and the third input end of the angle monitoring device is connected to the second end of the resistor, and the angle monitoring device is used to collect a first voltage at the first end, a second voltage at the brush, and a third voltage at the second end, and obtain a first rotation angle according to the first voltage, the second voltage, and the third voltage.
[0086] Specifically, see Figure 4 Usually, the rotary potentiometer monitors the voltage difference between ② and ③ by inputting a stable current, so as to obtain the current resistance value of the rotary potentiometer, which corresponds to the angle of the swing arm r at the current drive end; even if the rotary potentiometer is not rotating at present, the voltage difference between ② and ③ still fluctuates to a certain extent due to the influence of temperature, and it is usually a low-frequency fluctuation, which is not easy to remove by filtering.
[0087] To this end, the present invention is set to monitor the voltage between ①, ② and ③ to obtain V1, V2 and V3, and the voltage between ① and ③ is V in , the voltage between ① and ② is V out ,according to Calculate the relative value of the voltage, and determine the current resistance value of the rotary potentiometer based on the overall resistance value of the rotary potentiometer as the monitoring signal of the angle of the drive end swing arm r. Regardless of the temperature characteristics of the resistor, the influence of its temperature drift on the local and overall is proportional, so by monitoring the relative value of the voltage between ② and ③ relative to that between ① and ③, the influence of temperature drift can be effectively eliminated.
[0088] The V2 is the second power supply, the V1 is the first power supply, and the V3 is the third power supply, i.e., the angle monitoring device, is further used to calculate a first voltage difference between the third voltage and the second voltage, a second voltage difference between the third voltage and the first voltage, and obtain a first rotation angle according to the first voltage difference, the second voltage difference, and the total resistance of the resistor.
[0089] Optionally, the V1 may be set as the third power source, and the V3 may be set as the first power source.
[0090] The monitoring device 200 also includes a signal generating device and a switch. The signal generating device is used to generate a modulation signal. The first end of the switch is connected to a preset power supply, the second end of the switch is connected to the second end of the resistor, and the control end of the switch is connected to the output end of the signal generating device. The switch is used to perform a switching action under the control of the modulation signal.
[0091] Among them, the fourth input terminal of the angle monitoring device is also connected to the output terminal of the signal generating device, and the angle monitoring device is also used to: multiply the collected voltage signal with the modulation signal to obtain a first multiplication result, shift the modulation signal by 90 degrees and multiply it with the voltage signal to obtain a second multiplication result, and low-pass filter the first multiplication result to obtain a first filtering result, low-pass filter the second multiplication result to obtain a second filtering result, and obtain a first voltage, a second voltage and a third voltage according to the first filtering result and the second filtering result.
[0092] Specifically, see Figure 5 In order to avoid 1 / f noise in the signal chain, the present invention modulates the rotary potentiometer signal. The specific modulation method is:
[0093] A switch is set at the power supply (voltage source or current source), and the modulation signal generated by the signal generating device is input to the switch, so that the switch turns on and off the power supply according to the frequency of the modulation signal, so that the signal collected by the ADC is a square wave signal consistent with the frequency of the modulation signal. Figure 5 OP is an operational amplifier, which is used to achieve voltage or current stabilization. Figure 4 The voltages of rotary potentiometers ①, ② and ③ are shown.
[0094] The collected square wave modulation signal of the rotary potentiometer is demodulated by a phase-locked amplifier, assuming that:
[0095] The reference signal (i.e. the above-mentioned modulation signal) is: A m1 is the amplitude of the reference signal, ω is the frequency, is relative to the reference signal.
[0096] The signal to be tested is: A m2 is the amplitude of the signal to be measured, is the phase of the signal to be measured.
[0097] The 1 / f noise signal is: ∑A mi sin(ω i t), A mi is the amplitude of the specific i-th sub-signal in the noise signal, ω i is the frequency of the ith sub-signal, and all sub-signals are added together to obtain the 1 / f noise signal. t is time.
[0098] That is to say, the voltage signal actually collected includes the above-mentioned signal to be measured and the above-mentioned 1 / f noise signal.
[0099] Then the reference signal is divided into two paths, one of which is directly multiplied with the signal to be tested doped with noise to obtain the first multiplication result:
[0100]
[0101] After the other path is phase-shifted by 90°, it is multiplied with the noise-doped signal to be measured to obtain the second multiplication result:
[0102]
[0103] After the two multiplied signals are respectively passed through a low-pass filter, the AC component in the signal is filtered out and the DC component in the signal is retained, and the first filtering result and the second filtering result are obtained, which are:
[0104]
[0105] U A , U B That is, the first filtering result and the second filtering result mentioned above.
[0106] Get 0.5A m1 A m2 ; Due to the A in the reference signal m1 is known, so the A in the signal to be measured can be obtained m2 Based on this method, the actual first voltage, second voltage and third voltage can be obtained.
[0107] In order to better illustrate the microwave attenuator control system 10, it is assumed that the rotating assembly 102 includes Figure 2 The driving swing arm shown, the driving assembly 103 includes Figure 2 The intermediate link and driven swing arm are shown for further explanation.
[0108] Specifically, the two ends of the middle connecting rod are hingedly connected to the free end of the driving swing arm and the free end of the driven swing arm respectively, the fixed end of the driving swing arm is connected to the power assembly 101, and the working end of the driven swing arm is fixedly connected to the rotating absorption plate through the first connecting member to drive the rotating absorption plate to rotate.
[0109] It can be seen that for the above-mentioned driving device 100, when the power component 101 outputs power, the free end of the driving swing arm will rotate with the fixed end as the center, driving the intermediate connecting rod connected to the free end of the driving swing arm, and then the intermediate connecting rod drives the driven swing arm to move. Since the rotating absorption plate can only move in one way, which is to rotate around the rotating axis of the rotating absorption plate, the driven swing arm can drive the rotating absorption plate to rotate.
[0110] Since the working end of the driven swing arm is fixedly connected to the rotating absorption plate, that is, during the rotation of the driven swing arm, the working end of the driven swing arm will be fixed on the rotating absorption plate or the connecting device of the rotating absorption plate.
[0111] The above-mentioned driven swing arm can be an actual swing arm or an equivalent swing arm. For example, it is assumed that the above-mentioned rotating absorption plate is arranged in the central waveguide, and the rotation axis of the rotating absorption plate is located on the central axis of the central waveguide. If the above-mentioned driven swing arm is an actual swing arm, a connecting device can be arranged on the outer surface of the central waveguide at a position located on the central axis of the central waveguide, and the central waveguide is connected to the working end of the driven swing arm through the connecting device. If the above-mentioned driven swing arm is an equivalent swing arm, the above-mentioned driven swing arm and the above-mentioned central waveguide can be integrated, that is, the driven swing arm is a part of the central waveguide. At this time, the working end of the driven swing arm can be regarded as being located on the rotation axis of the rotating absorption plate.
[0112] At this time, the first angle can be obtained according to the first rotation angle, and the second angle can be obtained according to the first angle, the first length of the driving swing arm, the second length of the intermediate connecting rod, the first distance and the second distance. The second angle is substituted into the preset second angle-second rotation angle correspondence to obtain the second rotation angle, and the current microwave power attenuation value is obtained according to the second rotation angle, wherein the first angle is the angle between the first direction and the second direction, the second angle is the angle between the third direction and the second direction, the second rotation angle is the angle between the rotating absorption plate and the fixed absorption plate, the first direction is the direction from the fixed end of the driving swing arm to the free end of the driving swing arm, the second direction is the direction from the rotation center of the driven swing arm to the fixed end of the driving swing arm, the third direction is the direction from the rotation center of the driven swing arm to the free end of the driven swing arm, the first distance is the distance between the free end of the driven swing arm and the rotation center of the driven swing arm, and the second distance is the distance between the rotation center of the driven swing arm and the fixed end of the driving swing arm.
[0113] Combine the following Figure 6 The example shown is used for illustration.
[0114] The microwave attenuator includes a fixed absorption sheet and a rotating absorption sheet. The rotating assembly 102 includes a driving swing arm, an intermediate connecting rod, and a driven swing arm. As can be seen from the figure, Figure 2 The driven swing arm in is an equivalent swing arm. Figure 2 It can be seen that the rotation center of the driven swing arm is located on the rotation axis of the rotating absorption plate.
[0115] See below for more information Figure 6 Herein, Figure 3 for Figure 2 A cross-sectional view of the system shown.
[0116] exist Figure 6 , the first direction is the direction from point A to point B, the third direction is the direction from point D to point C, the second direction is the direction from point D to point A, the first distance is the distance between point C and point D, the second distance is the distance between point D and point A, the first length is the length of the line between point A and point B, and the second length is the length of the line between point B and point C.
[0117] The second rotation angle can be obtained according to the following formula:
[0118] dRcosβ=drcosα-rRsin(α+β)+k,
[0119] Wherein, d is the second distance, R is the first distance, β is the second angle, r is the first length, α is the first angle, h is the second length.
[0120] However, for the above-mentioned microwave attenuator, as the angle between the rotating absorption plate and the fixed absorption plate gradually increases, the increment of the microwave power attenuation value corresponding to the unit increment of the angle between the rotating absorption plate and the fixed absorption plate will also gradually increase, resulting in a significant decrease in the accuracy of the microwave power attenuation value obtained by monitoring the rotation angle of the rotating absorption plate when the angle between the rotating absorption plate and the fixed absorption plate is large. In other words, the above-mentioned scheme of using the monitoring device 200 to monitor the first rotation angle of the rotating component 102 and obtaining the current microwave power attenuation value according to the first rotation angle can avoid the problem of using the power meter to access the input signal and the output signal to obtain the current microwave power attenuation value, and accurately monitor the microwave power attenuation value of the microwave attenuator, but when the angle between the rotating absorption plate and the fixed absorption plate is large, even if the angle between the rotating absorption plate and the fixed absorption plate changes only slightly, it will cause the microwave power attenuation value of the microwave attenuator to change significantly, which increases the difficulty of obtaining the above-mentioned current microwave power attenuation value.
[0121] Therefore, in order to reduce the difficulty of obtaining the current microwave power attenuation value, it is necessary to realize that when the driving swing arm rotates, as the driving swing arm rotates, the unit change of the second rotation angle driven by the unit change of the first rotation angle continues to decrease. For example, assuming that when the driving swing arm starts to rotate, the first rotation angle changes by 1 degree, which may drive the second rotation angle to change by 0.7 degrees, then after the driving swing arm rotates for a period of time, the first rotation angle changes by 1 degree, which may only drive the second rotation angle to change by 0.4 degrees.
[0122] That is to say, it is necessary to set up so that the rotation rate of the rotating absorption plate is continuously slowed down when the rotating absorption plate rotates, so as to avoid the difficulty in obtaining the current microwave attenuation value due to the large change in the microwave power attenuation value of the microwave attenuator.
[0123] In order to realize the above settings, it is necessary to set appropriate k values (R, r, d and h), appropriate starting rotation positions of the driving swing arm and the driven swing arm. For example, by setting the above R, r, d, h, the starting rotation positions of the driving swing arm and the driven swing arm, it is possible to set the fixed end of the driving swing arm to be above the rotation center of the driven swing arm, when the rotating absorption sheet is parallel to the fixed absorption sheet, the free end of the driving swing arm is located to the lower left of the fixed end of the driving swing arm, and the free end of the driven swing arm is located to the lower left of the rotation center of the driven swing arm, when the rotating absorption sheet is perpendicular to the fixed absorption sheet, the free end of the driving swing arm is located to the upper right of the fixed end of the driving swing arm, and the free end of the driven swing arm is located to the upper left of the rotation center of the driven swing arm, the second rotation angle is consistent with the third rotation angle, and the third rotation angle is the rotation angle of the driven swing arm.
[0124] Specifically, since the initial state is that the rotating absorbent sheet is parallel to the fixed absorbent sheet, and the ending state is that the rotating absorbent sheet is perpendicular to the fixed absorbent sheet, that is, when the rotating absorbent sheet is perpendicular to the fixed absorbent sheet, the second rotation angle is 90 degrees, and since the second rotation angle is consistent with the third rotation angle, the third rotation angle is 90 degrees.
[0125] At the same time, since the free end of the driven swing arm moves from the lower left corner of the rotation center of the driven swing arm to the upper left corner when the third rotation angle is 90 degrees, that is, the free end of the driven swing arm moves from the left side, it can be clearly seen that the free end of the driving swing arm also moves from the left side.
[0126] Assuming that by adjusting the above R, r, d, and h, it can be achieved that when the driven swing arm rotates 90 degrees, the driving swing arm rotates 180 degrees, then the geometric relationship between the driving swing arm, the driven swing arm, and the intermediate connecting rod can be seen in Figure 7 It can be seen that as the driving swing arm rotates continuously, the rotation angle of the driven swing arm driven by a unit rotation angle of the driving swing arm continues to decrease.
[0127] That is to say, by setting the above-mentioned "the fixed end of the driving swing arm is located above the rotation center of the driven swing arm, when the rotating absorption plate is parallel to the fixed absorption plate, the free end of the driving swing arm is located at the lower left of the fixed end of the driving swing arm, and the free end of the driven swing arm is located at the lower left of the rotation center of the driven swing arm, when the rotating absorption plate is perpendicular to the fixed absorption plate, the free end of the driving swing arm is located at the upper right of the fixed end of the driving swing arm, and the free end of the driven swing arm is located at the upper left of the rotation center of the driven swing arm, the second rotation angle is consistent with the third rotation angle, and the third rotation angle is the rotation angle of the driven swing arm", the difficulty of obtaining the current microwave power attenuation value can be reduced.
[0128] Optionally, the current microwave power attenuation value is obtained according to the following formula:
[0129] y=40lg(cosθ),
[0130] Wherein, y is the current microwave power attenuation value, and θ is the second rotation angle.
[0131] Figure 8 is the function graph of f(z)=lg(cosz), that is Figure 8 In the equation, the horizontal coordinate is z and the vertical coordinate is f(z). Both z and f(z) are function symbols. For example, if the second rotation angle is substituted into the function, then z is θ.
[0132] By making the first rotation angle of the driving swing arm within a range of about 180°, the third rotation angle of the driven swing arm is driven to change by 90°. The angle between the rotating absorption sheet and the fixed absorption sheet is θ, and the microwave power attenuation value is 40·lg(cosθ). Figure 8From the function graph of f(x)=lg(cosx), we can know that:
[0133] like Figure 7 As shown, since the second rotation angle θ is the same as the third rotation angle, when the free end of the driving swing arm is located at the lower left, the driven swing arm makes θ=0°; when the free end of the driving swing arm is located at the upper right, the driven swing arm makes θ=90°. Figure 7 It is very intuitive that when θ approaches 90°, the change in β driven by a unit change in α gradually decreases.
[0134] Therefore, after obtaining the first rotation angle of the driving swing arm, the first angle can be obtained according to the first rotation angle, the second angle can be obtained according to the first angle, and then the second rotation angle can be obtained according to the second angle, and the current microwave power attenuation value can be obtained according to the second rotation angle.
[0135] It can be seen that the use of Figure 2 In the structure shown, if the difficulty of obtaining the current microwave power attenuation value needs to be reduced, specific R, r, d, and h need to be set, and the starting position of the free end of the driven swing arm, the starting position of the free end of the driving swing arm, and the optional rotation angles of the driving swing arm and the driven swing arm are all restricted, that is, the shape of the structure, that is, the degree of freedom during operation is restricted. However, if the microwave attenuator control system 10 including the helical drive gear, rack, driven gear and drive gear control subsystem is adopted, it can be achieved by controlling the starting state of the helical drive gear, that is, relative to Figure 2 The structure shown can achieve better technical effects.
[0136] In summary, the microwave attenuator control system of the embodiment of the present invention is provided with a microwave attenuator including a rotating absorption plate and a fixed absorption plate. The system includes a helical drive gear, a rack, a driven gear and a drive gear control subsystem. The helical drive gear is connected to the power assembly to rotate under the control of the power assembly. The driven gear is fixedly connected to the rotating absorption plate through a second connecting member. The helical drive gear drives the driven gear to rotate through the rack to drive the rotating absorption plate to rotate relative to the fixed absorption plate. The drive gear control subsystem is used to rotate the helical drive gear so that the current microwave power attenuation value of the microwave attenuator reaches the target microwave power attenuation value. Therefore, by setting a helical driving gear, it can be achieved that although the helical driving gear rotates, the rotation speed of the driven gear keeps changing. That is to say, it is only necessary to set the initial meshing position of the helical driving gear and the rack to the position with the largest radius on the helical driving gear, so that as the helical driving gear rotates, the rotation speed of the driven gear gradually decreases, causing the rotation speed of the rotating absorption plate to gradually decrease, thereby reducing the difficulty of obtaining the current microwave power attenuation value of the microwave attenuator and accurately monitoring the microwave power attenuation value of the microwave attenuator. Moreover, by monitoring the first rotation angle, the current microwave power attenuation value of the microwave attenuation value is obtained according to the first rotation angle, thereby avoiding the problem of using a power meter to access the input signal and the output signal to obtain the current microwave power attenuation value, thereby accurately monitoring the microwave power attenuation value of the microwave attenuator. Moreover, by setting the first rotation angle x of the helical driving gear to satisfy the equivalent radius r The difficulty of obtaining the current microwave power attenuation value can be further reduced. Moreover, the voltage between ①, ② and ③ is set to monitor to obtain V1, V2 and V3, which effectively eliminates the influence of temperature drift. Moreover, the monitoring device is set to include a signal generating device and a switch, the signal generating device is used to generate a modulation signal, the first end of the switch is connected to the preset power supply, the second end of the switch is connected to the second end of the resistor, the control end of the switch is connected to the output end of the signal generating device, and the switch is used to perform a switching action under the control of the modulation signal. Among them, the fourth input end of the angle monitoring device is also connected to the output end of the signal generating device, and the angle monitoring device is also used to: multiply the collected voltage signal with the modulation signal to obtain a first multiplication result, shift the modulation signal by 90 degrees and multiply it with the voltage signal to obtain a second multiplication result, and perform low-pass filtering on the first multiplication result to obtain a first filtering result, perform low-pass filtering on the second multiplication result to obtain a second filtering result, and obtain the first voltage, the second voltage and the third voltage according to the first filtering result and the second filtering result. Through this setting, it is possible to avoid 1 / f noise in the signal chain.
[0137] Furthermore, the present invention provides a microwave attenuator control method.
[0138] Fig. 9 It is a flow chart of the microwave attenuator control method according to an embodiment of the present invention.
[0139] In an embodiment of the present invention, the microwave attenuator includes a rotating absorption plate and a fixed absorption plate. The rotating absorption plate rotates relative to the fixed absorption plate under the drive of a driven gear. The driven gear rotates under the drive of a rack. The rack moves under the drive of a helical driving gear. The initial meshing position of the helical driving gear and the rack is the position with the largest radius on the helical driving gear.
[0140] like Fig. 9 As shown, the microwave attenuator control method comprises:
[0141] S91, obtaining a first rotation angle of the helical driving gear.
[0142] S92, obtaining a current microwave power attenuation value of the microwave attenuator according to the first rotation angle.
[0143] S93, when the current microwave power attenuation value does not reach the target microwave power attenuation value, rotate the helical driving gear to change the current microwave power attenuation value, and return to the step of obtaining the first rotation angle of the helical driving gear until the current microwave power attenuation value reaches the target microwave power attenuation value.
[0144] It should be noted that, for other specific implementations of the microwave attenuator control method of the embodiment of the present invention, reference may be made to the microwave attenuator control system of the above embodiment.
[0145] The microwave attenuator control method of the embodiment of the present invention can achieve that although the spiral driving gear rotates, the rotation speed of the driven gear keeps changing by setting a spiral driving gear. That is to say, it is only necessary to set the initial meshing position of the spiral driving gear and the rack to the position with the largest radius on the spiral driving gear, so that as the spiral driving gear rotates, the rotation speed of the driven gear gradually decreases, causing the rotation speed of the rotating absorption plate to gradually decrease, thereby reducing the difficulty of obtaining the current microwave power attenuation value of the microwave attenuator and accurately monitoring the microwave power attenuation value of the microwave attenuator. Moreover, by monitoring the first rotation angle and obtaining the current microwave power attenuation value of the microwave attenuation value according to the first rotation angle, the problem existing in obtaining the current microwave power attenuation value by accessing the input signal and the output signal using the power meter mentioned above is avoided, thereby accurately monitoring the microwave power attenuation value of the microwave attenuator. Moreover, by setting the first rotation angle x of the spiral driving gear to satisfy the equivalent radius r The difficulty of obtaining the current microwave power attenuation value can be further reduced. Moreover, the voltage between ①, ② and ③ is set to monitor to obtain V1, V2 and V3, which effectively eliminates the influence of temperature drift. Moreover, the monitoring device is set to include a signal generating device and a switch, the signal generating device is used to generate a modulation signal, the first end of the switch is connected to the preset power supply, the second end of the switch is connected to the second end of the resistor, the control end of the switch is connected to the output end of the signal generating device, and the switch is used to perform a switching action under the control of the modulation signal. Among them, the fourth input end of the angle monitoring device is also connected to the output end of the signal generating device, and the angle monitoring device is also used to: multiply the collected voltage signal with the modulation signal to obtain a first multiplication result, shift the modulation signal by 90 degrees and multiply it with the voltage signal to obtain a second multiplication result, and perform low-pass filtering on the first multiplication result to obtain a first filtering result, perform low-pass filtering on the second multiplication result to obtain a second filtering result, and obtain the first voltage, the second voltage and the third voltage according to the first filtering result and the second filtering result. Through this setting, it is possible to avoid 1 / f noise in the signal chain.
[0146] Furthermore, the present invention provides an electronic device.
[0147] Fig.10 It is a structural block diagram of an electronic device according to an embodiment of the present invention.
[0148] like Fig.10 As shown, the electronic device 500 includes: a processor 501 and a memory 503. The processor 501 and the memory 503 are connected, such as through a bus 502. Optionally, the electronic device 500 may also include a transceiver 504. It should be noted that in actual applications, the transceiver 504 is not limited to one, and the structure of the electronic device 500 does not constitute a limitation on the embodiments of the present invention.
[0149] Processor 501 may be a CPU (Central Processing Unit), a general purpose processor, a DSP (Digital Signal Processor), an ASIC (Application Specific Integrated Circuit), an FPGA (Field Programmable Gate Array) or other programmable logic devices, transistor logic devices, hardware components or any combination thereof. It may implement or execute various exemplary logic blocks, modules and circuits described in conjunction with the disclosure of the present invention. Processor 501 may also be a combination that implements computing functions, such as a combination of one or more microprocessors, a combination of a DSP and a microprocessor, etc.
[0150] The bus 502 may include a path to transmit information between the above components. The bus 502 may be a PCI (Peripheral Component Interconnect) bus or an EISA (Extended Industry Standard Architecture) bus. The bus 502 may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 5 Only one thick line is used in the diagram, but this does not mean that there is only one bus or only one type of bus.
[0151] The memory 503 is used to store a computer program corresponding to the microwave attenuator control method of the above embodiment of the present invention, and the computer program is controlled and executed by the processor 501. The processor 501 is used to execute the computer program stored in the memory 503 to implement the contents shown in the above method embodiment.
[0152] in, Fig.10 The electronic device 500 shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present invention.
[0153] The electronic device of the embodiment of the present invention implements the above microwave attenuator control method, monitors the first rotation angle, and obtains the current microwave power attenuation value of the microwave attenuation value according to the first rotation angle, thereby avoiding the problem of using the power meter to access the input signal and the output signal to obtain the current microwave power attenuation value, and accurately monitoring the microwave power attenuation value of the microwave attenuator. In addition, by setting the first rotation angle x of the helical driving gear to satisfy the equivalent radius r The difficulty of obtaining the current microwave power attenuation value can be further reduced. Moreover, the voltage between ①, ② and ③ is set to monitor to obtain V1, V2 and V3, which effectively eliminates the influence of temperature drift. Moreover, the monitoring device is set to include a signal generating device and a switch, the signal generating device is used to generate a modulation signal, the first end of the switch is connected to the preset power supply, the second end of the switch is connected to the second end of the resistor, the control end of the switch is connected to the output end of the signal generating device, and the switch is used to perform a switching action under the control of the modulation signal. Among them, the fourth input end of the angle monitoring device is also connected to the output end of the signal generating device, and the angle monitoring device is also used to: multiply the collected voltage signal with the modulation signal to obtain a first multiplication result, shift the modulation signal by 90 degrees and multiply it with the voltage signal to obtain a second multiplication result, and perform low-pass filtering on the first multiplication result to obtain a first filtering result, perform low-pass filtering on the second multiplication result to obtain a second filtering result, and obtain the first voltage, the second voltage and the third voltage according to the first filtering result and the second filtering result. Through this setting, it is possible to avoid 1 / f noise in the signal chain.
[0154] It should be noted that the logic and / or steps represented in the flowchart or otherwise described herein can be considered as a sequenced list of executable instructions for implementing logical functions, and can be specifically implemented in any computer-readable medium for use by an instruction execution system, device or apparatus (such as a computer-based system, a system including a processor, or other system that can fetch instructions from an instruction execution system, device or apparatus and execute instructions), or in combination with these instruction execution systems, devices or apparatuses. For the purposes of this specification, "computer-readable medium" can be any device that can contain, store, communicate, propagate or transmit a program for use by an instruction execution system, device or apparatus, or in combination with these instruction execution systems, devices or apparatuses. More specific examples of computer-readable media (a non-exhaustive list) include the following: an electrical connection portion with one or more wirings (electronic device), a portable computer disk box (magnetic device), a random access memory (RAM), a read-only memory (ROM), an erasable and programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disk read-only memory (CDROM). In addition, the computer-readable medium may even be paper or other suitable medium on which the program is printed, since the program may be obtained electronically, for example, by optically scanning the paper or other medium and then editing, interpreting or processing in other suitable ways if necessary, and then stored in a computer memory.
[0155] It should be understood that the various parts of the present invention can be implemented by hardware, software, firmware or a combination thereof. In the above-mentioned embodiment, a plurality of steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. If implemented by hardware, as in another embodiment, it can be implemented by any one of the following technologies known in the art or their combination: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.
[0156] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "examples", "specific examples", or "some examples" means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner.
[0157] In the description of this specification, the terms "center", "longitudinal", "lateral", "length", "width", "thickness", "up", "down", "front", "back", "left", "right", "vertical", "horizontal", "top", "bottom", "inside", "outside", "clockwise", "counterclockwise", "axial", "radial", "circumferential" and the like indicate orientations or positional relationships based on the orientations or positional relationships shown in the accompanying drawings, and do not indicate or imply that the referred device or element must have a specific orientation, be constructed and operated in a specific orientation, and cannot be understood as a limitation on the present invention.
[0158] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include at least one of the features. In the description of the present invention, the meaning of "plurality" is at least two, such as two, three, etc., unless otherwise clearly and specifically defined.
[0159] In the description of this specification, unless otherwise specified, the terms "installed", "connected", "connected", "fixed" and the like should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection or an indirect connection through an intermediate medium, it can be the internal connection of two elements or the interaction relationship between two elements, unless otherwise clearly defined. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.
[0160] In the present invention, unless otherwise clearly specified and limited, a first feature being "above" or "below" a second feature may mean that the first and second features are in direct contact, or the first and second features are in indirect contact through an intermediate medium. Moreover, a first feature being "above", "above" or "above" a second feature may mean that the first feature is directly above or obliquely above the second feature, or simply means that the first feature is higher in level than the second feature. A first feature being "below", "below" or "below" a second feature may mean that the first feature is directly below or obliquely below the second feature, or simply means that the first feature is lower in level than the second feature.
[0161] Although the embodiments of the present invention have been shown and described above, it is to be understood that the above embodiments are exemplary and are not to be construed as limitations of the present invention. A person skilled in the art may change, modify, replace and vary the above embodiments within the scope of the present invention.
Claims
1. A microwave attenuator control system, characterized in that: The microwave attenuator includes a rotating absorption plate and a fixed absorption plate. The system includes a helical driving gear, a rack, a driven gear and a driving gear control subsystem. The helical driving gear is connected to a power assembly to rotate under the control of the power assembly. The driven gear is fixedly connected to the rotating absorption plate through a second connecting member. The helical driving gear drives the driven gear to rotate through the rack to drive the rotating absorption plate to rotate relative to the fixed absorption plate. The driving gear control subsystem is used to rotate the helical driving gear so that the current microwave power attenuation value of the microwave attenuator reaches the target microwave power attenuation value, wherein the initial meshing position of the helical driving gear and the rack is the position with the largest radius on the helical driving gear.
2. The microwave attenuator control system according to claim 1, characterized in that: The driving gear control subsystem comprises: a monitoring device connected to the helical drive gear and used to monitor a first rotation angle of the helical drive gear, wherein the first rotation angle of the helical drive gear is an angle corresponding to an arc between a current meshing position and an initial meshing position, the current meshing position is a position on the helical drive gear that meshes with the rack, and the initial meshing position is a position on the helical drive gear with a maximum radius; A control device is connected to the monitoring device and the power assembly, and is used to obtain a current microwave power attenuation value of the microwave attenuator according to the first rotation angle, and when the current microwave power attenuation value does not reach a target microwave power attenuation value, control the power assembly to rotate the helical drive gear to change the current microwave power attenuation value until the current microwave power attenuation value reaches the target microwave power attenuation value.
3. The microwave attenuator control system according to claim 2, characterized in that: The rotation axis of the driven gear coincides with the rotation axis of the rotation absorption sheet.
4. The microwave attenuator control system according to claim 3, characterized in that: The equivalent radius of the helical driving gear, the first rotation angle, and the radius of the driven gear satisfy the following relationship: Among them, r is the equivalent radius, R' is the radius of the driven gear, k is the preset coefficient, x is the first rotation angle, the equivalent radius is the radius at the current meshing position, the first rotation angle of the helical drive gear is the angle corresponding to the arc between the current meshing position and the initial meshing position, and the current meshing position is the position on the helical drive gear that is currently meshing with the rack.
5. The microwave attenuator control system according to claim 2, characterized in that: The monitoring device comprises: A rotary potentiometer, the rotary potentiometer comprising a resistor and a brush, a first end of the resistor being grounded, a second end being connected to a preset power supply, the brush of the rotary potentiometer being connected to the rotating component, and the rotary potentiometer being configured such that when the rotating component rotates, the brush moves on the resistor; An angle monitoring device, wherein the first input terminal of the angle monitoring device is connected to the first end of the resistor, the second input terminal of the angle monitoring device is connected to the brush, and the third input terminal of the angle monitoring device is connected to the second end of the resistor. The angle monitoring device is used to collect a first voltage at the first end, a second voltage at the brush, and a third voltage at the second end, and obtain the first rotation angle according to the first voltage, the second voltage and the third voltage.
6. The microwave attenuator control system according to claim 5, characterized in that: The angle monitoring device is also used for: A first voltage difference between the third voltage and the second voltage and a second voltage difference between the third voltage and the first voltage are calculated, and the first rotation angle is obtained according to the first voltage difference, the second voltage difference, and a total resistance of the resistor.
7. The microwave attenuator control system according to claim 5, characterized in that: The monitoring device also includes a signal generating device and a switch, wherein the signal generating device is used to generate a modulation signal, the first end of the switch is connected to the preset power supply, the second end of the switch is connected to the second end of the resistor, the control end of the switch is connected to the output end of the signal generating device, and the switch is used to perform a switching action under the control of the modulation signal.
8. The microwave attenuator control system according to claim 7, characterized in that: The fourth input terminal of the angle monitoring device is also connected to the output terminal of the signal generating device, and the angle monitoring device is further used for: The collected voltage signal is multiplied by the modulation signal to obtain a first multiplication result, the modulation signal is phase-shifted by 90 degrees and then multiplied by the voltage signal to obtain a second multiplication result, the first multiplication result is low-pass filtered to obtain a first filtering result, the second multiplication result is low-pass filtered to obtain a second filtering result, and the first voltage, the second voltage and the third voltage are obtained according to the first filtering result and the second filtering result.
9. A microwave attenuator control method, characterized in that: The microwave attenuator comprises a rotating absorption sheet and a fixed absorption sheet, wherein the rotating absorption sheet rotates relative to the fixed absorption sheet under the driving of a driven gear, the driven gear rotates under the driving of a rack, the rack moves under the driving of a helical driving gear, and the initial meshing position of the helical driving gear and the rack is the position with the largest radius on the helical driving gear. The method comprises: Obtaining a first rotation angle of the helical drive gear; Obtaining a current microwave power attenuation value of the microwave attenuator according to the first rotation angle; When the current microwave power attenuation value does not reach the target microwave power attenuation value, the helical drive gear is rotated to change the current microwave power attenuation value, and the step of obtaining the first rotation angle of the helical drive gear is returned until the current microwave power attenuation value reaches the target microwave power attenuation value.
10. An electronic device, characterized in that: The invention comprises a memory, a processor and a computer program stored in the memory and running on the processor, wherein when the computer program is executed by the processor, the microwave attenuator control method according to claim 9 is implemented.