Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The terms "first," "second," and the like in this application are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus. Further, as used herein, "and/or" means at least one of the connected objects, e.g., a and/or B and/or C, means 7 cases including a alone, B alone, C alone, and both a and B present, B and C present, both a and C present, and A, B and C present.
In the embodiment of the present invention, the terminal device may include an earphone jack, a control circuit, and a ground circuit, which are sequentially connected in series. The number of the grounding circuits is N, N is an integer larger than 1, and the N grounding circuits are connected in parallel. It should be understood that the composition of each of the N ground circuits may be different from each other.
It should be understood that N may be equal to the number of patterns with different requirements for grounding manner of the grounding pin of the earphone socket in the terminal device, and the patterns and the grounding circuit are in one-to-one correspondence. Further, the composition of each of the N ground circuits may be determined according to the requirement of the target mode corresponding thereto on the grounding mode of the ground pin of the earphone socket.
For example, assuming that the terminal device has different requirements on the grounding manner of the ground pin of the earphone socket in the first mode and the second mode, N may be determined to be 2, and the N grounding circuits are respectively denoted as a first grounding circuit and a second grounding circuit. Further, if the first ground circuit corresponds to the first mode and the second ground circuit corresponds to the second mode, the composition of the first ground circuit matches the requirement of the first mode for the ground mode of the ground pin of the earphone jack, and the composition of the second ground circuit matches the requirement of the second mode for the ground mode of the ground pin of the earphone jack.
During specific implementation, the terminal device can output a control signal corresponding to the current mode to the control circuit, so that the control circuit controls the grounding pin of the earphone socket to be grounded through the target grounding circuit corresponding to the current mode in the N grounding circuits according to the received control signal, and thus the grounding mode of the grounding pin of the earphone socket can be matched with the current mode of the terminal device, that is, the grounding mode of the grounding pin of the earphone socket has the same requirement on the grounding mode of the grounding pin of the earphone socket as the current mode of the terminal device. Therefore, the terminal equipment can meet the requirement of each mode on the grounding mode of the grounding pin of the earphone socket, so that the performance requirement of each mode is realized, and the performance of the terminal equipment is improved.
It should be understood that, in the embodiment of the present invention, the modes, the ground circuits and the control signals are in a one-to-one correspondence relationship with each other, that is, each mode of the terminal device corresponds to a unique control signal and a unique ground circuit. Therefore, after the terminal equipment determines the current mode, a control signal corresponding to the current mode can be output to the control circuit, and then the grounding pin of the earphone socket is controlled to be grounded through the target grounding circuit corresponding to the current mode, so that the control accuracy is improved.
The following describes a terminal device according to an embodiment of the present invention with reference to a schematic diagram.
As shown in fig. 1, the terminal device may include an earphone socket 10, a control circuit 20, a first ground circuit 30, and a second ground circuit 40. Wherein, the earphone socket 10 at least includes the ground pin 11, and the ground impedance of the first ground circuit 30 is larger than the ground impedance of the second ground circuit 40.
In fig. 1, the first ground circuit 30 and the second ground circuit 40 are connected in parallel. A first terminal of the control circuit 20 is electrically connected to the ground pin 11 of the earphone socket 10, a second terminal of the control circuit 20 is electrically connected to the first ground circuit 30 and the second ground circuit 40, respectively, and a third terminal of the control circuit 20 is electrically connected to a control unit (not shown).
The control unit is configured to output a control signal matching with a current mode of the terminal device to the control circuit 20, and the control circuit 20 is configured to receive the control signal and control the ground pin 11 to be grounded through the first ground circuit 30 or the second ground circuit 40 according to the received control signal.
Illustratively, assume that the terminal device has a HIFI function. If the current mode is the FM mode, the FM mode requires that the ground impedance of the earphone ground is large, that is, the ground impedance of the ground pin of the earphone socket is large, so that the terminal device can output a control signal for controlling the ground pin 11 to be grounded through the first ground circuit 30 with large ground impedance, thereby ensuring the FM performance of the terminal device.
It should be noted that the above-mentioned larger ground impedance may mean that the ground impedance is larger for the FM reception frequency range (87.5 mhz to 108 mhz), and actually, the FM reception frequency range is larger than 600 ohms to meet the requirement, i.e., the FM performance of the terminal device is guaranteed, and the ground impedance is still small for the audible audio range (20 hz to 20000 hz).
If the current mode of the terminal device is a non-FM mode, in the non-FM mode, in order to ensure the HIFI performance, the ground impedance of the ground line of the earphone is required to be small, so that the terminal device can output a control signal for controlling the ground pin 11 to be grounded through the second ground circuit 40 with small ground impedance, thereby ensuring the HIFI performance of the terminal device.
In a specific implementation, the control Unit may be a Central Processing Unit (CPU), and the CPU transmits a control signal matching the current mode of the terminal device to the control circuit 20 through a General Purpose Input/Output (GPIO) port, but is not limited thereto.
It should be understood that fig. 1 is only an example, and in other embodiments, the terminal device may further include other grounding circuits connected in parallel with the first grounding circuit 30 and the second grounding circuit 40, so that the grounding manner of the grounding pin of the earphone socket may be further expanded.
The terminal device of the embodiment includes: the earphone comprises an earphone socket, a control circuit, a first grounding circuit and a second grounding circuit, wherein the grounding impedance of the first grounding circuit is larger than that of the second grounding circuit; wherein the earphone socket comprises a ground pin; the control circuit is used for receiving a control signal and controlling the grounding pin to be grounded through the first grounding circuit or the second grounding circuit according to the received control signal. Therefore, the terminal equipment can output a control signal in the FM mode, and the grounding pin of the earphone socket is controlled to be grounded through the first grounding circuit with larger grounding impedance, so that the FM performance of the terminal equipment is guaranteed; the terminal equipment can output a control signal in a non-FM mode, and a grounding pin of the earphone socket is controlled to be grounded through a second grounding circuit with smaller grounding impedance, so that the HIFI performance of the terminal equipment is guaranteed. Therefore, the method and the device can enhance the FM performance of the terminal equipment while ensuring the HIFI performance of the terminal equipment, thereby improving the performance of the terminal equipment.
In the embodiment of the present invention, the composition of the first ground circuit and the second ground circuit may be determined according to the requirement of the target mode corresponding to the first ground circuit and the second ground circuit for the ground mode of the ground pin of the earphone socket, and the specific description is as follows:
for terminal equipment with the HIFI function, in a non-FM mode, such as a music playing mode, in order to ensure crosstalk indexes of left and right channels of the earphone, the impedance requirement on a grounding circuit of a grounding pin of an earphone socket is extremely low; in the FM mode, in order to improve the sensitivity and the number of stations received by the terminal device, the ground pin of the earphone socket needs to be grounded through an isolation element having a characteristic of being cut off at least in the FM signal operating frequency band.
The characteristic of cut-off in the operating frequency band of the FM signal can be interpreted as: the working frequency range of the FM signal can be cut off, the FM signal is prevented from entering the ground, and therefore the FM signal can enter the FM module.
Therefore, for the terminal device with the HIFI function, optionally, as shown in fig. 2, the terminal device includes a frequency modulation broadcast FM module 50 electrically connected to the ground pin 11 of the earphone socket 10 for processing the received FM signal;
the first grounding circuit 30 includes an isolation element 31 and a first grounding terminal 32, a first end of the isolation element 31 is electrically connected to the control circuit 20, a second end of the isolation element 31 is connected to the first grounding terminal 32, and the isolation element 31 has a characteristic of being cut off at least in an FM signal operating frequency band;
the second ground circuit 40 includes a second ground terminal 41 electrically connected directly to the control circuit 20.
It should be understood that in this embodiment, the isolation element 31 has a characteristic of being cut off at least in the FM signal operating band. That is, the isolation element 31 has a characteristic of making the FM signal have a high impedance to the ground, so that the FM signal can be prevented from being transmitted to the ground, and normal transmission of the FM signal to the FM module can be ensured.
In addition, the first ground circuit 30 corresponds to the FM mode of the terminal device, and the second ground circuit 40 corresponds to the non-FM mode.
Therefore, if the terminal equipment detects that the mode is the FM mode, the terminal equipment can output a first control signal corresponding to the FM mode to the control circuit, so that the control circuit controls the grounding pin of the earphone socket to be grounded through the first grounding circuit based on the first control signal, and the FM signal received by the terminal equipment can enter the FM module under the cut-off of the isolation element, so that the receiving sensitivity and the receiving quantity of the HIFI terminal equipment can be improved.
If the terminal equipment detects that the mode is a non-FM mode, a second control signal corresponding to the non-FM mode can be output to the control circuit, so that the control circuit controls the grounding pin of the earphone socket to be grounded through the second grounding circuit based on the second control signal, and therefore crosstalk indexes of the left channel and the right channel of the HIFI terminal equipment can be guaranteed.
Therefore, by the method, the flexibility of the grounding mode of the grounding pin of the earphone socket can be improved, so that the HIFI terminal equipment can not only ensure crosstalk indexes of the left and right sound channels in a non-FM mode, but also improve the sensitivity and the number of the received stations in an FM mode, and the performance of the terminal equipment can be improved.
Further, the isolation element 31 may be: magnetic beads, inductors, or filters.
Specifically, if the isolation element 31 exhibits inductance, the inductance of the inductance should be guaranteed to be over 100 nanohenries; if the isolation element is a magnetic bead, the magnetic bead can at least cut off the frequency in the FM signal working frequency band; if the isolation element 31 is embodied as a filter, the filter can filter out frequencies at most outside the operating frequency band of the FM signal, so that the inductor can be ensured to have the characteristic of being cut off in the operating frequency band of the FM signal.
Further, the isolation element 31 has a characteristic of cutting off in a frequency band of 87.5MHZ (abbreviated as MHZ) to 108 MHZ. The 87.5MHZ to 108MHZ frequency bands are the working frequency bands of FM signals. For a terminal device which is provided with a main Circuit board and an auxiliary Circuit board, and the main Circuit board and the auxiliary Circuit board are electrically connected through an FPC (Flexible Printed Circuit), in a charging mode, in order to reduce the interference of charging on the current and sound effect of an earphone, a grounding pin of an earphone socket is grounded to the main Circuit board; and under the non-charging mode, the grounding pin of the earphone socket is arranged on the auxiliary circuit board in a downward mode, so that the current sound effect of the earphone can be improved.
Therefore, alternatively, as shown in fig. 3, the terminal device is provided with a main circuit board 60 and a sub circuit board 70, and the main circuit board 60 and the sub circuit board 70 are electrically connected by an odd number of flexible circuit boards 80;
the first ground circuit 30 includes a third ground terminal 33 provided on the main circuit board 60;
the second ground circuit 40 includes a fourth ground terminal 42 provided on the sub board 70.
As shown in fig. 3, the control circuit 20 may be provided on the sub circuit board 70, but is not limited thereto. In addition, in fig. 3, the main circuit board 60 and the sub circuit board 70 are electrically connected by 1 flexible circuit board 80, but it should be understood that in other embodiments, the main circuit board 60 and the sub circuit board 70 may be electrically connected by an odd number of flexible circuit boards 80 of 3, 5, etc.
It should be understood that, in the present embodiment, the first ground circuit 30 corresponds to the charging mode of the terminal device, and the second ground circuit 40 corresponds to the non-charging mode.
Therefore, if the terminal device detects that the mode is the charging mode, a third control signal corresponding to the charging mode can be output to the control circuit, and then the control circuit controls the grounding pin of the earphone socket to be grounded through the first grounding circuit based on the third control signal, so that the interference of charging on the current and sound effect of the earphone can be reduced.
If the terminal device detects that the mode is the non-charging mode, a fourth control signal corresponding to the non-charging mode can be output to the control circuit, so that the control circuit controls the grounding pin of the earphone socket to be grounded through the second grounding circuit based on the fourth control signal, and the current sound effect of the earphone can be improved.
Therefore, by the method, the flexibility of the grounding mode of the grounding pin of the earphone socket can be improved, so that the terminal equipment can have a better current sound effect in a non-charging mode, and the interference of charging on the current sound effect of the earphone can be reduced in a charging mode, so that the performance of the terminal equipment can be improved.
It should be understood that the embodiments of the present invention can be applied to other modes requiring different grounding modes or power connection modes, which can be determined according to actual requirements and are not limited in the embodiments of the present invention.
In the embodiment of the present invention, the control circuit 20 may include a switch unit having at least two operating states, and the control circuit 20 may control the switch unit to be in different operating states based on the received operating signal, so as to control the ground pin of the earphone socket to be grounded through different ground circuits.
Optionally, as shown in fig. 4, the control circuit 20 includes a switch unit 21, the switch unit 21 includes a control end, a first end and a second end, the control end of the switch unit 21 is connected to a control signal and electrically connected to the ground pin 11 of the earphone socket 10, the first end of the switch unit 21 is electrically connected to the first ground circuit 30, and the second end of the switch unit 21 is electrically connected to the second ground circuit 40.
In a specific implementation, the control end of the switch unit 21 is connected to the control unit. If the control unit outputs a high level to the control terminal of the switch unit 21, the control terminal of the switch unit 21 and the first terminal of the switch unit 21 can be turned on, and the ground pin 11 of the earphone socket 10 is connected through the first ground circuit 30; if the control unit outputs a low level to the control terminal of the switch unit 21, the control terminal of the switch unit 21 and the second terminal of the switch unit 21 may be turned on, and the ground pin 11 of the earphone socket 10 is connected through the second ground circuit 40.
In practical applications, the switch unit 21 may be disposed on a circuit board. Such as may be provided on a secondary circuit board.
Further, as shown in fig. 4, the switch unit 21 may be a single pole double throw switch. It should be understood that, in other embodiments, the switch unit 21 may also be another switch unit having two operation states, such as a switching transistor, which is not limited in the embodiment of the present invention. Of course, the switching unit 21 may also be implemented by a single pole of double pole double throw.
In the embodiment of the present invention, the terminal Device may be a Mobile phone, a Tablet Personal Computer (Tablet Personal Computer), a Laptop Computer (Laptop Computer), a Personal Digital Assistant (PDA), a Mobile Internet Device (MID), a Wearable Device (Wearable Device), or the like.
It should be noted that, various optional implementations described in the embodiments of the present invention may be implemented in combination with each other or implemented separately, and the embodiments of the present invention are not limited thereto.
The embodiment of the present invention further provides a ground control method, which can be applied to the terminal device in the embodiment of the present invention, such as the terminal devices shown in fig. 1 to 4.
Referring to fig. 5, fig. 5 is a flowchart of a ground control method according to an embodiment of the present invention. As shown in fig. 5, the ground control method of the present embodiment may include the steps of:
and step 501, detecting the mode of the terminal equipment.
During specific implementation, whether the terminal equipment is in an FM mode can be determined by detecting whether the terminal equipment runs an FM application program; whether the terminal device is in the charging mode may be determined by detecting whether the current of the terminal device battery increases, but is not limited thereto.
Step 502, if the terminal device is in the first mode, the control circuit controls the grounding pin of the earphone socket to be grounded through the first grounding circuit.
Step 503, if the terminal device is in the second mode, the control circuit controls the ground pin of the earphone socket to be grounded through the second ground circuit.
It should be noted that the mode of the terminal device is detected, and the mode is used to decide whether to switch the grounding mode of the earphone. Therefore, it can be understood that the terminal device may prestore the correspondence between the mode and the grounding mode of the earphone, so that the grounding mode of the earphone may be controlled to be consistent with the grounding mode of the earphone corresponding to the current mode, thereby implementing the performance of the current mode.
For example, in the correspondence relationship between the mode and the grounding manner of the earphone, the first mode may correspond to the first grounding circuit, and the second mode may correspond to the second grounding circuit.
Thus, if the terminal device is in the first mode, the control circuit can control the grounding pin of the earphone socket to be grounded through the first grounding circuit; if the terminal device is in the second mode, the control circuit may control the ground pin of the earphone socket to be grounded through the second ground circuit. Therefore, the terminal equipment can meet the requirements of the first mode and the second mode on the grounding mode of the grounding pin of the earphone socket, so that the performance requirements of the first mode and the second mode are realized, and the performance of the terminal equipment is improved.
The first mode may be an FM mode or a charging mode, and the second mode is a non-FM mode or a non-charging mode, but is not limited thereto.
Optionally, the terminal device includes a frequency modulation broadcast FM module, which is electrically connected to a ground pin of the earphone socket and is configured to process a received FM signal; the first grounding circuit comprises an isolation element and a first grounding end, the first end of the isolation element is electrically connected with the control circuit, the second end of the isolation element is connected with the first grounding end, and the isolation element has the characteristic of being cut off at least in the FM signal working frequency band; the second grounding circuit comprises a second grounding end which is directly and electrically connected with the control circuit; the first mode is an FM mode and the second mode is a non-FM mode.
If the terminal device is the terminal device shown in fig. 2, the first mode may be an FM mode, and correspondingly, the second mode may be a non-FM mode.
Optionally, the terminal device is provided with a main circuit board and an auxiliary circuit board, and the main circuit board and the auxiliary circuit board are electrically connected through a Flexible Printed Circuit (FPC); the first grounding circuit comprises a third grounding end arranged on the main circuit board; the second grounding circuit comprises a fourth grounding end arranged on the auxiliary circuit board; the first mode is a charging mode, and the second mode is a non-charging mode.
If the terminal device is the terminal device shown in fig. 3, the first mode may be a charging mode, and correspondingly, the second mode may be a non-charging mode.
By the grounding control method, the terminal equipment can meet the requirements of the first mode and the second mode on the grounding mode of the grounding pin of the earphone socket, so that the performance requirements of the first mode and the second mode are realized, and the performance of the terminal equipment is improved.
The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention, and all the changes or substitutions should be covered within the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.