A device for mixing or multiplying frequency, comprising: a metal housing, comprising a box body and a cover buckled together to define a metal cavity; at least one frequency conversion unit, comprising: a microstrip line located in the metal cavity; and a channel structure comprising a radio frequency signal input channel , a local oscillator signal input channel and a signal output channel, the radio frequency signal input channel , the local oscillator signal input channel and the signal output channel pass through the metal housing and are coupled to the microstrip line respectively, characterized in that the signal output channel is led out at an angle with respect to a plane where the microstrip line is located, wherein the signal output channel is led out by using an SMA connector , the SMA connector is a wall-through structure and has a metal pin pointing outwards perpendicular to the principle plane, one end of the SMA connector is level with the microstrip line and connected to an intermediate frequency signal output port of the microstrip line through gold wire bonding, so as to realize a vertical extraction of an intermediate frequency signal. a metal housing, comprising a box body and a cover buckled together to define a metal cavity; at least one frequency conversion unit, comprising: a microstrip line located in the metal cavity; and a channel structure comprising a radio frequency signal input channel , a local oscillator signal input channel and a signal output channel, the radio frequency signal input channel , the local oscillator signal input channel and the signal output channel pass through the metal housing and are coupled to the microstrip line respectively, characterized in that the signal output channel is led out at an angle with respect to a plane where the microstrip line is located, wherein the signal output channel is led out by using an SMA connector , the SMA connector is a wall-through structure and has a metal pin pointing outwards perpendicular to the principle plane, one end of the SMA connector is level with the microstrip line and connected to an intermediate frequency signal output port of the microstrip line through gold wire bonding, so as to realize a vertical extraction of an intermediate frequency signal. a microstrip line located in the metal cavity; and a channel structure comprising a radio frequency signal input channel , a local oscillator signal input channel and a signal output channel, the radio frequency signal input channel , the local oscillator signal input channel and the signal output channel pass through the metal housing and are coupled to the microstrip line respectively, characterized in that the signal output channel is led out at an angle with respect to a plane where the microstrip line is located, wherein the signal output channel is led out by using an SMA connector , the SMA connector is a wall-through structure and has a metal pin pointing outwards perpendicular to the principle plane, one end of the SMA connector is level with the microstrip line and connected to an intermediate frequency signal output port of the microstrip line through gold wire bonding, so as to realize a vertical extraction of an intermediate frequency signal. <EOS>