CN106713795B - Television stick power supply method and device - Google Patents
Television stick power supply method and device Download PDFInfo
- Publication number
- CN106713795B CN106713795B CN201611186032.0A CN201611186032A CN106713795B CN 106713795 B CN106713795 B CN 106713795B CN 201611186032 A CN201611186032 A CN 201611186032A CN 106713795 B CN106713795 B CN 106713795B
- Authority
- CN
- China
- Prior art keywords
- signal
- circuit
- terminal equipment
- capacitor
- 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
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N5/00—Details of television systems
- H04N5/63—Generation or supply of power specially adapted for television receivers
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Television Receiver Circuits (AREA)
Abstract
The invention discloses a power supply method for a television stick, which is applied to a television and the television stick, wherein the television comprises an HDMI (high-definition multimedia interface), a main chip, an input detection circuit and a power module, the input detection circuit and the power module are connected with an HDMI interface circuit, and the television stick is provided with an RCL (remote control loop) circuit; the method for supplying power to the television wand includes the steps of: when the external terminal equipment of the HDMI interface is detected, the main chip sends a detection signal to the terminal equipment based on the input detection circuit, and if a feedback signal fed back by the terminal equipment according to the detection signal is received, the main chip judges that the terminal equipment is a television stick and then drives the power supply module to supply power to the terminal equipment. The invention also discloses a power supply device of the television stick. The invention is compatible with the current HDMI interface standard by adding the input detection circuit and the RCL circuit, and the television stick does not need to be externally connected with a USB power line, so the circuit is simple and convenient to supply power.
Description
Technical Field
The invention relates to the technical field of televisions, in particular to a method and a device for supplying power to a television stick.
Background
Along with the intelligent development of electrical appliances, because the existing common television does not have an operating system, a television stick with an HDMI interface is introduced, the television stick is connected into a television external device through the HDMI interface by the android operating system, the common television is changed into a dual system, and the rapid iteration of a television system is realized.
The television stick is different from the USB flash disk, the television stick needs to consume electric quantity when working, and different modes are adopted for supplying power to the television stick; most of the existing television sticks need to be connected with a USB power line independently to be connected with a power supply, the method is inconvenient for users to use, and the television sticks need more sockets to be connected with the USB power supply independently, so that the circuit is complex and troublesome; in addition, a small number of television sticks directly use the HDMI interface to supply power, and +5V voltage is directly injected into the power amplifier equipment through the 14 th pin of the HDMI interface, so that the problems that the equipment is burnt out and the like due to the fact that the power is supplied to other equipment which does not need power through misoperation under the condition that a user does not know or operates by mistake can occur due to the existing HDMI interface standard.
The above is only for the purpose of assisting understanding of the technical aspects of the present invention, and does not represent an admission that the above is prior art.
Disclosure of Invention
The invention mainly aims to provide a power supply method for a television stick, aiming at supplying power to the television stick more conveniently.
In order to achieve the above object, this embodiment provides a power supply method for a tv stick, where the power supply method is applied to a tv set and the tv stick, the tv set includes an HDMI interface, a main chip, and an input detection circuit and a power module connected to the HDMI interface circuit, the tv stick is preset with an RCL circuit, and the power supply method for the tv stick includes:
when the external terminal equipment of the HDMI is detected, the main chip sends a detection signal to the terminal equipment based on the input detection circuit;
and if a feedback signal fed back by the terminal equipment according to the detection signal is received, the main chip judges that the terminal equipment is a television stick and then drives the power supply module to supply power to the terminal equipment.
Optionally, the input detection circuit comprises a triode Q1, a direct current basic circuit, an alternating current detection circuit and a detection terminal GPIO2 which are mutually communicated, the detection terminal GPIO2 is communicated with an emitter circuit of the triode Q1, the alternating current detection circuit and the direct current basic circuit are both communicated with a base circuit of the triode Q1,
when detecting external terminal equipment of HDMI interface, main chip includes to the terminal equipment sending detected signal based on input detection circuit:
when the external terminal equipment of the HDMI interface is detected, the main chip sends alternating current signals to the base electrode of the triode Q1 and the terminal equipment based on the alternating current detection circuit, and sends direct current signals to the base electrode of the triode Q1 based on the direct current basic circuit.
Optionally, if a feedback signal fed back by the terminal device according to the detection signal is received, the determining, by the main chip, that the terminal device is a tv stick and the driving power module supplies power to the terminal device includes:
the main chip receives a feedback signal obtained by the terminal equipment according to the alternating current signal and acquires the total signal intensity of the feedback signal, the alternating current signal and the direct current signal;
the main chip judges whether the total signal intensity is greater than the preset signal intensity, and if the total signal intensity is greater than the preset signal intensity, the main chip judges that the terminal equipment is a television stick and then drives the power supply module to supply power to the terminal equipment.
Optionally, the detection terminal GPIO2 is connected to the main chip, the dc base circuit includes a power supply VDD, a first resistor R1, a second resistor R2, a fourth resistor R4, a first capacitor C1 and a third capacitor C3, and one end of the power supply VDD is connected to one end of the first resistor R1, one end of the second resistor R2 and one end of the first capacitor C1; the other end of the first resistor R1 is connected with the base of the triode Q1, the fourth resistor R4 and one end of the third capacitor C3; the other end of the first capacitor C1 is connected with a detection end GPIO2 and the base electrode of a triode Q1, the other end of the second resistor R2 is connected with the base electrode of a triode Q1, and the emitter of the triode Q1 is connected with the rear grounding end of the fourth resistor R4;
the alternating current detection circuit comprises: the device comprises a second capacitor C2, a third resistor R3, a fourth capacitor C4 and an input end GPIO1, wherein the input end GPIO1 is connected with one end of a third resistor R3, the other end of the third resistor R3 is connected with one ends of the second capacitor C2 and the fourth capacitor C4, the other end of the fourth capacitor C4 is grounded, and the other end of the second capacitor C2 is connected with a third capacitor C3 and an HDMI interface;
the step that the main chip sends a detection signal to the terminal equipment based on the input detection circuit comprises the following steps:
the main chip inputs a direct current signal with a voltage value V1 to the input detection circuit based on a power supply VDD, and the direct current signal sends the direct current signal to the base electrode of a triode Q1 through a first resistor R1;
the main chip inputs PWM to the input detection circuit based on an input end GPIO1, triangular waves of a preset peak value V2 are obtained through modulation filtering of a second capacitor C2 and a fourth capacitor C4, the triangular waves passing through a third capacitor C3 are used as alternating current signals, and the triangular waves are used as detection signals and sent to terminal equipment;
the step of receiving the feedback signal obtained by the terminal device according to the alternating current signal and acquiring the total signal intensity of the feedback signal, the alternating current signal and the direct current signal comprises the following steps:
and the main chip receives a feedback signal obtained by the terminal equipment according to the alternating current signal, if the feedback signal is an amplified signal, the main chip takes the peak value of the amplified signal as V3, and the total signal intensity of the feedback signal, the alternating current signal and the direct current signal is calculated.
Optionally, the tv stick is preset with an RCL circuit, the RCL circuit includes a fifth capacitor C5, a first inductor L1, and a fifth resistor R5, one end of the fifth resistor R5 in the RCL circuit is connected to one end of the first inductor L1 and the HDMI interface, the other end of the first inductor L1 is connected to one end of the fifth capacitor C5, the other end of the fifth capacitor C5 is connected to the rear ground end of the fifth resistor R5,
the main chip receives a feedback signal obtained by the terminal device according to the alternating current signal, if the feedback signal is an amplification signal, the main chip takes the peak value of the amplification signal as V3, and the step of calculating the total signal intensity of the feedback signal, the alternating current signal and the direct current signal comprises the following steps:
the main chip sends an alternating current signal to the terminal equipment according to the alternating current detection circuit, the main chip obtains a feedback signal of the terminal equipment, and if the terminal equipment is a television rod, the terminal equipment performs waveform conversion on a triangular wave with a preset peak value V2 based on a television rod preset RCL circuit to obtain a sine wave with a preset peak value V3 so as to form a feedback signal of an amplified signal type.
In order to implement the method of the present invention, this embodiment improves a television set correspondingly, the television set may be connected to a tv stick circuit, the television set includes an HDMI interface, a main chip, and an input detection circuit and a power module connected to the HDMI interface circuit, the tv stick presets an RCL circuit, and the main chip includes:
the detection identification module is used for sending a detection signal to the terminal equipment based on the input detection circuit when the external terminal equipment of the HDMI is detected;
and the conversion power supply module is used for judging that the terminal equipment is a television rod and then driving the power supply module to supply power to the terminal equipment if a feedback signal fed back by the terminal equipment according to the detection signal is received.
Optionally, the input detection circuit includes a transistor Q1, a dc base circuit, an ac detection circuit and a detection terminal GPIO2, which are in circuit communication with each other, the detection terminal GPIO2 is in circuit communication with an emitter circuit of the transistor Q1, the ac detection circuit and the dc base circuit are both in circuit communication with a base circuit of the transistor Q1, and the detection and identification module includes:
and the signal sending unit is used for sending alternating current signals to the base electrode of the triode Q1 and the terminal equipment based on the alternating current detection circuit and sending direct current signals to the base electrode of the triode Q1 based on the direct current basic circuit when the external terminal equipment of the HDMI interface is detected.
Optionally, the conversion power supply module includes:
the signal acquisition unit is used for receiving a feedback signal obtained by the terminal equipment according to the alternating current signal and acquiring the total signal intensity of the feedback signal, the alternating current signal and the direct current signal;
and the comparison power supply unit is used for judging whether the total signal intensity is greater than the preset signal intensity or not, and if the total signal intensity is greater than the preset signal intensity, the main chip judges that the terminal equipment is a television stick and then drives the power supply module to supply power to the terminal equipment.
Optionally, the detection terminal GPIO2 is connected to the main chip, the dc base circuit includes a power supply VDD, a first resistor R1, a second resistor R2, a fourth resistor R4, a first capacitor C1 and a third capacitor C3, and one end of the power supply VDD is connected to one end of the first resistor R1, one end of the second resistor R2 and one end of the first capacitor C1; the other end of the first resistor R1 is connected with the base of the triode Q1, the fourth resistor R4 and one end of the third capacitor C3; the other end of the first capacitor C1 is connected with a detection end GPIO2 and the base electrode of a triode Q1, the other end of the second resistor R2 is connected with the base electrode of a triode Q1, and the emitter of the triode Q1 is connected with the rear grounding end of the fourth resistor R4;
the alternating current detection circuit comprises: the device comprises a second capacitor C2, a third resistor R3, a fourth capacitor C4 and an input end GPIO1, wherein the input end GPIO1 is connected with one end of a third resistor R3, the other end of the third resistor R3 is connected with one ends of the second capacitor C2 and the fourth capacitor C4, the other end of the fourth capacitor C4 is grounded, and the other end of the second capacitor C2 is connected with a third capacitor C3 and an HDMI interface;
the detection identification module further comprises:
the direct current signal unit is used for inputting a direct current signal with a voltage value V1 to the input detection circuit based on a power supply VDD, and the direct current signal sends a direct current signal to the base electrode of the triode Q1 through the first resistor R1;
the alternating current signal unit is used for inputting PWM (pulse width modulation) to the input detection circuit based on the input end GPIO1, obtaining a triangular wave with a preset peak value V2 through modulation filtering of the second capacitor C2 and the fourth capacitor C4, taking the triangular wave passing through the third capacitor C3 as an alternating current signal, and sending the triangular wave as a detection signal to the terminal equipment;
and the signal acquisition unit is used for receiving a feedback signal obtained by the terminal equipment according to the alternating current signal, taking the peak value of the amplified signal as V3 if the feedback signal is the amplified signal, and calculating the total signal intensity of the feedback signal, the alternating current signal and the direct current signal.
Optionally, the tv stick is preset with an RCL circuit, the RCL circuit includes a fifth capacitor C5, a first inductor L1, and a fifth resistor R5, one end of the fifth resistor R5 in the RCL circuit is connected to one end of the first inductor L1 and the HDMI interface, the other end of the first inductor L1 is connected to one end of the fifth capacitor C5, the other end of the fifth capacitor C5 is connected to the rear ground end of the fifth resistor R5,
and the signal obtaining unit is used for receiving a feedback signal obtained by the terminal equipment according to the alternating current signal, if the feedback signal is an amplified signal, the peak value of the amplified signal is taken as V3, the main chip sends the alternating current signal to the terminal equipment according to the alternating current detection circuit, the feedback signal of the terminal equipment is obtained, and if the terminal equipment is a television stick, the terminal equipment performs waveform conversion on a triangular wave with a preset peak value V2 based on a television stick preset RCL circuit to obtain a sine wave with a preset peak value V3 so as to form the feedback signal with the type of the amplified signal.
The invention relates to a power supply method and a device for a television stick, which utilize a television input detection circuit, a main chip, a power module and a television stick preset circuit to supply power to the television stick; when the external terminal equipment of the HDMI is detected, the main chip sends a detection signal to the terminal equipment based on the input detection circuit; if a feedback signal fed back by the terminal equipment according to the detection signal is received, the main chip judges that the terminal equipment is a television stick and then drives the power supply module to supply power to the terminal equipment; when the HDMI interface of the television detects that the terminal equipment is connected, the input detection circuit identifies the terminal equipment, the RCL circuit is preset on the basis of the television stick, the access equipment is determined to be the television stick and then the power is supplied to the television stick, and the HDMI interface is used on the premise of not influencing the existing HDMI interface standard to supply power to the television stick more accurately and conveniently.
Drawings
FIG. 1 is a schematic diagram of an HDMI interface in the power supply method for a TV stick according to the present invention;
FIG. 2 is a schematic structural diagram of a power supply method for a TV stick according to the present invention;
FIG. 3 is a schematic diagram of an input detection circuit involved in the power supply method of the TV stick according to the present invention;
FIG. 4 is a schematic diagram of an RCL implementation of a TV stick according to the power supply method of the TV stick of the present invention;
FIG. 5 is a schematic flow chart of a power supply method for a TV stick according to a first embodiment of the present invention;
FIG. 6 is a detailed flowchart of step S20 in FIG. 5;
FIG. 7 is a functional block diagram of a first embodiment of a TV stick power supply apparatus according to the present invention;
FIG. 8 is a schematic diagram of a refinement function module of the detection and identification module of FIG. 7;
FIG. 9 is a schematic diagram of a detailed functional block of the power conversion module of FIG. 7.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
The HDMI (High Definition multimedia interface) is a digital video/audio interface technology, is a special digital interface suitable for image transmission, and can simultaneously transmit audio and video signals; as shown in fig. 1, the HDMI standard a-type interface 100 adopted by the present invention includes 19 pins, where the 18 th pin 101, VCC (power supply voltage) is connected to a 5V power supply on a power module in a television, and is connected to a power input port on a PCB board of a television stick, the 19 th pin 102, HPD (hot plug detection) is connected to an input detection circuit in the television, and meanwhile, the 19 th pin 102 may be externally connected to a terminal device (that is, when the terminal device is a television stick, an internal processor and a preset RCL circuit of the television stick may be electrically connected), and the HDMI interface is adapted to a connector, and the pins correspond to each other (it is to be noted that, if the power supply method related to the present invention is used for HDMI interfaces of other models, or the present invention is connected to other pins of the HDMI standard a-type interface, the present invention is within.
The power supply method of the television stick is mainly applied to a television and the television stick, as shown in fig. 2, the television stick 200 mainly comprises a television stick preset RCL circuit 201, the television 300 mainly comprises a power module 301 used for providing 5V power for the television stick 200 when the access terminal equipment is determined to be the television stick 200, and a main chip 302 used for connecting an input detection circuit 303 and the power module 301 and simultaneously serving as an information interaction operation execution platform; the input detection circuit 303 is shown in fig. 3, and is used for identifying the access terminal device; fig. 4 shows a tv stick pre-set RCL circuit 201, which is connected to an input detection circuit to convert a triangular waveform into a sine wave; as shown in fig. 1, the 18 th pin 101VCC (power supply voltage) is connected to a power module in the television, and the 19 th pin 102 HPD (hot plug detect) is connected to an input detection circuit of the television.
The power supply method for the television stick is applied to a television and the television stick, the television comprises an HDMI (high-definition multimedia interface), a main chip, an input detection circuit and a power module, the input detection circuit and the power module are connected with the HDMI circuit, the RCL circuit is preset on the television stick, and referring to fig. 5, the power supply method for the television stick comprises the following steps in one embodiment:
step S10, when detecting that the HDMI interface is externally connected with the terminal equipment, the main chip sends a detection signal to the terminal equipment based on the input detection circuit;
when the HDMI interface of the television is connected with external terminal equipment (such as a DVD, a television stick and the like), the input detection circuit sends a detection signal (a detection signal is alternating current with a specific frequency waveform formed according to the circuit communication form of the input detection circuit) to the external terminal equipment through the HDMI interface, and the external terminal equipment can form a corresponding feedback signal according to the detection signal sent by the input detection circuit and send the corresponding feedback signal to the input detection circuit; as shown in fig. 3, the input detection circuit is connected to the pin designated by the HDMI interface, and after the existing HDMI1.4 standard is released, the HDMI interface function of the television is defined, and the 18 th pin and the 19 th pin in this scheme do not affect the functions of the existing pins after the input detection circuit is connected.
And step S20, if a feedback signal fed back by the terminal equipment according to the detection signal is received, the main chip judges that the terminal equipment is a television stick and then drives the power supply module to supply power to the terminal equipment.
The external terminal equipment forms a feedback signal according to a detection signal sent by the input detection circuit, and the main chip drives the power supply module to supply power to the terminal equipment after confirming that the terminal equipment is a television stick according to the feedback signal received by the input detection circuit; the corresponding external terminal equipment identification judgment is to utilize a 19 th pin of an HDMI interface, the 19 th pin function of the current HDMI interface is defined as HPD (hot plug detection), the 19 th pin is used for identifying the external equipment and completely accords with the HDMI standard, the television realizes automatic detection and identification of the television stick and supplies power to the television stick through an 18 th pin VCC pin of the HDMI, namely, a power module of the television adds a 5V power to an 18 th pin VCC of the HDMI interface to supply power to the television stick; (for example, when the 19 th pin HPD of the HDMI interface is hot-plugged and detects that the inserted terminal device is a DVD or other HDMI-capable input device, the 19 th pin is connected to an input detection circuit in the television, and it will be determined that the terminal device is not a tv stick, so that the 18 th pin of the television is connected to a power module and does not supply power to the terminal device, and the HDMI ensures that other terminal devices work normally, and the television realizes automatic detection and identification of the tv stick and supplies power to the HDMI-capable terminal device through a VCC pin of the HDMI).
In this embodiment, the power supply method for the tv stick is as follows: when the external terminal equipment of the HDMI interface is detected, the main chip sends a detection signal to the terminal equipment based on the input detection circuit, and if a feedback signal fed back by the terminal equipment according to the detection signal is received, the main chip judges that the terminal equipment is a television stick and then drives the power supply module to supply power to the terminal equipment; through lower cost, detect the terminal equipment who connects on the TV set, when detecting to obtain this terminal equipment for the TV stick, carry out the power supply operation to it, need not the user and utilize other equipment power supplies, realized the convenient power supply of TV stick, 18 th, 19 pins through HDMI simultaneously can not exert an influence to current function, also can not cause the harm to other connected device, accurate convenient carry out the automatic identification power supply to the TV stick.
Optionally, a second embodiment is provided on the basis of the first embodiment of the tv stick power supply method, in which the input detection circuit includes a transistor Q1, a dc base circuit, an ac detection circuit and a detection terminal GPIO2, which are in circuit communication with each other, the detection terminal GPIO2 is in circuit communication with an emitter circuit of the transistor Q1, the ac detection circuit and the dc base circuit are both in circuit communication with a base circuit of the transistor Q1,
as shown in fig. 3, the connection relationship between the dc basic circuit 400, the ac detection circuit 500, the detection terminal GPIO2 and the transistor Q1, which is to be noted, is the third capacitor C3, which can be divided into the dc basic circuit 400 or the ac detection circuit 500; the detection terminal GPIO2 is used for sending a power supply signal to the main chip when the terminal equipment is confirmed to be a television stick; the transistor Q1 in this embodiment is an NPN transistor.
The step S10 includes:
and step S11, when detecting the external terminal equipment of the HDMI, the main chip sends alternating current signals to the base electrode of the triode Q1 and the terminal equipment based on the alternating current detection circuit, and sends direct current signals to the base electrode of the triode Q1 based on the direct current basic circuit.
With reference to fig. 3, the power supply method for the tv stick of the present invention is mainly applied to a tv, when the tv circuit is connected (power on) the input detection circuit of the tv sends an ac signal (ac signal: ac with a fixed frequency preset peak value) to the base of the triode Q1 based on the ac detection circuit, and sends a dc signal (dc signal: dc with a fixed voltage value) to the base of the triode Q1 based on the dc base circuit; when the HDMI is externally connected with the terminal equipment, the main chip sends an alternating current signal to the external terminal equipment based on the alternating current detection circuit.
Specifically, when the television is started to work, the input detection circuit sends alternating current with a fixed preset frequency peak to the base electrode of the NPN type triode Q1, and meanwhile, the direct current basic circuit sends direct current with preset voltage to pass through the base electrode of the NPN type triode Q1; when the external terminal equipment of the HDMI is detected, an alternating current signal is sent to the terminal equipment based on the alternating current detection circuit; it should be further noted that, if the input detection circuit is modified, it is within the protection scope of the present solution that the voltage signal is sent to the base of the transistor Q1 after the terminal device is identified to be connected.
In this embodiment, through triode Q1, direct current basic circuit, interchange detection circuit and the sense terminal GPIO2 that input detection circuit mutual circuit intercommunication promptly, when terminal equipment passes through the HDMI interface and is connected with the TV set, refine the signal of telecommunication for the alternating current of specific frequency and the direct current of fixed voltage for the terminal equipment of access TV set detects the discernment, can be more accurate carry out terminal equipment discernment, and the detection circuitry structure is clear simultaneously, and the low maneuverability is strong.
Alternatively, referring to fig. 6, a third embodiment is proposed on the basis of the second embodiment of the tv stick power supply method, and the step S20 further includes:
step S21, the main chip receives a feedback signal obtained by the terminal equipment according to the alternating current signal and obtains the total signal intensity of the feedback signal, the alternating current signal and the direct current signal;
the terminal equipment connected to the HDMI of the television receives and processes a detection signal (detection signal: alternating current with specific frequency, waveform and peak value formed by a preset circuit element in the input detection circuit) sent by the input detection circuit of the television to form a feedback signal (feedback signal: alternating current signal received in the terminal equipment and processed alternating current signal), and then the feedback signal is transmitted back to a main chip of the television, the main chip receives the feedback signal obtained by the terminal equipment according to the alternating current signal, and the main chip obtains the total signal intensity of the feedback signal, the alternating current signal and the direct current signal (total signal intensity: all direct current in the detection circuit, the alternating current is superposed to obtain an electric signal, and the total signal intensity is represented as a current voltage value in the scheme).
And step S22, the main chip judges whether the total signal intensity is greater than the preset signal intensity, and if the total signal intensity is greater than the preset signal intensity, the main chip judges that the terminal equipment is a television stick and then drives the power supply module to supply power to the terminal equipment.
The main chip compares the acquired total signal intensity with a preset signal intensity, and the comparison result is represented by a circuit element, when the total signal intensity (total current voltage value) is greater than the preset signal intensity (preset voltage value); and the main chip identifies the terminal equipment according to the voltage value, and drives the VCC power supply module of the 18 th pin of the HDMI interface to supply power to the television stick after the terminal equipment is determined to be the television stick.
Referring to fig. 3, Q1 of an NPN transistor is connected to the input detection circuit, (the on voltage of the NPN transistor is about 0.7V, that is, the potential difference Ube between the base and the emitter is 0.7V, and the base voltage of Q1 of the NPN transistor is represented by VQ1Is expressed as Ube ═ VQ1Ve, emitter voltage Ve of transistor Q1 is 0) in the input detection circuit, and the main chip converts base voltage V of Q1 of NPN type transistor into voltage VQ1Comparing with the magnitude of the conducting voltage Ube; after the terminal equipment is connected, the base voltage V of the triode Q1Q1When the total voltage VQ1 of the base of the triode Q1 is greater than or equal to the conduction voltage of the triode by 0.7V, the conduction detection end GPIO2 of the triode outputs a power supply signal (the power supply signal is a pulse signal with specific frequency used as a power supply signal in the scheme), the main chip receives the power supply signal output by the detection end GPIO2, and the main chip controls the power module to supply power to the television stick according to the received power supply signal.
In this embodiment, the main chip receives an alternating current signal of the terminal device, obtains a total current voltage value in the circuit, compares whether the total signal intensity is greater than a preset signal intensity, if so, determines that the terminal device is a television stick and then drives the power supply module to supply power to the terminal device, the main chip takes a conduction voltage Ube of a triode Q1 as the preset signal intensity, compares the total base voltage of a triode Q1 with the conduction voltage of a triode Q1, when the triode Q1 is conducted, the main chip receives a power supply signal of a detection end GPIO2, and controls the power supply module to supply power to the television stick according to the received power supply signal; through the height of voltage, the terminal equipment rate of accuracy of discernment access TV set is high, can not appear discerning the condition that the terminal equipment was burnt out in wrong power supply, utilizes switching on of triode to judge that the terminal equipment who inserts the TV set is convenient for the power supply of TV stick, need not artificial external power supply equipment.
Optionally, a fourth embodiment is proposed on the basis of the third embodiment of the television stick power supply method, the detection terminal GPIO2 is connected to the main chip, the dc base circuit includes a power supply VDD, a first resistor R1, a second resistor R2, a fourth resistor R4, a first capacitor C1 and a third capacitor C3, and one end of the power supply VDD is connected to one end of the first resistor R1, the second resistor R2 and the first capacitor C1; the other end of the first resistor R1 is connected with the base of the triode Q1, the fourth resistor R4 and one end of the third capacitor C3; the other end of the first capacitor C1 is connected with a detection end GPIO2 and the base electrode of a triode Q1, the other end of the second resistor R2 is connected with the base electrode of a triode Q1, and the emitter of the triode Q1 is connected with the rear grounding end of the fourth resistor R4;
the alternating current detection circuit comprises: the device comprises a second capacitor C2, a third resistor R3, a fourth capacitor C4 and an input end GPIO1, wherein the input end GPIO1 is connected with one end of a third resistor R3, the other end of the third resistor R3 is connected with one ends of the second capacitor C2 and the fourth capacitor C4, the other end of the fourth capacitor C4 is grounded, and the other end of the second capacitor C2 is connected with a third capacitor C3 and an HDMI interface;
the step S10 further includes:
step S12, the main chip inputs a direct current signal of a voltage value V1 to the input detection circuit based on a power supply VDD, and the direct current signal sends the direct current signal to the base electrode of the triode Q1 through the first resistor R1;
referring to fig. 3, in the dc basic circuit 400, the power supply VDD is connected to the power supply of the main chip of the television (the voltage of the main chip of the television is preset to be 3.3V, and if the voltage of the main chip of the television is not 3.3V, it is sufficient if the function of the main chip is not affected), VDD provides the power supply for the detection circuit, the main chip inputs the dc signal with the voltage value V1 to the input detection circuit based on the power supply VDD, the dc signal sends the dc signal with the voltage value V1 to the base of the transistor Q1 through the first resistor R1, the third capacitor C3 blocks the dc and takes the ac, the dc does not affect the ac detection circuit 500, and it is assumed that the ac detection area 500 does not have ac through the third capacitor C3, and at this time, the base voltage V ofQ1Only the first resistor R1 and the fourth resistorR4 is resistance-dependent, and according to the voltage dividing formula V1 — VDD × R4/(R1+ R4) (for example, in order to facilitate understanding of the magnitude of each voltage value, the resistances of R1 and R4 are appropriately set in this embodiment, so that V1 — 350 mv) the dc signal of the voltage value V1 is lower than the conduction voltage of the transistor, the setting is to provide a base voltage for conduction of the transistor, only the ac power with a lower voltage value needs to be input in the ac detection circuit 500 to achieve conduction of the transistor, and meanwhile, since the ac power needs to enter the terminal device, the ac power with a lower voltage value can prevent the access terminal device from being burned out.
It should be noted that, when it is identified that the access device is a tv stick, the detection terminal GPIO2 outputs a power supply signal to the main chip, and after the main chip receives the signal, the main chip controls the power supply module to turn on the 5V power supply on the power supply module to supply power to the tv stick, where VDD is the power supply of the main chip of the tv, and the power supply module supplying power to the tv stick is a special power supply module in the tv, and the power supplies of the two power supplies have different purposes.
Step S13, the main chip inputs PWM to the input detection circuit based on the input end GPIO1, triangular waves of a preset peak value V2 are obtained through modulation filtering of the second capacitor C2 and the fourth capacitor C4, the triangular waves passing through the third capacitor C3 serve as alternating current signals, and the triangular waves serve as detection signals to be sent to the terminal equipment;
specifically, the main chip inputs PWM to the input detection circuit through the input terminal GPIO1, and the PWM is filtered through the second capacitor C2 and the fourth capacitor C4 to obtain a triangular wave with a preset peak value V2; when the HDMI interface has no external terminal equipment or the terminal equipment has no feedback signal to the detection signal sent by the alternating current detection circuit, the triangular wave with the preset peak value V2 directly passes through the third capacitor C3, and at the moment, the base voltage V of the triode Q1 isQ1VDD × R4/(R1+ R4) + V2/2; meanwhile, when the external terminal device is not a television stick, the triangular wave with the preset peak value V2 is used as a detection signal to enter the external terminal device (the triangular wave with the preset peak value V2 has low voltage and cannot damage the HDMI external terminal device when being added to the HPD), and at the moment, the voltage signal fed back to the main chip by the external terminal device cannot conduct the triode Q1.
For example, the master chip outputs a PW of 320kHzM pulse amplitude modulation signal gives input GPIO1, has a peak value to be 270 millivolts's triangle wave on HDMI's 19 th pin HPD, and the peak value is 270 millivolts's triangle wave, adds and can not cause the injury to HDMI access terminal equipment on HPD, triode Q1 base voltage V this momentQ1350 mv +270 mv/2 to 485 mv, transistor Q1 cannot be turned on.
The step S222 includes:
and the main chip receives a feedback signal obtained by the terminal equipment according to the alternating current signal, if the feedback signal is an amplified signal, the main chip takes the peak value of the amplified signal as V3, and the total signal intensity of the feedback signal, the alternating current signal and the direct current signal is calculated.
And the main chip receives a feedback signal obtained by the terminal equipment according to the alternating current signal, if the feedback signal is an amplified signal, namely the peak frequency of the voltage value of the alternating current in the feedback signal changes, the alternating current with the original peak value of V2 is converted into the alternating current with the peak value of V3, and the total signal intensity of the feedback signal, the alternating current signal and the direct current signal at the moment is calculated.
The main chip provides the direct current of predetermineeing voltage as direct current signal in this embodiment, utilize resistance series connection partial pressure, reduce direct current voltage to being less than the conduction voltage of triode, form low-voltage basic direct current circuit, further the alternating current of input low-voltage is as alternating current signal in input detection circuitry, enter into the terminal equipment who inserts the HDMI interface, what insert the HDMI interface when the TV set detects the discernment is the TV stick, the alternating current of low-voltage can not cause the injury to HDMI access terminal equipment, realized simultaneously through the purpose that the HDMI interface detected the discernment is the TV stick, the succinct practicality of circuit is strong.
Optionally, on the basis of the fourth embodiment of the tv stick power supply method, the tv stick of the fifth embodiment is provided with an RCL circuit, the RCL circuit includes a fifth capacitor C5, a first inductor L1, and a fifth resistor R5, in the RCL circuit, one end of the fifth resistor R5 is connected to one end of the first inductor L1 and the HDMI interface, the other end of the first inductor L1 is connected to one end of the fifth capacitor C5, the other end of the fifth capacitor C5 is connected to the other end of the fifth resistor R5 and then connected to the rear ground,
the step S22 further includes:
the main chip obtains a feedback signal of the terminal device according to an alternating current signal sent by the alternating current detection circuit to the terminal device, and if the terminal device is a television rod, the terminal device performs waveform conversion on a triangular wave with a preset peak value V2 based on a television rod preset RCL circuit to obtain a sine wave with a preset peak value V3 so as to form a feedback signal of an amplified signal type.
With reference to fig. 3, the main chip sends an ac signal to the terminal device according to the ac detection circuit, when the terminal device is a tv stick, that is, the RCL circuit preset on the tv stick is connected to the HPD pin 19, the RCL circuit preset on the tv stick is connected to the input detection circuit, the triangular wave with the preset peak value V2 is transformed into a sine wave with the preset peak value V3 by the RCL circuit preset on the tv stick, and at this time, the base voltage V of the triode Q1 is a sine waveQ1VDD × R4/(R1+ R4) + V3/2 (for example, an RCL circuit is introduced to the 19 th pin HPD of HDMI, the original triangular wave with a peak value of 270 mv will change into a sine wave with a peak value of 869 mv, and at this time, the base voltage V1 of the transistor Q1 is 350 mv +869 mv/2 is 784 mv, and the NPN transistor Q1 is turned on).
The invention improves the television stick by utilizing the HDMI interface, so that the television stick can normally work without being externally connected with a USB power line by directly connecting the television stick to the HDMI interface of the television, thereby not only saving special power supply accessories of the television stick, reducing the cost and improving the user experience, but also being completely compatible with the current HDMI interface standard by adding a simple detection circuit and an RCL circuit, having simple circuit and high cost performance, and having great application prospect.
The power supply method of the television stick is applied to a television, so that the television is improved, the television can be connected with a television stick circuit, the television comprises an HDMI interface, a main chip, an input detection circuit and a power supply module, the input detection circuit is connected with the HDMI interface circuit, the television stick is provided with an RCL circuit, and referring to fig. 7, the television comprises:
the detection and identification module 10 is used for sending a detection signal to the terminal equipment by the main chip based on the input detection circuit when the external terminal equipment of the HDMI is detected;
when the HDMI of the television is connected to an external terminal device (such as a DVD, a tv stick, etc.), the input detection circuit in the detection and identification module 10 sends a detection signal (detection signal: ac with a specific frequency waveform formed according to the circuit connection form of the input detection circuit) to the external terminal device through the HDMI, and the external terminal device can form a corresponding feedback signal according to the detection signal sent by the input detection circuit and send the corresponding feedback signal to the input detection circuit; as shown in fig. 3, the input detection circuit is connected to the pin designated by the HDMI interface, and after the existing HDMI1.4 standard is released, the HDMI interface function of the television is defined, and the 18 th pin and the 19 th pin in this scheme do not affect the functions of the existing pins after the input detection circuit is connected.
And the conversion power supply module 20 is used for driving the power supply module to supply power to the terminal equipment after the main chip judges that the terminal equipment is a television rod if a feedback signal fed back by the terminal equipment according to the detection signal is received.
The external terminal equipment forms a feedback signal according to a detection signal sent by the input detection circuit, and the main chip drives the power supply module to supply power to the terminal equipment after confirming that the terminal equipment is a television stick according to the feedback signal received by the input detection circuit; the corresponding external terminal equipment identification judgment is to utilize a 19 th pin of an HDMI interface, the 19 th pin function of the current HDMI interface is defined as HPD (hot plug detection), the 19 th pin is used for identifying the external equipment and completely accords with the HDMI standard, the television realizes automatic detection and identification of a television stick, and the conversion power supply module 20 supplies power to the external equipment through an 18 th pin VCC pin of the HDMI, namely, a power supply module of the television adds a 5V power to an 18 th pin VCC of the HDMI interface to supply power to the television stick; (for example, when the 19 th pin HPD of the HDMI interface is hot-plugged and detects that the inserted terminal device is a DVD or other HDMI-capable input device, the 19 th pin is connected to an input detection circuit in the television, and it will be determined that the terminal device is not a tv stick, so that the 18 th pin of the television is connected to a power module and does not supply power to the terminal device, and the HDMI ensures that other terminal devices work normally, and the television realizes automatic detection and identification of the tv stick and supplies power to the HDMI-capable terminal device through a VCC pin of the HDMI).
Television in the present embodiment: when the external terminal equipment of the HDMI interface is detected, the main chip sends a detection signal to the terminal equipment based on the input detection circuit, and if a feedback signal fed back by the terminal equipment according to the detection signal is received, the main chip judges that the terminal equipment is a television stick and then drives the power supply module to supply power to the terminal equipment; through lower cost, detect the terminal equipment who connects on the TV set, when detecting to obtain this terminal equipment for the TV stick, carry out the power supply operation to it, need not the user and utilize other equipment power supplies, realized the convenient power supply of TV stick, 18 th, 19 pins through HDMI simultaneously can not exert an influence to current function, also can not cause the harm to other connected device, accurate convenient carry out the automatic identification power supply to the TV stick.
Optionally, a second embodiment is proposed on the basis of the first embodiment of the television, and for the second embodiment, the input detection circuit includes a transistor Q1, a dc base circuit, an ac detection circuit and a detection terminal GPIO2, which are in circuit communication with each other, the detection terminal GPIO2 is in circuit communication with an emitter circuit of the transistor Q1, the ac detection circuit and the dc base circuit are both in circuit communication with a base circuit of the transistor Q1,
as shown in fig. 3, the connection relationship between the dc basic circuit 400, the ac detection circuit 500, the detection terminal GPIO2 and the transistor Q1, which is to be noted, is the third capacitor C3, which can be divided into the dc basic circuit 400 or the ac detection circuit 500; the detection terminal GPIO2 is used for sending a power supply signal to the main chip when the terminal equipment is confirmed to be a television stick; the transistor Q1 in this embodiment is an NPN transistor.
Referring to fig. 8, the detection and identification module 10 of the television set includes:
and the signal sending unit 11 is used for sending an alternating current signal to the base of the triode Q1 and the terminal equipment based on the alternating current detection circuit and sending a direct current signal to the base of the triode Q1 based on the direct current basic circuit when the external terminal equipment of the HDMI interface is detected.
Referring to fig. 3, when the television circuit is connected (power on), the signal transmitting unit 11 on the television, when being input to the detection circuit, transmits an ac signal (ac signal: ac with a fixed frequency preset peak value) to the base of the transistor Q1 based on the ac detection circuit, and transmits a dc signal (dc signal: dc with a fixed voltage value) to the base of the transistor Q1 based on the dc base circuit; when the HDMI is externally connected with the terminal equipment, the main chip sends an alternating current signal to the external terminal equipment based on the alternating current detection circuit.
Specifically, when the television is started to work, the input detection circuit sends alternating current with a fixed preset frequency peak to the base electrode of the NPN type triode Q1, and meanwhile, the direct current basic circuit sends direct current with preset voltage to pass through the base electrode of the NPN type triode Q1; when the external terminal equipment of the HDMI is detected, an alternating current signal is sent to the terminal equipment based on the alternating current detection circuit; it should be further noted that, if the input detection circuit is modified, it is within the protection scope of the present solution that the voltage signal is sent to the base of the transistor Q1 after the terminal device is identified to be connected.
In this embodiment, through triode Q1, direct current basic circuit, interchange detection circuit and the sense terminal GPIO2 that input detection circuit mutual circuit intercommunication promptly, when terminal equipment passes through the HDMI interface and is connected with the TV set, refine the signal of telecommunication for the alternating current of specific frequency and the direct current of fixed voltage for the terminal equipment of access TV set detects the discernment, can be more accurate carry out terminal equipment discernment, and the detection circuitry structure is clear simultaneously, and the low maneuverability is strong.
Optionally, referring to fig. 9, a third embodiment is proposed on the basis of the second embodiment, where the television conversion power supply module 20 includes:
the signal acquiring unit 21 is used for the main chip to receive a feedback signal obtained by the terminal device according to the alternating current signal and acquire the total signal intensity of the feedback signal, the alternating current signal and the direct current signal;
the terminal device connected to the HDMI of the tv receives and processes a detection signal (detection signal: ac power with a specific frequency, waveform, and peak value formed by a preset circuit element in the input detection circuit) sent by the input detection circuit of the tv to form a feedback signal (feedback signal: ac signal received by the terminal device and processed ac signal), and then returns the feedback signal to the main chip of the tv, the main chip of the signal acquisition unit 21 receives the feedback signal obtained by the terminal device according to the ac signal, and the main chip acquires the total signal strength (total signal strength: electric signal obtained by superimposing all dc power and ac power in the detection circuit, and the total signal strength is represented as a current-voltage value in this scheme) of the feedback signal, the ac signal, and the dc signal.
And the comparison power supply unit 22 is used for judging whether the total signal intensity is greater than the preset signal intensity by the main chip, and if the total signal intensity is greater than the preset signal intensity, judging that the terminal equipment is a television stick by the main chip and then driving the power supply module to supply power to the terminal equipment.
The main chip compares the acquired total signal intensity with a preset signal intensity, and the comparison power supply unit 22 passes the comparison result through the performance of circuit elements, when the total signal intensity (total current voltage value) is greater than the preset signal intensity (preset voltage value); and the main chip identifies the terminal equipment according to the voltage value, and drives the VCC power supply module of the 18 th pin of the HDMI interface to supply power to the television stick after the terminal equipment is determined to be the television stick.
Referring to fig. 3, Q1 of an NPN transistor is connected to the input detection circuit, (the on voltage of the NPN transistor is about 0.7V, that is, the potential difference Ube between the base and the emitter is 0.7V, and the base voltage of Q1 of the NPN transistor is represented by VQ1Is expressed as Ube ═ VQ1Ve, emitter voltage Ve of transistor Q1 is 0) in the input detection circuit, and the main chip converts base voltage V of Q1 of NPN type transistor into voltage VQ1Comparing with the magnitude of the conducting voltage Ube; after the terminal equipment is connected, the base voltage V of the triode Q1Q1When the total voltage VQ1 of the base of the triode Q1 is greater than or equal to the conduction voltage of the triode by 0.7V, the conduction detection end GPIO2 of the triode outputs a power supply signal (the power supply signal is a pulse signal with specific frequency used as a power supply signal in the scheme), the main chip receives the power supply signal output by the detection end GPIO2, and the main chip controls the power module to supply power to the television stick according to the received power supply signal.
In this embodiment, the main chip receives an alternating current signal of the terminal device, obtains a total current voltage value in the circuit, compares whether the total signal intensity is greater than a preset signal intensity, if so, determines that the terminal device is a television stick and then drives the power supply module to supply power to the terminal device, the main chip takes a conduction voltage Ube of a triode Q1 as the preset signal intensity, compares the total base voltage of a triode Q1 with the conduction voltage of a triode Q1, when the triode Q1 is conducted, the main chip receives a power supply signal of a detection end GPIO2, and controls the power supply module to supply power to the television stick according to the received power supply signal; through the height of voltage, the terminal equipment rate of accuracy of discernment access TV set is high, can not appear discerning the condition that the terminal equipment was burnt out in wrong power supply, utilizes switching on of triode to judge that the terminal equipment who inserts the TV set is convenient for the power supply of TV stick, need not artificial external power supply equipment.
Optionally, a fourth embodiment is proposed on the basis of the third embodiment of the television, the detection terminal GPIO2 is connected to the main chip, the dc base circuit includes a power supply VDD, a first resistor R1, a second resistor R2, a fourth resistor R4, a first capacitor C1 and a third capacitor C3, and one end of the power supply VDD is connected to one end of the first resistor R1, one end of the second resistor R2 and one end of the first capacitor C1; the other end of the first resistor R1 is connected with the base of the triode Q1, the fourth resistor R4 and one end of the third capacitor C3; the other end of the first capacitor C1 is connected with a detection end GPIO2 and the base electrode of a triode Q1, the other end of the second resistor R2 is connected with the base electrode of a triode Q1, and the emitter of the triode Q1 is connected with the rear grounding end of the fourth resistor R4;
the alternating current detection circuit comprises: the device comprises a second capacitor C2, a third resistor R3, a fourth capacitor C4 and an input end GPIO1, wherein the input end GPIO1 is connected with one end of a third resistor R3, the other end of the third resistor R3 is connected with one ends of the second capacitor C2 and the fourth capacitor C4, the other end of the fourth capacitor C4 is grounded, and the other end of the second capacitor C2 is connected with a third capacitor C3 and an HDMI interface;
the detection and identification module 10 further includes:
the direct current signal unit 12 is used for inputting a direct current signal with a voltage value V1 to the input detection circuit by the main chip based on a power supply VDD, and the direct current signal sends the direct current signal to the base electrode of the triode Q1 through the first resistor R1;
referring to fig. 3, in the dc basic circuit 400, the power VDD is connected to the power supply of the main chip of the television (the voltage of the main chip of the television is preset to be 3.3V, and if the voltage of the main chip of the television is not 3.3V, it is sufficient if the function of the main chip is not affected), VDD provides the power supply for the detection circuit, the main chip dc signal unit 12 inputs the dc signal with the voltage value V1 to the input detection circuit based on the power VDD, the dc signal sends the dc signal with the voltage value V1 to the base of the transistor Q1 through the first resistor R1, the third capacitor C3 isolates the dc to take the ac function, the dc does not affect the ac detection circuit 500, and it is assumed that no ac current flows through the third capacitor C3 in the ac detection area 500, and at this time, the base voltage V of theQ1Only in relation to the resistance values of the first resistor R1 and the fourth resistor R4, according to the voltage division formula V1 — VDD × R4/(R1+ R4) (for example, in order to facilitate understanding of the magnitudes of the respective voltage values, the resistance values of R1 and R4 are appropriately set in this embodiment, so that V1 — 350 mv) the dc signal of the voltage value V1 is lower than the conduction voltage of the transistor, the setting is to provide a base voltage for conduction of the transistor, only the ac power with a lower voltage value needs to be input in the ac detection circuit 500 to achieve conduction of the transistor, and meanwhile, since the ac power needs to enter the terminal device, the ac power with a lower voltage value can prevent the access terminal device from being burned out.
It should be noted that, when it is identified that the access device is a tv stick, the detection terminal GPIO2 outputs a power supply signal to the main chip, and after the main chip receives the signal, the main chip controls the power supply module to turn on the 5V power supply on the power supply module to supply power to the tv stick, where VDD is the power supply of the main chip of the tv, and the power supply module supplying power to the tv stick is a special power supply module in the tv, and the power supplies of the two power supplies have different purposes.
The alternating current signal unit 13 is used for the main chip to input PWM (pulse width modulation) to the input detection circuit based on the input end GPIO1, obtain a triangular wave with a preset peak value V2 through modulation filtering of the second capacitor C2 and the fourth capacitor C4, use the triangular wave passing through the third capacitor C3 as an alternating current signal, and send the triangular wave as a detection signal to the terminal equipment;
specifically, the alternating current signal unit 13 inputs PWM to the input detection circuit through the input terminal GPIO1, and obtains a triangular wave with a preset peak value V2 through filtering by the second capacitor C2 and the fourth capacitor C4; when the HDMI interface has no external terminal equipment or the terminal equipment has no feedback signal to the detection signal sent by the alternating current detection circuit, the triangular wave with the preset peak value V2 directly passes through the third capacitor C3, and at the moment, the base voltage V of the triode Q1 isQ1VDD × R4/(R1+ R4) + V2/2; meanwhile, when the external terminal device is not a television stick, the triangular wave with the preset peak value V2 is used as a detection signal to enter the external terminal device (the triangular wave with the preset peak value V2 has low voltage and cannot cause damage to the HDMI external terminal device when being added to the HPD), and at the moment, the voltage signal fed back to the main chip by the external terminal device cannot conduct the triode Q1.
For example, the main chip outputs a 320kHz PWM signal to the input terminal GPIO1, a peak value of 270 mV triangle wave is generated on the 19 th pin HPD of HDMI, the peak value of 270 mV triangle wave is generated on the HPD, no harm is caused to the HDMI access terminal equipment, and at this time, the base voltage V of the triode Q1 is applied to the HPDQ1350 mv +270 mv/2 to 485 mv, transistor Q1 cannot be turned on.
The comparison power supply unit 22 includes:
and the main chip receives a feedback signal obtained by the terminal equipment according to the alternating current signal, if the feedback signal is an amplified signal, the main chip takes the peak value of the amplified signal as V3, and the total signal intensity of the feedback signal, the alternating current signal and the direct current signal is calculated.
And the main chip receives a feedback signal obtained by the terminal equipment according to the alternating current signal, if the feedback signal is an amplified signal, namely the peak frequency of the voltage value of the alternating current in the feedback signal changes, the alternating current with the original peak value of V2 is converted into the alternating current with the peak value of V3, and the total signal intensity of the feedback signal, the alternating current signal and the direct current signal at the moment is calculated.
The main chip provides the direct current of predetermineeing voltage as direct current signal in this embodiment, utilize resistance series connection partial pressure, reduce direct current voltage to being less than the conduction voltage of triode, form low-voltage basic direct current circuit, further the alternating current of input low-voltage is as alternating current signal in input detection circuitry, enter into the terminal equipment who inserts the HDMI interface, what insert the HDMI interface when the TV set detects the discernment is the TV stick, the alternating current of low-voltage can not cause the injury to HDMI access terminal equipment, realized simultaneously through the purpose that the HDMI interface detected the discernment is the TV stick, the succinct practicality of circuit is strong.
Optionally, a fifth embodiment is proposed on the basis of the fourth embodiment, the tv stick is provided with an RCL circuit, the RCL circuit includes a fifth capacitor C5, a first inductor L1 and a fifth resistor R5, one end of the fifth resistor R5 in the RCL circuit is connected to one end of the first inductor L1 and the HDMI interface, the other end of the first inductor L1 is connected to one end of the fifth capacitor C5, the other end of the fifth capacitor C5 is connected to the other end of the fifth resistor R5 and then connected to the rear ground,
the comparison power supply unit 22 further includes:
the main chip obtains a feedback signal of the terminal device according to an alternating current signal sent by the alternating current detection circuit to the terminal device, and if the terminal device is a television rod, the terminal device performs waveform conversion on a triangular wave with a preset peak value V2 based on a television rod preset RCL circuit to obtain a sine wave with a preset peak value V3 so as to form a feedback signal of an amplified signal type.
With reference to fig. 3, the main chip sends an ac signal to the terminal device according to the ac detection circuit, when the terminal device is a tv stick, that is, the RCL circuit preset on the tv stick is connected to the HPD pin 19, the RCL circuit preset on the tv stick is connected to the input detection circuit, the triangular wave with the preset peak value V2 is transformed into a sine wave with the preset peak value V3 by the RCL circuit preset on the tv stick, and at this time, the base voltage V of the triode Q1 is a sine waveQ1VDD × R4/(R1+ R4) + V3/2 (for example, an RCL circuit is introduced to the 19 th pin HPD of HDMI, the original triangular wave with a peak value of 270 mv will change into a sine wave with a peak value of 869 mv, and at this time, the base voltage V1 of the transistor Q1 is 350 mv +869 mv/2 is 784 mv, and the NPN transistor Q1 is turned on).
The HDMI of the television is connected and adapted with the HDMI connector of the television stick; when the terminal equipment is a television stick, the television stick receives a detection signal sent by a television, the detection signal is processed to form a feedback signal based on the RCL circuit, the television stick is improved based on the television, the television stick is enabled to be capable of normally working without being externally connected with a USB power line and directly connected to an HDMI (high-definition multimedia interface) of the television, so that a special power supply accessory of the television stick is omitted, convenient charging of the television stick is realized by conveniently charging the television stick at a low cost, the operability is high, the existing HDMI standard is compatible, the problem that the equipment is burnt out and the like due to misoperation of a user is avoided, the cost is reduced, the user experience is improved, the simple RCL circuit is added, the existing HDMI standard is completely compatible, the circuit is concise and high in cost performance, and has a great application prospect.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.
Claims (10)
1. A power supply method for a television stick is characterized in that the power supply method is applied to a television and the television stick, the television comprises an HDMI interface, a main chip, an input detection circuit and a power module, the input detection circuit is connected with the HDMI interface circuit, the RCL circuit is preset in the television stick, and the power supply method for the television stick comprises the following steps:
when the external terminal equipment of the HDMI is detected, the main chip sends a detection signal to the terminal equipment based on the input detection circuit;
if a feedback signal fed back by the terminal equipment according to the detection signal is received, the main chip judges that the terminal equipment is a television stick and then drives the power supply module to supply power to the terminal equipment;
wherein the detection signal comprises: alternating current signal and direct current signal, the input detection circuit includes: a DC base circuit and an AC detection circuit;
the direct current basic circuit comprises a power supply (VDD), a first resistor (R1), a second resistor (R2), a fourth resistor (R4), a first capacitor (C1) and a third capacitor (C3), wherein one end of the power supply (VDD) is connected with one ends of the first resistor (R1), the second resistor (R2) and the first capacitor (C1); the other end of the first resistor (R1) is connected with the base of the triode (Q1), the fourth resistor (R4) and one end of the third capacitor (C3); the other end of the first capacitor (C1) is connected with the detection end (GPIO 2) and the base of the triode (Q1), the other end of the second resistor (R2) is connected with the base of the triode (Q1), and the emitter of the triode (Q1) is connected with the other end of the fourth resistor (R4) and then is grounded;
the alternating current detection circuit comprises: the HDMI interface circuit comprises a second capacitor (C2), a third resistor (R3), a fourth capacitor (C4) and an input end (GPIO 1), wherein the input end (GPIO 1) is connected with one end of the third resistor (R3), the other end of the third resistor (R3) is connected with one ends of the second capacitor (C2) and the fourth capacitor (C4), the other end of the fourth capacitor (C4) is grounded, and the other end of the second capacitor (C2) is connected with the third capacitor (C3) and the HDMI interface.
2. The method of claim 1, wherein the input detection circuit comprises a transistor (Q1), a dc base circuit, an ac detection circuit, and a detection terminal (GPIO 2) in circuit communication with each other, the detection terminal (GPIO 2) being in circuit communication with an emitter circuit of the transistor (Q1), the ac detection circuit and the dc base circuit both being in circuit communication with a base circuit of the transistor (Q1);
when detecting external terminal equipment of HDMI interface, main chip includes to the terminal equipment sending detected signal based on input detection circuit:
when the external terminal equipment of the HDMI interface is detected, the main chip sends alternating current signals to the base electrode of the triode (Q1) and the terminal equipment based on the alternating current detection circuit, and sends direct current signals to the base electrode of the triode (Q1) based on the direct current basic circuit.
3. The method for supplying power to a tv stick according to claim 2, wherein the step of determining, by the main chip, that the terminal device is a tv stick and then powering the terminal device with the driving power module, if a feedback signal fed back by the terminal device according to the detection signal is received, comprises:
the main chip receives a feedback signal obtained by the terminal equipment according to the alternating current signal and acquires the total signal intensity of the feedback signal, the alternating current signal and the direct current signal;
the main chip judges whether the total signal intensity is greater than the preset signal intensity, and if the total signal intensity is greater than the preset signal intensity, the main chip judges that the terminal equipment is a television stick and then drives the power supply module to supply power to the terminal equipment.
4. The method for supplying power to a television rod according to claim 3, wherein the detection terminal (GPIO 2) is connected to a main chip, and the step of the main chip sending a detection signal to a terminal device based on the input detection circuit comprises:
the main chip inputs a direct current signal with a voltage value of V1 to the input detection circuit based on a power supply (VDD), and the direct current signal transmits the direct current signal to the base electrode of a triode (Q1) through a first resistor (R1);
the main chip inputs PWM to the input detection circuit based on the input end (GPIO 1), triangular waves with preset peak values V2 are obtained through modulation filtering of a second capacitor (C2) and a fourth capacitor (C4), the triangular waves passing through the third capacitor (C3) are used as alternating current signals, and the triangular waves are used as detection signals and sent to terminal equipment;
the step of receiving the feedback signal obtained by the terminal device according to the alternating current signal and acquiring the total signal intensity of the feedback signal, the alternating current signal and the direct current signal comprises the following steps:
and the main chip receives a feedback signal obtained by the terminal equipment according to the alternating current signal, if the feedback signal is an amplified signal, the main chip takes the peak value of the amplified signal as V3, and the total signal intensity of the feedback signal, the alternating current signal and the direct current signal is calculated.
5. The method for supplying power to a TV stick according to claim 4, wherein the TV stick is provided with an RCL circuit, the RCL circuit comprises a fifth capacitor (C5), a first inductor (L1) and a fifth resistor (R5), one end of the fifth resistor (R5) in the RCL circuit is connected with one end of the first inductor (L1) and the HDMI interface, the other end of the first inductor (L1) is connected with one end of the fifth capacitor (C5), the other end of the fifth capacitor (C5) is connected with the other end of the fifth resistor (R5) and then grounded,
the main chip receives a feedback signal obtained by the terminal device according to the alternating current signal, if the feedback signal is an amplification signal, the main chip takes the peak value of the amplification signal as V3, and the step of calculating the total signal intensity of the feedback signal, the alternating current signal and the direct current signal comprises the following steps:
the main chip obtains a feedback signal of the terminal device according to an alternating current signal sent by the alternating current detection circuit to the terminal device, and if the terminal device is a television rod, the terminal device performs waveform conversion on a triangular wave with a preset peak value V2 based on a television rod preset RCL circuit to obtain a sine wave with a preset peak value V3 so as to form a feedback signal of an amplified signal type.
6. The utility model provides a TV stick power supply unit, its characterized in that, the TV set can with TV stick circuit connection, the TV set includes HDMI interface, main chip and input detection circuitry and power module who is connected with HDMI interface circuit, the RCL circuit is predetermine to the TV stick, main chip includes:
the detection identification module is used for sending a detection signal to the terminal equipment based on the input detection circuit when the external terminal equipment of the HDMI is detected;
the conversion power supply module is used for judging that the terminal equipment is a television stick and then driving the power supply module to supply power to the terminal equipment if a feedback signal fed back by the terminal equipment according to the detection signal is received;
wherein the detection signal comprises: alternating current signal and direct current signal, the input detection circuit includes: a DC base circuit and an AC detection circuit;
the direct current basic circuit comprises a power supply (VDD), a first resistor (R1), a second resistor (R2), a fourth resistor (R4), a first capacitor (C1) and a third capacitor (C3), wherein one end of the power supply (VDD) is connected with one ends of the first resistor (R1), the second resistor (R2) and the first capacitor (C1); the other end of the first resistor (R1) is connected with the base of the triode (Q1), the fourth resistor (R4) and one end of the third capacitor (C3); the other end of the first capacitor (C1) is connected with the detection end (GPIO 2) and the base of the triode (Q1), the other end of the second resistor (R2) is connected with the base of the triode (Q1), and the emitter of the triode (Q1) is connected with the other end of the fourth resistor (R4) and then is grounded;
the alternating current detection circuit comprises: the HDMI interface circuit comprises a second capacitor (C2), a third resistor (R3), a fourth capacitor (C4) and an input end (GPIO 1), wherein the input end (GPIO 1) is connected with one end of the third resistor (R3), the other end of the third resistor (R3) is connected with one ends of the second capacitor (C2) and the fourth capacitor (C4), the other end of the fourth capacitor (C4) is grounded, and the other end of the second capacitor (C2) is connected with the third capacitor (C3) and the HDMI interface.
7. The tv stick power supply of claim 6 wherein the input detection circuit comprises a transistor (Q1), a dc base circuit, an ac detection circuit, and a detection terminal (GPIO 2) in circuit communication with each other, the detection terminal (GPIO 2) being in circuit communication with an emitter circuit of the transistor (Q1), the ac detection circuit and the dc base circuit each being in circuit communication with a base of the transistor (Q1), the detection and identification module comprising:
and the signal sending unit is used for sending alternating current signals to the base electrode of the triode (Q1) and the terminal equipment based on the alternating current detection circuit and sending direct current signals to the base electrode of the triode (Q1) based on the direct current basic circuit when the external terminal equipment of the HDMI interface is detected.
8. The tv wand power supply of claim 7, wherein the conversion power module comprises:
the signal acquisition unit is used for receiving a feedback signal obtained by the terminal equipment according to the alternating current signal and acquiring the total signal intensity of the feedback signal, the alternating current signal and the direct current signal;
and the comparison power supply unit is used for judging whether the total signal intensity is greater than the preset signal intensity or not, and if the total signal intensity is greater than the preset signal intensity, the main chip judges that the terminal equipment is a television stick and then drives the power supply module to supply power to the terminal equipment.
9. The tv stick power supply unit according to claim 8, wherein the detection terminal (GPIO 2) is connected to a main chip, and the detection recognition module further comprises:
a direct current signal unit for inputting a direct current signal of a voltage value V1 to the input detection circuit based on a power supply (VDD), the direct current signal transmitting the direct current signal to the base of the triode (Q1) through the first resistor (R1);
the alternating current signal unit is used for inputting PWM to the input detection circuit based on the input end (GPIO 1), obtaining a triangular wave with a preset peak value V2 through modulation filtering of the second capacitor (C2) and the fourth capacitor (C4), taking the triangular wave passing through the third capacitor (C3) as an alternating current signal, and sending the triangular wave as a detection signal to the terminal equipment;
an acquisition signal unit for:
and the receiving terminal equipment obtains a feedback signal according to the alternating current signal, if the feedback signal is an amplified signal, the peak value of the amplified signal is taken as V3, and the total signal intensity of the feedback signal, the alternating current signal and the direct current signal is calculated.
10. The tv stick power supply apparatus of claim 9, wherein the tv stick is provided with an RCL circuit, the RCL circuit includes a fifth capacitor (C5), a first inductor (L1) and a fifth resistor (R5), one end of the fifth resistor (R5) in the RCL circuit is connected to one end of the first inductor (L1) and the HDMI interface, the other end of the first inductor (L1) is connected to one end of the fifth capacitor (C5), the other end of the fifth capacitor (C5) is connected to the rear ground end of the fifth resistor (R5),
acquisition signal unit for
Receiving a feedback signal obtained by the terminal equipment according to the alternating current signal, if the feedback signal is an amplified signal, taking the peak value of the amplified signal as V3, obtaining the feedback signal of the terminal equipment by the main chip according to the alternating current signal sent by the alternating current detection circuit to the terminal equipment, and if the terminal equipment is a television stick, performing waveform conversion on a triangular wave with a preset peak value V2 by the terminal equipment based on a television stick preset RCL circuit to obtain a sine wave with a preset peak value V3 so as to form the feedback signal of the type of the amplified signal.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611186032.0A CN106713795B (en) | 2016-12-20 | 2016-12-20 | Television stick power supply method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611186032.0A CN106713795B (en) | 2016-12-20 | 2016-12-20 | Television stick power supply method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106713795A CN106713795A (en) | 2017-05-24 |
CN106713795B true CN106713795B (en) | 2020-04-24 |
Family
ID=58938477
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201611186032.0A Active CN106713795B (en) | 2016-12-20 | 2016-12-20 | Television stick power supply method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106713795B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107749965A (en) * | 2017-09-27 | 2018-03-02 | 京东方科技集团股份有限公司 | A kind of circuit board and display device |
Family Cites Families (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP4591575B2 (en) * | 2008-08-08 | 2010-12-01 | ソニー株式会社 | Electronic device and power supply state control method for electronic device |
CN201837990U (en) * | 2010-10-22 | 2011-05-18 | 华为终端有限公司 | Detection circuit and mobile terminal |
CN203027384U (en) * | 2012-12-03 | 2013-06-26 | 深圳市睿碒科技有限公司 | Power supply unit of android TV stick based on HDMI (High-Definition Multimedia Interface) interface |
CN203368616U (en) * | 2013-06-28 | 2013-12-25 | 深圳Tcl新技术有限公司 | Automatic power supply system based on HDMI interfaces |
CN106463097B (en) * | 2014-06-19 | 2019-11-05 | 谷歌有限责任公司 | For providing system, method and the medium of electric power to HDMI information source |
WO2016000269A1 (en) * | 2014-07-04 | 2016-01-07 | 鸿富锦精密工业(深圳)有限公司 | Display system, display device and tv stick |
CN204836118U (en) * | 2015-08-26 | 2015-12-02 | 那鸿书 | Energy -saving control circuit and row of inserting thereof |
-
2016
- 2016-12-20 CN CN201611186032.0A patent/CN106713795B/en active Active
Also Published As
Publication number | Publication date |
---|---|
CN106713795A (en) | 2017-05-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9142985B2 (en) | Battery charger for portable electronic equipment | |
CN106100858B (en) | Standard POE and force non-standard POE integration to receive power supply circuit | |
WO2016173202A1 (en) | Tablet pc | |
CN106026705A (en) | Adapter | |
CN107333085B (en) | A kind of power supply unit and power supply system | |
CN103379420A (en) | Method and electronic device for determining earphone line sequence | |
KR20200001747U (en) | Display Driver Board Card With Multiple TYPE-C Full-Featured Interfaces | |
US7917779B2 (en) | Power control apparatus for motherboard | |
TWM376027U (en) | Embedded type electric charging socket | |
CN103533281A (en) | MHL identification control circuit for enhancing compatibility | |
CN106713795B (en) | Television stick power supply method and device | |
TW201643586A (en) | Power supply system | |
US8840425B2 (en) | Connector apparatus and adapter apparatus with indication function | |
CN107333073B (en) | Prevent external image information source interface circuit of halting | |
JP5433357B2 (en) | Cable connection detection circuit | |
CN111277021A (en) | Load connection identification circuit of switching power supply and multi-port charger | |
WO2009127085A1 (en) | Methods and systems of controlling an electronic device's i/o terminals using pulse-width modulation | |
CN209486744U (en) | Low-power consumption fingerprint lock control circuit | |
CN208520942U (en) | Receiving end equipment, source end equipment and detection system of display port | |
CN213305559U (en) | HDMI external connection processing device based on HDMI detection power supply automatic identification | |
CN221633042U (en) | Quick-charging data line | |
CN204029149U (en) | Based on the Infrared remote controller of smart machine | |
CN110247455A (en) | Television set | |
CN104600512B (en) | A kind of flush plug receptacle with controlled source interface and USB interface of infrared remote control signal decoding process based on microprocessor | |
CN215678717U (en) | Insertion detection circuit |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |