Background technology
In panel industry, liquid crystal panel can carry out a series of electrical and optical check before dispatching from the factory.Checked electrically
Cheng Zhongxu lights module, and now module panel (LCM) interface connects with extraneous winding displacement, if there is hot plug, may trigger
Module 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 electricity
Brain, notebook, all-in-one, following new giant-screen high-resolution mobile phone, future can replace LVDS (Low Voltage
Differential Signaling, are a kind of technology of Low Voltage Differential Signaling interfaces).As shown in figure 1, the interface is 30pin's
EDP (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 eDP
When 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 is
GND, 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, greatly
Behind I2C interfaces or WP write-protect interfaces that mostly client need not draw, these ports and BL_PWR short circuits, it can cause moment
High current, burns out circuit.
System maximum output current would generally be set in existing factory testing formula, even if but limiting most
Big output current, when carrying out hot plug (plugging eDP interfaces) short circuit, can still cause output current very big, to module face
Plate 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 damage
Wound.
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 prevented
Operate 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 supplying
Electricity second source module, the detecting module for the control signal corresponding with state of the state output according to load, for leading
On-off open the second source module with load switch control module and for by first power module export to
The 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 respectively
Block and the switch control module.
Further, the state of the load includes normal condition and short-circuit condition;The control signal includes conducting and controlled
Signal processed and disconnection control signal.
Further, when load is normal condition, the detecting module output is corresponding with normal condition to turn on control
Signal is to the switch control module;The switch control module turns on the second source module and load, second electricity
Source module is load supplying.
Further, when load is short-circuit condition, the detecting module output is corresponding with short-circuit condition to disconnect control
Signal is to the switch control module;The switch control module disconnects the second source module and load, the current limliting mould
Block 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 resistor
One power module, the other end of the first resistor is connected with one end of second resistance;The other end of the second resistance with
Load is connected.
Further, the detecting module includes comparator;The inverting input input preset reference electricity of the comparator
Pressure, the normal phase input end of the comparison amplifier is connected between the first resistor and second resistance;The comparison amplifier
Output 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 it
Between the first diode and the second diode;The anode tap of first diode is electrically connected with the inverting input of comparator;First
The 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 inputted
End 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;Institute
State 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, its
It 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 load
Number;Switch control module is turned on or off second source with loading according to control signal;When the second source module and load
During 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 controlled
Signal processed and disconnection control signal;When load is normal condition, detecting module output conducting control corresponding with normal condition
Signal is to the switch control module;Switch control module turns on second source module and load, and second source module is load
Power supply;When load is short-circuit condition, detecting module output disconnection control signal corresponding with short-circuit condition to the switch control
Molding block;Switch control module disconnects second source module and load, and current limliting module exports the first power module to load
Current 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 art
To 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 furtherly
It 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, MOS
Pipe.
Embodiment
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, control is illustrated below
The embodiment of the present invention.It should be evident that drawings in the following description are only some embodiments of the present invention, for
For those of ordinary skill in the art, on the premise of not paying creative work, other can also be obtained according to these accompanying drawings
Accompanying 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 represented
Its as product practical structures.In addition, so that simplified form is readily appreciated, there is identical structure or function in some figures
Part, 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 inserted
Pull 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 load
300th, for the switch control module 400 of be turned on or off the second source module 200 and load and for by described the
Current limliting module 500 of one power module 100 output to the current attenuation loaded to preset value;First power module 100 leads to
Cross the current limliting module 500 and be connected to load;The second source module 200 is connected to by the switch control module 400
Load;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 letter
Number and disconnect control signal.
The first power module 100 provides voltage VCC1 for device in the present invention, and second source module 200 provides voltage
VCC2, VCC1=VCC2.When load is normal condition, by the powering load of second source module 200, when load is short circuit
During 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 module
300 export the control signal disconnected for controlling switch control module 400, and the switch control module 400 disconnects described second
Power module 200 and load.The current limliting module 500 by first power module 100 export to load current attenuation extremely
Preset 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 supply
Module 100, the other end of the first resistor R1 is connected with second resistance R2 one end;The other end of the second resistance R2
It 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 OP
Vref, the comparator OP normal phase input end 2 are connected between the first resistor R1 and second resistance R2, and connecting node is
Va;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 compare
Device 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 2
Connecting node, Vref for input comparator OP inverting input 1 predetermined reference voltage, when Va be less than Vref when, i.e., just
When 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-, this
When 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 input
During 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 2
The first diode D1 and the second diode D2;The inverting input of first diode D1 anode tap and comparator OP is electrically connected
Connect;First diode D1 cathode terminal is electrically connected with comparator OP normal phase input end;Second diode D2 anode tap with than
Normal phase input end electrical connection compared with device OP;Second diode D2 cathode terminal is electrically connected with comparator OP inverting input.The
One 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 rings
Answer speed.
The grid that the switch control module 400 includes metal-oxide-semiconductor M1, the metal-oxide-semiconductor M1 connects the detecting module 300
Output 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 M1
Drain 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 below
Make 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 resistance
The 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 connect
It 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, institute
State detecting module 300 and export conductivity control signal corresponding with normal condition to the switch control module 400;The switch control
Molding 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 eDP
When 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 eDP
During 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 short
The 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 compare
Vc=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 provided
Resistance is discharged by the first resistor R1 and second resistance R2 of larger (Kohm ranks) between point, and the first power module 100 is defeated
Enter 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 embodiment
Point, 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 device
Realize.For example, device embodiment described above is only schematical, such as the division of described module is only one kind
Division of logic function, can there is other dividing mode when actually realizing, such as multiple module or components can combine or can
To be integrated into another system, or some features can be ignored, or not perform.It is another, it is shown or discussed each other
Coupling 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 short
Road 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 to
The 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 controlled
Signal and disconnection control signal;When load is normal condition, detecting module output conducting control letter corresponding with normal condition
Number to the switch control module;Switch control module turns on second source module and load, and second source module supplies for load
Electricity;When load is short-circuit condition, detecting module output disconnection control signal corresponding with short-circuit condition to the switch control
Module;Switch control module disconnects second source module and load, and current limliting module exports the first power module to the electricity of load
Stream 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 structure
Think, 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 invention
Embodiment, it is noted that for those skilled in the art, is not departing from the premise of the principle of the invention
Under, some improvements and modifications can also be made, these improvements and modifications also should be regarded as protection scope of the present invention.