CN113922789A - Multi-path digital adjustable attenuator device and attenuation control method - Google Patents
Multi-path digital adjustable attenuator device and attenuation control method Download PDFInfo
- Publication number
- CN113922789A CN113922789A CN202111331421.9A CN202111331421A CN113922789A CN 113922789 A CN113922789 A CN 113922789A CN 202111331421 A CN202111331421 A CN 202111331421A CN 113922789 A CN113922789 A CN 113922789A
- Authority
- CN
- China
- Prior art keywords
- attenuation
- digital
- fpga
- adjustable attenuator
- value
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Classifications
-
- H—ELECTRICITY
- H03—ELECTRONIC CIRCUITRY
- H03H—IMPEDANCE NETWORKS, e.g. RESONANT CIRCUITS; RESONATORS
- H03H17/00—Networks using digital techniques
- H03H17/0054—Attenuators
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04B—TRANSMISSION
- H04B17/00—Monitoring; Testing
Landscapes
- Physics & Mathematics (AREA)
- Electromagnetism (AREA)
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Input Circuits Of Receivers And Coupling Of Receivers And Audio Equipment (AREA)
Abstract
The invention discloses a multipath digital adjustable attenuator device, which comprises a multipath digital attenuation circuit and an FPGA (field programmable gate array) for controlling the attenuation value of the digital attenuation circuit, wherein the output end of the FPGA is respectively connected with the input end of the multipath digital attenuation circuit and provides a digital control signal of the attenuation value for the digital attenuation circuit. The invention utilizes the FPGA and the digital attenuation chip to form the multi-path digital adjustable attenuator, is convenient for debugging and use, can control the actual attenuation value by using a command, does not need to replace a fixed attenuator and does not need to adjust a circuit. Compared with the debugging of a multi-path fixed attenuator, the loss of the device is greatly reduced, the use cost is further reduced, and the test efficiency is greatly improved.
Description
Technical Field
The invention belongs to the technical field of digital communication testing, and particularly relates to a multi-path digital adjustable attenuator device and an attenuation control method.
Background
Attenuators are common devices for signal attenuation in the field of communications. Currently, the conventional attenuator is mainly a fixed attenuator. The attenuation gain of the attenuator is fixed, such as 3dB, 20dB, 30dB and the like.
In mobile communication tests, particularly 5G mobile communication tests, in order to accurately detect the accuracy of signal output power adjustment of mobile communication equipment, the attenuator needs to be adjusted every 1dB, that is, attenuation values of 15dB, 14dB, 13dB, 12dB and the like may be required.
In transmission, the fixed value attenuators of 1dB, 2dB, 3dB, 5dB and the like are required to be gradually accumulated so as to achieve the purpose of presetting attenuation. And this adjustment requires a lot of time for the connection work. Moreover, only one channel can be adjusted in each adjustment. For testing multiple channels of multiple devices, multiple channels need to be adjusted simultaneously, which consumes a lot of time.
Disclosure of Invention
The technical problem to be solved by the invention is to provide a multi-path digital adjustable attenuator device and an attenuation control method. The digital adjustable attenuation of any natural value in the range of 1-90dB can be realized, the multi-channel can be provided for testing at the same time, the equipment is assembled and connected at one time, the adjustment of the subsequent attenuation value is not needed to adjust hardware equipment, only the regulation and control value needs to be changed, the use is convenient, the testing efficiency is high, and the cost is low.
In order to solve the problems, the technical scheme adopted by the invention is as follows:
the output end of the FPGA is respectively connected with the input end of the multi-path digital attenuation circuit, and provides a digital control signal of the attenuation value for the digital attenuation circuit.
Furthermore, each digital attenuation circuit comprises a plurality of digital attenuation chips, a coupling capacitor and a radio frequency base, wherein the input radio frequency base is connected with the radio frequency input end of the first digital attenuation chip, the radio frequency output end of the first digital attenuation chip is connected with the radio frequency input end of the second digital attenuation chip through the capacitor, and so on, and the radio frequency output end of the Nth digital attenuation chip is connected with the output radio frequency base.
Preferably, each digital attenuation circuit comprises three digital attenuation chips, and the maximum attenuation value of each digital attenuation chip is more than 30 dB.
Furthermore, at least one of the three digital attenuation chips has an attenuation step gain of 0.25 dB.
Preferably, the three digital attenuation chips are respectively of two HMCs 1122L and one HMC 1119.
Furthermore, the FPGA is an FPGA supporting Ethernet communication, and is connected with a three-wire serial interface of the digital attenuation chip; the FPGA is of the EP3C5E1 family with more available interfaces.
Furthermore, the system also comprises a control device, and the FPGA is connected with the control device through a network cable.
Furthermore, the system also comprises a switch, and the control equipment is connected with the FPGA through the switch; the control equipment is a computer or a man-machine terminal with a network interface.
An attenuation control method of a multipath digital adjustable attenuator device comprises the following steps:
s1, the FPGA acquires attenuation control information;
s2, the FPGA sets an attenuation channel n according to the attenuation control information;
and S3, the FPGA sets an attenuation value m according to the attenuation control information, converts the attenuation value m into a digital control signal and outputs the digital control signal to the digital attenuation circuit to complete attenuation control.
Further, the FPGA in step S1 supports ethernet communication, and monitors the attenuation control information sent by the control device through the network; the digital attenuation circuit in step S3 is composed of two HMCs 1122L and one HMC1119 digital attenuation chip, and step S3 specifically includes the following steps:
s31, the FPGA compares the attenuation value m with a preset threshold range according to the attenuation control information;
s32, when the attenuation value m is less than or equal to 31dB, setting 0dB attenuation values for the two HMCs 1122L, and setting m attenuation values for the HMC 1119;
s33, when the attenuation value m is larger than 31dB and smaller than or equal to 60dB, setting 0dB attenuation value for one HMC1122L, setting 30dB attenuation value for one HMC1122L and setting m-30 attenuation value for HMC 1119;
s34, when the attenuation value m is more than 60dB and less than or equal to 90dB, the two HMCs 1122L are both set with 30dB attenuation values, and the HMC1119 is set with m-60 attenuation values.
Adopt the produced beneficial effect of above-mentioned technical scheme to lie in:
the invention utilizes the FPGA and the digital attenuation chip to form the multi-path digital adjustable attenuator, is convenient for debugging and use, can control the actual attenuation value by using a command, does not need to replace a fixed attenuator and does not need to adjust a circuit. Compared with the debugging of a multi-path fixed attenuator, the loss of the device is greatly reduced, the use cost is further reduced, and the test efficiency is greatly improved.
Drawings
FIG. 1 is a functional block diagram of the present invention;
FIG. 2 is a block diagram of a digital attenuator circuit according to the present invention;
FIG. 3 is a schematic diagram of a digital attenuator circuit according to the present invention;
fig. 4 is a flow chart of the attenuation control method of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the technical solutions of the present invention will be clearly and completely described below with reference to the specific embodiments of the present invention and the accompanying drawings. It is to be understood that the described embodiments are merely exemplary of the invention, and not restrictive of the full scope of the invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The invention relates to a multi-path digital adjustable attenuator device, which constructs a multi-path digital adjustable attenuator by utilizing the characteristic that an FPGA has a plurality of output pins, and can construct 16 or 32 paths of attenuation test channels by adopting an EP3C5E1 series FPGA. The invention adopts two digital attenuation chips of HMC1119 and HMC1122L, the HMC1119 is a broadband, high-precision, 7-bit digital attenuator, the working frequency range is 0.1GHz to 6.0GHz, and an attenuation control range of 31.5dB is provided by 0.25dB step size. The HMC1122 is a 6-bit digital attenuator with an operating frequency range of 0.1GHz to 6GHz providing 31.5dB attenuation control range in 0.5dB steps. A plurality of digital attenuation chips are cascaded (connected in series) to form an attenuation circuit with any attenuation value, and the invention adopts 1 HMC1119 and 2 HMC1122L to be cascaded to form a 90dB digital attenuation circuit. By using two digital attenuation chips with different attenuation step values, the attenuation value with the step value of 0.25db can be obtained, so that the control precision of the attenuation is higher. More application occasions are met, and the cost is saved.
As shown in fig. 1, the present invention includes a multi-path digital attenuation circuit and an FPGA for controlling attenuation values of the digital attenuation circuit, wherein output terminals of the FPGA are respectively connected to input terminals of the multi-path digital attenuation circuit, and provide digital control signals of the attenuation values for the digital attenuation circuit.
As a preferred embodiment of the present invention, the FPGA according to the present invention is an FPGA supporting ethernet communication. The invention also comprises a control device, wherein the FPGA is connected with the control device through a network cable. Of course, if one control device is realized, the digital adjustable attenuation circuit formed by a plurality of FPGAs is controlled, and a switch is also needed, the control device is connected with the FPGAs through the switch, so that more controls can be realized. In a further preferred embodiment, the control device is a computer or a human-machine terminal with a network interface.
As shown in fig. 2, each digital attenuation circuit of the present invention includes a plurality of digital attenuation chips, a coupling capacitor and a radio frequency base, wherein the input radio frequency base is connected to the radio frequency input terminal of the first digital attenuation chip, the radio frequency output terminal of the first digital attenuation chip is connected to the radio frequency input terminal of the second digital attenuation chip through the capacitor, and so on, the radio frequency output terminal of the nth digital attenuation chip is connected to the output radio frequency base.
As shown in fig. 3, as a preferred embodiment of the present invention, each digital attenuation circuit includes 1 digital attenuation chip HMC1119,2 digital attenuation chips HMC1122L, and 3 digital attenuation chips are sequentially connected in series through coupling capacitors to form a 90dB digital attenuation circuit, since the HMC1119 attenuation step is 0.25dB, the adjustment accuracy of each digital attenuation circuit can reach 0.25dB, the HMC1119 is connected to the FPGA through a 3-wire serial interface (18 pin SERIN, 17 pin CLK, 16 pin LE), instead of using a GPIO (data 0-6) port, the HMC1122L is connected to the FPGA through a 3-wire serial interface (3 pin SERIN, 2 pin CLK, 4 pin LE), instead of using a GPIO (0-data 5) port, so that a large number of pins of the FPGA can be saved, and multiple groups of attenuation circuit channels can be built. And the control is simpler by using the 3-wire serial interface, and the circuit structure is simpler.
In order to enable an FPGA to build more attenuation circuit paths, the FPGA selects the EP3C5E1 family with more available interfaces.
For the invention, the attenuation control method based on the digital adjustable attenuator device comprises the following steps:
s1, the FPGA acquires attenuation control information;
s2, the FPGA sets an attenuation channel n according to the attenuation control information;
and S3, the FPGA sets an attenuation value m according to the attenuation control information, converts the attenuation value m into a digital control signal and outputs the digital control signal to the digital attenuation circuit to complete attenuation control.
The control flow chart of the present invention is shown in fig. 4, and as a preferred embodiment of the present invention: the FPGA in the step S1 supports ethernet communication, and monitors attenuation control information issued by the control device through the network; the digital attenuation circuit in step S3 is composed of two HMCs 1122L and one HMC1119 digital attenuation chip, and step S3 specifically includes the following steps:
s31, the FPGA compares the attenuation value m with a preset threshold range according to the attenuation control information;
s32, when the attenuation value m is less than or equal to 31dB, setting 0dB attenuation values for the two HMCs 1122L, and setting m attenuation values for the HMC 1119;
s33, when the attenuation value m is larger than 31dB and smaller than or equal to 60dB, setting 0dB attenuation value for one HMC1122L, setting 30dB attenuation value for one HMC1122L and setting m-30 attenuation value for HMC 1119;
s34, when the attenuation value m is more than 60dB and less than or equal to 90dB, the two HMCs 1122L are both set with 30dB attenuation values, and the HMC1119 is set with m-60 attenuation values.
The steps are the flow of setting one path of digital attenuation circuit, and the setting method and steps of other paths are the same as the path. In practice, the same hardware circuit is used for the multiple digital attenuation circuits, and different addresses are defined for each chip in each digital attenuation circuit in program control, so that the program can distribute attenuation values to different digital attenuation chips.
Claims (10)
1. A multi-path digital adjustable attenuator device is characterized in that: the digital attenuation circuit comprises a multi-path digital attenuation circuit and an FPGA for controlling the attenuation value of the digital attenuation circuit, wherein the output end of the FPGA is respectively connected with the input end of the multi-path digital attenuation circuit and provides a digital control signal of the attenuation value for the digital attenuation circuit.
2. The multi-path digitally adjustable attenuator device of claim 1, wherein: each digital attenuation circuit comprises a plurality of digital attenuation chips, a coupling capacitor and a radio frequency seat, wherein the input radio frequency seat is connected with the radio frequency input end of the first digital attenuation chip, the radio frequency output end of the first digital attenuation chip is connected with the radio frequency input end of the second digital attenuation chip through the capacitor, and so on, and the radio frequency output end of the Nth digital attenuation chip is connected with the output radio frequency seat.
3. A multi-path digitally adjustable attenuator device according to claim 2, wherein: each digital attenuation circuit comprises three digital attenuation chips, and the maximum attenuation value of each digital attenuation chip is more than 30 dB.
4. A multi-path digitally adjustable attenuator device according to claim 3, wherein: at least one of the three digital attenuation chips has an attenuation step gain of 0.25 dB.
5. The multi-path digitally adjustable attenuator device of claim 4, wherein: the three digital attenuation chips are respectively of two HMCs 1122L and one HMC 1119.
6. A multi-path digitally adjustable attenuator device according to any one of claims 2 to 5, wherein: the FPGA is an FPGA supporting Ethernet communication and is connected with a three-wire serial interface of the digital attenuation chip; the FPGA is of the EP3C5E1 family with more available interfaces.
7. The multi-path digitally adjustable attenuator device of claim 1, wherein: the FPGA is connected with the control equipment through a network cable.
8. The multi-path digitally adjustable attenuator device of claim 1, wherein: the control equipment is connected with the FPGA through the switch; the control equipment is a computer or a man-machine terminal with a network interface.
9. An attenuation control method of a multipath digital adjustable attenuator device comprises the following steps:
s1, the FPGA acquires attenuation control information;
s2, the FPGA sets an attenuation channel n according to the attenuation control information;
and S3, the FPGA sets an attenuation value m according to the attenuation control information, converts the attenuation value m into a digital control signal and outputs the digital control signal to the digital attenuation circuit to complete attenuation control.
10. The attenuation control method of a multi-path digitally adjustable attenuator device according to claim 9, wherein: the FPGA in the step S1 supports ethernet communication, and monitors attenuation control information issued by the control device through the network; the digital attenuation circuit in step S3 is composed of two HMCs 1122L and one HMC1119 digital attenuation chip, and step S3 specifically includes the following steps:
s31, the FPGA compares the attenuation value m with a preset threshold range according to the attenuation control information;
s32, when the attenuation value m is less than or equal to 31dB, setting 0dB attenuation values for the two HMCs 1122L, and setting m attenuation values for the HMC 1119;
s33, when the attenuation value m is larger than 31dB and smaller than or equal to 60dB, setting 0dB attenuation value for one HMC1122L, setting 30dB attenuation value for one HMC1122L and setting m-30 attenuation value for HMC 1119;
s34, when the attenuation value m is more than 60dB and less than or equal to 90dB, the two HMCs 1122L are both set with 30dB attenuation values, and the HMC1119 is set with m-60 attenuation values.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111331421.9A CN113922789A (en) | 2021-11-11 | 2021-11-11 | Multi-path digital adjustable attenuator device and attenuation control method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111331421.9A CN113922789A (en) | 2021-11-11 | 2021-11-11 | Multi-path digital adjustable attenuator device and attenuation control method |
Publications (1)
Publication Number | Publication Date |
---|---|
CN113922789A true CN113922789A (en) | 2022-01-11 |
Family
ID=79245962
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202111331421.9A Pending CN113922789A (en) | 2021-11-11 | 2021-11-11 | Multi-path digital adjustable attenuator device and attenuation control method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113922789A (en) |
-
2021
- 2021-11-11 CN CN202111331421.9A patent/CN113922789A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN201352781Y (en) | Programmable step attenuator | |
CN105451243B (en) | Dynamic power control method and device | |
CN105530001A (en) | Apparatus and methods for controlling overshoot in digital step attenuators | |
CN114244316A (en) | Broadband switch control attenuation unit and broadband switch type attenuator | |
CN216313058U (en) | Multi-path digital adjustable attenuator device | |
CN114389571A (en) | Broadband switch control attenuation unit and broadband switch type attenuator | |
CN109951244B (en) | Power measurement and radio frequency receiving gain control method applied to channel simulator | |
CN113922789A (en) | Multi-path digital adjustable attenuator device and attenuation control method | |
CN115567070B (en) | Front end assembly capable of self-adapting to instantaneous dynamic expansion | |
CN109474256A (en) | A kind of radiofrequency signal precision stepping damped system and attenuator circuit | |
CN113726310B (en) | Precise numerical control attenuator applying voltage-controlled attenuator and calibration method | |
CN216490416U (en) | Gain adjustment module, signal amplification circuit, active duplexer and communication equipment | |
CN212324100U (en) | Power detection circuit and terminal equipment | |
CN109273812A (en) | A kind of miniaturization programmable step attenuator | |
CN214380827U (en) | Radio frequency automatic control circuit with gain adjustment function | |
CN113114146B (en) | Wide dynamic adjustment range low additional phase shift variable gain amplifier | |
CN112327029B (en) | Oscilloscope simulation channel device based on dual-impedance transformation network | |
US20060244548A1 (en) | Attenuator system | |
CN205139630U (en) | Broadband automatic control's letter is made an uproar rate of flow and is installed mutually | |
CN104113350B (en) | The eight channel widths module of mobile network signals transmitting frequently | |
CN108717987B (en) | PXI bus step attenuator | |
CN214900820U (en) | Wide dynamic range programmable attenuator | |
CN203352546U (en) | Multifunctional time-delay chip | |
CN111884717B (en) | Light intensity modulation radio frequency signal amplitude measuring circuit and measuring method | |
CN111261985A (en) | Miniaturized multi-channel radio frequency large dynamic attenuation circuit structure and corresponding shielding device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |