CN219041951U - Data transmission switching device and electronic equipment - Google Patents
Data transmission switching device and electronic equipment Download PDFInfo
- Publication number
- CN219041951U CN219041951U CN202223453059.5U CN202223453059U CN219041951U CN 219041951 U CN219041951 U CN 219041951U CN 202223453059 U CN202223453059 U CN 202223453059U CN 219041951 U CN219041951 U CN 219041951U
- Authority
- CN
- China
- Prior art keywords
- electrically connected
- earphone
- voltage
- data
- earphone seat
- 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
Links
Images
Landscapes
- Headphones And Earphones (AREA)
Abstract
The present disclosure relates to a data transmission switching device and an electronic apparatus, including: a transmission line and a detection main board; the transmission line comprises a data interface, a cable and an earphone plug; the data interface is electrically connected with the earphone plug through a cable; the detection main board comprises a earphone seat, a detection module and a control module; the voltage acquisition end of the earphone seat is electrically connected with the detection module; the signal transmission end of the earphone seat is electrically connected with the control module; the detection module is electrically connected with the control module. The data transmission switching device does not need to set a data interface outside the equipment, so that the improvement on the equipment is less, and the structure is simple. And the earphone seat in the equipment can be utilized for subsequent debugging, when the debugging is needed, the transmission line of the data transmission switching device is inserted into the earphone seat, the detection module detects the voltage of the voltage acquisition end as the first voltage, and the detection main board can be controlled to be used for transmitting data transmitted by the transmission line, so that the data transmission between the transmission line of the data transmission switching device and the external equipment can be realized.
Description
Technical Field
The disclosure relates to the technical field of data transmission, and in particular relates to a data transmission switching device and electronic equipment.
Background
Intelligent terminal products for some special industry applications, such as aviation, automobile, etc. For privacy and security reasons, no data transmission interface is allowed to remain outside the product. But the debugging effect is required to be read through a data transmission interface in early debugging. To solve the above problem, test points are usually reserved or standard USB interfaces are covered by structural members at the shipment stage. The method not only reduces the convenience of early debugging and later maintenance, but also improves the complexity of structural design.
In the prior art, as disclosed in chinese patent publication No. CN204577062U, a vehicle-mounted display device and an automobile, the vehicle-mounted display device includes: the device mainly comprises a display control screen, a switching wire harness and an interface circuit. Although the switching pencil is equipped with a plurality of connecting plugs that are used for being connected with equipment, can satisfy multiple equipment plug and play, prevent that the equipment from fixing temporarily when installing and punch and change technology such as threading of punching of connecting cable and bring the damage to the automobile body to can also be convenient for user's dismouting, but this kind of structural design is complicated.
Disclosure of Invention
In order to solve the above technical problems or at least partially solve the above technical problems, the present disclosure provides a data transmission switching device and an electronic device.
The present disclosure provides a data transmission switching device, including:
a transmission line and a detection main board;
the transmission line comprises a data interface, a cable and an earphone plug; the data interface is electrically connected with the earphone plug through the cable;
the detection main board comprises a earphone seat, a detection module and a control module; the voltage acquisition end of the earphone seat is electrically connected with the detection module; the signal transmission end of the earphone seat is electrically connected with the control module; the detection module is electrically connected with the control module;
the earphone plug of the transmission line is inserted into the earphone seat, the acquisition voltage of the detection module is a first voltage, and the control module conducts the signal transmission end of the earphone seat with the data end of the control module 5; the earphone device is inserted into the earphone seat, and the detection die
The acquisition voltage of the block is a second voltage, and the control module conducts the signal transmission end of the earphone seat with the audio end of the control module.
Optionally, the data interface further includes a first resistor; one end of the first resistor is connected with
The power supply end of the data interface is electrically connected; the other end of the first resistor is electrically connected with the grounding end of the data connection 0 port.
Optionally, the control module includes a switching unit and a controller;
the switching unit is respectively and electrically connected with the signal transmission end of the earphone seat and the controller; the controller is electrically connected with the detection module; the switching unit comprises an audio end
And a data end;
5 the collected voltage of the detection module is a first voltage, and the switching unit switches the earphone
The signal transmission end of the seat is communicated with the data end; the acquisition voltage of the detection module is a second voltage, and the switching unit conducts the signal transmission end of the earphone seat with the audio end.
Optionally, the signal transmission end of the earphone seat comprises a first channel end and a second channel end;
the switching unit comprises a first switch and a second switch; the audio end comprises a first sound channel audio 0 end and a second sound channel audio end; the data terminal comprises a data positive terminal and a data negative terminal;
the first sound channel end is electrically connected with the first end of the first switch; the control end of the first switch is electrically connected with the controller; the second end is electrically connected with the first end of the second switch; the control end of the second switch is electrically connected with the controller;
the acquisition voltage of the detection module is a first voltage, the second end of the first switch is electrically connected with the data positive end 5, and the second end of the second switch is electrically connected with the data negative end
Connecting;
the acquisition voltage of the detection module is a second voltage, the second end of the first switch is electrically connected with the first sound channel audio end, and the second end of the second switch is electrically connected with the second sound channel audio end.
Optionally, the earphone seat further comprises a second resistor; one end of the second resistor is electrically connected with the voltage acquisition end, and the other end of the second resistor is electrically connected with the power end of the detection main board.
Optionally, the data interface includes a positive signal end, a negative signal end, a ground end and a power supply end; the earphone plug comprises a first conductive part, a second conductive part, a third conductive part and a fourth conductive part which are sequentially arranged;
the positive signal end is electrically connected with the first conductive part through a cable; the negative signal end is electrically connected with the second conductive part through a cable; the grounding end is electrically connected with the third conductive part through a cable; the power supply end is electrically connected with the fourth conductive part through a cable.
Optionally, an insulating ring is disposed between adjacent conductive portions.
Optionally, the data interface includes a USB interface.
Optionally, the earphone seat further comprises an insertion detection end, a grounding end and a conductive spring piece; one end of the insertion detection end is electrically connected with the control module; the other end of the insertion detection end is electrically connected with the first end of the conductive elastic sheet;
the earphone connector or the earphone device of the transmission line is not inserted into the earphone seat, and the second end of the conductive elastic sheet is connected with the grounding end of the earphone seat;
the earphone connector or the earphone device of the transmission line is inserted into the earphone seat, and the second end of the conductive elastic sheet is separated from the grounding end of the earphone seat.
The disclosure also provides an electronic device, which comprises the data transmission switching device.
Compared with the prior art, the technical scheme provided by the embodiment of the disclosure has the following advantages:
the present disclosure provides a data transmission switching device, including: a transmission line and a detection main board; the transmission line comprises a data interface, a cable and an earphone plug; the data interface is electrically connected with the earphone plug through a cable; the detection main board comprises a earphone seat, a detection module and a control module; the voltage acquisition end of the earphone seat is electrically connected with the detection module; the signal transmission end of the earphone seat is electrically connected with the control module; the earphone plug of the transmission line is inserted into the earphone seat, the acquisition voltage of the detection module is a first voltage, and the control module conducts the signal transmission end of the earphone seat with the data end of the control module; the earphone device is inserted into the earphone seat, the acquisition voltage of the detection module is a second voltage, and the control module conducts the signal transmission end of the earphone seat with the audio end of the control module. The voltage detection terminal arranged on the earphone seat is used for collecting and transmitting the voltage of the device inserted into the earphone seat to the detection module, if the detected voltage is the first voltage, the insertion device is determined to be a transmission line of the data transmission switching device, and the detection main board is used for transmitting data through the inserted transmission line and external equipment; if the detected voltage is the second voltage, determining that the inserting device is an earphone device, and detecting the main board to provide audio for the earphone device, so that judgment of the inserting device is achieved, and further switching of functions of the detecting main board is achieved through the control module. And the data interface is not required to be arranged outside the equipment, so that the improvement on the equipment is less, and the structure is simple. And because the later debugging, maintenance and the like can be realized only by utilizing the earphone seat in the equipment, when the debugging is needed, the transmission line of the data transmission switching device is inserted into the earphone seat, and the detection module detects the voltage of the voltage acquisition end as the first voltage, the detection main board can be controlled to be used for transmitting the data transmitted by the transmission line, so that the data transmission between the transmission line of the data transmission switching device and the external equipment can be realized.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the disclosure and together with the description, serve to explain the principles of the disclosure.
In order to more clearly illustrate the embodiments of the present disclosure or the solutions in the prior art, the drawings that are required for the description of the embodiments or the prior art will be briefly described below, and it will be obvious to those skilled in the art that other drawings can be obtained from these drawings without inventive effort.
Fig. 1 is a schematic structural diagram of a data transmission switching device according to an embodiment of the disclosure;
fig. 2 is a schematic diagram of a transmission line structure according to an embodiment of the disclosure;
fig. 3 is a schematic diagram of a structure of a detection motherboard according to an embodiment of the present disclosure;
fig. 4 is a schematic connection diagram of a transmission line according to an embodiment of the disclosure;
fig. 5 is a schematic diagram of another structure of a detection motherboard according to an embodiment of the present disclosure;
fig. 6 is a schematic diagram of another structure of a detection motherboard according to an embodiment of the present disclosure;
fig. 7 is a schematic diagram of another structure of a detection motherboard according to an embodiment of the present disclosure;
fig. 8 is a schematic diagram of an earphone seat insertion detection structure according to an embodiment of the present disclosure;
fig. 9 is a flowchart of a data transmission switching device according to an embodiment of the present disclosure.
Detailed Description
In order that the above objects, features and advantages of the present disclosure may be more clearly understood, a further description of aspects of the present disclosure will be provided below. It should be noted that, without conflict, the embodiments of the present disclosure and features in the embodiments may be combined with each other.
In the following description, numerous specific details are set forth in order to provide a thorough understanding of the present disclosure, but the present disclosure may be practiced otherwise than as described herein; it will be apparent that the embodiments in the specification are only some, but not all, embodiments of the disclosure.
Fig. 1 is a schematic structural diagram of a data transmission switching device according to an embodiment of the present disclosure, where, as shown in fig. 1, the data transmission switching device includes: a transmission line 10 and a test main board 20.
Fig. 2 is a schematic diagram of a transmission line structure provided in an embodiment of the disclosure, and as shown in fig. 2, the transmission line 10 includes a data interface 110, a cable 120, and an earphone plug 130; the data interface 110 is electrically connected to the earphone plug 130 through the cable 120.
Fig. 3 is a schematic structural diagram of a detection main board according to an embodiment of the present disclosure, and as shown in fig. 3, the detection main board 20 includes a earphone seat 210, a detection module 220 and a control module 230; the voltage acquisition end 211 of the earphone seat is electrically connected with the detection module 220; the signal transmission end 212 of the earphone seat is electrically connected with the control module 230; the detection module 220 is electrically connected with the control module 230.
The earphone plug 130 of the transmission line is inserted into the earphone seat 210, the acquisition voltage of the detection module 220 is a first voltage, and the control module 230 conducts the signal transmission end 212 of the earphone seat 210 with the data end of the control module 230; the earphone device is inserted into the earphone seat 210, the collected voltage of the detection module 220 is the second voltage, and the control module 230 conducts the signal transmission end 212 of the earphone seat 210 with the audio end of the control module 230.
Specifically, the earphone plug 130 of the transmission line is inserted into the earphone seat 210, the detection module 220 electrically connected to the voltage acquisition end 211 of the earphone seat detects that the acquired voltage is the first voltage, at this time, it can be determined that the device inserted into the earphone seat 210 is the transmission line 10, and the control module 230 conducts the signal transmission end 212 of the earphone seat 210 with the data end of the control module 230, that is, the detection main board 20 is used for transmitting data transmitted by the transmission line 10.
When the earphone device is inserted into the earphone seat 210, the detection module 220 electrically connected to the voltage acquisition end 211 of the earphone seat detects that the acquired voltage is the second voltage, and at this time, the device inserted into the earphone seat 210 can be determined to be the earphone device, and the control module 230 conducts the signal transmission end 212 of the earphone seat 210 with the audio end of the control module 230, that is, the detection main board 20 is used for providing audio to the earphone device.
According to the embodiment of the disclosure, whether the current inserted transmission line of the data transmission switching device is can be determined by detecting the voltage of the voltage detection end arranged on the earphone seat, if the detection module detects that the voltage of the voltage detection end is the first voltage, the earphone plug which is inserted into the earphone seat and is the transmission line is determined, the control module conducts the signal transmission end of the earphone seat with the data end of the control module, and the detection main board can transmit data through the inserted transmission line and external equipment. If the detection module detects that the voltage of the voltage detection end is the second voltage, the earphone device inserted into the earphone seat is determined, the control module conducts the signal transmission end of the earphone seat with the audio end of the control module, and the detection main board is used for providing audio for the earphone device. Therefore, the embodiment of the disclosure can utilize the earphone seat to realize equipment debugging without setting a data interface outside the equipment, when the equipment is required to be debugged, the transmission line of the data transmission switching device is inserted into the earphone seat, the detection module detects that the voltage of the voltage acquisition end is the first voltage, and the control module can control the detection main board to be used for transmitting data transmitted by the transmission line, so that the detection main board can transmit data with external equipment through the transmission line of the data transmission switching device. Compared with the prior art, the transmission line comprises a plurality of connecting plugs used for being connected with equipment, the data transmission between the equipment and external equipment can be completed through the earphone seat in the equipment and the transmission line with the earphone plug, namely, the earphone seat in the equipment is utilized for subsequent debugging. Therefore, the data transmission switching device provided by the disclosure does not need to set a data interface outside the equipment, and has less transformation to the equipment and simple structure.
In some embodiments, the data interface further comprises a first resistor; one end of the first resistor is electrically connected with a power supply end of the data interface; the other end of the first resistor is electrically connected with the grounding end of the data interface.
Specifically, fig. 4 is a schematic connection diagram of a transmission line according to an embodiment of the disclosure, as shown in fig. 4, the data interface 110 further includes a first resistor R1. One end of the first resistor R1 is electrically connected to the power supply terminal 114 of the data interface 110, and the other end of the first resistor R1 is electrically connected to the ground terminal 113 of the data interface 110.
For example, when the earphone device is inserted into the earphone seat 210, the detection module 220 detects that the collection voltage is the second voltage, and the control module 230 turns on the signal transmission end 212 of the earphone seat 210 and the audio end of the control module 230. The resistance value of the first resistor R1 may be set to be far greater than R, so when the earphone plug 130 of the transmission line is inserted into the earphone seat 210, the collection voltage detected by the detection module 220 is a first voltage and greater than a second voltage, at this time, it may be determined that the device inserted into the earphone seat 210 is the transmission line 10, and the control module 230 conducts the signal transmission end 212 of the earphone seat 210 with the data end of the control module 230. The resistance value of the first resistor R1 may also be set to be far smaller than R, so when the earphone plug 130 of the transmission line is plugged into the earphone seat 210, the collected voltage detected by the detection module 220 is the first voltage and smaller than the second voltage, at this time, it can be determined that the device plugged into the earphone seat 210 is the transmission line 10, and the control module 230 conducts the signal transmission end 212 of the earphone seat 210 with the data end of the control module 230. The first resistor R1 is arranged, and the resistance value of the first resistor R1 is far greater than or far smaller than that of the earphone device, so that the detection module can detect the acquisition voltage which is different from the second voltage, namely the first voltage, and the transmission line is distinguished from the earphone device.
In some embodiments, the control module includes a switching unit and a controller.
The switching unit is electrically connected with the signal transmission end of the earphone seat and the controller respectively; the controller is electrically connected with the detection module; the switching unit comprises an audio end and a data end.
The acquisition voltage of the detection module is a first voltage, and the switching unit conducts the signal transmission end and the data end of the earphone seat; the acquisition voltage of the detection module is a second voltage, and the switching unit conducts the signal transmission end and the audio end of the earphone seat.
Specifically, fig. 5 is a schematic structural diagram of another detection motherboard according to an embodiment of the present disclosure, and as shown in fig. 5, the control module 230 includes a switching unit 231 and a controller 232. The switching unit 231 is electrically connected to the signal transmission end 212 of the earphone seat and the controller 232, and the controller 232 is electrically connected to the detection module 220, and the switching unit includes an audio end 233 and a data end 234.
The control principle is as follows, when the earphone plug 130 of the transmission line is plugged into the earphone seat 210, the detection module 220 detects that the collected voltage is the first voltage, and transmits a signal to the controller 232, at this time, the controller 232 receives the signal to determine that the device plugged into the earphone seat 210 is the transmission line 10, and the controller 232 controls the switching unit 231 to conduct the data end 234 of the switching unit 231 with the signal transmission end 212 of the earphone seat 210. When the earphone device is inserted into the earphone seat 210, the detection module 220 detects that the collected voltage is the second voltage and transmits a signal to the controller 232, at this time, the controller 232 receives the signal to determine that the device inserted into the earphone seat 210 is the earphone device, and the controller 232 controls the switching unit 231 to conduct the audio end 233 of the switching unit 231 with the signal transmission end 212 of the earphone seat 210.
According to the embodiment of the disclosure, by detecting the voltage of the voltage detection end arranged on the earphone seat, whether the transmission line of the data transmission switching device is currently inserted or not can be determined, if the detection module detects that the voltage of the voltage detection end is the first voltage, an earphone plug which is inserted into the earphone seat and is the transmission line is determined, the controller controls the switching unit to conduct the data end of the switching unit with the signal transmission end of the earphone seat, and the detection main board can transmit data through the inserted transmission line and external equipment. If the detection module detects that the voltage of the voltage detection end is the second voltage, the voltage inserted into the earphone seat is determined to be the earphone device, the controller controls the switching unit to conduct the audio end of the switching unit with the signal transmission end of the earphone seat, and the detection main board is used for providing audio for the earphone device. Therefore, when the embodiment of the disclosure needs to be debugged, the transmission line of the data transmission switching device is inserted into the earphone seat, the detection module detects the voltage of the voltage acquisition end as the first voltage, the controller can control the detection main board to be used for transmitting data transmitted by the transmission line, and the detection main board can realize data transmission with external equipment through the transmission line of the data transmission switching device, so that the earphone seat can be directly utilized to realize equipment debugging, a data interface is not required to be arranged outside the equipment, the improvement on the equipment is less, and the structure is simple.
In some embodiments, the signal transmission end of the earphone seat includes a first channel end and a second channel end; the switching unit comprises a first switch and a second switch; the audio end comprises a first channel audio end and a second channel audio end; the data terminal comprises a data positive terminal and a data negative terminal.
The first sound channel end is electrically connected with the first end of the first switch; the control end of the first switch is electrically connected with the controller; the second channel end is electrically connected with the first end of the second switch; the control end of the second switch is electrically connected with the controller.
The acquisition voltage of the detection module is a first voltage, the second end of the first switch is electrically connected with the data positive end, and the second end of the second switch is electrically connected with the data negative end.
The acquisition voltage of the detection module is second voltage, the second end of the first switch is electrically connected with the first sound channel audio end, and the second end of the second switch is electrically connected with the second sound channel audio end.
Specifically, fig. 6 is a schematic structural diagram of another detection main board provided by an embodiment of the present disclosure, and as shown in fig. 6, a signal transmission end 212 of a headset base includes a first channel end 2121 and a second channel end 2122; the switching unit 231 includes a first switch S1 and a second switch S2; the audio terminals 233 include a first channel audio terminal 2331 and a second channel audio terminal 2332; the data terminal 234 includes a data positive terminal 2341 and a data negative terminal 2342; the first channel end 2121 is electrically connected to the first end 2351 of the first switch S1; the control end 2352 of the first switch is electrically connected with the controller; the second sound terminal 2122 is electrically connected to the first terminal 2361 of the second switch S2; the control end 2362 of the second switch is electrically connected to the controller.
The control principle is as follows, when the earphone plug 130 of the transmission line is plugged into the earphone seat 210, the detection module 220 detects that the collected voltage is the first voltage, at this time, the controller 232 controls the second end 2353 of the first switch S1 to be electrically connected with the data positive end 2341, and the controller 232 controls the second end 2363 of the second switch S2 to be electrically connected with the data negative end 2342. When the earphone device is inserted into the earphone seat 210, the detection module 220 detects that the collected voltage is the second voltage, and at this time, the controller 232 controls the second end 2353 of the first switch S1 to be electrically connected to the first channel audio end 2331, and the controller 232 controls the second end 2363 of the second switch S2 to be electrically connected to the second channel audio end 2332.
According to the embodiment of the disclosure, whether the transmission line of the data transmission switching device is currently inserted or not can be determined by detecting the voltage of the voltage detection end arranged on the earphone seat, if the detection module detects that the voltage of the voltage detection end is the first voltage, the earphone plug which is inserted into the earphone seat and is the transmission line is determined, at the moment, the second end of the first switch is electrically connected with the data positive end, the second end of the second switch is electrically connected with the data negative end, and the detection main board can transmit data through the inserted transmission line and external equipment. If the detection module detects that the voltage of the voltage detection end is the second voltage, the earphone device inserted into the earphone seat is determined, at the moment, the controller controls the second end of the first switch to be electrically connected with the first sound channel audio end, the controller controls the second end of the second switch to be electrically connected with the second sound channel audio end, and the detection main board is used for providing audio for the earphone device. Therefore, when the embodiment of the disclosure needs to be debugged, the transmission line of the data transmission switching device is inserted into the earphone seat, the detection module detects the voltage of the voltage acquisition end as the first voltage, the controller can control the detection main board to be used for transmitting data transmitted by the transmission line, and the detection main board can realize data transmission with external equipment through the transmission line of the data transmission switching device, so that the earphone seat can be directly utilized to realize equipment debugging, a data interface is not required to be arranged outside the equipment, the improvement on the equipment is less, and the structure is simple.
In some embodiments, the earphone seat further comprises a second resistor; one end of the second resistor is electrically connected with the voltage acquisition end, and the other end of the second resistor is electrically connected with the power end of the detection main board.
Specifically, fig. 7 is a schematic structural diagram of another detection motherboard according to an embodiment of the present disclosure, as shown in fig. 7, the earphone seat 210 further includes a second resistor R2; one end of the second resistor R2 is electrically connected to the voltage collecting terminal 211, and the other end of the second resistor R2 is electrically connected to the power supply terminal of the detection main board 20.
For example, the power supply voltage of the motherboard 20 is detected as U, the microphone impedance of the earphone device is detected as R, the collection voltage detected by the detection module 220 is a second voltage when the earphone device is inserted into the earphone seat 210, the value of the second voltage is (u×r)/(r+r2), and the control module 230 connects the signal transmission end 212 of the earphone seat 210 with the audio end of the control module 230. The resistance value of the first resistor R1 may be set to be much greater than R, so when the earphone plug 130 of the transmission line is inserted into the earphone seat 210, the collection voltage detected by the detection module 220 is a first voltage, the value of the first voltage is (u×r1)/(r1+r2) and greater than (u×r)/(r+r2), at this time, the detection module determines that the device inserted into the earphone seat 210 is the transmission line 10, and the control module 230 turns on the signal transmission end 212 of the earphone seat 210 and the data end of the control module 230. The resistance value of the first resistor R1 may also be set to be far smaller than R, so when the earphone plug 130 of the transmission line is inserted into the earphone seat 210, the collection voltage detected by the detection module 220 is a first voltage, the value of the first voltage is (u×r1)/(r1+r2) and smaller than (u×r)/(r+r2), at this time, the detection module determines that the device inserted into the earphone seat 210 is the transmission line 10, and the control module 230 conducts the signal transmission end 212 of the earphone seat 210 with the data end of the control module 230. The first resistor R1 is arranged, and the resistance value of the first resistor R1 is far greater than or far smaller than that of the earphone device, so that the detection module can detect the acquisition voltage which is different from the second voltage, namely the first voltage, and the transmission line is distinguished from the earphone device.
In some embodiments, the data interface includes a positive signal terminal, a negative signal terminal, a ground terminal, and a power terminal; the earphone plug comprises a first conductive part, a second conductive part, a third conductive part and a fourth conductive part which are sequentially arranged.
The positive signal end is electrically connected with the first conductive part through a cable; the negative signal end is electrically connected with the second conductive part through a cable; the grounding end is electrically connected with the third conductive part through a cable; the power supply end is electrically connected with the fourth conductive part through a cable.
Specifically, with continued reference to fig. 4, the data interface 110 includes a positive signal terminal 111, a negative signal terminal 112, a ground terminal 113, and a power supply terminal 114; the earphone plug 130 includes a first conductive part 131, a second conductive part 132, a third conductive part 133, and a fourth conductive part 134, which are sequentially disposed. The positive signal terminal 111 is electrically connected to the first conductive part 131 through a cable; the negative signal end 112 is electrically connected with the second conductive part 132 through a cable; the ground terminal 113 is electrically connected to the third conductive portion 133 through a cable; the power supply terminal 114 is electrically connected to the fourth conductive portion 134 through a cable. When the earphone plug 130 is inserted into the earphone holder 210, the first conductive part 131 is electrically connected to the first channel end 2121 of the earphone holder 210, the second conductive part 132 is electrically connected to the second channel end 2122 of the earphone holder 210, the third conductive part 133 is electrically connected to the ground end (not shown in fig. 4) of the earphone holder 210, and the fourth conductive part 134 is electrically connected to the voltage collecting end 211 of the earphone holder 210. Further, the positive signal end 111 of the data interface 110 is electrically connected to the first channel end 2121 of the earphone holder 210, the negative signal end 112 is electrically connected to the second channel end 2122 of the earphone holder 210, the ground end 113 is electrically connected to the ground end of the earphone holder 210, and the power supply end is electrically connected to the voltage acquisition end 211 of the earphone holder 210. When the data interface 110 is connected with the external device, the external device is electrically connected with the data interface 110, the data interface 110 is electrically connected with the earphone plug 130 through the cable 120, and the earphone plug 130 is electrically connected with the detection main board 20 through the earphone seat 210, so that the connection between the detection main board 20 and the external device is realized, and the detection main board 20 is further in data transmission with the external device through the transmission line 10.
In some embodiments, an insulating ring is disposed between adjacent conductive portions.
Specifically, with continued reference to fig. 4, an insulating ring 135 is disposed between the first conductive portion 131 and the second conductive portion 132, an insulating ring 135 is disposed between the second conductive portion 132 and the third conductive portion 133, and an insulating ring 135 is disposed between the third conductive portion 133 and the fourth conductive portion 134.
In some embodiments, the data interface comprises a USB interface.
It should be noted that, the data interface 110 may be a USB interface, or may be another data interface for data transmission, which is not limited herein.
In some embodiments, the earphone seat further comprises an insertion detection end, a ground end, and a conductive dome; one end of the insertion detection end is electrically connected with the control module; the other end of the insertion detection end is electrically connected with the first end of the conductive elastic sheet.
The earphone connector or the earphone device of the transmission line is not inserted into the earphone seat, and the second end of the conductive elastic sheet is connected with the grounding end of the earphone seat.
The earphone connector or the earphone device of the transmission line is inserted into the earphone seat, and the second end of the conductive elastic sheet is separated from the grounding end of the earphone seat.
Fig. 8 is a schematic diagram of an earphone seat insertion detection structure according to an embodiment of the present disclosure, and as shown in fig. 8, the earphone seat 210 further includes an insertion detection end 213, a grounding end 214, and a conductive spring piece 215; one end of the insertion detection end 213 is electrically connected to the control module 230; the other end of the insertion detecting terminal 213 is electrically connected to the first end of the conductive spring plate 215. When the earphone connector 130 or the earphone device of the transmission line 10 is not inserted into the earphone seat 210, the second end of the conductive spring plate 215 is connected to the ground terminal 214 of the earphone seat 210, and the control module 230 receives the low level signal to determine that the earphone connector 130 or the earphone device is not inserted at this time. When the earphone connector 130 or the earphone device of the transmission line 10 is inserted into the earphone seat 210, the second end of the conductive spring plate 215 is separated from the grounding end 214 of the earphone seat 210, and the control module 230 does not receive the low level signal, so as to determine that the earphone connector 130 or the earphone device is inserted at this time.
It should be noted that, fig. 8 illustrates only an exemplary connection manner of the insertion detection end 213, the ground end 214, and the conductive spring 215, and the connection between the insertion detection end 213, the ground end 214, and the conductive spring 215 may be other connection manners known in the art, which are not limited herein.
For example, fig. 9 is a flowchart of a data transmission switching device provided by the embodiment of the present disclosure, taking a case that a first resistor R1 is far greater than a microphone impedance R of an earphone device, and a data interface 110 is a USB interface as an example, as shown in fig. 9, after a transmission line of the data transmission switching device is inserted or the earphone device is inserted, a voltage state of an insertion detection end 213 of an earphone seat 210 is changed, a voltage of a voltage collection end 211 of the earphone seat 210 is collected, a detection module 220 calculates a ground impedance of the voltage collection end 211 of the earphone seat 210, if the ground impedance is smaller than the microphone impedance R of the earphone device, the earphone device is inserted, and a signal transmission end 212 of the earphone seat 210 is conducted with an audio end of a control module 230; if the impedance is not smaller than the microphone impedance R of the earphone device, the transmission line 10 of the data transmission switching device is inserted, the signal transmission end 212 of the earphone seat 210 is connected with the data end of the control module, the USB enumeration process is started, i.e. the USB device is connected to the system and assigned a definite address code, and the debug mode is started, so that the external device can be electrically connected with the detection motherboard 20 through the transmission line 10 of the data transmission switching device, and data is transmitted.
The embodiment of the disclosure also provides an electronic device, which includes the data transmission switching device of any one of the above embodiments, so that the electronic device provided by the embodiment of the disclosure has the beneficial effects of the data transmission switching device provided by any one of the above embodiments.
It should be noted that in this document, relational terms such as "first" and "second" and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Moreover, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The foregoing is merely a specific embodiment of the disclosure to enable one skilled in the art to understand or practice the disclosure. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the disclosure. Thus, the present disclosure is not intended to be limited to the embodiments shown and described herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.
Claims (10)
1. A data transmission switching apparatus, comprising:
a transmission line and a detection main board;
the transmission line comprises a data interface, a cable and an earphone plug; the data interface is electrically connected with the earphone plug through the cable;
the detection main board comprises a earphone seat, a detection module and a control module; the voltage acquisition end of the earphone seat is electrically connected with the detection module; the signal transmission end of the earphone seat is electrically connected with the control module; the detection module is electrically connected with the control module;
the earphone plug of the transmission line is inserted into the earphone seat, the acquisition voltage of the detection module is a first voltage, and the control module conducts the signal transmission end of the earphone seat with the data end of the control module; the earphone device is inserted into the earphone seat, the acquisition voltage of the detection module is a second voltage, and the control module conducts the signal transmission end of the earphone seat with the audio end of the control module.
2. The data transmission switching device of claim 1, wherein the data interface further comprises a first resistor; one end of the first resistor is electrically connected with a power supply end of the data interface; the other end of the first resistor is electrically connected with the grounding end of the data interface.
3. The data transmission switching device according to claim 1, wherein the control module includes a switching unit and a controller;
the switching unit is respectively and electrically connected with the signal transmission end of the earphone seat and the controller; the controller is electrically connected with the detection module; the switching unit comprises an audio end and a data end;
the acquisition voltage of the detection module is a first voltage, and the switching unit conducts the signal transmission end of the earphone seat with the data end; the acquisition voltage of the detection module is a second voltage, and the switching unit conducts the signal transmission end of the earphone seat with the audio end.
4. The data transmission switching device of claim 3, wherein the signal transmission end of the earphone seat comprises a first channel end and a second channel end; the switching unit comprises a first switch and a second switch; the audio end comprises a first sound channel audio end and a second sound channel audio end; the data terminal comprises a data positive terminal and a data negative terminal;
the first sound channel end is electrically connected with the first end of the first switch; the control end of the first switch is electrically connected with the controller; the second end is electrically connected with the first end of the second switch; the control end of the second switch is electrically connected with the controller;
the acquisition voltage of the detection module is a first voltage, the second end of the first switch is electrically connected with the data positive end, and the second end of the second switch is electrically connected with the data negative end;
the acquisition voltage of the detection module is a second voltage, the second end of the first switch is electrically connected with the first sound channel audio end, and the second end of the second switch is electrically connected with the second sound channel audio end.
5. The data transmission switching device of claim 1, wherein the earphone base further comprises a second resistor; one end of the second resistor is electrically connected with the voltage acquisition end, and the other end of the second resistor is electrically connected with the power end of the detection main board.
6. The data transmission switching device of claim 1, wherein the data interface comprises a positive signal terminal, a negative signal terminal, a ground terminal, and a power supply terminal; the earphone plug comprises a first conductive part, a second conductive part, a third conductive part and a fourth conductive part which are sequentially arranged;
the positive signal end is electrically connected with the first conductive part through a cable; the negative signal end is electrically connected with the second conductive part through a cable; the grounding end is electrically connected with the third conductive part through a cable; the power supply end is electrically connected with the fourth conductive part through a cable.
7. The data transmission switching device according to claim 6, wherein an insulating ring is provided between adjacent conductive portions.
8. The data transfer switching device of claim 1, wherein the data interface comprises a USB interface.
9. The data transmission switching device according to claim 1, wherein the earphone seat further comprises an insertion detection end, a grounding end, and a conductive spring piece; one end of the insertion detection end is electrically connected with the control module; the other end of the insertion detection end is electrically connected with the first end of the conductive elastic sheet;
the earphone connector or the earphone device of the transmission line is not inserted into the earphone seat, and the second end of the conductive elastic sheet is connected with the grounding end of the earphone seat;
the earphone connector or the earphone device of the transmission line is inserted into the earphone seat, and the second end of the conductive elastic sheet is separated from the grounding end of the earphone seat.
10. An electronic device comprising the data transmission switching apparatus of any one of claims 1-9.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202223453059.5U CN219041951U (en) | 2022-12-20 | 2022-12-20 | Data transmission switching device and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202223453059.5U CN219041951U (en) | 2022-12-20 | 2022-12-20 | Data transmission switching device and electronic equipment |
Publications (1)
Publication Number | Publication Date |
---|---|
CN219041951U true CN219041951U (en) | 2023-05-16 |
Family
ID=86278396
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202223453059.5U Active CN219041951U (en) | 2022-12-20 | 2022-12-20 | Data transmission switching device and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN219041951U (en) |
-
2022
- 2022-12-20 CN CN202223453059.5U patent/CN219041951U/en active Active
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7880475B2 (en) | Type A USB receptacle with plug detection | |
CN100495377C (en) | Method for inspecting type of connected peripheral apparatus and terminal interface | |
RU2001128231A (en) | SYSTEM FOR DATA PORT CONNECTION CONFIGURATION CONTROL | |
CN101769976A (en) | Connector detection system | |
CN103473193A (en) | Portable device and peripheral extension dock | |
CN112290985B (en) | Bluetooth antenna determination method and device in vehicle-mounted intelligent device and Bluetooth system | |
CN219041951U (en) | Data transmission switching device and electronic equipment | |
CN110426582B (en) | Line detection system | |
CN100397725C (en) | Connector device for detecting insertion or removal of plug from common jack | |
CN215647372U (en) | External sound card and audio system | |
CN102143404A (en) | Intelligent structured cabling system and jack | |
CN215006498U (en) | Supercomputing apparatus | |
CN213715912U (en) | Circuit board and vehicle-mounted equipment | |
CN115145524A (en) | Double-blind-insertion display control circuit, device and method based on single group of CCs | |
TW407385B (en) | Connector device and data transmitting device | |
CN111757236A (en) | Vehicle PC host testing device | |
CN209357955U (en) | Hot plug connector and electronic equipment | |
CN106771708B (en) | Hot plug test method and device for interconnection power supply of master equipment and slave equipment | |
CN101739324A (en) | Extension interface detection device | |
CN220273686U (en) | SIM card recognition device and electronic product | |
CN220709290U (en) | Integrated circuit testing device and system | |
CN217739898U (en) | Domain controller vehicle-mounted USB conversion TF card plug-pull detection device and vehicle-mounted equipment | |
CN217037210U (en) | Vehicle bus fault detection device | |
CN221688816U (en) | Audio interface circuit, audio module and electronic equipment | |
CN217307840U (en) | Earphone identification module and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
GR01 | Patent grant | ||
GR01 | Patent grant |