CN112202949B - USB peripheral, telephone equipment and telephone system - Google Patents

USB peripheral, telephone equipment and telephone system Download PDF

Info

Publication number
CN112202949B
CN112202949B CN202011036951.6A CN202011036951A CN112202949B CN 112202949 B CN112202949 B CN 112202949B CN 202011036951 A CN202011036951 A CN 202011036951A CN 112202949 B CN112202949 B CN 112202949B
Authority
CN
China
Prior art keywords
pin
usb
interface
switch chip
pins
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
CN202011036951.6A
Other languages
Chinese (zh)
Other versions
CN112202949A (en
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.)
Xiamen Yealink Network Technology Co Ltd
Original Assignee
Xiamen Yealink Network Technology 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 Xiamen Yealink Network Technology Co Ltd filed Critical Xiamen Yealink Network Technology Co Ltd
Priority to CN202011036951.6A priority Critical patent/CN112202949B/en
Publication of CN112202949A publication Critical patent/CN112202949A/en
Application granted granted Critical
Publication of CN112202949B publication Critical patent/CN112202949B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/02Constructional features of telephone sets
    • H04M1/21Combinations with auxiliary equipment, e.g. with clocks or memoranda pads
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/02Constructional features of telephone sets
    • H04M1/03Constructional features of telephone transmitters or receivers, e.g. telephone hand-sets
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/02Constructional features of telephone sets
    • H04M1/19Arrangements of transmitters, receivers, or complete sets to prevent eavesdropping, to attenuate local noise or to prevent undesired transmission; Mouthpieces or receivers specially adapted therefor

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Telephone Function (AREA)

Abstract

The application provides a USB peripheral, phone equipment and phone system, relates to the technical field of communication. The USB peripheral may include: USB interface, change over switch chip and main chip. The signal pin and the identification pin of the USB interface are connected with the corresponding input pin of the changeover switch chip, the first output pin of the changeover switch chip is connected with the USB pin of the main chip, and the second output pin of the changeover switch chip is connected with the audio pin of the main chip. The power pin of the USB interface is connected with the power pin of the change-over switch chip, so that the change-over switch chip controls the data corresponding to the signal pin and the identification pin based on the detected voltage of the power pin, and the data are transmitted to the USB pin of the main chip through the first output pin or transmitted to the audio pin of the main chip through the second output pin. In the scheme, the USB peripheral can realize the connection and communication between the USB interface and the USB equipment through the changeover switch chip, and meanwhile, the RJ9 interface of the telephone can be identified and connected to realize the transmission of audio signals.

Description

USB peripheral, phone equipment and phone system
Technical Field
The application relates to the technical field of communication, in particular to a USB peripheral, phone equipment and a phone system.
Background
The telephone is a more traditional communication tool, and the telephone needs to transmit and receive sound through a connected handle. However, the communication is performed through the handle, which causes inconvenience to the communication to some extent. In view of this problem, it is a trend to connect a telephone with a USB (Universal Serial Bus) peripheral to realize communication transmission through the connected USB peripheral.
In the prior art, when a phone is connected to a USB peripheral, since the RJ9 interface of the phone is not matched with the USB interface, an external voice signal processing device is used to convert a USB data signal into an analog signal, and input the analog signal into the RJ9 interface of the phone, so as to implement communication.
However, the above method may add an additional external device, which results in higher cost, and on the other hand, cannot achieve more comprehensive transmission of the communication command.
Disclosure of Invention
An object of the present invention is to provide a USB peripheral, a phone device and a phone system, so as to solve the problems of the prior art that the conversion between the USB signal and the RJ9 signal is complex and the instruction transmission is limited.
In order to achieve the above purpose, the technical solutions adopted in the embodiments of the present application are as follows:
in a first aspect, an embodiment of the present application provides a USB peripheral, including: the USB interface, the change-over switch chip and the main chip;
a signal pin and an identification pin of the USB interface are connected with corresponding input pins of the change-over switch, a first output pin of the change-over switch chip is connected with a USB pin of the main chip, and a second output pin of the change-over switch chip is connected with an audio pin of the main chip;
and the power pin of the USB interface is connected with the power pin of the change-over switch chip, so that the change-over switch chip controls the data corresponding to the signal pin and the identification pin based on the detected voltage of the power pin, and the data is transmitted to the USB pin of the main chip through the first output pin or transmitted to the audio pin of the main chip through the second output pin.
Optionally, the switch chip includes: a first switch chip and a second switch chip;
a power pin of the USB interface is connected with power pins of the first switch chip and the second switch chip;
the signal pin is connected with an input pin of the first switch chip, and the identification pin is connected with an input pin of the second switch chip;
the first group of output pins of the first switch chip are connected with part of the pins of the USB pins, and the first group of output pins of the second switch chip are connected with the other part of the pins of the USB pins; the first output pin includes: a first group of output pins of the first switch chip and a first group of output pins of the second switch chip;
the second group of output pins of the first switch chip are connected with part of the pins of the audio pins, and the second group of output pins of the second switch chip are connected with the other part of the pins of the audio pins; the second output pin includes: the second group of output pins of the first switch chip and the second group of output pins of the second switch chip.
Optionally, a positive electrode pin of the signal pins is connected to a positive input pin of the first switch chip, and a negative electrode pin of the signal pins is connected to a negative input pin of the first switch chip; the identification pin is connected with a positive input pin of the second switch chip;
one output pin corresponding to a positive input pin in the first switch chip is connected with a positive electrode pin in the USB pin, one output pin corresponding to a negative input pin in the first switch chip is connected with a negative electrode pin in the USB pin, and one output pin corresponding to a positive input pin in the second switch chip is connected with an identification pin in the USB pin;
the other output pin corresponding to the positive input pin in the first switch chip is connected with the microphone positive electrode pin of the audio pin, the other output pin corresponding to the negative input pin in the first switch chip is connected with the horn positive electrode pin of the audio pin, and the other output pin corresponding to the positive input pin in the second switch chip is connected with the horn negative electrode pin of the audio pin.
Optionally, the USB peripheral further comprises: an electromagnetic interference filter;
an output pin corresponding to a positive input pin in the first switch chip is connected with an input pin of the electromagnetic interference filter;
one output pin corresponding to a negative input pin in the first switch chip is connected with the other input pin of the electromagnetic interference filter;
and two output pins of the electromagnetic interference filter are respectively connected with a positive electrode pin in the USB pins and a negative electrode pin in the USB pins.
In a second aspect, an embodiment of the present application further provides a phone device, including: the voice processing device comprises a voice processing chip, a phone interface, an analog-to-digital converter (ADC), a switching device and an input/output (IO) interface;
the microphone anode, the microphone cathode, the loudspeaker anode and the loudspeaker cathode of the voice processing chip are respectively connected with corresponding pins of the phone interface;
the positive pole of the microphone is connected with the input end of the ADC, and the output end of the ADC is connected with the input end of the voice processing chip; the positive electrode of the microphone is also connected with a preset direct current power supply through a first preset resistor;
the negative electrode of the microphone is grounded through a second preset resistor, the negative electrode of the microphone is also connected with a power supply end of the switch device, the grounding end of the switch device is grounded, and the control end of the switch device is connected with the IO interface;
the output end of the voice processing chip is also connected with the IO interface and is used for determining whether the inserted equipment is a handle or a USB peripheral based on the voltage value of the microphone anode detected by the ADC, and if the equipment is the handle, the IO interface controls the switch device to be closed; and if the USB peripheral is adopted, the switching device is controlled to be conducted through the IO interface.
Optionally, the preset dc power supply is further grounded through a filter capacitor.
Optionally, the first preset resistance includes: a first node formed by connecting the first resistor and the second resistor in series is connected with the preset direct-current power supply, and a second node formed by connecting the first resistor and the second resistor in series is connected with the anode of the microphone;
the series connection point of the first resistor and the second resistor is grounded through a first filter capacitor; and the preset direct current power supply is grounded through a second filter capacitor.
Optionally, the control terminal of the switching device is connected to the IO interface through a third preset resistor, and the IO interface is further connected to the preset dc power supply through a fourth preset resistor.
Optionally, the resistance values of the first preset resistor and the second preset resistor are the same as the preset resistance value of the microphone.
In a third aspect, an embodiment of the present application further provides a phone system, including: a phone device according to the second aspect, and a USB peripheral according to the first aspect;
the phone interface of the phone equipment is connected with the USB interface of the USB peripheral equipment through a connecting line; one end of the connecting wire is a corresponding port of the phone interface, and the other end of the connecting wire is a corresponding port of the USB interface.
The beneficial effect of this application is:
the application provides a USB peripheral hardware, phone equipment and phone system, wherein, the USB peripheral hardware can include: USB interface, change over switch chip and main chip. The signal pin and the identification pin of the USB interface are connected with the corresponding input pin of the changeover switch chip, the first output pin of the changeover switch chip is connected with the USB pin of the main chip, and the second output pin of the changeover switch chip is connected with the audio pin of the main chip. The power pin of the USB interface is connected with the power pin of the change-over switch chip, so that the change-over switch chip controls the data corresponding to the signal pin and the identification pin based on the detected voltage of the power pin, and the data are transmitted to the USB pin of the main chip through the first output pin or transmitted to the audio pin of the main chip through the second output pin. In the scheme, the change-over switch chip of the USB peripheral can detect the voltage signal of the USB interface and control the switch to be connected, so that the connection and communication between the USB interface and the USB equipment can be realized, and meanwhile, the RJ9 interface of the telephone can be identified and connected to realize the transmission of audio signals. Compared with the prior art, when the communication between the USB interface and the RJ9 interface of the telephone is realized, the USB signal does not need to be converted, but the USB signal is switched into the audio signal through signal switching, so that the signal transmission efficiency is improved.
A handset device comprising: the voice processing device comprises a voice processing chip, a phone interface, an analog-to-digital converter (ADC), a switching device and an input/output (IO) interface; the microphone anode, the microphone cathode, the loudspeaker anode and the loudspeaker cathode of the voice processing chip are respectively connected with corresponding pins of the phone interface; the positive pole of the microphone is connected with the input end of the ADC, and the output end of the ADC is connected with the input end of the voice processing chip; the positive electrode of the microphone is also connected with a preset direct current power supply through a first preset resistor; the negative electrode of the microphone is grounded through a second preset resistor, the negative electrode of the microphone is also connected with a power supply end of a switch device, a grounding end of the switch device is grounded, and a control end of the switch device is connected with an IO interface; the output end of the voice processing chip is also connected with an IO interface and used for determining whether the inserted equipment is a handle or a USB peripheral based on the voltage value of the positive electrode of the microphone detected by the ADC, and if the equipment is the handle, the switch device is controlled to be closed through the IO interface; if the USB peripheral is the USB peripheral, the switch device is controlled to be conducted through the IO interface. In the scheme, the voice processing chip of the phone equipment can identify whether the external equipment inserted into the RJ9 interface of the phone equipment is a phone handle or a USB peripheral equipment based on the voltage value of the positive electrode of the microphone detected by the ADC, so that the communication connection between the RJ9 interface of the phone equipment and the USB peripheral equipment is realized, when the external equipment is identified to be the USB peripheral equipment, the switch device is controlled to be opened through the IO interface, the negative electrode of the microphone is grounded, the common grounding of the phone equipment and the USB peripheral equipment is realized, so that the interference of an analog signal of communication between the phone equipment and the USB peripheral equipment by a power frequency signal is avoided, and the tone quality is improved.
In addition, the transmission frequency of the signal is increased to 20KHZ-30KHZ, so that the telephone equipment and the USB peripheral can transmit the command through the analog signal line without influencing the transmission of sound, and the normal sound is not influenced while the command transmission is realized.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are required to be used in the embodiments will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present application and therefore should not be considered as limiting the scope, and for those skilled in the art, other related drawings can be obtained from the drawings without inventive effort.
Fig. 1 is a schematic diagram of a USB peripheral circuit according to an embodiment of the present disclosure;
fig. 2 is a schematic partial structure diagram of a switch chip according to an embodiment of the present disclosure;
FIG. 3 is a schematic diagram of another USB peripheral circuit according to an embodiment of the present application;
fig. 4 is a schematic circuit structure diagram of a phone device according to an embodiment of the present disclosure;
fig. 5 is a block diagram of a phone system according to an embodiment of the present application.
Icon: 100-a USB peripheral; 110-USB interface; 130-a master chip; 121-a first switching chip; 122-a second switch chip; 131-a USB pin; 132-an audio pin; 140-an electromagnetic interference filter; 200-a phone device; 210-a voice processing chip; 220-a phone interface; 230-analog-to-digital converter ADC; 240-switching device; 250-input/output (IO) interface; 300-a phone system; 310-connecting lines.
Detailed Description
In order to make the purpose, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it should be understood that the drawings in the present application are for illustrative and descriptive purposes only and are not used to limit the scope of protection of the present application. Additionally, it should be understood that the schematic drawings are not necessarily drawn to scale. The flowcharts used in this application illustrate operations implemented according to some embodiments of the present application.
In addition, the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. The components of the embodiments of the present application, generally described and illustrated in the figures herein, can be arranged and designed in a wide variety of different configurations. Thus, the following detailed description of the embodiments of the present application, presented in the accompanying drawings, is not intended to limit the scope of the claimed application, but is merely representative of selected embodiments of the application. All other embodiments, which can be derived by a person skilled in the art from the embodiments of the present application without making any creative effort, shall fall within the protection scope of the present application.
It should be noted that in the embodiments of the present application, the term "comprising" is used to indicate the presence of the features stated hereinafter, but does not exclude the addition of further features.
Firstly, a related background technology related to the technical scheme is briefly explained:
in the prior art, when the RJ9 interface of the phone is connected with the USB interface, an external voice signal processing device is used to convert the USB digital signal transmitted from the external USB peripheral device through the USB interface into an analog signal, and the analog signal is input to the RJ9 interface of the phone.
The disadvantages of the prior art are as follows: on one hand: an additional voice signal processing device is required, and the cost of the device is increased. On the other hand, the technology does not solve the problem of transmitting some commands on the RJ9 audio line, and the phone cannot identify whether the device is connected to the USB interface, the phone cannot share the ground with the external device through the RJ9 interface, the noise of the audio frequency is large, and the sound of the speaker also affects the sound input of the microphone to form an echo.
Based on the existing problems, the invention idea is provided as follows: the connection between the USB interface and the RJ9 interface is realized through a connecting wire for converting a USB signal into an RJ9 signal. And voltage detection is carried out through the USB peripheral equipment, and based on a detection result, switching connection between the RJ9 signal pin and the USB signal pin is realized, so that communication between the telephone and the USB peripheral equipment is realized.
Fig. 1 is a schematic diagram of a USB peripheral circuit according to an embodiment of the present disclosure; as shown in fig. 1, the USB peripheral 100 may include: a USB interface 110, a switch chip, and a main chip 130. The signal pin and the identification pin of the USB interface 110 are connected to the corresponding input pin of the switch chip, the first output pin of the switch chip is connected to the USB pin of the main chip 130, and the second output pin of the switch chip is connected to the audio pin of the main chip 130.
The power pin 1 of the USB interface 110 is connected to the power pin of the switch chip, so that the switch chip controls data corresponding to the signal pin and the identification pin based on the detected voltage of the power pin 1, and the data is transmitted to the USB pin of the main chip 130 through the first output pin, or is transmitted to the audio pin of the main chip 130 through the second output pin.
The signal pin of the USB interface 110 may be used for transmitting a USB signal, and the identification pin of the USB interface 110 is used for detecting a pin status, so as to determine whether the USB peripheral is a master device (host) or a slave device (peripheral). Optionally, when the identification pin is detected, the master device is determined, and when the identification pin is detected to be empty, the slave device is determined.
Optionally, the switch chip may determine the type of the device connected to the USB interface 110 according to the detected voltage signal of the power pin 1 of the USB interface 110, where the type of the device may include: USB device and telephone RJ9 interface. According to different types of equipment connected with the USB interface 110, the switch can be controlled to be switched, so that the USB interface 110 is connected with the RJ9 interface of the telephone to perform communication.
In some embodiments, the USB peripheral may be a wired headset or a base station of a wireless headset, and the RJ9 interface is communicatively connected to the USB interface 110, so that a traditional voice input mode through a handset handle can be improved, and user experience is improved.
Optionally, the main chip 130 may be configured to perform corresponding processing on a signal input from the USB interface 110, and when the USB interface 110 is connected to a USB device, the switch chip may conduct a signal pin of the USB interface 110 and a USB pin of the main chip 130, so as to process the input USB signal through the main chip 130, where the USB interface 110 may be used as a common USB interface. When the USB interface 110 is connected to the RJ9 phone interface, the switch chip can connect the signal pin of the USB interface 110 to the audio pin of the main chip 130, so as to process the input audio signal through the main chip 130, and at this time, the USB interface 110 can be connected to the RJ9 phone interface.
In this embodiment, the USB interface 110 may be a microsub. The MicroUSB connector is smaller than standard USB and Mini-USB connectors, saves space, has plug life and strength of 10000 times, and is designed in a blind plugging structure. The microsusb standard supports the OTG function of USB, that is, data transmission can be directly performed between portable devices without a host (e.g., a personal computer), and data transmission and charging are provided at the same time, so that the microsusb standard is particularly suitable for high-speed (HS) or higher data transmission, and is an optimal choice for connecting small devices (e.g., mobile phones, PDAs, digital cameras, digital video cameras, portable digital players, and the like). Of course, in practical applications, the USB interface 110 may not be limited to microsusb, and the application does not limit this.
In summary, the USB peripheral provided in this embodiment may include: USB interface, change over switch chip and main chip. The signal pin and the identification pin of the USB interface are connected with the corresponding input pin of the changeover switch chip, the first output pin of the changeover switch chip is connected with the USB pin of the main chip, and the second output pin of the changeover switch chip is connected with the audio pin of the main chip. The power pin of the USB interface is connected with the power pin of the change-over switch chip, so that the change-over switch chip controls the data corresponding to the signal pin and the identification pin based on the detected voltage of the power pin, and the data are transmitted to the USB pin of the main chip through the first output pin or transmitted to the audio pin of the main chip through the second output pin. In the scheme, the change-over switch chip of the USB peripheral can detect the voltage signal of the USB interface and control the switch to be connected, so that the connection and communication between the USB interface and the USB equipment can be realized, and meanwhile, the RJ9 interface of the telephone can be identified and connected to realize the transmission of audio signals. Compared with the prior art, when the communication between the USB interface and the RJ9 interface is realized, the USB signal does not need to be converted, but the USB signal is switched into the audio signal through signal switching, so that the signal transmission efficiency is improved.
Optionally, continuing with fig. 1, the switcher chip may include: a first switch chip 121 and a second switch chip 122; the power pin 1 of the USB interface 110 is connected to the power pin 8 of the first switch chip 121 and the power pin 16 of the second switch chip 122, respectively; the signal pin is connected to the input pin of the first switch chip 121, and the identification pin 4 is connected to the input pin of the second switch chip 122.
Wherein, the identification pin is also the USB _ ID pin. The power supply pin is also called VBUS pin. The signal pins of the USB interface 110 may include: a negative pin 2(USB signal negative) and a positive pin 3(USB signal positive). The USB interface 110 may receive an externally input signal through the negative pin 2 and the positive pin 3, or may output an externally input signal through the negative pin 2 and the positive pin 3.
A first group of output pins of the first switch chip 121 are connected with a part of pins of the USB pins 131, and a first group of output pins of the second switch chip 122 are connected with another part of pins of the USB pins 131; the first output pin includes: a first group of output pins of the first switch chip 121 and a first group of output pins of the second switch chip 122; the second group of output pins of the first switch chip 121 are connected to a part of the audio pins 132, and the second group of output pins of the second switch chip 122 are connected to another part of the audio pins 132; the second output pin includes: a second set of output pins of the first switch chip 121 and a second set of output pins of the second switch chip 122.
As shown in fig. 1, corresponding to the pins included in the USB interface 110, the USB pin 131 may include: power pin 24, positive pin 25(USB _ P), negative pin 26(USB _ N), identification pin 27. And the audio pin 132 may include: a horn anode pin 28, a horn cathode pin 29 and a microphone anode pin 30.
In some embodiments, the USB interface 110 is connected to the USB pin 131 of the main chip 130 through some output pins in the first switch chip 121 and the second switch chip 122, so as to serve as a normal USB interface. The USB interface 110 is connected to the audio pin 132 of the main chip 130 through another part of output pins in the first switch chip 121 and the second switch chip 122, so as to connect to an RJ9 interface of a phone.
Optionally, the positive pin 3 of the signal pins is connected to the positive input pin 9(D +/R) of the first switch chip 121, and the negative pin 2 of the signal pins is connected to the negative input pin 10(D-/L) of the first switch chip 121; the identification pin 4 is connected to the positive input pin 17 of the second switch chip 122.
One output pin 12(D +) corresponding to the positive input pin 9 in the first switch chip 121 is connected to the positive pin 25 in the USB pin 131, one output pin 14(D-) corresponding to the negative input pin 10 in the first switch chip 121 is connected to the negative pin 26 in the USB pin 131, and one output pin 20 corresponding to the positive input pin 17 in the second switch chip 122 is connected to the identification pin 27 in the USB pin 131.
The other output pin 13(R) corresponding to the positive input pin 9 in the first switch chip 121 is connected to the microphone positive pin 30 of the audio pin 132, the other output pin 15(L) corresponding to the negative input pin 10 in the first switch chip 121 is connected to the speaker positive pin 28 of the audio pin 132, and the other output pin 21 corresponding to the positive input pin 17 in the second switch chip 122 is connected to the speaker negative pin 29 of the audio pin 132.
Fig. 2 is a schematic partial structure diagram of a switch chip according to an embodiment of the present disclosure. Optionally, the switch chip in the above embodiments includes a first switch chip 121 and a second switch chip 122, and each of the first switch chip 121 and the second switch chip 122 may include two single-pole double-throw switches. Fig. 2 is a block diagram schematically showing the internal structure of a single pole double throw switch corresponding to the dashed frame in fig. 1, and the schematic diagrams of other switches in the first switch chip 121 and the second switch chip 122 are similar to the internal structure.
Alternatively, as shown in fig. 2, TG1 and TG2 are CMOS analog switches, and a not gate is provided between VBUS and TG2 to implement the inversion of logic. When VBUS is equal to 0, TG1 is turned on, TG2 is turned off, and the microphone positive pin 13 in the output pin of the first switch chip 121 is connected to the positive pin 3 in the USB interface 110, so that the USB peripheral device is connected to the RJ9 interface of the telephone, and communication between the telephone and the USB peripheral device is realized. When VBUS is equal to 1, TG2 is turned on, TG1 is turned off, and the positive electrode pin 25 of the USB pin 131 in the main chip 130 is connected to the positive electrode pin 3 of the USB interface 110, so that the USB peripheral device is connected to the USB device, and signal transmission of the USB device is realized.
The circuit configuration of the USB peripheral in this embodiment will be described in detail by the above-described specific circuit connections. Based on the circuit design, the connection between the USB peripheral and a USB device or a telephone RJ9 interface can be realized.
Fig. 3 is a schematic diagram of another USB peripheral circuit structure according to an embodiment of the present disclosure. Optionally, as shown in fig. 3, the USB peripheral may further include: an electromagnetic interference filter 140.
An output pin 12 corresponding to the positive input pin 9 of the first switch chip 121 is connected to an input pin a of the emi filter 140; one output pin 14 corresponding to the negative input pin 10 in the first switch chip 121 is connected to the other input pin b of the electromagnetic interference filter 140; two output pins c and d of the emi filter 140 are connected to the positive pin 25 of the USB pins 131 and the negative pin 26 of the USB pins 131, respectively.
Optionally, the electromagnetic interference filter 140 is mainly used to filter signals input or output through the positive input pin input 3 and the negative input pin 2 of the USB interface 110 to obtain pure direct current, that is, to effectively filter a frequency point of a specific frequency or frequencies other than the frequency point, so as to improve stability and effectiveness of the acquired signals.
Fig. 4 is a schematic circuit structure diagram of a phone device according to an embodiment of the present application, and optionally, as shown in fig. 4, the phone device 200 may include: a voice processing chip 210, a phone interface 220, an analog-to-digital converter ADC230, a switching device 240, and an input/output IO interface 250.
The microphone anode, the microphone cathode, the speaker anode, and the speaker cathode of the voice processing chip 210 are respectively connected to corresponding pins of the phone interface 220.
It should be noted that the phone interface 220 in this embodiment may include four signal pins, which are respectively a microphone positive electrode, a microphone negative electrode, a speaker positive electrode, and a speaker negative electrode, and the four signal pins of the voice processing chip 210 are respectively connected to corresponding pins in the phone interface 220.
The positive pole of the microphone is connected with the input end of the ADC230, and the output end of the ADC230 is connected with the input end of the voice processing chip 210; the positive pole of the microphone is also connected with a preset direct current power supply through a first preset resistor. The cathode of the microphone is grounded through a second preset resistor R3, the cathode of the microphone is further connected to a power supply terminal of the switching device 240, the ground terminal of the switching device 240 is grounded, and the control terminal of the switching device 240 is connected to the IO interface.
The output end of the voice processing chip 210 is further connected to an IO interface, and is configured to determine whether the inserted device is a handle or a USB peripheral based on the voltage value of the microphone anode detected by the ADC230, and if the inserted device is a handle, the switching device 240 is controlled to be turned off through the IO interface; if the USB peripheral is the USB peripheral, the switch device is controlled to be conducted through the IO interface.
Optionally, in the above embodiment, how to perform the power pin voltage detection on the USB peripheral side, and determine whether the connected external device is a USB device or an RJ9 interface of a phone according to the detection result is described. In this embodiment, how the phone device identifies whether the connected phone handle is the USB device is described from the phone device side.
Based on the circuit structure schematic diagram of the phone device shown in fig. 4. In order to enable the phone device to identify the external device inserted into the phone interface 220, the voice processing chip 210 may detect a voltage signal of the positive electrode of the microphone through the ADC230, and if the positive electrode of the microphone is 3.3V, it indicates that the external device inserted into the phone interface 220 is a USB peripheral device, and at this time, the IO interface control switch device 240 may be turned on to ground the negative electrode of the microphone, so as to implement the common ground between the phone device and the USB peripheral device. If the phone interface 220 is inserted into a phone handle, a microphone is connected between the positive electrode of the microphone and the negative electrode of the microphone, the impedance of the microphone is 2.2K, so that the impedance and the first preset resistor form a partial voltage, the voltage of the positive electrode of the microphone becomes 1.65V, the ADC230 of the phone device recognizes the voltage change, the voice processing chip 210 closes the switch device 240 through IO control, and the microphone of the phone handle can normally operate.
The reason for making the phone device and the USB peripheral device grounded is as follows: if not, part of the loop of the horn signal is the microphone, so that part of the signal is transmitted from the microphone line by the horn, forming an echo. In addition, if the common ground is not available, the analog signal is easily interfered by the power frequency signal (commercial power). In the embodiment, the common ground is realized, so that the conversation tone quality can be effectively improved.
Optionally, as shown in fig. 4, the preset dc power supply is also grounded through a filter capacitor. The interference signals in the direct current power supply can be filtered through the filter capacitor.
Optionally, the first preset resistance may include: the microphone comprises a first resistor R1 and a second resistor R2, a first node formed by connecting the first resistor R1 and the second resistor R1 in series is connected with a preset direct-current power supply, and a second node formed by connecting the first resistor R1 and the second resistor R2 in series is connected with the anode of the microphone.
In some embodiments, as shown in fig. 4, the first preset resistor may be obtained by connecting the first resistor R1 and the second resistor R2 in series, and the resistances of the first resistor R1 and the second resistor R2 are the same as the impedance of the microphone. In another embodiment, the first resistor R1 may be formed by connecting a plurality of resistors in parallel, and the second resistor R2 may be formed by connecting a plurality of resistors in parallel, as long as the resistance of the first resistor R1 or the second resistor R2 formed by connecting a plurality of resistors in parallel is the same as the impedance of the microphone.
Optionally, the control terminal of the switching device 240 is connected to the IO interface through a third preset resistor R4, and the IO interface is further connected to a preset dc power supply through a fourth preset resistor R5.
In this embodiment, the impedance of the microphone may be 2.2K, and in practical application, the impedance of the microphone may range from 1K to 3K, which is not specifically limited in this application.
Optionally, the series connection point of the first resistor R1 and the second resistor R2 is grounded through the first filter capacitor C1; the predetermined dc power is grounded through a second filter capacitor C2.
Similar with foretell effect, carry out ground connection through filter capacitor, interference signal in can effectual filtering circuit promotes conversation tone quality.
In summary, the phone device provided in this embodiment includes: the voice processing device comprises a voice processing chip, a phone interface, an analog-to-digital converter (ADC), a switching device and an input/output (IO) interface; the microphone anode, the microphone cathode, the loudspeaker anode and the loudspeaker cathode of the voice processing chip are respectively connected with corresponding pins of the phone interface; the positive pole of the microphone is connected with the input end of the ADC, and the output end of the ADC is connected with the input end of the voice processing chip; the positive electrode of the microphone is also connected with a preset direct current power supply through a first preset resistor; the negative electrode of the microphone is grounded through a second preset resistor, the negative electrode of the microphone is also connected with a power supply end of a switch device, the grounding end of the switch device is grounded, and the control end of the switch device is connected with an IO (input/output) interface; the output end of the voice processing chip is also connected with an IO interface and used for determining whether the inserted equipment is a handle or a USB peripheral based on the voltage value of the positive electrode of the microphone detected by the ADC, and if the equipment is the handle, the switch device is controlled to be closed through the IO interface; if the USB peripheral is the USB peripheral, the switch device is controlled to be conducted through the IO interface. In the scheme, the voice processing chip of the phone equipment can identify whether the external equipment inserted into the RJ9 interface of the phone equipment is a phone handle or a USB peripheral equipment based on the voltage value of the positive electrode of the microphone detected by the ADC, so that the communication connection between the RJ9 interface of the phone equipment and the USB peripheral equipment is realized, when the external equipment is identified to be the USB peripheral equipment, the switch device is controlled to be opened through the IO interface, the negative electrode of the microphone is grounded, the common grounding of the phone equipment and the USB peripheral equipment is realized, so that the interference of an analog signal of communication between the phone equipment and the USB peripheral equipment by a power frequency signal is avoided, and the tone quality is improved.
Fig. 5 is a block diagram of a phone system according to an embodiment of the present application, and optionally, as shown in fig. 5, the phone system 300 may include: a phone device 200 and a USB peripheral 100. The phone interface 220 of the phone device 200 is connected to the USB interface 110 of the USB peripheral 100 through the connection line 310; one end of the connection line 310 is a corresponding port of the phone interface 220, and the other end of the connection line 310 is a corresponding port of the USB interface 110.
In some embodiments, the number of signal leads included is not the same since the phone interface 220 of the phone device 200 is a different type of interface than the USB interface 110 of the USB peripheral device 100, such as a different size and shape of the interfaces. Therefore, the signal pins in the phone interface 220 can be connected to the signal pins in the USB interface 110 through the connection lines 310. One end of the connection line 310 is an interface corresponding to the phone interface 220, and the other end is an interface corresponding to the USB interface 110, so that the phone signal pin can be directly connected to the USB peripheral signal pin without an additional signal conversion device, thereby achieving communication between the phone device 200 and the USB peripheral 100.
In addition, in this embodiment, the phone device 200 and the USB peripheral device 100 may also perform transmission of a call related instruction. Optionally, in order to enable the phone device 200 and the USB peripheral 100 to transmit the command through the analog signal line without affecting the transmission of the sound, in this embodiment, the transmission frequency of the signal may be increased to 20KHZ to 30KHZ, and the audible frequency range of the human ear is 0 to 20KHZ, so that the normal sound is not affected when the commands of on-hook and off-hook, volume control, and the like are transmitted.
Optionally, the communication mode between the phone device 200 and the USB peripheral device 100 may adopt bidirectional half-duplex communication, the phone device 200 may transmit a control instruction to the USB peripheral device 100, and meanwhile, the USB peripheral device 100 may execute a corresponding control operation according to the control instruction and return a control signal to the phone device 200.
The following is a description of a complete circuit principle related to the present application based on the circuit structures of the USB peripheral and the phone device provided by the present application:
firstly, the USB peripheral identifies the device inserted into the USB interface to identify that the RJ9 interface of the phone is inserted, thereby achieving communication with the phone.
Optionally, the USB peripheral detects a voltage of a power pin of the USB interface through the switch chip, and if the detected voltage of the power pin is 5V (VBUS of the standard MICRO USB interface is 5V), it is determined that the USB device connected through the USB interface is a USB device, and at this time, the single-pole double-throw switches in the first switch chip and the second switch chip may be controlled to switch, so that four pins in the USB interface are respectively and correspondingly connected to USB pins of the main chip, and the USB interface is used as a common USB port. If the voltage of the power supply pin is detected to be 0V, the single-pole double-throw switches in the first switch chip and the second switch chip can be controlled to switch so as to respectively and correspondingly connect the four pins in the USB interface to the audio pin of the main chip, and at the moment, the USB peripheral can be connected with the RJ9 interface of the telephone.
Secondly, the phone equipment also needs to identify the USB peripheral equipment and realize the common grounding of the phone equipment and the USB peripheral equipment.
Optionally, the positive pole of the microphone can be detected through an ADC of the phone device, if the positive pole of the microphone is 3.3V, it indicates that the USB peripheral device is inserted into the phone interface, and at this time, IO control can be performed through the voice processing chip to open the switch device and ground the negative pole of the microphone, so that the common ground of the phone device and the USB peripheral device is realized, interference of the power frequency signal (commercial power) to the analog signal is reduced, and the sound quality is improved. And if the negative electrode of the microphone is not 3.3V, the inserted microphone is a phone handle, a microphone is connected between the positive electrode of the microphone and the negative electrode of the microphone, the impedance of the microphone is 2.2K, the impedance and the first preset resistor form partial voltage, the voltage of the positive electrode of the microphone becomes 1.65V, the ADC of the phone equipment recognizes the voltage change, the voice processing chip closes the switch device through IO control, and the microphone of the phone handle can work normally.
In addition, in order to enable the telephone set equipment and the USB peripheral equipment to transmit the command through the analog signal line without influencing the transmission of sound, the transmission frequency of the signal can be increased to 20KHZ-30KHZ, and the frequency range of sound which can be heard by human ears is 0-20KHZ, so that the command transmission is realized, and the normal sound is not influenced.
In summary, in the USB peripheral, the phone device and the phone system provided by the present application, the switch chip of the USB peripheral can detect the voltage signal of the USB interface and control the switch connection, so as to implement the connection and communication between the USB interface and the USB device, and meanwhile, the RJ9 interface of the phone can be identified and connected to implement the transmission of the audio signal. Compared with the prior art, when the communication between the USB interface and the RJ9 interface is realized, the USB signal does not need to be converted, but the USB signal is switched into the audio signal through signal switching, so that the signal transmission efficiency is improved.
The voice processing chip of phone equipment can be based on the anodal voltage value of microphone that the ADC detected, the external device that discernment inserted in phone equipment's phone RJ9 interface is the phone handle or the USB peripheral hardware, in order to realize phone RJ9 interface and USB peripheral hardware's communication connection, and when discerning the USB peripheral hardware of being connected, open through IO interface control switch device, with microphone negative pole ground connection, realize phone equipment and USB peripheral hardware's ground altogether, in order to avoid the analog signal of communication between phone equipment and the USB peripheral hardware to be disturbed by power frequency signal, thereby promote tone quality.
In addition, the transmission frequency of the signal is increased to 20KHZ-30KHZ, so that the telephone equipment and the USB peripheral can transmit the instruction through the analog signal line without influencing the transmission of the sound, and the normal sound is not influenced while the instruction transmission is realized.
The above description is only a preferred embodiment of the present application and is not intended to limit the present application, and various modifications and changes may be made to the present application by those skilled in the art. Any modification, equivalent replacement, improvement and the like made within the spirit and principle of the present application shall be included in the protection scope of the present application.

Claims (10)

1. A USB peripheral, comprising: the USB interface, the change-over switch chip and the main chip;
a signal pin and an identification pin of the USB interface are connected with corresponding input pins of the switch chip, a first output pin of the switch chip is connected with a USB pin of the main chip, and a second output pin of the switch chip is connected with an audio pin of the main chip;
the power pin of the USB interface is connected with the power pin of the change-over switch chip, so that the change-over switch chip judges the type of equipment connected with the USB interface based on the detected voltage of the power pin, controls the data corresponding to the signal pin and the identification pin, and transmits the data to the USB pin of the main chip through the first output pin, or transmits the data to the audio pin of the main chip through the second output pin, wherein the type of the equipment connected with the USB interface comprises USB equipment and a phone interface;
the USB interface is used for being connected with a phone interface of phone equipment.
2. The USB peripheral of claim 1, wherein the toggle chip comprises: a first switch chip and a second switch chip;
the power pin of the USB interface is connected with the power pins of the first switch chip and the second switch chip;
the signal pin is connected with an input pin of the first switch chip, and the identification pin is connected with an input pin of the second switch chip;
the first group of output pins of the first switch chip are connected with part of the pins of the USB pins, and the first group of output pins of the second switch chip are connected with the other part of the pins of the USB pins; the first output pin includes: a first group of output pins of the first switch chip and a first group of output pins of the second switch chip;
the second group of output pins of the first switch chip are connected with part of the pins of the audio pins, and the second group of output pins of the second switch chip are connected with the other part of the pins of the audio pins; the second output pin includes: the second group of output pins of the first switch chip and the second group of output pins of the second switch chip.
3. The USB peripheral according to claim 2, wherein a positive terminal of the signal pins is connected to a positive input pin of the first switch chip, and a negative terminal of the signal pins is connected to a negative input pin of the first switch chip; the identification pin is connected with a positive input pin of the second switch chip;
an output pin corresponding to a positive input pin in the first switch chip is connected with a positive electrode pin in the USB pins, an output pin corresponding to a negative input pin in the first switch chip is connected with a negative electrode pin in the USB pins, and an output pin corresponding to a positive input pin in the second switch chip is connected with an identification pin in the USB pins;
the other output pin corresponding to the positive input pin in the first switch chip is connected with the microphone positive electrode pin of the audio pin, the other output pin corresponding to the negative input pin in the first switch chip is connected with the horn positive electrode pin of the audio pin, and the other output pin corresponding to the positive input pin in the second switch chip is connected with the horn negative electrode pin of the audio pin.
4. The USB peripheral of claim 3, further comprising: an electromagnetic interference filter;
an output pin corresponding to a positive input pin in the first switch chip is connected with an input pin of the electromagnetic interference filter;
one output pin corresponding to a negative input pin in the first switch chip is connected with the other input pin of the electromagnetic interference filter;
and two output pins of the electromagnetic interference filter are respectively connected with a positive electrode pin in the USB pins and a negative electrode pin in the USB pins.
5. A handset device, comprising: the voice processing device comprises a voice processing chip, a phone interface, an analog-to-digital converter (ADC), a switch device and an input/output (IO) interface;
the microphone anode, the microphone cathode, the loudspeaker anode and the loudspeaker cathode of the voice processing chip are respectively connected with corresponding pins of the phone interface;
the positive pole of the microphone is connected with the input end of the ADC, and the output end of the ADC is connected with the input end of the voice processing chip; the positive electrode of the microphone is also connected with a preset direct current power supply through a first preset resistor;
the negative electrode of the microphone is grounded through a second preset resistor, the negative electrode of the microphone is also connected with a power supply end of the switch device, the grounding end of the switch device is grounded, and the control end of the switch device is connected with the IO interface;
the output end of the voice processing chip is also connected with the IO interface and is used for determining whether the inserted equipment is a handle or a USB peripheral based on the voltage value of the microphone anode detected by the ADC, and if the equipment is the handle, the IO interface controls the switch device to be closed so that the microphone of the handle can normally work; if the phone equipment is a USB peripheral, controlling the switch device to be conducted through the IO interface so as to realize the common ground of the phone equipment and the USB peripheral;
the phone interface is adapted to connect with the USB interface of any of the above claims 1-4.
6. The handset device according to claim 5, wherein the predetermined DC power supply is further grounded via a filter capacitor.
7. The phone device of claim 6, wherein the first pre-set resistance comprises: a first node formed by connecting the first resistor and the second resistor in series is connected with the preset direct-current power supply, and a second node formed by connecting the first resistor and the second resistor in series is connected with the anode of the microphone;
the series connection point of the first resistor and the second resistor is grounded through a first filter capacitor; and the preset direct current power supply is grounded through a second filter capacitor.
8. The phone apparatus according to claim 5, wherein the control terminal of the switch device is connected to the IO interface through a third preset resistor, and the IO interface is further connected to the preset dc power supply through a fourth preset resistor.
9. The phone apparatus according to claim 5, wherein the first and second preset resistors have the same resistance as the preset impedance of the microphone.
10. A telephone system, comprising: -a handset device according to any one of the preceding claims 5 to 9, and-a USB peripheral device according to any one of the preceding claims 1 to 4;
the phone interface of the phone equipment is connected with the USB interface of the USB peripheral equipment through a connecting line; one end of the connecting line is a corresponding port of the phone interface, and the other end of the connecting line is a corresponding port of the USB interface.
CN202011036951.6A 2020-09-27 2020-09-27 USB peripheral, telephone equipment and telephone system Active CN112202949B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011036951.6A CN112202949B (en) 2020-09-27 2020-09-27 USB peripheral, telephone equipment and telephone system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011036951.6A CN112202949B (en) 2020-09-27 2020-09-27 USB peripheral, telephone equipment and telephone system

Publications (2)

Publication Number Publication Date
CN112202949A CN112202949A (en) 2021-01-08
CN112202949B true CN112202949B (en) 2022-06-24

Family

ID=74007483

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011036951.6A Active CN112202949B (en) 2020-09-27 2020-09-27 USB peripheral, telephone equipment and telephone system

Country Status (1)

Country Link
CN (1) CN112202949B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2783642Y (en) * 2004-09-17 2006-05-24 上海泽成计算机技术有限公司 Multi-function telephone set
CN210444310U (en) * 2019-08-20 2020-05-01 北京凌声芯语音科技有限公司 Telephone system and noise elimination module of telephone

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102710821B (en) * 2012-05-15 2015-05-20 青岛海信移动通信技术股份有限公司 Hand microphone for interphone and interphone
CN203870609U (en) * 2014-04-08 2014-10-08 赛酷特(北京)信息技术有限公司 Automatic USB communication and audio communication switching circuit
CN104023294B (en) * 2014-05-30 2017-08-11 广东欧珀移动通信有限公司 Interface duplex device and pinboard in terminal
CN104063348B (en) * 2014-06-17 2018-01-19 武汉天喻信息产业股份有限公司 Realize the device and method of compatible USB communications and voice communication
CN105071795A (en) * 2015-08-17 2015-11-18 广东欧珀移动通信有限公司 Multiplex circuit based on USB interface
CN109218880A (en) * 2018-07-26 2019-01-15 上海与德通讯技术有限公司 Earphone charging two-in-one circuit and control method, terminal

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2783642Y (en) * 2004-09-17 2006-05-24 上海泽成计算机技术有限公司 Multi-function telephone set
CN210444310U (en) * 2019-08-20 2020-05-01 北京凌声芯语音科技有限公司 Telephone system and noise elimination module of telephone

Also Published As

Publication number Publication date
CN112202949A (en) 2021-01-08

Similar Documents

Publication Publication Date Title
CN101583935B (en) Enhanced communication via a serial interface
CN207783087U (en) Wireless earphone circuit with wired function and wireless headset
CN104661158A (en) Stereophone, terminal and audio signal processing method of stereophone and terminal
CN208540114U (en) A kind of bluetooth headset based on NFMI technology
CN101739374A (en) Signal transmission path selecting circuit and electronic device applying same
CN207518787U (en) A kind of Bluetooth earphone equipment
CN108093329A (en) Peripheral type detection circuit and mobile terminal based on shared interface
CN107770662B (en) Automatic charging and switching circuit
CN107864415B (en) Speaker and audio frequency apparatus share the control method and device of microphone
CN115022775A (en) Drive circuit, terminal device and protection method
CN204559840U (en) A kind of earphone with Data Control plate
CN113411417A (en) Wireless sound amplification system and terminal
CN113949755B (en) Electronic equipment and wired earphone
CN112202949B (en) USB peripheral, telephone equipment and telephone system
CN103997704B (en) Audio playing apparatus and Baffle Box of Bluetooth
CN105049998B (en) A kind of audio communication device
CN104952457A (en) Device and method for digital hearing aiding and voice enhancing processing
WO2019062711A1 (en) Signal transmission circuit, signal transmission method and intelligent terminal
CN110381418B (en) Loudspeaking device, relay device and mobile terminal
CN106412760A (en) Earphone compatible apparatus
CN110209371A (en) A kind of audio compatible circuit and video and audio equipment
CN215121165U (en) Communication circuit of left and right earshells of wireless headset and wireless headset
CN217445510U (en) Audio signal switching circuit and wireless earphone
CN215529083U (en) USB conference telephone interphone module
CN106714030B (en) Earphone circuit

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant