Anti-interference method, device and system

文档序号:1523397 发布日期:2020-02-11 浏览:30次 中文

阅读说明:本技术 一种抗干扰方法、装置及系统 (Anti-interference method, device and system ) 是由 刘波 于 2018-07-12 设计创作,主要内容包括:本发明公开了一种抗干扰装置,所述装置包括:Type-C接口、传输麦克信号的第一开关、传输耳机听筒信号的第二开关和第一处理器;所述Type-C接口的麦克信号引脚通过所述第一开关与所述第一处理器连接;所述Type-C接口的耳机听筒信号引脚通过所述第二开关与所述第一处理器连接,所述第一开关的地输出端与所述第二开关的地端连接专用地,所述专用地不同于公共地。本发明实施例还提供一种抗干扰方法及系统。(The invention discloses an anti-interference device, comprising: the earphone comprises a Type-C interface, a first switch for transmitting a microphone signal, a second switch for transmitting an earphone signal and a first processor; a microphone signal pin of the Type-C interface is connected with the first processor through the first switch; the earphone receiver signal pin of the Type-C interface is connected with the first processor through the second switch, the ground output end of the first switch is connected with the ground end of the second switch through a special ground, and the special ground is different from a common ground. The embodiment of the invention also provides an anti-interference method and an anti-interference system.)

1. An apparatus for resisting interference, the apparatus comprising: the earphone comprises a Type-C interface, a first switch for transmitting a microphone signal, a second switch for transmitting an earphone signal and a first processor;

a microphone signal pin of the Type-C interface is connected with the first processor through the first switch;

the earphone receiver signal pin of the Type-C interface is connected with the first processor through the second switch, the ground output end of the first switch is connected with the ground end of the second switch through a special ground, and the special ground is different from a common ground.

2. The apparatus of claim 1, wherein the microphone signal pins of the Type-C interface comprise a first microphone signal pin and a second microphone signal pin; the first microphone signal pin is used for transmitting a microphone input signal, and the second microphone signal pin is used for transmitting a microphone ground signal;

the first microphone signal pin is connected with the first processor through the first switch;

the second microphone signal pin is connected with the ground output end of the first switch;

the ground output end of the first switch is connected with the first processor.

3. The apparatus of claim 2, wherein the first processor comprises a differential amplifier;

the first microphone signal pin is connected with the first input end of the differential amplifier through the first switch;

the ground output end of the first switch is connected with the second input end of the differential amplifier.

4. The apparatus of claim 2, wherein the headphone signal pin comprises a first channel pin and a second channel pin; the first processor comprises a first headphone amplifier and a second headphone amplifier;

the first channel pin is connected with the input end of the first earphone amplifier through the second switch;

and the second channel pin is connected with the input end of the second earphone amplifier through the second switch.

5. The apparatus of claim 4, wherein a ground output of the first switch is connected to a ground reference of the first headphone amplifier and a ground reference of the second headphone amplifier, respectively.

6. The apparatus of claim 4, wherein a level detection pin of the Type-C interface is connected to the second processor, and wherein the level detection pin is configured to trigger a headset insertion signal.

7. The apparatus of claim 1, further comprising: a second processor and a third switch for transmitting a USB signal;

the earphone receiver signal pin of the Type-C interface is connected with the second processor through the third switch; the ground of the third switch is connected with the common ground.

8. An anti-interference method applied to the anti-interference device according to any one of claims 1 to 7, the method comprising:

the first processor receives a microphone signal input by a microphone signal pin of the Type-C interface through a first switch, and outputs a headphone signal to a headphone signal pin of the Type-C interface through a second switch;

and taking the ground signal of the microphone signal as the ground signal of the earphone signal through the connection of the ground output end of the first switch and the ground end of the second switch.

9. The method of claim 8, further comprising:

and taking a microphone ground signal in the microphone signals as a ground signal of the earphone signals.

10. The method of claim 9, further comprising:

respectively taking a mike input signal and the mike ground signal in the mike signals as input signals of a first differential amplifier in the first processor;

and carrying out differential amplification processing on the microphone input signal and the microphone ground signal through the differential amplifier.

11. The method of claim 9, wherein the headphone signal comprises a first channel signal and a second channel signal; the first processor comprises a first headphone amplifier and a second headphone amplifier, the method further comprising:

amplifying the first sound channel signal through the first headphone amplifier;

and amplifying the second channel signal by the second earphone amplifier.

12. The method of claim 11, wherein the amplifying the first channel signal by the first headphone amplifier and the amplifying the second channel signal by the second headphone amplifier comprise:

taking the mike ground signal as a ground reference signal of the first headphone amplifier to amplify the first channel signal;

and taking the mike ground signal as a ground reference signal of the second earphone amplifier to amplify the second channel signal.

13. The method of claim 8, further comprising:

when the level detection pin of the Type-C interface detects the level change, triggering an earphone insertion signal;

sending the headset insertion signal to a second processor.

14. An anti-jamming system, characterized in that the system comprises: a headset, a transducer and a terminal, the terminal comprising the tamper resistant arrangement of any one of claims 1 to 7.

15. The system of claim 14, wherein the earphone socket of the converter is provided with a first detection pin and a second detection pin;

the first detection pin is connected with a level detection pin of a Type-C interface of the converter;

the second detection pin is grounded.

Technical Field

The embodiment of the invention relates to the field of communication, in particular to but not limited to an anti-interference method, device and system.

Background

Along with the popularization of the USB Type-C interface, more and more terminal manufacturers begin to try to switch the USB interface to the Type-C interface, still define the interface of simulation earphone specially in the Type-C agreement, use the layout space that the compatible earphone design of Type-C interface just can save 3.5mm earphone interface, can let the cell-phone seem more succinct, and is dustproof, and waterproof ability is also stronger.

If the digital earphone of the USB Type-C interface is used, the influence on the earphone index is large, a large amount of delay can be caused in the process that the digital earphone is converted through a USB signal, the conversation performance of the earphone is influenced to a certain extent, a digital-to-analog conversion module needs to be arranged in the digital earphone, and the function of realizing the conversation while charging through a USB one-to-two switching line cannot be realized.

If the analog earphone of Type-C interface is used, a lot of defects of the digital earphone can be made up, firstly, a USB signal conversion link is saved, the same call delay with the traditional 3.5mm earphone can be achieved, in addition, the Type-C analog earphone supports positive and negative insertion, and the problem of compatibility of American and European standard earphones can be completely solved in the design of hardware by the aid of the method. Simultaneously, the audio interface of USBType-C simulation earphone and the interface that charges are not shared, use one minute two patch cords can also accomplish multimedia playback or conversation function when charging.

But the circuit interference killing feature of current Type-C simulation earphone is not enough, and the current sound appears more easily during the conversation, leads to speech quality to receive the influence.

Disclosure of Invention

In view of the above, embodiments of the present invention are intended to provide an anti-interference method, apparatus, and system, which can reduce noise of an earphone during a passing process.

The technical scheme of the embodiment of the invention is realized as follows:

the embodiment of the invention provides an anti-interference device, which comprises: the earphone comprises a Type-C interface, a first switch for transmitting a microphone signal, a second switch for transmitting an earphone signal and a first processor;

a microphone signal pin of the Type-C interface is connected with the first processor through the first switch;

the earphone receiver signal pin of the Type-C interface is connected with the first processor through the second switch, the ground output end of the first switch is connected with the ground end of the second switch through a special ground, and the special ground is different from a common ground.

The embodiment of the invention also provides an anti-interference method which is applied to the anti-interference device provided by the embodiment of the invention, and the method comprises the following steps:

the first processor receives a microphone signal input by a microphone signal pin of the Type-C interface through a first switch, and outputs a headphone signal to a headphone signal pin of the Type-C interface through a second switch;

and taking the ground signal of the microphone signal as the ground signal of the earphone signal through the connection of the ground output end of the first switch and the ground end of the second switch.

An embodiment of the present invention further provides an anti-interference system, where the system includes: the anti-interference device comprises an earphone, a converter and a terminal, wherein the terminal comprises the anti-interference device provided by the embodiment of the invention.

The embodiment of the invention provides an anti-interference method, an anti-interference device and an anti-interference system, wherein the anti-interference device comprises: the earphone comprises a Type-C interface, a first switch for transmitting a microphone signal, a second switch for transmitting an earphone signal, a third switch for transmitting a USB signal, a first processor and a second processor; a microphone signal pin of the Type-C interface is connected with the first processor through the first switch; the earphone receiver pin of the Type-C interface is connected with the first processor through the second switch, the ground output end of the first switch is connected with the ground end of the second switch through a special ground, and the special ground is different from a common ground; therefore, the ground connected with the first switch for transmitting the microphone signal is connected with the ground connected with the second switch for transmitting the earphone signals, and is separated from the public ground, the path of the signal forms a backflow ground path, and the noise generated to the public ground during the charging current is isolated from the ground of the signal, so that the current transmission does not influence the earphone signals, the anti-interference capability of the earphone signals is improved, and the quality of the earphone signals played by the earphone is further improved.

Drawings

Fig. 1-1 is a schematic structural diagram of an anti-interference apparatus according to a first embodiment of the present invention;

fig. 1-2 are schematic structural diagrams of an anti-interference apparatus according to a first embodiment of the present invention;

fig. 2 is a schematic flowchart of an anti-interference method according to a second embodiment of the present invention;

fig. 3 is a schematic structural diagram of an anti-interference system according to a third embodiment of the present invention;

fig. 4 is a circuit diagram of a converter according to a fourth embodiment of the present invention;

fig. 5 is a schematic circuit diagram of an anti-interference apparatus according to a fifth embodiment of the present invention;

fig. 6 is a schematic flowchart of a method for detecting insertion of an earphone according to a fifth embodiment of the present invention;

fig. 7 is a schematic circuit diagram of an anti-interference apparatus according to a sixth embodiment of the present invention;

fig. 8 is a schematic flowchart of an anti-interference method according to a sixth embodiment of the present invention.

Detailed Description

In an embodiment of the present invention, the apparatus comprises: the earphone comprises a Type-C interface, a first switch for transmitting a microphone signal, a second switch for transmitting an earphone signal and a first processor; a microphone signal pin of the Type-C interface is connected with the first processor through the first switch; the earphone receiver signal pin of the Type-C interface is connected with the first processor through the second switch, the ground output end of the first switch is connected with the ground end of the second switch through a special ground, and the special ground is different from a common ground.

The following describes the embodiments in further detail with reference to the accompanying drawings.

16页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:交流电并线的装置

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!

技术分类