CN219351892U - Horn identification circuit - Google Patents
Horn identification circuit Download PDFInfo
- Publication number
- CN219351892U CN219351892U CN202320683427.0U CN202320683427U CN219351892U CN 219351892 U CN219351892 U CN 219351892U CN 202320683427 U CN202320683427 U CN 202320683427U CN 219351892 U CN219351892 U CN 219351892U
- Authority
- CN
- China
- Prior art keywords
- interface
- analog
- digital conversion
- circuit
- resistor
- 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
Classifications
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D30/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing energy consumption in communication networks in wireless communication networks
Abstract
The application provides a loudspeaker identification circuit, include: the loudspeaker comprises a power input interface and an identification interface, wherein a conductive medium is arranged between the power input interface and the identification interface, and the power input interface is connected with a power supply; the analog-to-digital conversion circuit comprises an analog-to-digital conversion interface, and the analog-to-digital conversion interface is connected with the identification interface; and one end of the second resistor is connected with the analog-to-digital conversion interface, and the other end of the second resistor is grounded. When the loudspeaker is connected with the analog-to-digital conversion circuit, the conducting medium and the second resistor form a voltage dividing circuit, and the voltage dividing circuit is converted from an open circuit state to a channel state. The sampling voltage of the horn to be identified is obtained through the voltage dividing circuit and the analog-digital conversion circuit, and the supplier of the horn to be identified is accurately judged through comparison of the sampling voltage and the reference value provided by the supplier of the horn.
Description
Technical Field
The utility model relates to the field of circuits, in particular to a loudspeaker identification circuit.
Background
The notebook computer horn generally has six interfaces including four interfaces for left and right horn outputs, an identification interface and a grounding interface. The existing computer horn suppliers are mainly divided into two parts by short circuit and circuit break, so that the existing computer horn recognition scheme recognizes the two horn suppliers through the high and low levels of the recognition interface and the grounding interface. However, with the increase of notebook computer loudspeaker suppliers, the notebook computer loudspeaker identification scheme is not applicable any more, and cannot identify the suppliers of more than two notebook computer loudspeakers.
Disclosure of Invention
Based on the above, the utility model provides a loudspeaker identification circuit, which is applicable to the situation that a plurality of loudspeaker suppliers exist by acquiring the sampling voltage of a loudspeaker through connecting a voltage division circuit and an analog-to-digital conversion circuit and accurately identifying the supplier of the loudspeaker according to the sampling voltage.
The utility model discloses a loudspeaker identification circuit, which comprises:
the loudspeaker comprises a power input interface and an identification interface, wherein a conductive medium is arranged between the power input interface and the identification interface, and the power input interface is connected with a power supply;
the analog-to-digital conversion circuit comprises an analog-to-digital conversion interface, and the analog-to-digital conversion interface is connected with the identification interface;
and one end of the second resistor is connected with the analog-to-digital conversion interface, and the other end of the second resistor is grounded.
Optionally, the conductive medium is a first resistor.
Optionally, the conductive medium is a wire, and the resistance of the wire is obtained according to a preset wire length, a preset wire diameter and a preset material of the wire.
Preferably, the device further comprises a compensation resistor, one end of the compensation resistor is connected with the identification interface, and the other end of the compensation resistor is connected with the analog-to-digital conversion interface.
The beneficial effects of adopting above-mentioned technical scheme are: according to the loudspeaker voltage sampling circuit, the sampling voltage of the loudspeaker can be accurately obtained through the voltage dividing circuit and the analog-to-digital conversion circuit, and the specific supplier of the loudspeaker can be accurately determined through comparison between the sampling voltage and the set voltage parameters of each loudspeaker supplier.
Drawings
In order to more clearly illustrate the embodiments of the present utility model or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below.
FIG. 1 is a schematic diagram of a speaker identification circuit according to one embodiment of the present application;
FIG. 2 is a circuit diagram of a speaker recognition circuit in one embodiment of the present application;
fig. 3 is a schematic diagram of parameters of a conductor resistor in an embodiment of the present application.
Detailed Description
The following description of the embodiments of the present utility model will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present utility model, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the utility model without making any inventive effort, are intended to be within the scope of the utility model. In order to more specifically explain the present utility model, the speaker recognition circuit provided by the present utility model will be specifically described with reference to the accompanying drawings.
The notebook computer horn generally has six interfaces including four interfaces for left and right horn outputs, an identification interface and a grounding interface. The notebook computer loudspeaker that uses at present mainly has two suppliers, distinguishes through short circuit and circuit break respectively, and from this two loudspeaker suppliers are discerned through the high low level of power access interface and discernment interface to current loudspeaker discernment scheme. With the increase of computer loudspeaker suppliers, the computer loudspeaker identification scheme is not applicable any more and cannot identify the suppliers of the existing various computer loudspeakers.
Referring to fig. 1, an embodiment of the present application discloses a speaker recognition circuit, including:
the loudspeaker comprises a power input interface and an identification interface, wherein a conductive medium R1 is arranged between the power input interface and the identification interface, and the power input interface is connected with a power supply;
the analog-to-digital conversion circuit comprises an analog-to-digital conversion interface, and the analog-to-digital conversion interface is connected with the identification interface;
and one end of the second resistor R2 is connected with the analog-digital conversion interface, and the other end of the second resistor R2 is grounded.
Wherein the conductive medium R1 is a resistor; the analog-to-digital conversion interface is also denoted as an ADC interface and is used for measuring analog-to-digital conversion.
When the loudspeaker is connected with the analog-to-digital conversion circuit, the power input interface of the loudspeaker is connected with a power supply, and the resistor R1 and the second resistor R2 form a voltage dividing circuit, so that the voltage dividing circuit is converted from an open circuit state to a passage state.
Fig. 2 shows a scheme of using a wire to replace the resistor R1 in a main board circuit, since the resistance of the wire is relatively small in practical application, a compensation resistor R3 needs to be added to the analog-to-digital conversion interface of the analog-to-digital conversion circuit to limit the current, the compensation resistor R3 is disposed at one side close to the analog-to-digital conversion interface of the analog-to-digital conversion circuit, one end of the compensation resistor is connected with the identification interface, the other end of the compensation resistor is connected with the analog-to-digital conversion interface, and at this time, the resistance of the wire R1 on the horn terminal, the second resistor R2 and the compensation resistor R3 of the analog-to-digital conversion circuit are adjusted according to the practical situation, which can be calculated specifically by referring to the following scheme.
According to the embodiment of the application, the sampling voltage of the loudspeaker is obtained through the voltage dividing circuit and the analog-to-digital conversion circuit, and the supplier of the loudspeaker is obtained according to the sampling voltage of the loudspeaker.
The analog-to-digital conversion circuit can be a processing chip with an ADC interface, and the processing chip can be a micro control unit chip or an embedded controller chip in a computer module.
Specifically, the built-in ADC interface of the embedded controller chip in this embodiment is 10 bits. The analog-digital conversion circuit of the embedded controller chip is used for processing, 3.3V input voltage is adopted, and the obtained sampling voltage precision is 3.3/2 10 -1)=3.2mV。
In this embodiment, the other end of the second resistor R2 is grounded.
Further, the conductive medium R1, the second resistor R2 and the compensation resistor R3 are high-precision resistors.
The specific resistance and accuracy of the conductive medium R1, the second resistor R2 and the compensation resistor R3 can be selected by a person skilled in the art according to the setting of the provider parameter accuracy of the specific horn to be identified.
Referring to fig. 3, in the embodiment of the present application, when the conductive medium R1 is a conductive wire, the resistance of the conductive wire is calculated according to the preset wire diameter, the preset material and the preset length of the conductive wire.
The 5 th pin power input interface and the 6 th pin identification interface of the loudspeaker are connected by wires with different lengths, different materials or different wire diameters, so that parameters of the voltage dividing circuit are adjusted, and the accuracy of sampling voltage is improved.
Specifically, the specification of the wire shown in fig. 3 may be calculated by referring to the wire material, the wire length, the wire diameter, etc., wherein the second resistance R2 is 470 Ω, the compensation resistance R3 is 470 Ω, when the wire is AWG36 cm long, the wire resistance is 415×7×0.01=29.05Ω, and the measured sampling voltage is 3.3×470++470+29.05) ≡1.6V; when the length of the lead is selected to be AWG30 cm, the lead is 104 multiplied by 4 multiplied by 0.01=4.16Ω, the sampling voltage obtained by measurement is 3.3 multiplied by 470/(470+470+4.16) ≡1.642V, and the sampling voltage difference between the two meets the sampling precision requirement.
According to the loudspeaker identification circuit, the sampling voltage of the loudspeaker is obtained through the combination of the voltage dividing circuit and the analog-to-digital conversion circuit, the number of loudspeaker suppliers is enlarged, and the limitation that only different level loudspeaker suppliers can be identified in the prior art is broken through.
The above embodiments are only for illustrating the technical solution of the present utility model, and are not limiting; although the utility model has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present utility model.
Claims (5)
1. A speaker identification circuit, comprising:
the loudspeaker comprises a power input interface and an identification interface, wherein a conductive medium is arranged between the power input interface and the identification interface, and the power input interface is connected with a power supply;
the analog-to-digital conversion circuit comprises an analog-to-digital conversion interface, and the analog-to-digital conversion interface is connected with the identification interface;
and one end of the second resistor is connected with the analog-to-digital conversion interface, and the other end of the second resistor is grounded.
2. A horn recognition circuit according to claim 1, wherein the conductive medium is a first resistor.
3. A horn recognition circuit according to claim 1, wherein the conductive medium is a wire.
4. A horn recognition circuit according to claim 3, wherein the resistance of the wire is obtained from a predetermined wire length, a predetermined wire diameter and a predetermined material of the wire.
5. A horn recognition circuit as claimed in claim 3, further comprising a compensation resistor, one end of the compensation resistor being connected to the recognition interface, the other end of the compensation resistor being connected to the analog-to-digital conversion interface.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202320683427.0U CN219351892U (en) | 2023-03-30 | 2023-03-30 | Horn identification circuit |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202320683427.0U CN219351892U (en) | 2023-03-30 | 2023-03-30 | Horn identification circuit |
Publications (1)
Publication Number | Publication Date |
---|---|
CN219351892U true CN219351892U (en) | 2023-07-14 |
Family
ID=87102866
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202320683427.0U Active CN219351892U (en) | 2023-03-30 | 2023-03-30 | Horn identification circuit |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN219351892U (en) |
-
2023
- 2023-03-30 CN CN202320683427.0U patent/CN219351892U/en active Active
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9128691B2 (en) | Method and terminal for selecting internal circuit according to USB interface status | |
US20150362944A1 (en) | Systems and methods for cable resistance compensation | |
EP3171480B1 (en) | Method for identifying types of cables, power adaptor and cable | |
US20130343552A1 (en) | Circuit for testing buzzer | |
TW202203511A (en) | Usb interface detection module | |
US9306388B2 (en) | Current-limiting circuit and apparatus | |
US20220404891A1 (en) | Power management device and consumer electronic product | |
CN105301386B (en) | OTG detection circuit and mobile terminal with it | |
CN104568227A (en) | Circuit, method and device for detecting temperature sensing bulb | |
CN219351892U (en) | Horn identification circuit | |
CN108681514A (en) | Equipment detection method, device, storage medium and electronic equipment | |
CN203519204U (en) | Temperature-sensing wrap detection circuit | |
US9785227B2 (en) | Portable electronic systems | |
US10263454B2 (en) | Charger and power delivery control chip and charging method thereof | |
CN216351077U (en) | Power consumption testing device | |
CN102361505B (en) | Electronic equipment and method for identifying external power amplification module based on MICRO-USB interface | |
US20130096859A1 (en) | Resistance determining system | |
US11856373B2 (en) | Headset model identification with a resistor | |
CN102385018B (en) | External equipment connection sensing circuit | |
CN109581093B (en) | Detection circuit and related detection method | |
WO2024021752A1 (en) | Resistance value calibration method, calibration circuit, terminal device and storage medium | |
JP7134316B2 (en) | RESONANT CIRCUIT, ELECTROMAGNETIC PEN AND CAPACITY ADJUSTMENT METHOD THEREOF | |
CN112858790B (en) | Single-end connection test method for direct-current resistor of multi-core cable | |
CN216645509U (en) | Liquid level detection circuit and liquid level detection system | |
TWI715275B (en) | Dynamic voltage compensation circuit and method thereof |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
GR01 | Patent grant | ||
GR01 | Patent grant |