Embodiment
To coordinate drawings and Examples to describe the application's execution mode in detail below, by this application's implementation procedure how application technology means solve technical problem and reach technology effect can be fully understood and be implemented according to this.
As used some vocabulary in the middle of specification and claim, censure specific components.Those skilled in the art should understand, and hardware manufacturer may be called same assembly with different nouns.This specification and claims are not used as distinguishing the mode of assembly with the difference of title, but the difference in function is used as the criterion of distinguishing with assembly.If " comprising " mentioned in the middle of specification and claim is in the whole text an open language, therefore should be construed to " comprise but be not limited to "." roughly " refer to that in receivable error range, those skilled in the art can solve the technical problem within the scope of certain error, reach described technique effect substantially.In addition " couple ", or " electric connection " word comprises directly any and electric property coupling means indirectly at this.Therefore, if describe a first device in literary composition, be coupled to one second device, represent that described first device can directly be electrically coupled to described the second device, or be indirectly electrically coupled to described the second device by other devices or the means that couple.Specification subsequent descriptions is for implementing the application's better embodiment, and right described description is to illustrate that the application's rule is object, not in order to limit the application's scope.The application's protection range is when being as the criterion depending on the claims person of defining.
Also it should be noted that, term " comprises ", " comprising " or its any other variant are intended to contain comprising of nonexcludability, thereby the process, method, commodity or the system that make to comprise a series of key elements not only comprise those key elements, but also comprise other key elements of clearly not listing, or be also included as the intrinsic key element of this process, method, commodity or system.The in the situation that of more restrictions not, the key element being limited by statement " comprising ... ", and be not precluded within process, method, commodity or the system that comprises described key element and also have other identical element.
the application's application scenarios
While carrying out signal transmission according to HDMI agreement between terminal equipment and source equipment, the power pins of the HDMI interface on terminal equipment is damaged or when connecting the power pins of the HDMI joint of terminal equipment and damage, cause terminal equipment detecting less than the power supply signal of source equipment, and can not corresponding send hot plug detection signal, thereby make between terminal equipment and source equipment to be applicable to cannot proper communication time the application's scheme.
embodiment describes
As shown in Figure 1, the HDMI signal processing circuit 10 that the application the first embodiment discloses, be applicable on terminal equipment 20, make terminal equipment 20 be coupled to source equipment 30 by HDMI signal processing circuit 10, wherein terminal equipment 20 can be but be not limited to the image playback equipments such as television set and projector, and source equipment 30 can be the audio frequency and video output equipments such as Set Top Box, DVD player, computer or game machine, in the present embodiment, to take terminal equipment 20 as television set, source equipment 30 be Set Top Box as an example, but not as limit.
Please refer to Fig. 1 to Fig. 3, HDMI signal processing circuit 10 comprises HDMI interface 110, power module 120 and control unit 130.
HDMI interface 110 comprises hot plug detecting (Hot Plug Detect, HPD) pin 111, serial time clock line (Serial Clock Line, SCL) pin 112 and serial data line (Serial Data Line, SDA) pin 113, be respectively coupled to control unit 130, wherein hot plug detecting pin 111 comprises signal end HPA_A and test side HDMI_HPD, signal end HPA_A is coupled to control unit 110, test side HDMI_HPD is in order to be coupled to source equipment 30, and be coupled with voltage regulation resistance R between signal end HDMI_HPD and test side HPA_A, in order to electrostatic defending effect to be provided, and the specification of serial clock wire pin 112 and serial data wire pin 113 meets the standard of I2C, in order to the signal communicating path as between source equipment 30 and terminal equipment 20, generally in terminal equipment 20, be provided with an internal memory, in order to deposit the expanded display recognition data (Extended Display Identification Data, EDID) of the resolution (resolution such as 720P or 1080P) that terminal equipment 20 supports.Source equipment 30 be coupled to the internal memory of terminal equipment 20 by serial clock wire pin 112 and serial data wire pin 113, expanded display recognition data (EDID) in order to reading terminal equipment 20, and corresponding transition minimized differential signaling (the Transition-Minimized Differential Signaling that meets HDMI specification that sends, TMDS), to terminal equipment, terminal equipment is obtained meet the image frame of its resolution.
Power module 120 is respectively coupled to HDMI interface 110 and control unit 130, wherein between power module 120 and HDMI interface 110, is also coupled with a plurality of resistance, and power module 120 is coupled to hot plug detecting pin 111 by the first resistance R 1 in a plurality of resistance; By the second resistance R 2, be coupled to serial clock wire pin 112; And be coupled to serial data wire pin 113 by the 3rd resistance R 3, wherein the first resistance R 1, the second resistance R 2 and the 3rd resistance R 3 are respectively pull-up resistor, allow hot plug detecting pin 111, serial clock wire pin 112 and serial data wire pin 113 in the situation that having power supply supply, maintain high level, make control unit 130 correspondingly send hot plug detection signal, and avoid serial clock wire pin 112 and serial data wire pin 113 to produce logic error on follow-up signal handling procedure.Power module 120 is in order to provide the power supply PWR1 of terminal equipment to serial clock wire pin 112 and serial data wire pin 113, and the level of the Signal Regulation hot plug transmitting according to control unit 130 detecting pin 111 changes, for example output voltage, to hot plug detecting pin 111, makes it from low level state, be converted to high level state.
Control unit 130 is respectively coupled to HDMI interface 110 and power module 120.Control unit 130 can be but be not limited to central processing unit (Central Processing Unit, CPU) or microcontroller (Micro-Controller Unit, MCU), in order to what receive HDMI interface 110, enable (enable) signal, and correspondence sends a control signal to power module 120, make power module 120 regulate the level of hot plug detecting pin 111 to change according to control signal; And change and send hot plug detection signal to source equipment 30 in order to corresponding level, thereby make source equipment 30 by the expanded display recognition data of serial clock wire pin and serial data wire pin reading terminal equipment.
Based on above-mentioned, interface on terminal equipment 20 is used state, while switching to HDMI interface 110 from other interfaces, can pass through control unit 130 detecting real-times to the enable signal of HDMI interface, and correspondence sends a control signal to power module 120, thereby make power module 120 detect pin 111 according to control signal power supply to the hot plug of HDMI interface 110 that provides initiatively, thereby trigger the hot plug detection signal of high level.Therefore, even if under the situation that the power pins on HDMI interface 110 or joint is damaged, source equipment 30 still can be detected the hot plug detection signal that pin receives high level by hot plug, and according to HDMI agreement, carry out the expanded display recognition data (EDID) of reading terminal equipment 20; And the corresponding transition minimized differential signaling (TMDS) that sends is to the program of terminal equipment 20, thereby terminal equipment 20 obtained and shown the image frame that meets its resolution.Therefore, in the present embodiment, HDMI interface 110 can be also other pins that only comprise outside power pins, and the configuration of omitting power pins, also can reach the effect of the hot plug detection signal that triggers high level, allow and can carry out according to HDMI agreement the program that reads expanded display recognition data (EDID) and send and receive transition minimized differential signaling (TMDS) of postorder between terminal equipment and source equipment, thereby allow terminal equipment 20 judge the existence of source equipment 30.
By an embodiment of the method, the realization of the application's method is described further below.As shown in Figure 4, the HDMI signal processing method flow chart for the application the first embodiment, comprising:
Step S110, receives the enable signal of HDMI interface by control unit;
Step S120, the corresponding enable signal of control unit sends a control signal to power module;
Step S130, power module regulates the level of the hot plug detecting pin of HDMI interface to change according to control signal;
Step S140, control unit changes according to level, the corresponding hot plug detection signal that sends; And
Step S150, hot plug detection signal is detected pin self terminal equipment by hot plug and is sent to source equipment.
Please refer to Fig. 1 to Fig. 4, interface on terminal equipment 20 is used state, from other signaling interfaces (such as VGA or DVI etc.), switch to HDMI interface 110, when HDMI interface 110 is enabled, HDMI signal processing circuit 10 receives the enable signal (step S110) of HDMI interface 110 by control unit 110.Then, the corresponding enable signal of control unit 110 sends a control signal to power module 120 (step S120), make the driven and corresponding control signal of power module 120 that the hot plug detecting pin 111 of power supply PWR1 to HDMI interface 110 is provided, making the signal end HDMI_HPD of hot plug detecting pin 111 is high level (step S130) from low transition.Then, the level that control unit 110 detects hot plug detecting pin 111 changes, and change the corresponding hot plug detection signal (step S140) that sends according to level, the test side HPA_A that makes hot plug detection signal detect pin 110 by hot plug is sent to source equipment 30, and completes the operation (step S150) that triggers hot plug signal.
Afterwards, between source equipment and terminal equipment, can carry out follow-up signal according to HDMI agreement and transmit flow process.As shown in Figure 1 and Figure 5, these follow-up signals transmission flow processs comprise:
Step S160, whether control unit detecting source equipment sends and minimizes transmission differential signal;
Step S170, if so, control unit judgement source equipment is coupled to terminal equipment by HDMI interface; And
Step S180, if not, control unit judgement source equipment is not coupled to terminal equipment.
Namely, by control unit 110, judge that source equipment 30 are after receiving hot plug detection signal, the expanded display recognition data (EDID) of reading terminal equipment 20 whether, and feed back corresponding transition minimized differential signaling (TMDS) and give terminal equipment 20, allow terminal equipment 20 confirm the connection status of itself and source equipment 30.Therefore, above-mentioned steps also comprises:
Step S161, source equipment receives hot plug detection signal, and by the serial clock wire pin of HDMI interface and the expanded display recognition data (EDID) of serial data wire pin reading terminal equipment;
Step S162, source equipment is according to expanded display recognition data (EDID), and corresponding transmission minimizes transmission differential signal (TMDS); And
Step S163, control unit receives and minimizes transmission differential signal (TMDS), and judgement source equipment is coupled to terminal equipment by HDMI interface.
So, terminal equipment 20 meets minimizing after transmission differential signal (TMDS) of HDMI standard in reception, the resolution playing video picture that can reach according to itself.
Please refer to Fig. 6 to Fig. 8, HDMI signal processing circuit 10 and the first embodiment that the application the second embodiment discloses are roughly the same, difference is between the two, HDMI interface 110 also comprises power pins 114, and power pins 114 is coupled to hot plug detecting pin 111 by the first resistance R 1 equally; The second resistance R 2 is coupled to serial clock wire pin 112; And the 3rd resistance R 3 be coupled to serial data wire pin 113, in order to the power supply PWR2 provide from source equipment to be provided, and power supply PWR2 is sent to serial clock wire pin 112 and serial data wire pin 113; And be sent to hot plug detecting pin 111 and triggering hot plug detection signal.
In addition,, for the configuration in response to power pins 114, between power module 120 and the first resistance R 1, be also electrically provided with the first diode D1; And be also electrically provided with the second diode D2 between power pins 114 and the first resistance R 2, the first diode D1 and the second diode D2 regulate respectively power module 120 and the power supply of power pins 111 to be supplied to hot plug detecting pin 111, and what the power supply PWR1 that makes to come from power module 120 and the power supply PWR2 that comes from power pins 111 can be average powers to the load.Similarly, between power module 120 and serial clock wire pin 112 and serial data wire pin 113, be electrically provided with the 3rd diode D3; And be electrically provided with the 4th diode D4 between power pins 114 and serial clock wire pin 112 and serial data wire pin 113, wherein the 3rd diode D3 and described the 4th diode D4 are coupled to serial clock wire pin 112 and are coupled to serial data wire pin 113 by the 3rd resistance R 3 by the second resistance R 2, in order to regulate power module 120 and the power supply of power pins 111 to be supplied to serial clock wire pin 112 and serial data wire pin 113.
Therefore, in the present embodiment, hot plug detection signal can be to be triggered or initiatively triggered by terminal equipment 20 by source equipment 30.That is to say, when the signaling interface of terminal equipment 30 is switched to HDMI interface 110 from other interfaces, whether the level that control unit 130 can first be detected hot plug detecting pin 111 changes; If so, the function of power pins 114 that represents HDMI interface 110 (or joint) is normal, and transmits power supplys to hot plugs detecting pin 111 from source equipment 30, thereby triggers hot plug detection signal, to complete follow-up signal convey program; If not, control unit 130 judges power pins 114 damages of HDMI interface 110 (or joint), and send a control signal to power module 120, and initiatively trigger hot plug detection signal by terminal equipment, so that complete follow-up signal convey program.So, can guarantee that no matter terminal equipment 20 is under the good or situation damaged of power pins 114 on HDMI interface 110 (or joint), all can complete smoothly the trigger of heat plug signal, thereby make the expanded display recognition data (EDID) that source equipment can reading terminal equipment, and terminal equipment can be received minimize transmission differential signal (TMDS) to carry out playing video picture.
With certain methods embodiment, the realization of the application's the second embodiment HDMI signal processing circuit is described further below.What deserves to be explained is, disclosed the second embodiment of the application also can realize by the processing method identical with the first embodiment the program that triggers hot plug signal, because its step is identical or close, does not repeat them here.Other implementations for the application HDMI signal processing method are described further below.
As shown in Figure 9, the HDMI signal processing method flow chart for the application the second embodiment, comprising:
Step S210, receives the enable signal of HDMI interface by control unit;
Step S220, control unit is detected pin by hot plug and is initiatively sent hot plug detection signal to source equipment; And
Step S230, whether control unit detecting source equipment sends and minimizes transmission differential signal;
Step S231, if so, control unit judgement source equipment is coupled to terminal equipment by HDMI interface;
Step S232, if not, control unit continues to send hot plug detection signal to source equipment, and waits for that source equipment feedback minimizes transmission differential signal; And if control unit do not detect and minimize transmission differential signal within the scheduled time, control unit is carried out the operation transmitting control signal.
Step S240, the corresponding enable signal of control unit sends a control signal to power module;
Step S250, power module regulates the level of the hot plug detecting pin of HDMI interface to change according to control signal;
Step S260, control unit changes according to level, the corresponding hot plug detection signal that sends; And
Step S270, hot plug detection signal is detected pin self terminal equipment by hot plug and is sent to source equipment.
Please refer to Fig. 6 to Fig. 9, in the disclosed HDMI signal processing method of the application the second embodiment, interface on terminal equipment 20 is used state, from other signaling interfaces, switch to HDMI interface 110, when HDMI interface 110 is enabled, HDMI signal processing circuit 10 receives the enable signal (step S210) of HDMI interface 110 by control unit 130.Then, control unit 130 first initiatively sends hot plug detection signal to source equipment 30 by the hot plug detecting pin 111 of HDMI interface 110, to confirm the connection status (step S220) of source equipment.
Then, whether control unit 110 detecting source equipment 30 send and minimize transmission differential signal (TMDS) (step S230), if, represent that source equipment 30 has received hot plug detection signal, and completed the fetch program of the expanded display recognition data (EDID) of terminal equipment 20, thereby allowed control unit 130 judgement source equipment 30 by HDMI interface 110, be coupled to terminal equipment 20 (step S231); If not, control unit 130 first judges that source equipment 30 may be subject to some factor and disturb, and fail real-time to set up HDMI communication protocol with terminal equipment 20, therefore, control unit 130 continues to send hot plug detection signal to source equipment 30, for example with interval, be greater than the frequency of 3 seconds to 30 inquiries of source equipment, and wait for that source equipment 30 feedbacks minimize transmission differential signal (TMDS); If source equipment 30 feeds back transition minimized differential signaling (TMDS) in the given time, control unit 130 judges that the HDMI communication protocol between source equipment 30 and terminal equipment 20 sets up.
Otherwise, if detecting within the scheduled time, control unit 130 do not minimize transmission differential signal (TMDS), control unit 130 judges that source equipment 30 not yet connects or the power pin of HDMI interface 110 (or joint) 114 damages, thereby carries out the operation (step S232) transmitting control signal.Namely the enable signal by the corresponding HDMI interface 110 of control unit 130 sends a control signal to power module 120, by power module 120, regulate the level of the hot plug detecting pin of HDMI interface 110 to change, thereby make terminal equipment 20 initiatively trigger hot plug detection signal, and by hot plug, detect pin 111 hot plug detection signal is sent to source equipment 30, so that reaffirm the annexation between source equipment 30 and terminal equipment.If source equipment 30 is coupled to terminal equipment 20 in open state, source equipment 30 is the expanded display recognition data (EDID) that corresponding hot plug detection signal is carried out reading terminal equipment 20, and transmit corresponding transition minimized differential signaling (TMDS) to terminal equipment 20, thereby allow the HDMI communication protocol between control unit judgement source equipment 30 and terminal equipment 20 set up.
In addition, in the present embodiment, because the hot plug detecting pin of HDMI interface also can provide power supply by source equipment, therefore, at control unit 130, initiatively send hot plug detection signal to before the operation of source equipment 30, under can also comprising with step:
Step S200, the level that control unit is detected hot plug detecting pin within the scheduled time changes;
Step S201, if hot plug detecting pin is high level by low transition, control unit judgement source equipment is coupled to terminal equipment by HDMI interface, the corresponding hot plug detection signal that sends of control unit is to source equipment; And
Step S202, if the level of hot plug detecting pin is unchanged, control unit is carried out and is initiatively sent hot plug detection signal to the operation of source equipment.
Please refer to Fig. 6 to Figure 10, that is to say, when control unit 130 receives enable signal from HDMI interface 110, the level that control unit 130 is first detected the hot plug detecting pin 111 of HDMI interface 110 changes, if hot plug detecting pin 111 is high level from low transition, control unit 130 judges that the power pins 114 of HDMI interface 110 is normal power supply state, and the corresponding hot plug detection signal that sends is to source equipment 30, also just can omit the down-stream that changes the level state of hot plug detecting pin 111 by power module 120.Otherwise, if detecting the level of hot plug detecting pin 111, control unit 130 do not change, control unit judges that the power pins 114 of HDMI interface 110 (or joint) may damage, thereby initiatively trigger hot plug detection signal by power module 120, so that set up the HDMI communication protocol between terminal equipment 20 and source equipment 30.
Above-mentioned explanation has illustrated and has described some preferred embodiments of the application, but as previously mentioned, be to be understood that the application is not limited to disclosed form herein, should not regard the eliminating to other embodiment as, and can be used for various other combinations, modification and environment, and can, in invention contemplated scope described herein, by technology or the knowledge of above-mentioned instruction or association area, change.And the spirit and scope that the change that those skilled in the art carry out and variation do not depart from the application, all should be in the protection range of the application's claims.