CN216794963U - Attenuator regulation and control system based on serial port communication - Google Patents

Attenuator regulation and control system based on serial port communication Download PDF

Info

Publication number
CN216794963U
CN216794963U CN202220241736.8U CN202220241736U CN216794963U CN 216794963 U CN216794963 U CN 216794963U CN 202220241736 U CN202220241736 U CN 202220241736U CN 216794963 U CN216794963 U CN 216794963U
Authority
CN
China
Prior art keywords
attenuator
serial port
radio frequency
port communication
chip microcomputer
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.)
Active
Application number
CN202220241736.8U
Other languages
Chinese (zh)
Inventor
申涛
王道金
冷晓江
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sichuan Jiuzhou Electric Group Co Ltd
Original Assignee
Sichuan Jiuzhou Electric Group Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Sichuan Jiuzhou Electric Group Co Ltd filed Critical Sichuan Jiuzhou Electric Group Co Ltd
Priority to CN202220241736.8U priority Critical patent/CN216794963U/en
Application granted granted Critical
Publication of CN216794963U publication Critical patent/CN216794963U/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Transmitters (AREA)
  • Circuits Of Receivers In General (AREA)

Abstract

The utility model discloses an attenuator regulation and control system based on serial port communication, which comprises a serial port communication circuit, a single chip microcomputer and an attenuator group, wherein the single chip microcomputer is connected with the attenuator group; one end of the serial port communication circuit is connected with an attenuated serial port signal sent by an upper computer, the other end of the serial port communication circuit is connected with a single chip microcomputer, the single chip microcomputer is connected with an attenuator group, the input end of the attenuator group is connected with a radio frequency signal of a tested piece, and the output end of the attenuator group outputs the attenuated radio frequency signal to a test instrument; the single chip microcomputer is used for responding to the attenuation serial port signal sent by the upper computer and outputting attenuation control signals of each attenuator in the attenuator group through corresponding pins; and the attenuator group is used for responding to the corresponding attenuation control signal output by the singlechip by each attenuator, entering a working state and outputting the attenuated radio-frequency signal. The utility model solves the problem of regulating and controlling the attenuation of the radio frequency signal between the tested piece and the testing instrument; the device is simple and easy to use, flexible to operate, high in configuration efficiency in the whole testing process, and simple and flexible to adjust, so that the testing efficiency is improved.

Description

Attenuator regulation and control system based on serial port communication
Technical Field
The utility model relates to the technical field of attenuators, in particular to an attenuator regulation and control system based on serial port communication.
Background
The attenuator has the function of adjusting the power of the radio frequency signal. Attenuators are widely used in microwave test systems for attenuation of radio frequency signals between instruments and Devices Under Test (DUT). The attenuator is applied to a microwave test system, and the power of the whole radio frequency channel can be controlled.
In the production test link, different requirements are imposed on input and output power due to different product test items or product types. The total amount of attenuation on the radio frequency path needs to be controlled when commissioning a product. The control of the attenuation is generally performed by combining a plurality of fixed attenuators having different attenuation values or by using a combined manually adjusted attenuator.
The control test mode of the attenuator in the prior art has the following defects: (1) when product debugging is carried out, the production debugging efficiency is low; a large amount of tests need to be carried out through manually combining fixed attenuators or manually adjusting combined attenuators, so that the adjustment is inflexible, time and labor are consumed, the debugging efficiency is low, and the process is complicated. (2) There are safety risks when debugging using prior art. Manual combination and manual control easily cause misoperation, and the attenuator is connected wrongly or the debugging radio frequency power is too high, so that products are easily burnt.
SUMMERY OF THE UTILITY MODEL
The utility model aims to solve the technical problems of low configuration efficiency, complex connection, inflexible adjustment, complex process and the like of the attenuator system in the prior art about the debugging of the attenuator. The utility model aims to provide an attenuator regulation and control system based on serial port communication, which is simple and easy to use and flexible to operate.
The utility model is realized by the following technical scheme:
an attenuator regulation and control system based on serial port communication comprises a serial port communication circuit, a single chip microcomputer and an attenuator group; one end of the serial port communication circuit is connected with an attenuated serial port signal sent by an upper computer, the other end of the serial port communication circuit is connected with a single chip microcomputer, the single chip microcomputer is connected with an attenuator group, the input end of the attenuator group is connected with a radio frequency signal of a tested piece, and the output end of the attenuator group outputs the attenuated radio frequency signal to a test instrument;
the single chip microcomputer is used for responding to the attenuation serial port signal sent by the upper computer and outputting attenuation control signals of each attenuator in the attenuator group through corresponding pins;
and the attenuator group is used for responding to the corresponding attenuation control signal output by the singlechip by each attenuator, entering a working state and outputting the attenuated radio-frequency signal.
As a further preferable scheme, the attenuator group comprises a plurality of attenuators, and the attenuators are connected in series.
As a further preferred solution, each of said attenuators has a 0.5dB step and a 30dB attenuation and the chip model of said attenuator is HMC472ALP 4E.
As a further preferred scheme, the attenuator group comprises two attenuators, which are marked as a first attenuator and a second attenuator, and the first attenuator is connected with the second attenuator in series; the attenuation adjusting range of 60dB is achieved by connecting two attenuators in series.
As a further preferable scheme, the chip model of the single chip microcomputer is STC89 LQFP-44PQFP-44, and the chip models of the first attenuator and the second attenuator are HMC472ALP 4E;
pins P1.0-P1.5 of the single chip microcomputer are correspondingly connected with pins V1-V6 of the first attenuator, and pins P2.0-P2.5 of the single chip microcomputer are correspondingly connected with pins V1-V6 of the second attenuator; pin RF2 of the first attenuator is connected to pin RF1 of the second attenuator.
As a further preferred scheme, the radio frequency switch further comprises a first radio frequency switch and a second radio frequency switch, wherein the first radio frequency switch and the second radio frequency switch are both single-pole double-throw switches; the input end of the first radio frequency change-over switch is connected with a radio frequency signal of a tested piece, the first output end of the first radio frequency change-over switch is connected with the attenuator group, the attenuator group is connected with the first input end of the second radio frequency change-over switch, and the second output end of the first radio frequency change-over switch is connected with the second input end of the second radio frequency change-over switch; and the output end of the second radio frequency change-over switch is used as a radio frequency output signal.
When the attenuator group does not work, the tested part is controlled to move away from the second output end of the first radio frequency change-over switch, and the tested part is output by virtue of the radio frequency cable between the first radio frequency change-over switch and the second radio frequency change-over switch; when the attenuator group works, the singlechip controls the first output end of the first radio frequency selector switch to be switched away, the attenuator group enters a working state, and the attenuated radio frequency signal is output to the test instrument.
As a further preferable scheme, the serial port communication circuit has a chip model MAX 232.
As a further preferable scheme, the system further comprises a power supply circuit, and the power supply circuit is used for supplying electric energy to each circuit of the system.
As a further preferred scheme, the system further comprises a display screen, wherein the display screen is connected with the single chip microcomputer and is used for displaying the working states of the single chip microcomputer and the attenuator group for an operator to check; the display screen adopts an OLED display screen.
As a further preferred scheme, the device also comprises an upper computer, wherein the upper computer is connected with a serial port communication circuit; the upper computer is used for sending the attenuated serial port signal to the serial port communication circuit.
Compared with the prior art, the utility model has the following advantages and beneficial effects:
the serial port communication circuit acquires an attenuated serial port signal sent by an upper computer and transmits the attenuated serial port signal to the single chip microcomputer; the single chip microcomputer responds to the attenuation serial port signal sent by the upper computer and outputs attenuation control signals of each attenuator in the attenuator group through corresponding pins; each attenuator in the attenuator group responds to a corresponding attenuation control signal output by the single chip microcomputer, enters a working state and outputs an attenuated radio frequency signal. The utility model solves the problem of regulating and controlling the attenuation of the radio frequency signal between the tested piece and the testing instrument; the test device is simple and easy to use, flexible to operate, high in configuration efficiency in the whole test process, and simple and flexible to adjust, so that the test efficiency is improved.
Drawings
The accompanying drawings, which are included to provide a further understanding of the embodiments of the utility model and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the utility model and together with the description serve to explain the principles of the utility model. In the drawings:
FIG. 1 is a schematic structural diagram of an attenuator regulation and control system based on serial port communication according to the present invention.
FIG. 2 is a power circuit diagram according to an embodiment of the present invention.
Fig. 3 is a serial port communication circuit diagram according to an embodiment of the present invention.
Fig. 4 is a circuit diagram of a single chip microcomputer according to an embodiment of the utility model.
Fig. 5 is a circuit diagram of an attenuator bank according to an embodiment of the present invention.
Fig. 6 is a schematic structural diagram of an attenuator regulation and control system based on serial port communication in embodiment 2 of the present invention.
Reference numbers and corresponding part names:
the device comprises a serial port communication circuit 1, a singlechip 2, an attenuator group 3, a first attenuator 31, a second attenuator 32, a display screen 4, a first radio frequency switch 5 and a second radio frequency switch 6.
Detailed Description
Hereinafter, the terms "includes" or "may include" used in various embodiments of the present invention indicate the presence of functions, operations, or elements of the utility model, and do not limit the addition of one or more functions, operations, or elements. Furthermore, as used in various embodiments of the present invention, the terms "comprises," "comprising," "includes," "including," "has," "having" and their derivatives are intended to mean that the specified features, numbers, steps, operations, elements, components, or combinations of the foregoing, are only meant to indicate that a particular feature, number, step, operation, element, component, or combination of the foregoing, and should not be construed as first excluding the existence of, or adding to the possibility of, one or more other features, numbers, steps, operations, elements, components, or combinations of the foregoing.
In various embodiments of the utility model, the expression "or" at least one of a or/and B "includes any or all combinations of the words listed simultaneously. For example, the expression "a or B" or "at least one of a or/and B" may include a, may include B, or may include both a and B.
Expressions (such as "first", "second", and the like) used in various embodiments of the present invention may modify various constituent elements in various embodiments, but may not limit the respective constituent elements. For example, the above description does not limit the order and/or importance of the elements described. The above description is only intended to distinguish one element from another. For example, the first user device and the second user device indicate different user devices, although both are user devices. For example, a first element could be termed a second element, and, similarly, a second element could be termed a first element, without departing from the scope of various embodiments of the present invention.
It should be noted that: if it is described that one constituent element is "connected" to another constituent element, the first constituent element may be directly connected to the second constituent element, and a third constituent element may be "connected" between the first constituent element and the second constituent element. In contrast, when one constituent element is "directly connected" to another constituent element, it is understood that there is no third constituent element between the first constituent element and the second constituent element.
The terminology used in the various embodiments of the utility model is for the purpose of describing particular embodiments only and is not intended to be limiting of the various embodiments of the utility model. As used herein, the singular forms are intended to include the plural forms as well, unless the context clearly indicates otherwise. Unless otherwise defined, all terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art to which various embodiments of the present invention belong. The terms (such as those defined in commonly used dictionaries) should be interpreted as having a meaning that is consistent with their contextual meaning in the relevant art and will not be interpreted in an idealized or overly formal sense unless expressly so defined herein in various embodiments of the present invention.
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is further described in detail below with reference to examples and accompanying drawings, and the exemplary embodiments and descriptions thereof are only used for explaining the present invention and are not meant to limit the present invention.
Example 1
As shown in fig. 1, the attenuator regulation and control system based on serial port communication of the present invention includes a serial port communication circuit 1, a single chip microcomputer 2 and an attenuator group 3; one end of the serial port communication circuit 1 is connected with an attenuated serial port signal sent by an upper computer, the other end of the serial port communication circuit is connected with the single chip microcomputer 2, the single chip microcomputer 2 is connected with an attenuator group 3, the input end of the attenuator group 3 is connected with a radio frequency signal of a tested piece, and the output end of the attenuator group outputs the attenuated radio frequency signal to a test instrument;
the single chip microcomputer 2 is used for responding to the attenuation serial port signal sent by the upper computer and outputting attenuation control signals of the attenuators in the attenuator group 3 through corresponding pins;
and the attenuator group 3 is used for responding the corresponding attenuation control signal output by the singlechip 2 by each attenuator, entering a working state and outputting an attenuated radio frequency signal.
In this embodiment, the attenuator group 3 includes two attenuators, which are denoted as a first attenuator 31 and a second attenuator 32, and the first attenuator 31 is connected in series with the second attenuator 32; each of the attenuators has a 0.5dB step and a 30dB attenuation and the chip model of the attenuator is HMC472ALP 4E. The attenuation adjusting range of 60dB is achieved by connecting two attenuators in series.
In the embodiment, as shown in fig. 4, the chip model of the single chip microcomputer 2 is STC89 LQFP-44 PQFP-44; as shown in fig. 5, the chip models of the first attenuator 31U3 and the second attenuator 32U4 are HMC472ALP 4E;
as shown in fig. 4 and 5, pins P1.0 to P1.5 of the single chip microcomputer 2 are correspondingly connected to pins V1 to V6 of the first attenuator 31U3, and pins P2.0 to P2.5 of the single chip microcomputer 2 are correspondingly connected to pins V1 to V6 of the second attenuator 32U 4; pin RF2 of the first attenuator 31U3 is connected to pin RF1 of the second attenuator 32U 4; and two capacitors C35 and C36 connected in series are arranged between the pin RF2 of the first attenuator 31U3 and the pin RF1 of the second attenuator 32U4, and the capacitance values of the capacitors C35 and C36 are both 1000 pF.
The input end of the first attenuator 31U3 is connected with a radio frequency channel, and a radio frequency cable is connected with the input end of the J2 SMA connector; the output end of the second attenuator 32U4 outputs the attenuated radio frequency signal, and the radio frequency cable is connected to the output end of the J3 SMA connector.
In this embodiment, as shown in fig. 3, the serial port communication circuit 1 has a chip model MAX 232. A pin Tlin of the serial port communication circuit 1U2 is connected with a radio frequency input signal; and a pin Tlout of the serial port communication circuit 1U2 is connected with TXD/P3.1 of the singlechip 2U 1.
In this embodiment, the power supply further includes a power supply circuit, where the power supply circuit is configured to provide electric energy to each circuit of the system, and a working voltage provided by the power supply circuit is DC +5V, as shown in fig. 2.
The working principle is as follows: the serial port communication circuit 1 acquires an attenuated serial port signal sent by an upper computer and transmits the attenuated serial port signal to the singlechip 2; the single chip microcomputer 2 responds to the attenuation serial port signal sent by the upper computer and outputs attenuation control signals of each attenuator in the attenuator group 3 through corresponding pins; each attenuator in the attenuator group 3 responds to a corresponding attenuation control signal output by the singlechip 2, enters a working state and outputs an attenuated radio frequency signal. During implementation, the single chip microcomputer 2 respectively sends attenuation control signals to 2 attenuator chips HMC472ALP4E, each attenuator chip has 0.5dB stepping and 30dB attenuation, and the attenuation adjusting range of 60dB is achieved through series connection. Specifically, the method comprises the following steps: the upper computer sends an attenuated serial port signal to the serial port communication circuit 1U 2: the MAX232 chip and the single chip microcomputer 2 respond to the attenuation serial port signal sent by the upper computer, high and low levels are output through P1.0-P1.5 of the single chip microcomputer 2U1, the attenuation value of the chip U3 of the first attenuator 31 is controlled, high and low levels are output through P2.0-P2.5 of the single chip microcomputer 2U1, and the attenuation value of the chip U4 of the second attenuator 32 is controlled. Each attenuator in the attenuator group 3 responds to the high and low levels output by the singlechip 2, enters a working state and outputs attenuated radio frequency signals.
The attenuator regulating and controlling system based on serial port communication is connected into a radio frequency channel, a radio frequency cable is connected into the input end of a J2 SMA connector and the output end of a J3 SMA connector, and the attenuation amount control of the control state is realized. The tested piece and the testing instrument are respectively connected to the input end and the output end of the attenuator group 3 of the system through radio frequency cables, and the serial port attenuation signal sent by the upper computer is received and sent to the single chip microcomputer 2 and the attenuator group 3 to control the attenuation of the radio frequency channel.
The utility model solves the problem of regulating and controlling the attenuation of the radio frequency signal between the tested piece and the testing instrument; the test device is simple and easy to use, flexible to operate, high in configuration efficiency in the whole test process, and simple and flexible to adjust, so that the test efficiency is improved.
Example 2
As shown in fig. 6, the present embodiment is different from embodiment 1 in that the present embodiment further includes a first radio frequency switch 5 and a second radio frequency switch 6, where the first radio frequency switch 5 and the second radio frequency switch 6 are both single-pole double-throw switches; the input end of the first radio frequency change-over switch 5 is connected with a radio frequency signal of a tested piece, the first output end of the first radio frequency change-over switch 5 is connected with the attenuator group 3, the attenuator group 3 is connected with the first input end of the second radio frequency change-over switch 6, and the second output end of the first radio frequency change-over switch 5 is connected with the second input end of the second radio frequency change-over switch 6; the output end of the second radio frequency switch 6 is used as a radio frequency output signal.
Therefore, when the attenuator group 3 does not work, the detected component is controlled to go to the second output end of the first radio frequency change-over switch 5 and is output by virtue of the radio frequency cable between the first radio frequency change-over switch 5 and the second radio frequency change-over switch 6; when the attenuator group 3 works, the singlechip 2 controls the first output end of the first radio frequency selector switch 5 to be switched away, the attenuator group 3 enters a working state, and the attenuated radio frequency signal is output to the test instrument.
Example 3
As shown in fig. 1, the difference between this embodiment and embodiment 1 is that the present embodiment further includes a display screen 4, where the display screen 4 is connected to the single chip microcomputer 2, and the display screen 4 is used to display the working states of the single chip microcomputer 2 and the attenuator group 3 for an operator to check; the display screen 4 adopts an OLED display screen.
The device also comprises an upper computer, wherein the upper computer is connected with the serial port communication circuit 1; the upper computer is used for sending the attenuated serial port signal to the serial port communication circuit 1.
The above-mentioned embodiments are intended to illustrate the objects, technical solutions and advantages of the present invention in further detail, and it should be understood that the above-mentioned embodiments are merely exemplary embodiments of the present invention, and are not intended to limit the scope of the present invention, and any modifications, equivalent substitutions, improvements and the like made within the spirit and principle of the present invention should be included in the scope of the present invention.

Claims (10)

1. An attenuator regulation and control system based on serial port communication is characterized by comprising a serial port communication circuit, a single chip microcomputer and an attenuator group; one end of the serial port communication circuit is connected with an attenuated serial port signal sent by an upper computer, the other end of the serial port communication circuit is connected with a single chip microcomputer, the single chip microcomputer is connected with an attenuator group, the input end of the attenuator group is connected with a radio frequency signal of a tested piece, and the output end of the attenuator group outputs the attenuated radio frequency signal to a test instrument;
the single chip microcomputer is used for responding to the attenuation serial port signal sent by the upper computer and outputting attenuation control signals of each attenuator in the attenuator group through corresponding pins;
and the attenuator group is used for responding to the corresponding attenuation control signal output by the singlechip by each attenuator, entering a working state and outputting the attenuated radio-frequency signal.
2. The attenuator regulating and controlling system based on serial port communication of claim 1, characterized in that the attenuator group comprises a plurality of attenuators, and the attenuators are connected in series.
3. The serial port communication-based attenuator regulation and control system of claim 2, wherein each attenuator has 0.5dB step and 30dB attenuation, and the chip model of the attenuator is HMC472ALP 4E.
4. The serial port communication-based attenuator regulation and control system of claim 2, wherein the attenuator group comprises two attenuators, which are marked as a first attenuator and a second attenuator, and the first attenuator is connected in series with the second attenuator.
5. The serial port communication-based attenuator regulation and control system of claim 4, wherein the chip type of the single chip microcomputer is STC89 LQFP-44PQFP-44, and the chip types of the first attenuator and the second attenuator are HMC472ALP 4E;
pins P1.0-P1.5 of the single chip microcomputer are correspondingly connected with pins V1-V6 of the first attenuator, and pins P2.0-P2.5 of the single chip microcomputer are correspondingly connected with pins V1-V6 of the second attenuator; pin RF2 of the first attenuator is connected to pin RF1 of the second attenuator.
6. The attenuator regulation and control system based on serial port communication of claim 1, further comprising a first radio frequency switch and a second radio frequency switch, wherein the first radio frequency switch and the second radio frequency switch are both single-pole double-throw switches; the input end of the first radio frequency change-over switch is connected with a radio frequency signal of a tested piece, the first output end of the first radio frequency change-over switch is connected with the attenuator group, the attenuator group is connected with the first input end of the second radio frequency change-over switch, and the second output end of the first radio frequency change-over switch is connected with the second input end of the second radio frequency change-over switch; and the output end of the second radio frequency change-over switch is used as a radio frequency output signal.
7. The attenuator regulating and controlling system based on serial port communication of claim 1, wherein the serial port communication circuit has chip model MAX 232.
8. The attenuator regulating and controlling system based on serial port communication of claim 1, further comprising a power circuit, wherein the power circuit is used for providing electric energy for each circuit of the system.
9. The attenuator regulating and controlling system based on serial port communication of claim 1, characterized by further comprising a display screen, wherein the display screen is connected with the single chip microcomputer, and the display screen is used for displaying the working states of the single chip microcomputer and the attenuator group.
10. The attenuator regulating and controlling system based on serial port communication of claim 1, further comprising an upper computer, wherein the upper computer is connected with the serial port communication circuit.
CN202220241736.8U 2022-01-29 2022-01-29 Attenuator regulation and control system based on serial port communication Active CN216794963U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202220241736.8U CN216794963U (en) 2022-01-29 2022-01-29 Attenuator regulation and control system based on serial port communication

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202220241736.8U CN216794963U (en) 2022-01-29 2022-01-29 Attenuator regulation and control system based on serial port communication

Publications (1)

Publication Number Publication Date
CN216794963U true CN216794963U (en) 2022-06-21

Family

ID=82014461

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202220241736.8U Active CN216794963U (en) 2022-01-29 2022-01-29 Attenuator regulation and control system based on serial port communication

Country Status (1)

Country Link
CN (1) CN216794963U (en)

Similar Documents

Publication Publication Date Title
CN203054186U (en) Universal board testing device
CN202904367U (en) A testing system based on a PXI bus
CN109274422B (en) Optical module testing system and method
CN101453276A (en) Detection system for repeater product radio frequency performance, and detection method thereof
CN108880674A (en) A kind of optical module for local loopback test
CN104348673A (en) Debugging and testing method, main control board and business boards
CN108489510B (en) Extensible platform circuit box automatic test system based on PXI bus
CN114640406B (en) Automatic testing device and method for multichannel radio frequency transceiver
CN111736094A (en) PCI-E test card
CN216794963U (en) Attenuator regulation and control system based on serial port communication
CN111929562B (en) Chip test system, test method, test response method of chip and chip
CN206698228U (en) Very high frequency(VHF) transceiver hardware of automatic test system
CN206402245U (en) A kind of test board
CN205091732U (en) Automatic switching device for USB interface
CN208581235U (en) A kind of optical module for local loopback test
CN214729788U (en) Large and medium-sized fixed wing unmanned aerial vehicle ground simulation fault injection equipment
CN210894607U (en) Microwave amplifier test system
CN207571730U (en) A kind of debugging switching circuit and debugging circuit board
CN2932402Y (en) Host/slave module equipment of DC electronic loader
CN209030192U (en) A kind of radio frequency switching device
CN107346994B (en) Broadband carrier automatic test system and relay level number test method
CN217087898U (en) A field debugging frock for HPLC carrier module
CN209728109U (en) Online Transaction Processing and its power board
CN218567552U (en) Communication device based on relay
CN218336042U (en) Test system

Legal Events

Date Code Title Description
GR01 Patent grant
GR01 Patent grant