The power supply automatic switchover circuit of digital television receiver and common interface module
Technical field
The utility model relates to a kind of power supply automatic switchover circuit, especially relate to a kind of for common interface module in the digital television receiver provides the automatic switch-over circuit of different operating power supply, and digital television receiver with this circuit.
Background technology
In the digital television receiver of separation between machine and card, for realizing communication between " machine " " card ", finish the transport stream of encrypted digital TV program is made decryption processing, need between " machine " " card ", connect an interface that is used to communicate by letter.
Because different condition receiving systems may need to adopt different smart cards, and the working power of the most frequently used smart card has two classes in the reality: a class is to need the 5V working power, and another kind of is to need the 3.3V working power.And extensively adopt the CIMAX chip of SCM Corporation as the communication interface between " machine " " card " in the digital television receiver at present; The CIMAX chip is as the interface chip of a high integration, and its peripheral circuit only can provide the working power of 5V for smart card.
Therefore, the CIMAX chip can't compatible need the smart card of 3.3V working power: when the smart card that will need the 3.3V working power is connected with the CIMAX chip, the 5V working power that the CIMAX chip provides may cause smart card to burn, thereby limited the use of smart card, influenced the scope of application of digital television receiver.
The utility model content
Technical problem to be solved in the utility model is to propose a kind of power supply automatic switchover circuit that the different operating power supply is provided for common interface module in the digital television receiver, and the digital television receiver with this circuit, to solve the technical problem that can not compatible need the smart card of different operating power supply in the present digital television receiver.
For solving technical problem of the present utility model, the utility model discloses a kind of power supply automatic switchover circuit of common interface module, comprising:
Be connected the voltage drop element between power input and the power output end;
The switching circuit in parallel with described voltage drop element;
And according to being inserted into A type smart card that smart card in the described common interface module is needs first working power or the current potential of the state-detection end of described common interface module during for the Type B smart card of needs second working power, controlling described switching circuit respectively disconnects or conducting, make power output end export the control circuit of first working power or second working power respectively to described common interface module, this control circuit is connected between the state-detection end of the control end of described switching circuit and described common interface module.
More excellent, described control circuit comprises: base stage connects the state-detection end of described common interface module and the triode of the control end that collector electrode connects described switching circuit; And one end all connect power input and the other end connects the base stage of described triode and first resistor and second resistor of collector electrode respectively.
More excellent, described switching circuit is a MOS transistor, and its source electrode is connected power input and power output end respectively with drain electrode, and grid connects described control circuit.
More excellent, described voltage drop element is one or more diodes of serial connection successively.
More excellent, described first working power is 3.3V, and described second working power is 5V, and described voltage drop element is 2 diodes of serial connection in the same way.
Accordingly, the utility model discloses a kind of digital television receiver, comprises at least: the Network Interface Module that is used for channel demodulation and channel-decoding and output transport stream; Connect described Network Interface Module, be used for the transport stream of encrypting is done the Conditional Access Module of decryption processing; The control unit that connects described Conditional Access Module; Connect described control unit, be used for respectively the transport stream after the decryption processing being done the demultiplexing module and the decoder of demultiplexing and decoding processing;
Wherein, described Conditional Access Module comprises: be used for the transport stream of encrypting is made the smart card of decryption processing and the common interface module that connects smart card, this common interface module is one or interconnective a plurality of, and each common interface module comprises a power supply automatic switchover circuit, and this circuit comprises:
Be connected the voltage drop element between power input and the power output end;
The switching circuit in parallel with described voltage drop element;
And according to being inserted into A type smart card that smart card in the described common interface module is needs first working power or the current potential of the state-detection end of described common interface module during for the Type B smart card of needs second working power, controlling described switching circuit respectively disconnects or conducting, make power output end export the control circuit of first working power or second working power respectively to described common interface module, this control circuit is connected between the state-detection end of the control end of described switching circuit and described common interface module.
More excellent, described control circuit comprises: base stage connects the state-detection end of described common interface module and the triode of the control end that collector electrode connects described switching circuit; And one end all connect power input and the other end connects the base stage of described triode and first resistor and second resistor of collector electrode respectively.
More excellent, described switching circuit is a MOS transistor, and its source electrode is connected power input and power output end respectively with drain electrode, and grid connects described control circuit.
More excellent, described voltage drop element is one or more diodes of serial connection successively.
More excellent, it is characterized in that described first working power is 3.3V, described second working power is 5V, described voltage drop element is 2 diodes of serial connection in the same way.
Compared with prior art, the utlity model has following beneficial effect:
The utility model is to realize machine by common interface module " connection between " card " with communicate by letter; and provide the working power that needs for smart card, to solve in the present digital television receiver technical problem that can not compatibility need the smart card of different operating power supply by power supply automatic switchover circuit.Circuit structure of the present utility model is simple, realizes can being widely used in the digital television receiver of various employings " machine " " card " separation easily.
Description of drawings
Fig. 1 is the structural representation of a preferred embodiment of the utility model digital television receiver;
Fig. 2 is the structural representation of a preferred embodiment of common interface module among Fig. 1;
Fig. 3 is the circuit diagram of a preferred embodiment of power supply automatic switchover circuit among Fig. 1.
Embodiment
The utility model is by general-purpose interface (Common Interface, CI) module realize between " machine " " card " connection with communicate by letter, and provide the working power that needs for smart card by power supply automatic switchover circuit, to solve the technical problem that can not compatible need the smart card of different operating power supply in the present digital television receiver.
With reference to shown in Figure 1, the digital television receiver of present embodiment comprises: the Network Interface Module (Network Interface Module, NIM) 110 that are used for channel demodulation and channel-decoding and output transport stream; Connect the Conditional Access Module 120 that described Network Interface Module 110 is used for the transport stream of encrypting is done decryption processing; The control unit 130 that connects described Conditional Access Module 120; Connect described control unit 130, be used for respectively the transport stream after the decryption processing being done the demultiplexing module 140 and the decoder 150 of demultiplexing and decoding processing; Connect decoder 150, decoded voice data and video data are reached the audio and video output interface 160 of external equipment.
The described Conditional Access Module 120 of present embodiment comprises: first common interface module 121 and second common interface module 122; And the drive circuit 123 that is used for promoting transmittability and the address wire and the data wire driving force of first, second common interface module 121 and 122 transport stream, connect first, second common interface module 121 and 122 respectively; Be connected the smart card 124 of first common interface module 121 or second common interface module 122, be used for the transport stream of encrypting is made decryption processing; Described first common interface module 121 all is connected a power supply automatic switchover circuit 125 with described second common interface module 122, and this power supply automatic switchover circuit 125 is used for providing the corresponding work power supply according to the type of smart card 124 for it.
Wherein, signal flow to as follows:
(1), when first common interface module 121, second common interface module 122 all do not have smart card 124 to insert, flow to the TS0 port of control unit 130 by drive circuit 123 from the transport stream of Network Interface Module 110 outputs.
(2), when first common interface module 121 only has smart card 124 to insert, flow to the TS0 port of control unit 130 by first common interface module 121 from the transport stream of Network Interface Module 110 outputs.If transport stream is the transport stream of encrypting (or scrambling), then finishes deciphering (or descrambling) and handle by the smart card 124 that is connected with first common interface module 121; If transport stream is the transport stream of unencryption (or not scrambling), then directly reach the TS0 port of control unit 130 by the bypass (Bypass) of first common interface module 121.
(3), when second common interface module 122 only has smart card 124 to insert, flow to second common interface module 122 from the transport stream of Network Interface Module 110 outputs by drive circuit 123, and then flow to the TS1 port of control unit 130.If transport stream is the transport stream of encrypting, then finish decryption processing by the smart card 124 that is connected with second common interface module 122; If transport stream is the unencrypted transport stream, then reach the TS1 port of control unit 130 by the bypass of second common interface module 122.
(4), when first common interface module 121, second common interface module 122 have smart card 124 to insert by one respectively, flow to first common interface module 121 earlier from the transport stream of Network Interface Module 110 outputs, flow to second common interface module 122 then, flow to the TS1 port of control unit 130 at last.If transport stream is the transport stream of encrypting, then both can make decryption processing by the smart card 124 that is connected with first common interface module 121, also can make decryption processing by the smart card 124 that is connected with second common interface module 122; If transport stream is the unencrypted transport stream, then can be successively the bypass of bypass by first common interface module 121 and second common interface module 122 reach the TS1 port of control unit 130.
In addition, the most frequently used smart card 124 has two classes: a class is the A type smart card that needs first working power (5V) working power; Another kind of is the Type B smart card that needs second working power (3.3V) working power.
In conjunction with Fig. 2 and shown in Figure 3, have identical circuit combination with two power supply automatic switchover circuits 125 that first, second common interface module 121 is connected with 122 respectively, this circuit comprises:
Be connected the voltage drop element between power input (VCC) and the power output end (VCC_CI0), in the present embodiment, the power supply signal of power input input 5V, voltage drop element are 2 the diode D18 and the D19 of serial connection in the same way; The switching circuit in parallel with described voltage drop element, present embodiment is selected MOS transistor Q7 for use, and its source electrode (S) is connected power input and power output end respectively with drain electrode (D), and grid (G) connects control circuit; Described control circuit comprises: triode Q8, and its base stage (B) connects the state-detection end (CIO_VSI) of first or second common interface module 121 or 122 and the grid that collector electrode (C) connects MOS transistor Q7; And one end all connect power input and the other end connects the base stage of triode Q8 and the resistor R 96 and the resistor R 97 of collector electrode respectively.
To connect (or insertion) smart card 124 in first common interface module 121 is example, further describes the operation principle of circuit shown in Figure 3:
(1), when the A type smart card that needs the 5V working power is inserted into first common interface module 121, the type that the state-detection end (CIO_VSI) of first common interface module 121 detects smart card 124 is the A type, and then the current potential of hold mode test side is consistent with the current potential before smart card 124 inserts first common interface module 121; VCC makes triode Q8 saturation conduction by resistor R 197 and R196, and the collector electrode of triode Q8 approximates 0V; This moment, G end and the S of MOS transistor Q7 brought out existing voltage difference, make MOS transistor Q7 conducting, because the pressure drop of the G of MOS transistor Q7 end and S end is very little, so the VCC_CI0 that reaches that can be similar to no pressure drop of VCC holds, thereby the working power of 5.0V is provided to first common interface module 121.
(2), when the Type B smart card that needs the 3.3V working power is inserted into first common interface module 121, the type that the state-detection end (CIO_VSI) of first common interface module 121 detects smart card 124 is a Type B, then make CI0_VS1 move current potential to ground connection (electronegative potential) by smart card 124, thereby cause triode Q8 to end, and MOS transistor Q7 and then is cut off, make VCC reach the VCC_CI0 end, give first common interface module 121 power supplies again by diode D18 and D19; The pressure drop of 0.7V because diode D18 and D19 have an appointment is so the voltage of VCC_CI0 just is about 3.3V at this moment.
So, the utility model is according to detecting smart card 124 for the A type smart card of needs first working power or be the Type B smart card of needs second working power, change the current potential of state-detection end (CI0_VS1), controlling MOS transistor Q7 respectively disconnects or conducting, make power output end export 5V working power or the 3.3V working power that meets smart card 124 to described first or second common interface module 121 or 122 respectively, thereby realize compatible various smart card, enlarge the scope of application of digital television receiver.
To sum up, the utlity model has following useful technique effect:
The utility model is to realize machine by common interface module " connection between " card " with communicate by letter, and automatically cut by power supply Change circuit for smart card provides the working power that needs, can not compatibility need different operating to solve in the present digital television receiver The technical problem of the smart card of power supply. Circuit structure of the present utility model is simple, realizes can being widely used in various employings easily In the digital television receiver that " machine " " card " separates.