Summary of the invention
In order to solve problems in the prior art, the embodiment of the invention provides a kind of LCM circuit checker and to LCM electricity
The method that road is detected.
In a first aspect, providing a kind of LCM circuit checker, described device includes: central processing unit, digital-to-analogue conversion mould
Block and voltage detection module, the central processing unit are connected with the D/A converter module, the D/A converter module and institute
Voltage detection module is stated to be connected;
It is provided with multiple voltage detection units in the voltage detection module, one is provided in each voltage detection unit
Electromagnetic relay, the electromagnetic relay include at least a coil and armature;
When no current in the coil of the electromagnetic relay, the voltage detection unit will be to be detected by the armature
Liquid crystal display mould group LCM be connected to first voltage gear;
When having electric current in the coil of the electromagnetic relay, the voltage detection unit connects the LCM to be detected
It is connected to second voltage gear;
Wherein, the corresponding voltage of the first voltage gear is less than the corresponding voltage of the second voltage gear.
In another embodiment of the present invention, each voltage detection unit is connected a resistance.
In another embodiment of the present invention, described device further include: current detection module;
The current detection module is connected with the D/A converter module.
In another embodiment of the present invention, described device further include: display module;
The display module is connected with the central processing unit.
In another embodiment of the present invention, described device further include: alarm module;
The alarm module is connected with the central processing unit.
In another embodiment of the present invention, described device further include: key operation module;
The key operation module is connected with the central processing unit.
In another embodiment of the present invention, described device further include: power module;
The power module respectively with the central processing unit, the D/A converter module, the voltage detection module, institute
Current detection module, the display module, the alarm module and the key operation module is stated to be connected.
Second aspect, provides a kind of method that LCM circuit is detected, and the method is applied to above-mentioned first aspect institute
The LCM detection device stated, which comprises
The test voltage data that the voltage detection unit is sent are received, the test voltage data are the voltage detecting
When the liquid crystal display mould group LCM to be detected is connected to the first voltage gear by unit, to the LCM to be detected
Detection obtains;
Judge whether the test voltage data are located in predetermined voltage range;
If the test voltage data are located in the predetermined voltage range, the is sent to the voltage detection unit
The LCM to be detected is connected to institute for controlling the voltage detection unit by one control instruction, first control instruction
State second voltage gear;
If the test voltage data are not located in the predetermined voltage range, sent to the voltage detection unit
Second control instruction, second control instruction for control voltage detection unit cutting and the LCM to be detected it
Between connection.
In another embodiment of the present invention, it is described receive test voltage data that the voltage detection unit is sent it
Before, further includes:
Third control instruction is sent to the voltage detection unit, the third control instruction is for controlling the voltage inspection
Surveying unit uses default cut-in voltage to power for the electromagnetic relay, so that the voltage detection unit is in initialization shape
State, under the init state, no current in the coil of the electromagnetic relay, the LCM to be detected is connected to institute
State first voltage gear.
In another embodiment of the present invention, before the transmission third control instruction to the voltage detection unit,
Further include:
Default cut-in voltage is set for the electromagnetic relay in advance, and predeterminated voltage is set for the voltage detection unit
Range;
Store the default cut-in voltage and the predetermined voltage range.
In another of the invention in embodiment, it is described to the voltage detection unit send the second control instruction it
Afterwards, further includes:
Short-circuit prompting message is sent to the display module, is shown by the display module.
In another embodiment of the present invention, after first control instruction of transmission to the voltage detection unit,
Further include:
When receiving termination detection instruction, the voltage of the electromagnetic relay is reset into the default cut-in voltage.
Technical solution provided in an embodiment of the present invention has the benefit that
Using voltage value lesser first voltage gear detection LCM whether shorted to earth, when detecting that LCM is not short-circuit over the ground
Afterwards, LCM is connected to the biggish second voltage gear of voltage value and carries out fault detection, burnt, save to be effectively prevented LCM
Resource.
Specific embodiment
To make the object, technical solutions and advantages of the present invention clearer, below in conjunction with attached drawing to embodiment party of the present invention
Formula is described in further detail.
Currently, the quality in the production process of small-medium size liquid crystal display panel, before all dispatching from the factory to every piece of LCM circuit
Detection, thus profession LCM circuit checker play the role of in the production process of liquid crystal display panel it is vital.Due to existing
With the presence of many defects of LCM detection device itself, especially the monitoring to the big voltage of LCM and protection aspect, for contraposition
It is required that LCM relatively high LCM or electrode design high voltage appearance adjacent with being grounded, tends not to play a very good protection,
It is burnt so as to cause LCM, causes biggish economic loss to enterprises and individuals.
Electromagnetic relay is a kind of electronic control device, it has control system (also known as input circuit) and by control system
(also known as output loop), is usually applied in automatic control circuit, it actually goes to control with lesser electric current, lower voltage
A kind of automatic switch of biggish electric current, higher voltage, plays automatic adjustment, safeguard protection, conversion circuit etc. in circuit
Effect.Electromagnetic relay is generally made of electromagnet, armature, spring leaf, contact etc., operating circuit by low-voltage control circuit and
High-pressure work circuit composition, may be implemented far distance control and automation control.When coil both ends add certain voltage, line
Certain electric current is just had in circle, to generate galvanomagnetic-effect, armature will overcome spring under the action of electromagnetic attracting force
Pulling force is drawn to iron core, and then the movable contact with moving armature and stationary contact (normally opened contact) are attracted;After coil blackout, the suction of electromagnetism
Power also disappears therewith, and armature will return to original position in the reaction force of spring, so that movable contact and original stationary contact
(normally-closed contact) release.By the actuation of stationary contact and movable contact, release, the purpose of conducting in circuit, cutting can reach.
To solve the problems, such as to exist in the prior art, the embodiment of the present invention utilizes electromagnetic relay characteristic, to existing LCM circuit
Detection device is improved, overvoltage protection when being realized by increasing voltage detecting circuit to LCM inspection, to be effectively reduced
Product burns risk and LCM even weldering missing inspection.
Referring to Fig. 1, the embodiment of the invention provides a kind of LCM circuit checker, which includes central processing unit
101, D/A converter module 102 and voltage detection module 103.Wherein, central processing unit 101 is the fortune of LCM circuit checker
LCM circuit detects for controlling LCM circuit checker in calculation center and control centre.D/A converter module 102 is distinguished
It is connected with central processing unit device 101 and voltage detection module 103, for voltage detection module 103 and central processing unit 101
Between interaction data converted, for example, central processing unit 101 is sent to voltage detection module by D/A converter module 102
103 instruction is converted to electric signal, so that the instruction that central processing unit 101 is sent to voltage detection module 103 can be electric
Detection module 103 is pressed to identify;In another example voltage detection module 103 is sent to central processing unit 101 by D/A converter module 102
Voltage data be converted into digital signal so that voltage detection module 103 is sent to the voltage data of central processing unit 101
It can be identified by central processing unit 101.
In the present embodiment, multiple voltage detection units, each voltage detection unit are provided in voltage detection module 103
An as voltage detecting circuit can detect LCM circuit to be detected.In order to prevent because maloperation cause it is to be detected
LCM circuit shorted to earth, an electromagnetic relay is provided in each voltage detection unit, which includes at least one
A coil, armature etc..The selection to two kinds of voltage gears can be realized by electromagnetic relay, which includes first
Voltage gear and second voltage gear, the corresponding voltage of first voltage gear can be 1V (volt), 2V, 3V etc., second voltage shelves
The corresponding voltage in position can be 5V, 6V, 7V etc., and the present embodiment is not to the corresponding voltage of first voltage gear and second voltage gear
Corresponding voltage is specifically limited, and it is corresponding need to only to guarantee that the corresponding voltage of first voltage gear is less than second voltage gear
Voltage.
Fig. 2 be voltage detection unit structural schematic diagram, wherein 1 be triode emitter, 2 be triode base stage, 3
It is a stationary contact of electromagnetic relay for the collector of triode, 4,5 be another stationary contact of electromagnetic relay, and 6 be electricity
The coil of magnetic relay.In the present embodiment, electromagnetic relay has various states, works as ST1=0, after electromagnetic relay is powered
No current in coil;Work as ST1=1, has electric current in coil after electromagnetic relay is powered.Working condition based on electromagnetic relay,
When being passed through biggish electric current in the base stage 1 in triode, according between base current, collector current and emitter current
Relationship: collector current IC=emitter current IE=β * base current IB, the electric current in emitter and collector also increase therewith
Greatly, the voltage drop at this time between collector and emitter is very low (VCE is 0.4V or less), between collector and emitter completely
Conducting.
In the present embodiment, as the state ST1=0 of electromagnetic relay, no current in the coil of electromagnetic relay, voltage
LCM to be detected is connected to first voltage gear by armature by detection unit, and as shown in Figure 2, which is 5V_
TEST (1.7V) shelves.Voltage detection unit detects LCM to be detected, obtains test voltage data, and test voltage data are led to
It crosses after D/A converter module 102 is converted and is sent to central processing unit 101, which is judged by central processing unit 101
Whether shorted to earth, if it is judged that the test voltage data shorted to earth, then control voltage detection unit and LCM to be detected
Cutting, if it is judged that the non-shorted to earth of test voltage data, the state of central processing unit device control electromagnetic relay becomes ST1
=1, there is electric current in the coil of electromagnetic relay at this time, galvanomagnetic-effect is generated in electromagnetic relay, voltage detection unit will be to be checked
The LCM of survey is connected to second voltage gear, which is normal voltage gear.
In another embodiment of the present invention, it connects in each voltage detection unit a resistance, the resistance of the resistance
It is worth generally large, certain protective effect can be started when maloperation causes short circuit in LCM circuit detection process.
Referring to Fig. 1, LCM circuit checker further includes current detection module 104, the current detection module 104 and digital-to-analogue
Conversion module 102 is connected, for detecting the electric current in LCM circuit to be detected.
Referring to Fig. 1, LCM circuit checker further includes display module 105, the display module 105 and central processing unit 101
It is connected, for judging test voltage number in central processing unit 101 when LCM to be detected is connected to first voltage gear
After shorted to earth, the warning information that display central processing unit is sent, the side of being also used to LCM to be detected is connected to second voltage
When gear, in display to the failure detection result of LCM circuit checker.
Referring to Fig. 1, LCM circuit checker further includes alarm module 106, the alarm module 106 and central processing unit 101
It is connected, for playing specific audio frequency file after central processing unit 101 judges test voltage data shorted to earth, with
Prompt user LCM circuit shorted to earth.
Referring to Fig. 1, LCM circuit checker further includes key operation module 107, which includes each
A key with different function, for example, switch key etc..The key operation module 107 is connected with central processing unit 101,
Detectable user institute touch controlled key generates command adapted thereto according to user's institute's touch controlled key, and instruction generated is sent to
Central processor 101.
Referring to Fig. 1, LCM circuit checker further includes power module 108, the power module 108 respectively with central processing
Device 101, D/A converter module 102, voltage detection module 103, current detection module 104, display module 105, alarm module 106
And key operation module 107 is connected, which is used to supply for each functional module of LCM circuit checker
Electricity.
Device provided in an embodiment of the present invention, it is whether short over the ground using the lesser first voltage gear detection LCM of voltage value
LCM is connected to the biggish second voltage gear of voltage value and detected, to have by road after detecting that LCM is not short-circuit over the ground
It prevents LCM from burning to effect, saves resource.
The embodiment of the invention provides the method flow diagram that a kind of pair of LCM circuit is detected, this method applies above-mentioned Fig. 1
Shown in power detector and voltage detection unit shown in Fig. 2, referring to Fig. 3, method flow packet provided in this embodiment
It includes:
301, central processing unit receives the test voltage data that voltage detection unit is sent.
Due to the method provided in this embodiment detected to LCM circuit, short-circuit inspection mainly is carried out to LCM circuit
It surveys, is shorted over the ground to avoid because of maloperation LCM circuit, LCM is caused to burn, and before carrying out short-circuit detecting to LCM circuit, it needs
The test point of LCM circuit is connected with correspondingly voltage detection unit, and passes through detection of the voltage detection unit to LCM circuit
Point is detected.Therefore, it before being detected using test point of the voltage detection unit to LCM circuit, needs for voltage detecting
Predetermined voltage range is arranged in unit, and default cut-in voltage is arranged for electromagnetic relay.When specific setting, central processing unit can be connect
The setting code of user's input, and the setting code inputted according to user are received, predetermined voltage range is set for voltage detection unit,
For electromagnetic relay, default cut-in voltage is set.Wherein, be voltage detection unit setting predetermined voltage range can be 1V~
It is 1.5V, 1.6V etc. that 2V, 2V~3V etc., which is the default cut-in voltage of electromagnetic relay setting,.
Except through may be used also outside short-circuit detecting to LCM circuit using the voltage of voltage detection unit detection LCM circuit
Short-circuit detecting is carried out to LCM circuit by the electric current that current detection module detects LCM circuit.For this purpose, using current detecting mould
Before the electric current that block detects LCM circuit carries out short-circuit detecting to LCM circuit, also it can be arranged one in advance for current detection module in advance
If current range.The predetermined current may range from 0mA~40mA, 20mA~60mA etc..
It should be noted that due to including multiple voltage detection units in voltage detection module, and each voltage detecting list
The test point of member LCM circuit detected is different, and voltage when different test point short circuits is different, therefore, this reality
The method for applying example offer is that the predetermined voltage range that different voltage detection units is arranged is different.
For the ease of subsequent applications, it is being provided with predetermined voltage range for voltage detection unit, is being arranged for electromagnetic relay
After default cut-in voltage, the step of also executing storage predetermined voltage range and default cut-in voltage, when specific storage, can
Default low voltage range and default cut-in voltage are stored in corresponding storage unit.
In the present embodiment, voltage detection unit has various states, including leaves detecting state, normal condition and initial
Change state, the corresponding register value of different conditions are different.In the present embodiment, the state of voltage detection unit can use H72_SMP table
Show, as H72_SMP=0, indicates that voltage detection unit is in and leave detecting state, as H72_SMP=1, indicate voltage inspection
It surveys unit and is in normal condition, as H72_SMP=2, indicate that voltage detection unit is in init state.Central processing unit is logical
It crosses and the triggerable voltage detection unit of SHORT_TEST subprogram is called to be in different states.
When the switch key in user's touch controlled key module, LCM circuit checker is opened, and central processing unit calls
SHORT_TEST subprogram generates third control instruction, and third control instruction is sent to D/A converter module, is turned by digital-to-analogue
Voltage detection unit is sent to after mold changing block conversion.When the third control instruction for receiving central processing unit transmission, voltage detecting
Unit uses default cut-in voltage for electromagnetic relay power supply, and is in init state, under init state, electromagnetism relay
No current in the coil of device does not generate electromagnetic induction effect, and voltage detection unit is connected LCM to be detected by armature at this time
To first voltage gear.When LCM to be detected is connected to first voltage gear, voltage detection unit detects LCM to be detected
Voltage, obtain test voltage data, and test voltage data are sent to D/A converter module, converted by D/A converter module
Voltage detection unit afterwards.
302, central processing unit judges whether test voltage data are located in predetermined voltage range, if it is, executing step
Rapid 303, if not, thening follow the steps 304.
When the test voltage data for receiving voltage detection unit transmission, central processing unit is by judging the test voltage model
Enclose whether be located at predetermined voltage range in, with the voltage of determination LCM to be detected whether shorted to earth.Specific judgement is center
The test voltage data received can be compared by processor with predetermined voltage range, be preset if test voltage data are located at
In voltage range, illustrate the voltage of LCM to be tested not shorted to earth, can be performed at this time step 303 LCM circuit is carried out therefore
Barrier detection;If test voltage data are located at except predetermined voltage range, illustrate the voltage shorted to earth of LCM to be tested, this
When executable step 304, to prevent LCM to be burned out.
303, central processing unit sends the first control instruction to voltage detection unit, and first control instruction is for controlling electricity
Press detection unit that LCM to be detected is connected to second voltage gear.
When judging that test voltage data are located within predetermined voltage range, central processing unit will be sent out to voltage detection unit
Send the first control instruction.After receiving the first control instruction, voltage detection unit is in normal condition, produces in electromagnetic relay
Raw electric current generates galvanomagnetic-effect in the effect of electric current, and LCM to be detected is connected to the second electricity by armature by voltage detection unit
Press gear.
After LCM to be detected is connected to second voltage gear, the voltage at the electromagnetic relay both ends of voltage detection unit
Also become the corresponding voltage of second voltage gear.When receiving termination detection instruction, central processing unit is by electromagnetic relay
Voltage resets to default cut-in voltage, and the voltage range of voltage detection unit is reset to predetermined voltage range, thus under being
Primary booting detection LCM whether prepare by short circuit.
304, central processing unit sends the second control instruction to voltage detection unit, and second control instruction is for controlling electricity
Press the connection between detection unit cutting and LCM to be detected.
When judging that test voltage data are located at except predetermined voltage range, central processing unit will be sent out to voltage detection unit
Send the second control instruction.When receive central processing unit transmission the second control instruction, voltage detection unit cutting with it is to be detected
LCM between connection, burnt with keeping away LCM to be detected.
In addition, in order to remind user's LCM circuit shorted to earth in time, central processing unit will also send short circuit to display module
Reminder message is shown by display module.Wherein, the content of short-circuit reminder message can be " some where short " etc.
Deng.
The above-mentioned process that LCM circuit is detected, in order to make it easy to understand, below will by taking a specific example as an example into
Row explanation.
Referring to fig. 4, in the power-offstate, when detecting that switch key is selected, central processing unit is voltage detection unit
Predetermined voltage range is set, default cut-in voltage is set for electromagnetic relay.Later, central processing unit calls SHORT_TEST
Program sends third control instruction to voltage detection unit, so that voltage detection unit is in init state, voltage detecting list
LCM to be detected is connected to first voltage gear by armature by member.Voltage detection unit obtains the test electricity of LCM to be detected
Data are pressed, and test voltage data are sent to central processing unit, whether central processing unit judges test voltage data default
In voltage range, if test voltage data in predetermined voltage range, by LCM connection to be detected to second voltage gear
Fault detection is carried out, if test voltage data carry out warning note not in predetermined voltage range, and on the display module
Show " some where short " etc..
Method provided in an embodiment of the present invention, it is whether short over the ground using the lesser first voltage gear detection LCM of voltage value
LCM is connected to the biggish second voltage gear of voltage value and detected, to have by road after detecting that LCM is not short-circuit over the ground
It prevents LCM from burning to effect, saves resource.
It should be understood that LCM circuit checker provided by the above embodiment is when detecting LCM circuit, only
The example of the division of the above functional modules, in practical application, can according to need and by above-mentioned function distribution by
Different functional module is completed, i.e., the internal structure of LCM circuit checker is divided into different functional modules, with complete with
The all or part of function of upper description.In addition, LCM circuit checker provided by the above embodiment is carried out with to LCM circuit
The embodiment of the method for detection belongs to same design, and specific implementation process is detailed in embodiment of the method, and which is not described herein again.
Those of ordinary skill in the art will appreciate that realizing that all or part of the steps of above-described embodiment can pass through hardware
It completes, relevant hardware can also be instructed to complete by program, the program can store in a kind of computer-readable
In storage medium, storage medium mentioned above can be read-only memory, disk or CD etc..
The foregoing is merely presently preferred embodiments of the present invention, is not intended to limit the invention, it is all in spirit of the invention and
Within principle, any modification, equivalent replacement, improvement and so on be should all be included in the protection scope of the present invention.