This application relates to the field of electronic technologies, and in particular, to a switch circuit, a mixer, and an electronic device.
In an electronic communications system, a mixer is a core circuit responsible for a spectrum shift function in a transceiver, and is widely used in a microwave wireless communications system, a radar system, and a measurement system. Technical indicators of the mixer mainly include an intermediate frequency/radio frequency band, a frequency conversion gain, a noise factor, linearity, isolation between ports, a port standing wave ratio, power consumption, and the like.
The mixer is located at a position with relatively high radio frequency signal amplitude in a receiver, and many interfering signals are not effectively suppressed. Therefore, linearity is a very important (even the most important) indicator. An input second-order intercept point (IIP2) is one of important indicators for measuring linearity of the mixer. The IIP2 is a measure of linearity that quantizes second-order distortion generated by nonlinearity of circuits (for example, an amplifier and a mixer). Currently, linearity of the mixer is relatively poor, and a mixer with better linearity needs to be studied.
Embodiments of this application provide a switch circuit, a mixer, and an electronic device, to improve linearity of components.
According to a first aspect, an embodiment of this application provides a switch circuit. The switch circuit includes a first metal oxide semiconductor (MOS) transistor, a second MOS transistor, a third MOS transistor, and a fourth MOS transistor, both a gate of the first MOS transistor and a gate of the fourth MOS transistor are connected to a first port, and both a gate of the second MOS transistor and a gate of the third MOS transistor are connected to a second port; and a lead between the gate of the first MOS transistor and the first port, a lead between the gate of the second MOS transistor and the second port, a lead between the gate of the third MOS transistor and the second port, and a lead between the gate of the fourth MOS transistor and the first port all have an equal length.
In this embodiment of this application, traces of gates of all MOS transistors in the switch circuit have a same length, such that all the MOS transistors have a same gate parasitic capacitance. In this way, linearity is relatively high.
In an optional implementation, a first lead between the gate of the first MOS transistor and the gate of the fourth MOS transistor passes through a first position, a second lead between the gate of the second MOS transistor and the gate of the third MOS transistor passes through a second position, and the first position and the second position are same positions at different layers in the switch circuit; and a lead from the gate of the first MOS transistor to the first position, a lead from the gate of the second MOS transistor to the second position, a lead from the gate of the third MOS transistor to the second position, and a lead from the gate of the fourth MOS transistor to the first position have an equal length.
In this implementation, leads from the gates of all the MOS transistors in the switch circuit to same positions at different layers in the switch circuit have an equal length, such that all the MOS transistors have a same gate parasitic capacitance. In this way, linearity is relatively high.
In an optional implementation, the first MOS transistor and the third MOS transistor are aligned left and right and are symmetrical along a first symmetry axis, the second MOS transistor and the fourth MOS transistor are aligned left and right and are symmetrical along the first symmetry axis, the first MOS transistor and the second MOS transistor are aligned forward and backward and are symmetrical along a second symmetry axis, and the third MOS transistor and the fourth MOS transistor are aligned forward and backward and are symmetrical along the second symmetry axis. Additionally, the first symmetry axis and the second symmetry axis are perpendicular to each other.
In this implementation, all the MOS transistors in the switch circuit are symmetrically arranged, such that parasitic capacitances of all the MOS transistors are compatible. This improves linearity of the mixer.
In an optional implementation, one end of a third lead is connected to a third position of the first lead, and the other end of the third lead is connected to the first port; one end of a fourth lead is connected to a fourth position of the second lead, and the other end of the fourth lead is connected to the second port; the third position and the fourth position are symmetrical along the first symmetry axis; and the switch circuit is symmetrical along the first symmetry axis.
In this implementation, the third lead and the fourth lead are symmetrical along the first symmetry axis, such that the traces of the gates of all the MOS transistors may be symmetrical.
In an optional implementation, the gate of the first MOS transistor and the gate of the fourth MOS transistor are directly connected to form the first lead, the gate of the second MOS transistor and the gate of the third MOS transistor are directly connected to form the second lead, and both the first lead and the second lead are straight lines.
In this implementation, the gate of the first MOS transistor and the gate of the fourth MOS transistor are directly connected, and the gate of the second MOS transistor and the gate of the third MOS transistor are directly connected. This can effectively reduce lengths of leads. Therefore, costs are relatively low.
In an optional implementation, a part of the third lead is located on one side of the first symmetry axis, and the other part of the third lead is located on the other side of the first symmetry axis; a part of the fourth lead is located on one side of the first symmetry axis, and the other part of the fourth lead is located on the other side of the first symmetry axis; and the third lead passes through a fifth position, the fourth lead passes through a sixth position, and the fifth position and the sixth position are same positions at different layers in the switch circuit.
In this implementation, the traces of the gates of all the MOS transistors are strictly symmetrical, such that gate parasitic capacitances of all the MOS transistors are consistent.
In an optional implementation, a first part of the third lead and a part of the second lead are located in same positions at different layers in the switch circuit, a second part of the third lead is parallel to the first symmetry axis, a third part of the third lead is located on two sides of the first symmetry axis, and a fourth part of the third lead is parallel to the first symmetry axis; a first part of the fourth lead and a part of the first lead are located in same positions at different layers in the switch circuit, a second part of the fourth lead is parallel to the first symmetry axis, a third part of the fourth lead is located on the two sides of the first symmetry axis, and a fourth part of the fourth lead is parallel to the first symmetry axis; and the third part of the third lead passes through the fifth position, and the third part of the fourth lead passes through the sixth position.
In this implementation, the first part of the third lead and a part of the second lead are located in same positions at different layers in the switch circuit, and the first part of the fourth lead and a part of the first lead are located in same positions at different layers in the switch circuit. This can effectively reduce mutual impact between leads.
In an optional implementation, the third lead is located on one side of the first symmetry axis, and the fourth lead is located on the other side of the first symmetry axis; a first part of the third lead and a part of the second lead are located in same positions at different layers in the switch circuit, and a second part of the third lead is parallel to the first symmetry axis; and a first part of the fourth lead and a part of the first lead are located in same positions at different layers in the switch circuit, and a second part of the fourth lead is parallel to the first symmetry axis.
In this implementation, the third lead and the fourth lead are not crossed but are directly connected to the first port and the second port respectively. In this way, routing is simple.
In an optional implementation, the third position and the first position are same positions, and the fourth position and the second position are same positions.
According to a second aspect, an embodiment of this application provides another switch circuit. The switch circuit includes a first MOS transistor, a second MOS transistor, a third MOS transistor, and a fourth MOS transistor, both a gate of the first MOS transistor and a gate of the fourth MOS transistor are connected to a first port, and both a gate of the second MOS transistor and a gate of the third MOS transistor are connected to a second port; and both a lead between the gate of the first MOS transistor and the gate of the fourth MOS transistor and a lead between the gate of the second MOS transistor and the gate of the third MOS transistor pass through same positions at different layers in the switch circuit.
In this embodiment of this application, both the lead between the gate of the first MOS transistor and the gate of the fourth MOS transistor and the lead between the gate of the second MOS transistor and the gate of the third MOS transistor pass through same positions at different layers in the switch circuit. This can improve linearity of the switch circuit.
In an optional implementation, a lead between the gate of the first MOS transistor and the first port, a lead between the gate of the second MOS transistor and the second port, a lead between the gate of the third MOS transistor and the second port, and a lead between the gate of the fourth MOS transistor and the first port all have an equal length.
In this implementation, traces of gates of all MOS transistors in the switch circuit have a same length, such that all the MOS transistors have a same gate parasitic capacitance. In this way, linearity is relatively high.
In an optional implementation, a first lead between the gate of the first MOS transistor and the gate of the fourth MOS transistor passes through a first position, a second lead between the gate of the second MOS transistor and the gate of the third MOS transistor passes through a second position, and the first position and the second position are same positions at different layers in the switch circuit; and a lead from the gate of the first MOS transistor to the first position, a lead from the gate of the second MOS transistor to the second position, a lead from the gate of the third MOS transistor to the second position, and a lead from the gate of the fourth MOS transistor to the first position have an equal length.
In this implementation, leads from the gates of all the MOS transistors in the switch circuit to same positions at different layers in the switch circuit have an equal length, such that all the MOS transistors have a same gate parasitic capacitance. In this way, linearity is relatively high.
In an optional implementation, the first MOS transistor and the third MOS transistor are aligned left and right and are symmetrical along a first symmetry axis, the second MOS transistor and the fourth MOS transistor are aligned left and right and are symmetrical along the first symmetry axis, the first MOS transistor and the second MOS transistor are aligned forward and backward and are symmetrical along a second symmetry axis, and the third MOS transistor and the fourth MOS transistor are aligned forward and backward and are symmetrical along the second symmetry axis; and the first symmetry axis and the second symmetry axis are perpendicular to each other.
In this implementation, all the MOS transistors in the switch circuit are symmetrically arranged, such that parasitic capacitances of all the MOS transistors are compatible. This improves linearity of a mixer.
In an optional implementation, one end of a third lead is connected to a third position of the first lead, and the other end of the third lead is connected to the first port; one end of a fourth lead is connected to a fourth position of the second lead, and the other end of the fourth lead is connected to the second port; the third position and the fourth position are symmetrical along the first symmetry axis; and the switch circuit is symmetrical along the first symmetry axis.
In this implementation, the third lead and the fourth lead are symmetrical along the first symmetry axis, such that the traces of the gates of all the MOS transistors may be symmetrical.
In an optional implementation, the gate of the first MOS transistor and the gate of the fourth MOS transistor are directly connected to form the first lead, the gate of the second MOS transistor and the gate of the third MOS transistor are directly connected to form the second lead, and both the first lead and the second lead are straight lines.
In this implementation, the gate of the first MOS transistor and the gate of the fourth MOS transistor are directly connected, and the gate of the second MOS transistor and the gate of the third MOS transistor are directly connected. This can effectively reduce lengths of leads.
In an optional implementation, a part of the third lead is located on one side of the first symmetry axis, and the other part of the third lead is located on the other side of the first symmetry axis; a part of the fourth lead is located on one side of the first symmetry axis, and the other part of the fourth lead is located on the other side of the first symmetry axis; and the third lead passes through a fifth position, the fourth lead passes through a sixth position, and the fifth position and the sixth position are same positions at different layers in the switch circuit.
In this implementation, the traces of the gates of all the MOS transistors are strictly symmetrical, such that gate parasitic capacitances of all the MOS transistors are consistent.
In an optional implementation, a first part of the third lead and a part of the second lead are located in same positions at different layers in the switch circuit, a second part of the third lead is parallel to the first symmetry axis, a third part of the third lead is located on two sides of the first symmetry axis, and a fourth part of the third lead is parallel to the first symmetry axis; a first part of the fourth lead and a part of the first lead are located in same positions at different layers in the switch circuit, a second part of the fourth lead is parallel to the first symmetry axis, a third part of the fourth lead is located on the two sides of the first symmetry axis, and a fourth part of the fourth lead is parallel to the first symmetry axis; and the third part of the third lead passes through the fifth position, and the third part of the fourth lead passes through the sixth position.
In this implementation, the first part of the third lead and a part of the second lead are located in same positions at different layers in the switch circuit, and the first part of the fourth lead and a part of the first lead are located in same positions at different layers in the switch circuit. This can effectively reduce mutual impact between leads.
In an optional implementation, the third lead is located on one side of the first symmetry axis, and the fourth lead is located on the other side of the first symmetry axis; a first part of the third lead and a part of the second lead are located in same positions at different layers in the switch circuit, and a second part of the third lead is parallel to the first symmetry axis; and a first part of the fourth lead and a part of the first lead are located in same positions at different layers in the switch circuit, and a second part of the fourth lead is parallel to the first symmetry axis.
In this implementation, the third lead and the fourth lead are not crossed but are directly connected to the first port and the second port respectively. In this way, routing is simple.
In an optional implementation, the third position and the first position are same positions, and the fourth position and the second position are same positions.
According to a third aspect, an embodiment of this application provides a mixer. The mixer includes a first MOS transistor group; the first MOS transistor group includes a first MOS transistor, a second MOS transistor, a third MOS transistor, and a fourth MOS transistor, both a gate of the first MOS transistor and a gate of the fourth MOS transistor are connected to a first local oscillator port, and both a gate of the second MOS transistor and a gate of the third MOS transistor are connected to a second local oscillator port; and a lead between the gate of the first MOS transistor and the first local oscillator port, a lead between the gate of the second MOS transistor and the second local oscillator port, a lead between the gate of the third MOS transistor and the second local oscillator port, and a lead between the gate of the fourth MOS transistor and the first local oscillator port all have an equal length.
In this embodiment of this application, traces of gates of all MOS transistors in the mixer have a same length, such that all the MOS transistors have a same gate parasitic capacitance. In this way, linearity is relatively high.
In an optional implementation, both the first local oscillator port and the second local oscillator port are local oscillator ports for receiving a drive voltage; both a source of the first MOS transistor and a source of the second MOS transistor are connected to a first input port, and both a source of the third MOS transistor and a source of the fourth MOS transistor are connected to a second input port; and both a drain of the first MOS transistor and a drain of the third MOS transistor are connected to a first output port, and both a drain of the second MOS transistor and a drain of the fourth MOS transistor are connected to a second output port.
In an optional implementation, a first lead between the gate of the first MOS transistor and the gate of the fourth MOS transistor passes through a first position, a second lead between the gate of the second MOS transistor and the gate of the third MOS transistor passes through a second position, and the first position and the second position are same positions at different layers in the mixer; and a lead from the gate of the first MOS transistor to the first position, a lead from the gate of the second MOS transistor to the second position, a lead from the gate of the third MOS transistor to the second position, and a lead from the gate of the fourth MOS transistor to the first position have an equal length.
In this implementation, leads from the gates of all the MOS transistors in the mixer to same positions at different layers in the mixer have an equal length, such that all the MOS transistors have a same gate parasitic capacitance. In this way, linearity is relatively high.
In an optional implementation, the first MOS transistor and the third MOS transistor are aligned left and right and are symmetrical along a first symmetry axis, the second MOS transistor and the fourth MOS transistor are aligned left and right and are symmetrical along the first symmetry axis, the first MOS transistor and the second MOS transistor are aligned forward and backward and are symmetrical along a second symmetry axis, and the third MOS transistor and the fourth MOS transistor are aligned forward and backward and are symmetrical along the second symmetry axis; and the first symmetry axis and the second symmetry axis are perpendicular to each other.
In this implementation, all the MOS transistors in the mixer are symmetrically arranged, such that parasitic capacitances of all the MOS transistors are compatible. This improves linearity of the mixer.
In an optional implementation, one end of a third lead is connected to a third position of the first lead, and the other end of the third lead is connected to the first local oscillator port; one end of a fourth lead is connected to a fourth position of the second lead, and the other end of the fourth lead is connected to the second local oscillator port; the third position and the fourth position are symmetrical along the first symmetry axis; and the mixer is symmetrical along the first symmetry axis.
In this implementation, the third lead and the fourth lead are symmetrical along the first symmetry axis, such that the traces of the gates of all the MOS transistors may be symmetrical.
In an optional implementation, the gate of the first MOS transistor and the gate of the fourth MOS transistor are directly connected to form the first lead, the gate of the second MOS transistor and the gate of the third MOS transistor are directly connected to form the second lead, and both the first lead and the second lead are straight lines.
In this implementation, the gate of the first MOS transistor and the gate of the fourth MOS transistor are directly connected, and the gate of the second MOS transistor and the gate of the third MOS transistor are directly connected. This can effectively reduce lengths of leads.
In an optional implementation, a part of the third lead is located on one side of the first symmetry axis, and the other part of the third lead is located on the other side of the first symmetry axis; a part of the fourth lead is located on one side of the first symmetry axis, and the other part of the fourth lead is located on the other side of the first symmetry axis; and the third lead passes through a fifth position, the fourth lead passes through a sixth position, and the fifth position and the sixth position are same positions at different layers in the mixer.
In this implementation, the traces of the gates of all the MOS transistors are strictly symmetrical, such that both gate resistances and gate parasitic capacitances of all the MOS transistors are consistent.
In an optional implementation, a first part of the third lead and a part of the second lead are located in same positions at different layers in the mixer, a second part of the third lead is parallel to the first symmetry axis, a third part of the third lead is located on two sides of the first symmetry axis, and a fourth part of the third lead is parallel to the first symmetry axis; a first part of the fourth lead and a part of the first lead are located in same positions at different layers in the mixer, a second part of the fourth lead is parallel to the first symmetry axis, a third part of the fourth lead is located on the two sides of the first symmetry axis, and a fourth part of the fourth lead is parallel to the first symmetry axis; and the third part of the third lead passes through the fifth position, and the third part of the fourth lead passes through the sixth position.
In this implementation, the first part of the third lead and a part of the second lead are located in same positions at different layers in the mixer, and the first part of the fourth lead and a part of the first lead are located in same positions at different layers in the mixer. This can effectively reduce mutual impact between leads.
In an optional implementation, the third lead is located on one side of the first symmetry axis, and the fourth lead is located on the other side of the first symmetry axis; a first part of the third lead and a part of the second lead are located in same positions at different layers in the mixer, and a second part of the third lead is parallel to the first symmetry axis; and a first part of the fourth lead and a part of the first lead are located in same positions at different layers in the mixer, and a second part of the fourth lead is parallel to the first symmetry axis.
In this implementation, the third lead and the fourth lead are not crossed but are directly connected to the first local oscillator port and the second local oscillator port respectively. In this way, routing is simple.
In an optional implementation, the third position and the first position are same positions, and the fourth position and the second position are same positions.
In this implementation, it can be ensured that the traces of the gates of all the MOS transistors are strictly symmetrical.
In an optional implementation, both the first input port and the second input port are connected to a low noise amplifier, and both the first output port and the second output port are connected to a transimpedance amplifier.
According to a fourth aspect, an embodiment of this application provides another mixer. The mixer includes a first MOS transistor group and a second MOS transistor group; the first MOS transistor group includes a first MOS transistor, a second MOS transistor, a third MOS transistor, and a fourth MOS transistor, both a gate of the first MOS transistor and a gate of the fourth MOS transistor are connected to a first local oscillator port, and both a gate of the second MOS transistor and a gate of the third MOS transistor are connected to a second local oscillator port; and a lead between the gate of the first MOS transistor and the first local oscillator port, a lead between the gate of the second MOS transistor and the second local oscillator port, a lead between the gate of the third MOS transistor and the second local oscillator port, and a lead between the gate of the fourth MOS transistor and the first local oscillator port all have an equal length.
In this embodiment of this application, traces of gates of all MOS transistors in the mixer have a same length. As such, all the MOS transistors have a same gate parasitic capacitance. In this way, linearity is relatively high.
In an optional implementation, the first MOS transistor group and the second MOS transistor group are aligned left and right and are symmetrical along a reference symmetry axis.
In this implementation, the first MOS transistor group and the second MOS transistor group are symmetrically disposed. As such, parasitic capacitances of the two MOS transistor groups may be consistent. This improves linearity of the mixer.
In an optional implementation, a first lead between the gate of the first MOS transistor and the gate of the fourth MOS transistor passes through a first position, a second lead between the gate of the second MOS transistor and the gate of the third MOS transistor passes through a second position, and the first position and the second position are same positions at different layers in the mixer; and a lead from the gate of the first MOS transistor to the first position, a lead from the gate of the second MOS transistor to the second position, a lead from the gate of the third MOS transistor to the second position, and a lead from the gate of the fourth MOS transistor to the first position have an equal length.
In this implementation, leads from the gates of all the MOS transistors in the mixer to same positions at different layers in the mixer have an equal length. As such, all the MOS transistors have a same gate parasitic capacitance. In this way, linearity is relatively high.
In an optional implementation, the first MOS transistor and the third MOS transistor are aligned left and right and are symmetrical along a first symmetry axis, the second MOS transistor and the fourth MOS transistor are aligned left and right and are symmetrical along the first symmetry axis, the first MOS transistor and the second MOS transistor are aligned forward and backward and are symmetrical along a second symmetry axis, and the third MOS transistor and the fourth MOS transistor are aligned forward and backward and are symmetrical along the second symmetry axis; and the first symmetry axis and the second symmetry axis are perpendicular to each other.
In this implementation, all the MOS transistors in the mixer are symmetrically arranged. As such, parasitic capacitances of all the MOS transistors are compatible. This improves linearity of the mixer.
In an optional implementation, one end of a third lead is connected to a third position of the first lead, and the other end of the third lead is connected to the first port; one end of a fourth lead is connected to a fourth position of the second lead, and the other end of the fourth lead is connected to the second port; the third position and the fourth position are symmetrical along the first symmetry axis; and the mixer is symmetrical along the first symmetry axis.
In this implementation, the third lead and the fourth lead are symmetrical along the first symmetry axis. As such, the traces of the gates of all the MOS transistors may be symmetrical.
In an optional implementation, the gate of the first MOS transistor and the gate of the fourth MOS transistor are directly connected to form the first lead, the gate of the second MOS transistor and the gate of the third MOS transistor are directly connected to form the second lead, and both the first lead and the second lead are straight lines.
In this implementation, the gate of the first MOS transistor and the gate of the fourth MOS transistor are directly connected, and the gate of the second MOS transistor and the gate of the third MOS transistor are directly connected. This can effectively reduce lengths of leads.
In an optional implementation, a part of the third lead is located on one side of the first symmetry axis, and the other part of the third lead is located on the other side of the first symmetry axis; a part of the fourth lead is located on one side of the first symmetry axis, and the other part of the fourth lead is located on the other side of the first symmetry axis; and the third lead passes through a fifth position, the fourth lead passes through a sixth position, and the fifth position and the sixth position are same positions at different layers in the mixer.
In this implementation, the traces of the gates of all the MOS transistors are strictly symmetrical. As such, both gate resistances and gate parasitic capacitances of all the MOS transistors are consistent.
In an optional implementation, a first part of the third lead and a part of the second lead are located in same positions at different layers in the mixer, a second part of the third lead is parallel to the first symmetry axis, a third part of the third lead is located on two sides of the first symmetry axis, and a fourth part of the third lead is parallel to the first symmetry axis; a first part of the fourth lead and a part of the first lead are located in same positions at different layers in the mixer, a second part of the fourth lead is parallel to the first symmetry axis, a third part of the fourth lead is located on the two sides of the first symmetry axis, and a fourth part of the fourth lead is parallel to the first symmetry axis; and the third part of the third lead passes through the fifth position, and the third part of the fourth lead passes through the sixth position.
In this implementation, the first part of the third lead and a part of the second lead are located in same positions at different layers in the mixer, and the first part of the fourth lead and a part of the first lead are located in same positions at different layers in the mixer. This can effectively reduce mutual impact between leads.
In an optional implementation, the third lead is located on one side of the first symmetry axis, and the fourth lead is located on the other side of the first symmetry axis; a first part of the third lead and a part of the second lead are located in same positions at different layers in the mixer, and a second part of the third lead is parallel to the first symmetry axis; and a first part of the fourth lead and a part of the first lead are located in same positions at different layers in the mixer, and a second part of the fourth lead is parallel to the first symmetry axis.
In this implementation, the third lead and the fourth lead are not crossed but are directly connected to the first local oscillator port and the second local oscillator port respectively. In this way, routing is simple.
In an optional implementation, the third position and the first position are same positions, and the fourth position and the second position are same positions.
In this implementation, it can be ensured that the traces of the gates of all the MOS transistors are strictly symmetrical.
In an optional implementation, the first MOS transistor group and the second MOS transistor group are disposed on different deep N-wells (DNWs).
In this implementation, isolation between the first MOS transistor group and the second MOS transistor group is relatively high.
In an optional implementation, both the first input port and the second input port are connected to a low noise amplifier, and both the first output port and the second output port are connected to a transimpedance amplifier.
According to a fifth aspect, an embodiment of this application provides still another mixer. The mixer includes a first MOS transistor group and a second MOS transistor group, where the first MOS transistor group and the second MOS transistor group are disposed on different deep N-wells.
Optionally, a circuit structure of the second MOS transistor group is the same as a circuit structure of the first MOS transistor group.
In this embodiment of this application, the two MOS transistor groups are disposed on different deep N-wells, such that isolation between the two MOS transistor groups can be improved.
In an optional implementation, the first MOS transistor group includes a first MOS transistor, a second MOS transistor, a third MOS transistor, and a fourth MOS transistor, both a gate of the first MOS transistor and a gate of the fourth MOS transistor are connected to a first port, and both a gate of the second MOS transistor and a gate of the third MOS transistor are connected to a second port; and a lead between the gate of the first MOS transistor and the first port, a lead between the gate of the second MOS transistor and the second port, a lead between the gate of the third MOS transistor and the second port, and a lead between the gate of the fourth MOS transistor and the first port all have an equal length.
In this implementation, traces of gates of all MOS transistors in the mixer have a same length, such that all the MOS transistors have a same gate parasitic capacitance. In this way, linearity is relatively high.
In an optional implementation, the first MOS transistor group and the second MOS transistor group are aligned left and right and are symmetrical along a reference symmetry axis.
In this implementation, the first MOS transistor group and the second MOS transistor group are symmetrically disposed, such that parasitic capacitances of the two MOS transistor groups may be consistent. This improves linearity of the mixer.
In an optional implementation, a first lead between the gate of the first MOS transistor and the gate of the fourth MOS transistor passes through a first position, a second lead between the gate of the second MOS transistor and the gate of the third MOS transistor passes through a second position, and the first position and the second position are same positions at different layers in the mixer; and a lead from the gate of the first MOS transistor to the first position, a lead from the gate of the second MOS transistor to the second position, a lead from the gate of the third MOS transistor to the second position, and a lead from the gate of the fourth MOS transistor to the first position have an equal length.
In this implementation, leads from the gates of all the MOS transistors in the mixer to same positions at different layers in the mixer have an equal length, such that all the MOS transistors have a same gate parasitic capacitance. In this way, linearity is relatively high.
In an optional implementation, the first MOS transistor and the third MOS transistor are aligned left and right and are symmetrical along a first symmetry axis, the second MOS transistor and the fourth MOS transistor are aligned left and right and are symmetrical along the first symmetry axis, the first MOS transistor and the second MOS transistor are aligned forward and backward and are symmetrical along a second symmetry axis, and the third MOS transistor and the fourth MOS transistor are aligned forward and backward and are symmetrical along the second symmetry axis; and the first symmetry axis and the second symmetry axis are perpendicular to each other.
In this implementation, all the MOS transistors in the mixer are symmetrically arranged, such that parasitic capacitances of all the MOS transistors are compatible. This improves linearity of the mixer.
In an optional implementation, one end of a third lead is connected to a third position of the first lead, and the other end of the third lead is connected to the first port; one end of a fourth lead is connected to a fourth position of the second lead, and the other end of the fourth lead is connected to the second port; the third position and the fourth position are symmetrical along the first symmetry axis; and the mixer is symmetrical along the first symmetry axis.
In this implementation, the third lead and the fourth lead are symmetrical along the first symmetry axis, such that the traces of the gates of all the MOS transistors may be symmetrical.
In an optional implementation, the gate of the first MOS transistor and the gate of the fourth MOS transistor are directly connected to form the first lead, the gate of the second MOS transistor and the gate of the third MOS transistor are directly connected to form the second lead, and both the first lead and the second lead are straight lines.
In this implementation, the gate of the first MOS transistor and the gate of the fourth MOS transistor are directly connected, and the gate of the second MOS transistor and the gate of the third MOS transistor are directly connected. This can effectively reduce lengths of leads.
In an optional implementation, a part of the third lead is located on one side of the first symmetry axis, and the other part of the third lead is located on the other side of the first symmetry axis; a part of the fourth lead is located on one side of the first symmetry axis, and the other part of the fourth lead is located on the other side of the first symmetry axis; and the third lead passes through a fifth position, the fourth lead passes through a sixth position, and the fifth position and the sixth position are same positions at different layers in the mixer.
In this implementation, the traces of the gates of all the MOS transistors are strictly symmetrical, such that both gate resistances and gate parasitic capacitances of all the MOS transistors are consistent.
In an optional implementation, a first part of the third lead and a part of the second lead are located in same positions at different layers in the mixer, a second part of the third lead is parallel to the first symmetry axis, a third part of the third lead is located on two sides of the first symmetry axis, and a fourth part of the third lead is parallel to the first symmetry axis; a first part of the fourth lead and a part of the first lead are located in same positions at different layers in the mixer, a second part of the fourth lead is parallel to the first symmetry axis, a third part of the fourth lead is located on the two sides of the first symmetry axis, and a fourth part of the fourth lead is parallel to the first symmetry axis; and the third part of the third lead passes through the fifth position, and the third part of the fourth lead passes through the sixth position.
In this implementation, the first part of the third lead and a part of the second lead are located in same positions at different layers in the mixer, and the first part of the fourth lead and a part of the first lead are located in same positions at different layers in the mixer. This can effectively reduce mutual impact between leads.
In an optional implementation, the third lead is located on one side of the first symmetry axis, and the fourth lead is located on the other side of the first symmetry axis; a first part of the third lead and a part of the second lead are located in same positions at different layers in the mixer, and a second part of the third lead is parallel to the first symmetry axis; and a first part of the fourth lead and a part of the first lead are located in same positions at different layers in the mixer, and a second part of the fourth lead is parallel to the first symmetry axis.
In this implementation, the third lead and the fourth lead are not crossed but are directly connected to the first port and the second port respectively. In this way, routing is simple.
In an optional implementation, the third position and the first position are same positions, and the fourth position and the second position are same positions.
In this implementation, it can be ensured that the traces of the gates of all the MOS transistors are strictly symmetrical.
In an optional implementation, both a first input port and a second input port are connected to a low noise amplifier, and both a first output port and a second output port are connected to a transimpedance amplifier.
According to a sixth aspect, an embodiment of this application provides an electronic device, where the electronic device includes the mixer according to any one of the third aspect to the fifth aspect and the optional implementations.
The electronic device may be a receiver, a transceiver, or a radio frequency chip in a terminal (for example, a mobile phone or a base station), or may be a terminal, or may be another device.
To make a person skilled in the art better understand the technical solutions in this application, the following clearly describes the technical solutions in the embodiments of this application with reference to the accompanying drawings in the embodiments of this application. It is clear that the described embodiments are merely a part but not all of the embodiments of this application.
In the embodiments of the specification, the claims, and the accompanying drawings of this application, the terms “first”, “second”, “third”, and the like are intended to distinguish between similar objects, but do not necessarily indicate a specific order or sequence. Moreover, the terms “include”, “have”, and any other variant thereof are intended to cover a non-exclusive inclusion, for example, including a series of steps or units. Methods, systems, products, or devices are not necessarily limited to those explicitly listed steps or units, but may include other steps or units that are not explicitly listed or that are inherent to such processes, methods, products, or devices.
In an electronic communications system, a mixer is a core circuit responsible for a spectrum shift function in a transceiver, and is widely used in a microwave wireless communications system, a radar system, and a measurement system. A receiver basically includes components such as an amplifier, a filter, and a mixer. The components are used to amplify and filter an analog input signal, perform frequency shift or conversion for several times on the analog input signal that is amplified and filtered, then perform sampling using an analog-to-digital converter (ADC), and send a digital signal to a computer or digital signal processor for further processing. The mixer is located at a position with relatively high radio frequency signal amplitude in the receiver, and many interfering signals are not effectively suppressed. Therefore, linearity is a very important (even the most important) indicator of the mixer.
A layout structure of the mixer includes two symmetrically arranged groups of switching circuits. The gates of the four MOS transistors in each group of switching circuits each are connected to one lead. Two gate leads are connected to one output port of an LO, and the other two gate leads are connected to the other output port of the LO.
The following describes a layout structure of a mixer according to an embodiment of this application. In the layout structure, parasitics of gates of MOS transistors are consistent. A diagram of a circuit principle corresponding to the layout structure of the mixer according to this application shows a mixer circuit including two groups of switch circuits.
In an optional implementation, as shown in
In an optional implementation, as shown in
In an optional implementation, as shown in
In the layout structure in
In an optional implementation, in the layout structure of the mixer, a first switch circuit and a second switch circuit are disposed on different deep N-wells (DNWs). In the layout structure of the conventional mixer, two groups of switch circuits are disposed on a same deep N-well, one group of switch circuits corresponds to a path I, the other group of switch circuits corresponds to a path Q, and isolation between the two paths I and Q is relatively poor.
The layout structure of the switch circuit provided in this application is a layout structure with relatively good linearity performance, and is not limited to being applied to a layout structure of a mixer, but may also be applied to another circuit. In this application, equality is not limited to complete equality, but a specific deviation is allowed. An objective of the solutions in this application is to ensure that traces of gates of MOS transistors have an equal length as much as possible, but it is not limited that the traces of the gates of the MOS transistors need to have completely consistent lengths. The foregoing descriptions are merely example embodiments of this application, but are not intended to limit the protection scope of this application. Any equivalent modification or replacement readily figured out by a person skilled in the art within the technical scope disclosed in this application shall fall within the protection scope of this application. Therefore, the protection scope of this application shall be subject to the protection scope of the claims.
This application is a continuation of International Patent Application No. PCT/CN2019/085335, filed on Apr. 30, 2019, the disclosure of which is hereby incorporated by reference in its entirety.
Number | Date | Country | |
---|---|---|---|
Parent | PCT/CN2019/085335 | Apr 2019 | US |
Child | 17514564 | US |