Background technology
In panel industry, liquid crystal panel can carry out a series of electrical and optical check before dispatching from the factory.Checked electricallyCheng Zhongxu lights module, and now module panel (LCM) interface connects with extraneous winding displacement, if there is hot plug, may triggerModule panel breakage etc. is bad.
EDP wiring is a kind of internal digital interface based on DisplayPort frameworks and agreement, and it is applied to flat board electricityBrain, notebook, all-in-one, following new giant-screen high-resolution mobile phone, future can replace LVDS (Low VoltageDifferential Signaling, are a kind of technology of Low Voltage Differential Signaling interfaces).As shown in figure 1, the interface is 30pin'sEDP (Embedded DisplayPort, built-in display interface) interface.
If when lighting test module panel is carried out, being not turned off power supply, eDP interfaces will carry voltage, now by eDPWhen interface band is electrically interposed in, it is easy to cause the dislocation short circuit of the two neighboring pin ports of eDP interfaces.For example:12pin isGND, can be shorted together with 13pin LCD_VCC.The port of all ground connection is filled voltage with LCD_VCC;26pin~the 29pin backlight voltage BL_PWR can and NC port be shorted together, due to NC ports not Dummy port, greatlyBehind I2C interfaces or WP write-protect interfaces that mostly client need not draw, these ports and BL_PWR short circuits, it can cause momentHigh current, burns out circuit.
System maximum output current would generally be set in existing factory testing formula, even if but limiting mostBig output current, when carrying out hot plug (plugging eDP interfaces) short circuit, can still cause output current very big, to module facePlate it is very harmful.The equipment of the non-hot plug instantaneous large-current that hot plug is produced by force, can cause the permanent hardware of system to damageWound.
The content of the invention
In order to solve the above technical problems, the present invention provides a kind of hot plug fault control device and method, hot plug is preventedOperate to display panel and drive the damage of platform.
The technical scheme that the present invention is provided is as follows:
The invention discloses a kind of hot plug fault control device, including the first power module for power supply, for supplyingElectricity second source module, the detecting module for the control signal corresponding with state of the state output according to load, for leadingOn-off open the second source module with load switch control module and for by first power module export toThe current attenuation of load to preset value current limliting module;First power module is connected to load by the current limliting module;The second source module is connected to load by the switch control module;The detecting module connects the current limliting mould respectivelyBlock and the switch control module.
Further, the state of the load includes normal condition and short-circuit condition;The control signal includes conducting and controlledSignal processed and disconnection control signal.
Further, when load is normal condition, the detecting module output is corresponding with normal condition to turn on controlSignal is to the switch control module;The switch control module turns on the second source module and load, second electricitySource module is load supplying.
Further, when load is short-circuit condition, the detecting module output is corresponding with short-circuit condition to disconnect controlSignal is to the switch control module;The switch control module disconnects the second source module and load, the current limliting mouldBlock exports first power module to the current attenuation of load to preset value.
Further, the current limliting module includes first resistor and second resistance;One end connection the of the first resistorOne power module, the other end of the first resistor is connected with one end of second resistance;The other end of the second resistance withLoad is connected.
Further, the detecting module includes comparator;The inverting input input preset reference electricity of the comparatorPressure, the normal phase input end of the comparison amplifier is connected between the first resistor and second resistance;The comparison amplifierOutput end connect the switch control module;Comparison amplifier is respectively connected to default positive source and default power cathode.
Further, the detecting module also include be arranged on the comparator inverting input and normal phase input end itBetween the first diode and the second diode;The anode tap of first diode is electrically connected with the inverting input of comparator;FirstThe cathode terminal of diode is electrically connected with the normal phase input end of comparator;The anode tap of second diode and the positive of comparator are inputtedEnd electrical connection;The cathode terminal of second diode is electrically connected with the inverting input of comparator.
Further, the switch control module includes metal-oxide-semiconductor;The grid of the metal-oxide-semiconductor connects the detecting module;InstituteState the source electrode connection second source module of metal-oxide-semiconductor;The drain electrode connection load of the metal-oxide-semiconductor.
The invention also discloses a kind of hot plug fault control method, it is adaptable to the hot plug fault control device, itsIt is characterised by, including step:The state of detecting module detecting load, believes according to the control corresponding with state of the state output of loadNumber;Switch control module is turned on or off second source with loading according to control signal;When the second source module and loadDuring disconnection, current limliting module exports first power module to the current attenuation of load to preset value.
Further, the state of the load includes normal condition and short-circuit condition;The control signal includes conducting and controlledSignal processed and disconnection control signal;When load is normal condition, detecting module output conducting control corresponding with normal conditionSignal is to the switch control module;Switch control module turns on second source module and load, and second source module is loadPower supply;When load is short-circuit condition, detecting module output disconnection control signal corresponding with short-circuit condition to the switch controlMolding block;Switch control module disconnects second source module and load, and current limliting module exports the first power module to loadCurrent attenuation is to preset value.
Compared with prior art, the present invention at least has following any one beneficial effect:
1st, occur to disconnect second source module for power supply during short circuit immediately, protection load;
2nd, the electric current that the first power module is exported to load is decayed, reduces infringement of the Short-Circuit High Current to system;
3rd, scrap build of the invention is simple, easily realize, does not have any influence on Product Process, can with prior artTo match well, realized beneficial to scale of mass production.
Brief description of the drawings
Below by clearly understandable mode, preferred embodiment is described with reference to the drawings, the present invention is given furtherlyIt is bright.
Fig. 1 is 30pin eDP interface diagrams;
Fig. 2 is a kind of module composition schematic diagram of hot plug fault control device of the invention;
Fig. 3 is a kind of circuit diagram of one embodiment of hot plug fault control device of the invention;
Fig. 4 is the output characteristics figure of comparator;
Fig. 5 is a kind of step schematic diagram of hot plug fault control method of the invention.
Drawing reference numeral explanation:
100th, the first power module, 200, second source module, 300, detecting module, 400, switch control module, 500,Current limliting module;
OP, comparator, R1, first resistor, R2, second resistance, D1, the first diode, D2, the second diode, M1, MOSPipe.
Embodiment
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, control is illustrated belowThe embodiment of the present invention.It should be evident that drawings in the following description are only some embodiments of the present invention, forFor those of ordinary skill in the art, on the premise of not paying creative work, other can also be obtained according to these accompanying drawingsAccompanying drawing, and obtain other embodiments.
To make only to schematically show part related to the present invention in simplified form, each figure, they are not representedIts as product practical structures.In addition, so that simplified form is readily appreciated, there is identical structure or function in some figuresPart, only symbolically depicts one of those, or has only marked one of those.Herein, " one " is not only represented" only this ", can also represent the situation of " more than one ".
Fig. 2 is a kind of module composition schematic diagram of hot plug fault control device of the invention.As shown in Fig. 2 a kind of heat is insertedPull out fault control device to act in eDP interfaces, it is the first power module 100 of load supplying, for be negative that it, which includes being used for,Carry the second source module 200 of power supply, the detecting module for the control signal corresponding with state of the state output according to load300th, for the switch control module 400 of be turned on or off the second source module 200 and load and for by described theCurrent limliting module 500 of one power module 100 output to the current attenuation loaded to preset value;First power module 100 leads toCross the current limliting module 500 and be connected to load;The second source module 200 is connected to by the switch control module 400Load;The detecting module 300 connects the current limliting module 500 and the switch control module 400 respectively.
Wherein, the state of the load includes normal condition and short-circuit condition;The control signal includes conducting control letterNumber and disconnect control signal.
The first power module 100 provides voltage VCC1 for device in the present invention, and second source module 200 provides voltageVCC2, VCC1=VCC2.When load is normal condition, by the powering load of second source module 200, when load is short circuitDuring state, second source module and load, and the electric current between the first power module 100 and load of decaying are disconnected.
The detecting module 300 is to be used to detect whether load occurs short circuit, when short circuit occurs for load, detecting module300 export the control signal disconnected for controlling switch control module 400, and the switch control module 400 disconnects described secondPower module 200 and load.The current limliting module 500 by first power module 100 export to load current attenuation extremelyPreset value.
First power module 100 exports VCC1, the output VCC2 of second source module 200, loads as VCC.
Fig. 3 is a kind of circuit diagram of one embodiment of hot plug fault control device of the invention.As shown in figure 3, specific, the current limliting module 500 includes first resistor R1 and second resistance R2.One end of the first resistor R1 connects the first power supplyModule 100, the other end of the first resistor R1 is connected with second resistance R2 one end;The other end of the second resistance R2It is connected with load, first resistor R1 and second resistance R2 resistance are K Europe rank, play a part of current attenuation.
The detecting module 300 includes comparator OP;The input predetermined reference voltage of inverting input 1 of the comparator OPVref, the comparator OP normal phase input end 2 are connected between the first resistor R1 and second resistance R2, and connecting node isVa;The output end of the comparator OP connects the switch control module 400;Comparator OP is respectively connected to default positive source VS+ and default power cathode VS-.Wherein, predetermined reference voltage Vref is the value pre-set, Vref=R2/ (R1+R2) * VCC*K, K are predetermined coefficient, and K is more than or equal to 1, Vref and is less than VCC1.
The default positive source of comparator OP accesses and default power cathode, respectively VS+ and VS- of the present invention.Fig. 4 is to compareDevice OP output characteristics figure.As shown in figure 4, Va is first resistor R1 and second resistance R2 and comparator OP normal phase input end 2Connecting node, Vref for input comparator OP inverting input 1 predetermined reference voltage, when Va be less than Vref when, i.e., justWhen the input voltage of phase input 2 is less than the input voltage of inverting input 1, the magnitude of voltage that comparator OP outputs VC is VS-, thisWhen VC be used as disconnect control signal;Conversely, when Va is more than Vref, i.e., the input voltage of normal phase input end 2 is higher than anti-phase inputDuring the input voltage at end 1, comparator OP exports the magnitude of voltage that VC is VS+, and now VC is used as conductivity control signal.
The detecting module 300 also includes being arranged between the inverting input 1 of the comparator OP and normal phase input end 2The first diode D1 and the second diode D2;The inverting input of first diode D1 anode tap and comparator OP is electrically connectedConnect;First diode D1 cathode terminal is electrically connected with comparator OP normal phase input end;Second diode D2 anode tap with thanNormal phase input end electrical connection compared with device OP;Second diode D2 cathode terminal is electrically connected with comparator OP inverting input.TheOne diode D1 and the second diode D2 acts on for amplitude limit, it is to avoid comparator OP inside tubes enter depth saturation region, improves and ringsAnswer speed.
The grid that the switch control module 400 includes metal-oxide-semiconductor M1, the metal-oxide-semiconductor M1 connects the detecting module 300Output end is (i.e.:Comparator OP output end), the source electrode connection second source module 200 of the metal-oxide-semiconductor M1, the metal-oxide-semiconductor M1Drain electrode connection load.
The work of the normal condition of the invention loaded and short-circuit condition is discussed in detail by taking lighting test module panel as an example belowMake flow.Load as LCD, pass through eDP interfaces and carry out grafting.Circuit diagram as shown in Figure 2, Va is first resistor R1 and second resistanceThe connecting node of R2 and comparator OP normal phase input end 2, Vb points are that the first power module 100 and second source module 200 connectIt is connected to the connecting node of load.
When non-loaded, Va and Vb current potential are equal to VCC, and because two ends are equipotentiality point, the electric current of output is 0.
If load is normal connection when lighting test module panel is carried out, Va=Vb=VCC1 is exported>Vref, instituteState detecting module 300 and export conductivity control signal corresponding with normal condition to the switch control module 400;The switch controlMolding block 400 turns on the second source module 200 and load, and the second source module 200 is load supplying.
If being not turned off power supply when lighting test module panel is carried out, eDP interfaces will carry voltage, now by eDPWhen interface connecting line band is electrically interposed in load, it is easy to cause the dislocation short circuit of the two neighboring pi n ports of eDP interfaces, works as eDPDuring the dislocation short circuit of the two neighboring pi n ports of interface, then short-circuit condition occurs in load, and now hot plug of the invention is shortThe current potential that road control device can detect the Vb points of connection load is current potential when being grounded, now Va point current potentials Va<Vref, then compareVc=Vs- is exported compared with device OP, the Vs- voltages will immediately turn off metal-oxide-semiconductor M1.VCC1 and Vb that first power module 100 is providedResistance is discharged by the first resistor R1 and second resistance R2 of larger (Kohm ranks) between point, and the first power module 100 is defeatedEnter in the resistance to value of safety that can be born to circuit to the current reduction of load.
In the above-described embodiments, the description to each embodiment all emphasizes particularly on different fields, and does not have the portion being described in detail in some embodimentPoint, it may refer to the associated description of other embodiment.
, can be by another way in several embodiments provided herein, it should be understood that disclosed deviceRealize.For example, device embodiment described above is only schematical, such as the division of described module is only one kindDivision of logic function, can there is other dividing mode when actually realizing, such as multiple module or components can combine or canTo be integrated into another system, or some features can be ignored, or not perform.It is another, it is shown or discussed each otherCoupling direct-coupling or communication connection can be by some interfaces, the INDIRECT COUPLING or communication connection of device or module,Can be electrical or other forms.
Fig. 5 is a kind of step schematic diagram of hot plug fault control method of the invention, and as described in Figure 5, a kind of hot plug is shortRoad control method, it is adaptable to the hot plug fault control device, including step:
S100, the state of detecting module detecting load, according to the state output of load control signal corresponding with state;
S200, switch control module are turned on or off second source with loading according to control signal;
S300, when the second source module with load disconnect when, current limliting module by first power module export toThe current attenuation of load is to preset value.
It is preferred that, the state of the load includes normal condition and short-circuit condition;The control signal includes conducting and controlledSignal and disconnection control signal;When load is normal condition, detecting module output conducting control letter corresponding with normal conditionNumber to the switch control module;Switch control module turns on second source module and load, and second source module supplies for loadElectricity;When load is short-circuit condition, detecting module output disconnection control signal corresponding with short-circuit condition to the switch controlModule;Switch control module disconnects second source module and load, and current limliting module exports the first power module to the electricity of loadStream decays to preset value.
The contents such as information exchange, implementation procedure in this method embodiment and said apparatus between each module are based on same structureThink, particular content can be found in the narration in apparatus of the present invention embodiment, and here is omitted.
It should be noted that above-described embodiment can independent assortment as needed.Described above is only the preferred of the present inventionEmbodiment, it is noted that for those skilled in the art, is not departing from the premise of the principle of the inventionUnder, some improvements and modifications can also be made, these improvements and modifications also should be regarded as protection scope of the present invention.