CN106879112B - A kind of proximity magnetic induction switch control chip and its control method - Google Patents

A kind of proximity magnetic induction switch control chip and its control method Download PDF

Info

Publication number
CN106879112B
CN106879112B CN201710129201.5A CN201710129201A CN106879112B CN 106879112 B CN106879112 B CN 106879112B CN 201710129201 A CN201710129201 A CN 201710129201A CN 106879112 B CN106879112 B CN 106879112B
Authority
CN
China
Prior art keywords
module
control
magnetic induction
chip
switch
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201710129201.5A
Other languages
Chinese (zh)
Other versions
CN106879112A (en
Inventor
王健
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
SHENZHEN MOJAY SEMICONDUCTOR Co Ltd
Original Assignee
SHENZHEN MOJAY SEMICONDUCTOR Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by SHENZHEN MOJAY SEMICONDUCTOR Co Ltd filed Critical SHENZHEN MOJAY SEMICONDUCTOR Co Ltd
Priority to CN201710129201.5A priority Critical patent/CN106879112B/en
Publication of CN106879112A publication Critical patent/CN106879112A/en
Application granted granted Critical
Publication of CN106879112B publication Critical patent/CN106879112B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H05ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
    • H05BELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
    • H05B45/00Circuit arrangements for operating light-emitting diodes [LED]
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02BCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO BUILDINGS, e.g. HOUSING, HOUSE APPLIANCES OR RELATED END-USER APPLICATIONS
    • Y02B20/00Energy efficient lighting technologies, e.g. halogen lamps or gas discharge lamps
    • Y02B20/30Semiconductor lamps, e.g. solid state lamps [SSL] light emitting diodes [LED] or organic LED [OLED]

Landscapes

  • Electronic Switches (AREA)

Abstract

The present invention relates to approach switch technical fields, a kind of proximity magnetic induction switch control chip of present invention offer and its control method, it includes voltage regulator module, control module, output type detection module, the first controllable switch and the second controllable switch that proximity magnetic induction switch, which controls chip,;When connection loads between connection load or signal output end and ground terminal between the voltage input end and signal output end of output type detection module detection proximity magnetic induction switch control chip, testing result is sent to control module;Control module controls the first controllable switch or the conducting of the second controllable switch to drive loaded work piece according to testing result, proximity magnetic induction switch control chip height integrates multiple modules, reduce the design size and wiring space of chip, it is capable of the type and automatic selector switch circuit structure of the connect load of automatic identification, improves flexibility.

Description

A kind of proximity magnetic induction switch control chip and its control method
Technical field
The present invention relates to approach switch technical field more particularly to a kind of proximity magnetic induction switch control chip and its Control method.
Background technology
Traditional proximity sensor is mainly used in industrial automation equipment, pipeline automation detection etc..It is related to The close switch of inductance approach switch, safety anti-explosive formula, the close switch of inductance analogy amount output, the close switch of magnetic induction and electricity The close switch of appearance formula.No matter the proximity sensor of which kind of pattern, generally comprise three parts, when receive or generate induction The power pack of signal section;Second is that the main circuit part of identifying processing;Third, as on-off action open or close by Control switching device part.
For receiving or generating the power pack of inductive signal part, general at present there are many technical solution, Yi Zhongji Art scheme is not do the processing of any power supply, directly the main power source of input is powered for sensor assembly, this way must be selected With the device (voltage and current absorbs impact enough) of corresponding specification, while device volume size disclosure satisfy that power consumption requirements, whole Size is bigger than normal, is applied to simple low cost, the occasion of low required precision.Another technical solution is power pack by detaching member Device does special decompression processing or linear voltage stabilization processing, meets high-precision, high stability and the application requirement of low-power consumption.
For the main circuit part of identifying processing, mainly to the timely sampling processing of inductive signal and drive signal is given to Main switching device will accomplish the accurate quick of sampling, and have enough driving capability driving load operations.
For the controlled switching devices part opened, closed as on-off action, according to different application requirements and application Environment, also there are many processing modes.1, simply use transistor drive circuit, namely conventional independent PNP or NPN triode Do main switching device;2, the PNP or NPN triode synthesis application of integrated form, but wiring is must distinguish between, substantially it is still single One application that can only correspond to given load;3, mechanically there is the mode switching control of direct contact, such as spring leaf or electrification Coil is closed or is opened under the action of induction force, and induction force disappears, and switching device is in spring or similar to inertia force Original state is automatically restored under effect.
It receives or generates the power pack of inductive signal part, the main circuit part of identifying processing and make as switch It is combined with these three parts of controlled switching devices part opened, closed, and according to actual application requirement, is made in regulation Wiring board on, just constitute the application structure frame of conventional approach switch.
Existing application scheme is power pack, signal identification and the place for receiving or generating inductive signal in structure The main circuit part of reason and these three parts of the controlled switching devices composition opened or closed as on-off action, and be It is made of discrete component, circuit stray is in disorder.
The load of output includes that NPN type driving support structures drive support structures, current application scheme necessary with positive-negative-positive On the basis of understanding loadtype, the circuit structure of corresponding driving structure is targetedly used, it otherwise can not normal driving Work.For example the support structures of NPN type, corresponding approach switch driving circuit must be the driving circuit of NPN type, positive-negative-positive Support structures, corresponding approach switch driving circuit must be the driving circuit of positive-negative-positive, and cannot achieve same circuit can With the load of two kinds of structures of compatible driving.
Invention content
The purpose of the present invention is to provide a kind of proximity magnetic induction switch control chip and its control methods, it is intended to solve It is existing in the prior art to cannot achieve the problem of same circuit be with the load of two kinds of structures of compatible driving.
The invention is realized in this way first aspect provides a kind of proximity magnetic induction switch control chip, it is described close Formula magnetic induction switch controls the voltage input end of the voltage output end connection hall device of chip, the proximity magnetic induction switch The signal input part of control chip connects the signal output end of the hall device, and the control chip includes voltage adjustment mould Block, control module, output type detection module, the first controllable switch and the second controllable switch;
The control module be separately connected the control terminal of the voltage regulator module, the output type detection module it is defeated The control terminal of outlet, the control terminal of first controllable switch and second controllable switch, first controllable switch The voltage input end of input terminal, the first input end of the output type detection module and the voltage regulator module connects simultaneously altogether Constitute the voltage input end of proximity magnetic induction switch control chip, the output end of first controllable switch, described the Second input terminal of the output end of two controllable switches and the output type detection module connects and constitutes the proximity magnetic altogether The signal output end of inductive switch control chip, the input terminal of second controllable switch and the output type detection module Third input terminal is connected to ground and constitutes the ground terminal of the proximity magnetic induction switch control chip, the voltage regulator module altogether Output end be the proximity magnetic induction switch control chip voltage output end, the input terminal of the control module is described Proximity magnetic induction switch controls the signal input part of chip;
Output is powered to hall device after input voltage is adjusted by the voltage regulator module;
The output type detection module detects the voltage input end and letter of the proximity magnetic induction switch control chip The signal output end and the ground terminal of connection load or proximity magnetic induction switch control chip between number output end Between connect load when, testing result is sent to the control module;
The inductive signal that the control module sends the hall device is handled, and according to the testing result control First controllable switch or second controllable switch conducting are made to drive loaded work piece.
With reference to first aspect, as the first embodiment of first aspect, the proximity magnetic induction switch controls core Piece further includes LED drive module, and the input terminal of the LED drive module connects the output end of the control module, and the LED drives The output end of dynamic model block connects the first LED light and the second LED light;
When the control module controls the first controllable switch conducting, the LED drive module is driven to make described first LED light works;
When the control module controls the second controllable switch conducting, the LED drive module is driven to make described second LED light works.
With reference to first aspect, as second of embodiment of first aspect, the output type detection module includes the Three resistance, the 4th resistance and comparator, the first end of the 3rd resistor are the first defeated of the output type detection module Enter end, the second end of the 3rd resistor connects the in-phase input end of the first end and the comparator of the 4th resistance, institute The inverting input for stating comparator is the second input terminal of the output type detection module, and the second end of the 4th resistance is The output end of the third input terminal of the output type detection module, the comparator is the defeated of the output type detection module Outlet.
With reference to first aspect, as the third embodiment of first aspect, the control module detects output current When abnormal, drive the LED drive module that first LED light or second LED light is made to be in flicker state, it is lasting to locate When protecting working condition preset time and detecting the inductive signal, first controllable switch or described is reopened Second controllable switch.
With reference to first aspect, as the first embodiment of first aspect, the proximity magnetic induction switch controls core Piece further includes low pressure locking module, and the input terminal of the low pressure locking module connects the voltage input end of the control chip, institute State the input terminal of the output end link control module of low pressure locking module;
When it is described control chip voltage input end and ground terminal between connection power supply, it is described control chip output end with When connecting connection load between power supply or the voltage input end and ground terminal for controlling chip between ground terminal, the low pressure Locking module is in the lock state, and the control module controls the voltage regulator module and is stopped.
Second aspect of the present invention provides a kind of control method of proximity magnetic induction switch control chip, the proximity magnetic Inductive switch controls the voltage input end of the voltage output end connection hall device of chip, the proximity magnetic induction switch control The signal input part of chip connects the signal output end of the hall device, and the control chip includes voltage regulator module, control Molding block, output type detection module, the first controllable switch and the second controllable switch;
The control module be separately connected the control terminal of the voltage regulator module, the output type detection module it is defeated The control terminal of outlet, the control terminal of first controllable switch and second controllable switch, first controllable switch The voltage input end of input terminal, the first input end of the output type detection module and the voltage regulator module connects simultaneously altogether Constitute the voltage input end of proximity magnetic induction switch control chip, the output end of first controllable switch, described the Second input terminal of the output end of two controllable switches and the output type detection module connects and constitutes the proximity magnetic altogether The signal output end of inductive switch control chip, the input terminal of second controllable switch and the output type detection module Third input terminal is connected to ground altogether, and the output end of the voltage regulator module is the electricity that the proximity magnetic induction switch controls chip It is the signal input part that the proximity magnetic induction switch controls chip to press output end, the input terminal of the control module;
The control method includes:
Output is powered to hall device after input voltage is adjusted by the voltage regulator module;
The output type detection module connects load between detecting the voltage input end and output end for controlling chip Or testing result is sent to the control mould when connection load between the output end and the ground terminal of the control chip Block;
The inductive signal that the control module sends the hall device is handled, and according to the testing result control First controllable switch or second controllable switch conducting are made to drive loaded work piece.
In conjunction with second aspect, as the first embodiment of second aspect, the proximity magnetic induction switch controls core Piece further includes LED drive module, and the input terminal of the LED drive module connects the output end of the control module, and the LED drives The output end of dynamic model block connects the first LED light and the second LED light;
The control method further includes:
When the control module controls the first controllable switch conducting, the LED drive module is driven to make described first LED light works;
When the control module controls the second controllable switch conducting, the LED drive module is driven to make described second LED light works.
In conjunction with the first embodiment of second aspect, as second of embodiment of second aspect, the control mould When block detects output current exception, the LED drive module is driven to make at first LED light or second LED light In flicker state, it is continuously in protection working condition preset time and when detecting the inductive signal, reopens described the One controllable switch or second controllable switch.
In conjunction with second aspect, as the third embodiment of second aspect, the proximity magnetic induction switch controls core Piece further includes low pressure locking module, and the input terminal of the low pressure locking module connects the voltage input end of the control chip, institute State the input terminal of the output end link control module of low pressure locking module;
The control method further includes:
When it is described control chip voltage input end and ground terminal between connection power supply, it is described control chip output end with When connecting connection load between power supply or the voltage input end and ground terminal for controlling chip between ground terminal, the low pressure Locking module is in the lock state, and the control module controls the voltage regulator module and is stopped.
A kind of proximity magnetic induction switch control chip of offer of the embodiment of the present invention and its control method, the control chip are high Degree integrates multiple modules, simplifies external circuit, reduces the design size area and wiring space of application, better meet The actual requirement of the integrated miniaturization of modern Application, and it is capable of the type and automatic selector switch electricity of the connect load of automatic identification Line structure can be compatible with two kinds of output loading types of NPN and PNP, improve flexibility and the convenience of application, and can be real Now high-precision, low-power consumption, highly integrated, more defencive functions and Width funtion application range application requirement.
Description of the drawings
It to describe the technical solutions in the embodiments of the present invention more clearly, below will be to embodiment or description of the prior art Needed in attached drawing be briefly described, it should be apparent that, the accompanying drawings in the following description be only the present invention some Embodiment for those of ordinary skill in the art without having to pay creative labor, can also be according to these Attached drawing obtains other attached drawings.
Fig. 1 is a kind of structural schematic diagram for proximity magnetic induction switch control chip that an embodiment of the present invention provides;
Fig. 2 is a kind of structural representation for proximity magnetic induction switch control chip that another embodiment of the invention provides Figure;
Fig. 3 is a kind of working condition signal for proximity magnetic induction switch control chip that an embodiment of the present invention provides Figure;
Fig. 4 is a kind of working condition signal for proximity magnetic induction switch control chip that an embodiment of the present invention provides Figure;
Fig. 5 is a kind of partial circuit diagram for proximity magnetic induction switch control chip that an embodiment of the present invention provides;
Fig. 6 is a kind of output current wave for proximity magnetic induction switch control chip that an embodiment of the present invention provides Figure;
Fig. 7 is a kind of structural representation for proximity magnetic induction switch control chip that another embodiment of the invention provides Figure;
Fig. 8 is a kind of control method for proximity magnetic induction switch control chip that another embodiment of the invention provides Flow chart.
Specific implementation mode
In order to make the purpose , technical scheme and advantage of the present invention be clearer, with reference to the accompanying drawings and embodiments, right The present invention is further elaborated.It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, and It is not used in the restriction present invention.
In order to illustrate technical scheme of the present invention, illustrated below by specific embodiment.
The embodiment of the present invention provides a kind of proximity magnetic induction switch control chip 10, as shown in Figure 1, proximity magnetic induction The voltage input end of the voltage output end VOUT connections hall device 20 of switch control chip 10, the control of proximity magnetic induction switch The signal output end of the signal input part SIN connections hall device 20 of chip 10, proximity magnetic induction switch control chip 10 and wrap It is controllable to include voltage regulator module 102, control module 101, output type detection module 103, the first controllable switch 104 and second Switch 105;
Control module 101 is separately connected the output of the control terminal of voltage regulator module 102, output type detection module 103 It holds, the control terminal of the control terminal of the first controllable switch 104 and the second controllable switch 105, the input of the first controllable switch 104 The voltage input end at end, the first input end of output type detection module 103 and voltage regulator module 102 connects and constitutes institute altogether The voltage input end VIN of proximity magnetic induction switch control chip 10 is stated, the output end of the first controllable switch 104, second are controllably The output end of switch 105 and the second input terminal of output type detection module 103 connect and constitute proximity magnetic induction switch altogether Control the signal output end SOUT of chip 10, the third of the input terminal and output type detection module 103 of the second controllable switch 105 Input terminal be connected to altogether ground and constitute proximity magnetic induction switch control chip 10 ground terminal GND, voltage regulator module 102 it is defeated Outlet is the voltage output end VOUT that proximity magnetic induction switch controls chip 10, and the input terminal of control module 101 is proximity Magnetic induction switch controls the signal input part SIN of chip 10;
Voltage regulator module 102 is exported after being adjusted input voltage and is powered to hall device 20;
Between the voltage input end VIN and signal output end SOUT of the detection control chip 10 of output type detection module 103 When connecting load between the signal output end SOUT and ground terminal GND of connection load or control chip 10, testing result is sent out Give control module 101;
The inductive signal that control module 101 sends hall device 20 is handled, and controls first according to judging result Controllable switch 104 or the conducting of the second controllable switch 105 are to drive loaded work piece.
In embodiments of the present invention, the voltage input end VIN of control chip 10 connects power supply with ground terminal GND, and voltage is defeated It is the anode of DC power supply to enter to hold VIN, and ground terminal GND is the cathode of DC power supply, and the voltage range of input voltage is 2.7- 36V has been compatible with current supply district most of on the market, the basic office for not having to go to consider that voltage range applies system again Limit influences.
In embodiments of the present invention, voltage regulator module 102 is the electricity inside proximity magnetic induction switch control chip 10 Adjustment circuit is pressed, is mainly used for powering to external Hall sensor, input voltage 2.7-36V is converted to suitable power supply electricity It presses and is exported from voltage output end VOUT, the driving current of voltage output end VOUT is arranged in 10mA, maximum overcurrent protection 50mA. Since the type kind of the connect device of voltage output end is various, voltage is each different, and output voltage is by being arranged feedback end VFB institutes The resistance value of connection is come the various voltage values that are needed, without necessarily using different voltage-regulating circuits again, due to Various voltage transformation modules in the prior art may be used in voltage regulator module, and to its concrete structure, details are not described herein.
In embodiments of the present invention, metal-oxide-semiconductor may be used in the first controllable switch 104 and the second controllable switch 105, by connecing Nearly formula magnetic induction switch control chip 10 controls the combination application of the metal-oxide-semiconductor inside chip 10, improves response speed, reduces This province of device power consumption, and the smaller conduction loss of the rated current of bigger can be supported using metal-oxide-semiconductor design, wherein metal-oxide-semiconductor Can be PMOS tube or NMOS tube, as an implementation, the first controllable switch 104 and the second controllable switch 105 can be with Using PMOS tube and NMOS tube can be respectively adopted, wherein proximity magnetic induction switch controls the controlled switching devices of chip 10 The drain electrode input terminal that the source electrode output end and pull-down NMOS pipe of PMOS tube are pulled up in output end SOUT connection chip interiors, by connecing The combination application of PMOS tube and NMOS tube inside nearly formula magnetic induction switch control chip 10, improves response speed, and PMOS tube and NMOS tube can reach the applicable cases of compatible different loads according to the connection of load, corresponding selection conducting. Wherein, two metal-oxide-semiconductors are all made of the specification of pressure-resistant 40V electric currents 0.5A, and foot has been reserved for the practical application of conventional maximum 0.2A Enough surpluses.
Control chip 10 is set to have by the way that output type detection module 103 is arranged output type detection module 103 Automatic load accesses detection function, you can the port position that access proximity magnetic induction switch controls chip 10 is loaded with detection, When load accesses between signal output end SOUT and ground terminal GND, since proximity magnetic induction switch controls the defeated of chip 10 Outlet SOUT outputs are high-impedance state, and are biased near VIN/2 current potentials by internal circuit, as load access output end SOUT and are connect When between ground terminal GND, one impedance of access in parallel is equivalent between output end SOUT and ground terminal GND, so as to cause output It holds the current potential of SOUT to be less than the current potential of VIN/2, when load accesses between voltage input end VIN and output end SOUT, is equivalent to One impedance of access in parallel, the current potential so as to cause output end SOUT are higher than between voltage input end VIN and output end SOUT The current potential of VIN/2, therefore, by the current potential of detection output SOUT, to detect the position of load access.
Specifically, as an implementation, as shown in figure 5, output type detection module 103 include 3rd resistor R3, The first end of 4th resistance R4 and comparator U1,3rd resistor R3 are the first input end of output type detection module 103, the The second end of three resistance R3 connects the in-phase input end of the first end and comparator U1 of the 4th resistance R4, and the reverse phase of comparator U1 is defeated Enter the second input terminal that end is output type detection module 103, the second end of the 4th resistance R4 is output type detection module 103 Third input terminal, the output end of comparator U1 is the output end of output type detection module 103.
Further, proximity magnetic induction switch control chip 10 further includes LED drive module 106, LED drive module The output end of the output end of 106 input terminal link control module 101, LED drive module 106 connects the first LED light and second LED light;
When controller module controls the conducting of the first controllable switch 104, driving LED drive module 106 makes the first LED light work Make;
When controller module controls the conducting of the second controllable switch 105, driving LED drive module 106 makes the second LED light work Make.
Specifically, load input type is detected automatically after finishing, the first set LED light and second can be passed through LED light shows the use state of the first controllable switch and the second controllable switch, specifically, the first controllable switch and second is controllably opened When NMOS tube and PMOS tube is respectively adopted in pass, the specific work process of NMOS tube and PMOS tube is as follows:
The course of work of NMOS tube structure output is as follows:As shown in figure 3, control chip 10 can be set to the offer of hall device 20 Fixed burning voltage (error ± 2%), maximum voltage are no more than Vin-0.3V, after hall device 20 senses that action occurs, 2nd foot of hall device 20 exports high level, and the input terminal SIN of control chip 10 is connected to signal, opens NMOS tube, supplied to load Electricity, the voltage in load is about VIN-1V, and the ports LEDR can export high level at this time, to light red indicating light.
The course of work of PMOS tube structure output is as follows:As shown in figure 4, control chip 10 can be set to the offer of hall device 20 Fixed burning voltage (error ± 2%), maximum voltage are no more than Vin-0.3V, after hall device 20 senses that action occurs, 2nd foot of hall device 20 exports high level, and the input terminal SIN of control chip 10 is connected to signal, opens PMOS tube, supplied to load Electricity, the voltage in load is about VIN-1V.The ports LEDG can export high level at this time, to light green indicator light, specifically , shown in the LED status table that working condition such as the following table 1 of red light or green light provides:
When Hall acts Loaded work piece is normal Loaded work piece is abnormal (output open circuit/short circuit)
N pipe structure outputs When red, green light do not work Red light dodges, and green light does not work
P pipe structure outputs Red light does not work, green light Red light does not work, and green light dodges
1 LED status table of table
Further, referring to above-mentioned table 1, when control module 101 detects output current exception, LED drive module is driven 106 make the first LED light or the second LED light be in flicker state, are continuously in protection working condition preset time and detect When inductive signal, the first controllable switch 104 or the second controllable switch 105 are reopened.
Specifically, as shown in Figure 6:When control module 101 detects that output current is more than Io_peak threshold values, and maintain After 4uS, current-limiting protection is triggered, output current is limited in Io_limit at this time, until output current drops to normal work Within current range, while if control chip 10 works long hours always under limited current state, such as more than the time of 4mS, So control chip 10 enters CUT-OFF patterns, so that output power path is disconnected by controlling controllable switch, shut-in time 60mS After, if the signal of input terminal SIN is still effective at this time, and repeats to open controllable switch, into pattern of having the hiccups repeatedly.
Further, low as shown in fig. 7, proximity magnetic induction switch control chip 10 further includes low pressure locking module 107 The voltage input end VIN of the input terminal connection control chip 10 of locking module 107, the output end of low pressure locking module 107 is pressed to connect Connect the input terminal of control module 101;
When connecting power supply between the voltage input end VIN and ground terminal GND of control chip 10, and the letter of chip 10 is controlled Connect number between output end SOUT and ground terminal GND power supply or control chip 10 voltage input end VIN and ground terminal GND it Between connect load when, low pressure locking module is in the lock state, control module 101 control voltage regulator module 102 be stopped.
Specifically, the embodiment of the present invention realizes anti-reverse Functional Design, such as Fig. 7 by the way that low pressure locking module 107 is arranged Shown, when control chip 10 is normally being applied, the entire chip 10 that controls finally connects only three lines outward, is electricity respectively Source line positive (VIN), power cord cathode (GND) and load output line (SOUT), and have dedicated color line right respectively therewith It answers, in application process, operator is due to that cannot identify the port corresponding to every line for this three line, it is possible that wrong Situation.Such as there are following several situations:Power cord anode VIN and power cord cathode GND are reversed, power cord anode VIN and output Hold SOUT to changing-over, output end SOUT and power cord cathode GND is to changing-over.Low pressure locking module is arranged by portion in the chip to supervise The case where voltage input end VIN connect load with signal output end SOUT is surveyed, the VIN/SOUT/GND of control chip 10 can be made Three pins have the function of anti-reverse.
Specifically, working as, load is connected between output end SOUT and power cord cathode GND and power supply is connected to power cord When between positive VIN and power cord cathode GND, control chip normally powers on, and voltage regulator module 102 is started to work, while defeated Go out type detection module 103 and detect that load accesses between SOUT to GND, control module 101 receives induction letter from input terminal SIN After number, PMOS tube is opened;Since the both ends PMOS are supply voltage at this time, it can detect PMOS overcurrents and have the hiccups repeatedly, dodge simultaneously Lamp indicates load abnormal, until SIN signals drag down or low pressure locking module etc. is completely switched off signal triggering.
When load be connected between power cord anode VIN and output end SOUT and power supply be connected to output end SOUT with electricity When between the line cathode GND of source, control chip 10 normally powers on, and voltage regulator module 102 is opened, while Check up polarity connects to load Between entering SOUT to VIN, control module 101 opens NMOS tube after input terminal SIN is sent out;Since NMOS tube both ends are at this time Supply voltage can detect NMOS tube overcurrent and have the hiccups repeatedly, while flashing light indicates, until SIN signals drag down or low pressure lock Cover half block etc. is completely switched off signal triggering.
When connection power supply, the output end for controlling chip 10 and ground connection between the voltage input end and ground terminal of control chip 10 When connecting load between the voltage input end and ground terminal of connection power supply or control chip 10 between end, the control power-up of chip 10 Afterwards, load drags down voltage input end VIN voltage, and low pressure locking module detects the voltage of input voltage input terminal VIN, judges low Pressure locking module is in the lock state and can not release, and control chip does not work.
The system work schedule of the embodiment of the present invention is as follows:After system electrification, detect whether input voltage meets first Minimum voltage releases under-voltage locking, if voltage is normal, system clock starts, and voltage regulator module 102 enables work, output class 103 synchronous averaging of type detection module simultaneously works always, and voltage regulator module 102 is powered after working normally to hall device 20, when After hall device 20 detects action, the ends SIN of control chip 10 are connected to signal, correct to open PMOS tube or NMOS tube, when When abnormal or open circuit occurs in system load, into protection working condition, and triggers indicator light and warn flicker, trouble shooting Afterwards, system restores normal work.
Another kind embodiment of the invention provides a kind of control method of proximity magnetic induction switch control chip, proximity magnetic Inductive switch controls the voltage input end of the voltage output end connection hall device of chip, and proximity magnetic induction switch controls chip Signal input part connection hall device signal output end, control chip include voltage regulator module, control module, output class Type detection module, the first controllable switch and the second controllable switch;
Control module be separately connected the control terminal of voltage regulator module, the output end of output type detection module, first can Control the control terminal of switch and the control terminal of the second controllable switch, input terminal, the output type detection module of the first controllable switch First input end and the voltage input end of voltage regulator module connect altogether and constitute proximity magnetic induction switch control chip Voltage input end, the output end of the first controllable switch, the output end of the second controllable switch and output type detection module Two input terminals connect altogether and constitute proximity magnetic induction switch control chip signal output end, the input terminal of the second controllable switch and The third input terminal of output type detection module is connected to ground and constitutes the ground terminal of proximity magnetic induction switch control chip, electricity altogether The output end of pressure adjustment module is the voltage output end that proximity magnetic induction switch controls chip, and the input terminal of control module is to connect The signal input part of nearly formula magnetic induction switch control chip;
As shown in figure 8, the control method includes:
Output is powered to hall device after input voltage is adjusted by step S101. voltage regulator modules.
Step S102. output type detection modules detect the voltage input end and letter of proximity magnetic induction switch control chip It is connected between the signal output end and ground terminal of connection load or proximity magnetic induction switch control chip between number output end When load, testing result is sent to control module.
The inductive signal that step S103. control modules send hall device is handled, and is controlled according to testing result First controllable switch or the conducting of the second controllable switch are to drive loaded work piece.
Further, proximity magnetic induction switch control chip further includes LED drive module, the input of LED drive module The output end of link control module, the output end of LED drive module is held to connect the first LED light and the second LED light;
Control method further includes:
When step S104. controller modules control the conducting of the first controllable switch, driving LED drive module makes the first LED light Work.
When step S105. controller modules control the conducting of the second controllable switch, driving LED drive module makes the second LED light Work.
Further, when control module detects output current exception, driving LED drive module make the first LED light or Second LED light is in flicker state, when being continuously in protection working condition preset time and detecting inductive signal, reopens First controllable switch or the second controllable switch.
Further, proximity magnetic induction switch control chip further includes low pressure locking module, low pressure locking module it is defeated Enter the voltage input end of end connection control chip, the input terminal of the output end link control module of low pressure locking module;
Control method further includes:
Output ends of the step S106. when connection power supply, control chip between the voltage input end and ground terminal of control chip When connecting load between the voltage input end and ground terminal of connection power supply or control chip between ground terminal, low pressure locks mould Block is in the lock state, and control module control voltage regulator module is stopped.
A kind of proximity magnetic induction switch control chip of offer of the embodiment of the present invention and its control method, the control chip are high Degree integrates multiple modules, is capable of the type and automatic selector switch circuit structure of the connect load of automatic identification, as needed flexibly Be arranged sensor supply voltage, compatible conventional application various input voltages, with MOSFET pipes replace traditional triode do by Control switching device, it is intended to reach high-precision, low-power consumption is highly integrated, and the application of more defencive functions, Width funtion application range is wanted It asks.
The application mode of the unified prior art discrete device of compatibility of the embodiment of the present invention, most devices and function are led to Chip interior design is crossed, external circuit is simplified, reduces the design size area and wiring space of application, better meet The actual requirement of the integrated miniaturization of modern Application.
The present invention adds perfect defencive function compared with existing application technology, such as the anti-reverse protection of input and output, Open circuit short-circuit protection, can be compatible with two kinds of output loading types of NPN and PNP, improve flexibility and the convenience of application.
The above content is a further detailed description of the present invention in conjunction with specific preferred embodiments, and it cannot be said that The specific implementation of the present invention is confined to these explanations.For those of ordinary skill in the art to which the present invention belongs, exist Several equivalent substitute or obvious modifications are made under the premise of not departing from present inventive concept, and performance or use is identical, all should It is considered as belonging to present invention scope of patent protection determined by the appended claims.

Claims (9)

1. a kind of proximity magnetic induction switch controls chip, the voltage output end of the proximity magnetic induction switch control chip connects The voltage input end of hall device is connect, the signal input part of the proximity magnetic induction switch control chip connects the Hall device The signal output end of part, which is characterized in that the proximity magnetic induction switch control chip includes voltage regulator module, control mould Block, output type detection module, the first controllable switch and the second controllable switch;
The control module is separately connected the output of the control terminal, the output type detection module of the voltage regulator module End, the control terminal of first controllable switch and second controllable switch control terminal, first controllable switch it is defeated The voltage input end for entering end, the first input end of the output type detection module and the voltage regulator module connects altogether and structure The voltage input end of chip, the output end of first controllable switch, described second are controlled at the proximity magnetic induction switch Second input terminal of the output end of controllable switch and the output type detection module connects and constitutes the proximity magnetic strength altogether Inductive switch controls the signal output end of chip, and the of the input terminal of second controllable switch and the output type detection module Three input terminals are connected to ground and constitute the ground terminal of the proximity magnetic induction switch control chip altogether, the voltage regulator module Output end is the voltage output end that the proximity magnetic induction switch controls chip, and the input terminal of the control module is described connects The signal input part of nearly formula magnetic induction switch control chip;
Output is powered to hall device after input voltage is adjusted by the voltage regulator module;
The output type detection module detect proximity magnetic induction switch control chip voltage input end and signal it is defeated When connecting load between the signal output end and the ground terminal of connection load or the control chip between outlet, it will detect As a result it is sent to the control module;
The inductive signal that the control module sends the hall device is handled, and controls institute according to the testing result The first controllable switch or second controllable switch conducting are stated to drive loaded work piece.
2. proximity magnetic induction switch as described in claim 1 controls chip, which is characterized in that the proximity magnetic induction is opened It further includes LED drive module to close control chip, and the input terminal of the LED drive module connects the output end of the control module, The output end of the LED drive module connects the first LED light and the second LED light;
When the control module controls the first controllable switch conducting, the LED drive module is driven to make first LED light Work;
When the control module controls the second controllable switch conducting, the LED drive module is driven to make second LED light Work.
3. proximity magnetic induction switch as described in claim 1 controls chip, which is characterized in that the output type detects mould Block includes 3rd resistor, the 4th resistance and comparator, and the first end of the 3rd resistor is the output type detection module First input end, the second end of the 3rd resistor connects the same mutually defeated of the first end of the 4th resistance and the comparator Enter end, the inverting input of the comparator is the second input terminal of the output type detection module, the 4th resistance Second end is the third input terminal of the output type detection module, and the output end of the comparator detects for the output type The output end of module.
4. proximity magnetic induction switch as claimed in claim 2 controls chip, which is characterized in that the control module detects When output current exception, drive the LED drive module that first LED light or second LED light is made to be in flicker shape State reopens described first and controllably opens when being continuously in protection working condition preset time and detecting the inductive signal Pass or second controllable switch.
5. proximity magnetic induction switch as described in claim 1 controls chip, which is characterized in that the proximity magnetic induction is opened It further includes low pressure locking module to close control chip, and the voltage that the input terminal of the low pressure locking module connects the control chip is defeated Enter end, the input terminal of the output end link control module of the low pressure locking module;
When connection power supply, the output end of the control chip and ground connection between the voltage input end and ground terminal of the control chip When connecting connection load between power supply or the voltage input end and ground terminal for controlling chip between end, the low pressure locking Module is in the lock state, and the control module controls the voltage regulator module and is stopped.
6. a kind of control method of proximity magnetic induction switch control chip, the electricity of the proximity magnetic induction switch control chip Press the voltage input end of output end connection hall device, the signal input part connection of the proximity magnetic induction switch control chip The signal output end of the hall device, which is characterized in that the control chip includes voltage regulator module, control module, defeated Go out type detection module, the first controllable switch and the second controllable switch;
The control module is separately connected the output of the control terminal, the output type detection module of the voltage regulator module End, the control terminal of first controllable switch and second controllable switch control terminal, first controllable switch it is defeated The voltage input end for entering end, the first input end of the output type detection module and the voltage regulator module connects altogether and structure The voltage input end of chip, the output end of first controllable switch, described second are controlled at the proximity magnetic induction switch Second input terminal of the output end of controllable switch and the output type detection module connects and constitutes the proximity magnetic strength altogether Inductive switch controls the signal output end of chip, and the of the input terminal of second controllable switch and the output type detection module Three input terminals are connected to ground and constitute the ground terminal of the proximity magnetic induction switch control chip altogether, the voltage regulator module Output end is the voltage output end that the proximity magnetic induction switch controls chip, and the input terminal of the control module is described connects The signal input part of nearly formula magnetic induction switch control chip;
The control method includes:
Output is powered to hall device after input voltage is adjusted by the voltage regulator module;
The output type detection module detect proximity magnetic induction switch control chip voltage input end and signal it is defeated Between outlet between the signal output end and the ground terminal of connection load or proximity magnetic induction switch control chip When connection load, testing result is sent to the control module;
The inductive signal that the control module sends the hall device is handled, and controls institute according to the testing result The first controllable switch or second controllable switch conducting are stated to drive loaded work piece.
7. control method as claimed in claim 6, which is characterized in that the proximity magnetic induction switch controls chip and further includes LED drive module, the input terminal of the LED drive module connect the output end of the control module, the LED drive module Output end connects the first LED light and the second LED light;
The control method further includes:
When the control module controls the first controllable switch conducting, the LED drive module is driven to make first LED light Work;
When the control module controls the second controllable switch conducting, the LED drive module is driven to make second LED light Work.
8. control method as claimed in claim 7, which is characterized in that when the control module detects output current exception, It drives the LED drive module that first LED light or second LED light is made to be in flicker state, is continuously in protection Working condition preset time and when detecting the inductive signal, reopens first controllable switch or described second can Control switch.
9. control method as claimed in claim 6, which is characterized in that the proximity magnetic induction switch controls chip and further includes Low pressure locking module, the input terminal of the low pressure locking module connect the voltage input end of the control chip, the low pressure lock The input terminal of the output end link control module of cover half block;
The control method further includes:
When connection power supply, the output end of the control chip and ground connection between the voltage input end and ground terminal of the control chip When connecting connection load between power supply or the voltage input end and ground terminal for controlling chip between end, the low pressure locking Module is in the lock state, and the control module controls the voltage regulator module and is stopped.
CN201710129201.5A 2017-03-06 2017-03-06 A kind of proximity magnetic induction switch control chip and its control method Active CN106879112B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710129201.5A CN106879112B (en) 2017-03-06 2017-03-06 A kind of proximity magnetic induction switch control chip and its control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710129201.5A CN106879112B (en) 2017-03-06 2017-03-06 A kind of proximity magnetic induction switch control chip and its control method

Publications (2)

Publication Number Publication Date
CN106879112A CN106879112A (en) 2017-06-20
CN106879112B true CN106879112B (en) 2018-09-14

Family

ID=59169593

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710129201.5A Active CN106879112B (en) 2017-03-06 2017-03-06 A kind of proximity magnetic induction switch control chip and its control method

Country Status (1)

Country Link
CN (1) CN106879112B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI672515B (en) * 2018-10-25 2019-09-21 智佳電子股份有限公司 Smart sensor
CN113496580B (en) * 2020-04-07 2022-12-06 深圳爱根斯通科技有限公司 Method and device for setting door and window sensor, electronic equipment and storage medium
CN113303799B (en) * 2021-05-21 2023-09-22 上海微创医疗机器人(集团)股份有限公司 Basin bottom detection equipment based on non-contact switch

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008270128A (en) * 2007-04-25 2008-11-06 Omron Corp Electronic switch
CN101340186A (en) * 2007-07-02 2009-01-07 亚瑟莱特科技股份有限公司 Magnet induction switching circuit and control method
CN103929171A (en) * 2014-05-12 2014-07-16 芜湖齐创自动化***有限公司 PNP and NPN load conversion circuit
CN204292204U (en) * 2014-12-01 2015-04-29 深圳市海派特光伏科技有限公司 A kind of magnetic induction electronic cigarette
CN206611612U (en) * 2017-03-06 2017-11-03 深圳市茂捷半导体有限公司 A kind of proximity magnetic induction switch control chip

Also Published As

Publication number Publication date
CN106879112A (en) 2017-06-20

Similar Documents

Publication Publication Date Title
CN1128497C (en) Pulse width modulation control equipment
US7339359B2 (en) Terminal for multiple functions in a power supply
CN100563080C (en) The method of main power supply switching controls and device
CN201107838Y (en) Circuit system of duplicate supply loop automatic switch
CN106879112B (en) A kind of proximity magnetic induction switch control chip and its control method
US10804896B2 (en) Proximity magnetic induction switch control chip and its control method
US6204613B1 (en) Protected dimming control interface for an electronic ballast
KR20070082132A (en) Multi concent for saving power and behavior method thereof
CN105790564A (en) Starting circuit and switch power supply
CN109120146A (en) Voltage adaptation circuit
CN206611612U (en) A kind of proximity magnetic induction switch control chip
CN103929171A (en) PNP and NPN load conversion circuit
EP3920669B1 (en) Lighting controls
KR20020016398A (en) Over voltage protection circuit for backlight inverter of LCD
CN217635886U (en) Circuit for controlling temperature outside heater and heater
CN206947944U (en) Printer head power supply circuit and printer
US10135363B2 (en) Communication device and system
CN104734507A (en) Power supply controller for detecting brownout and brownin, power supply and control method
CN211209685U (en) Manual and automatic combined input voltage regulating circuit for proximity switch test
CN110011523A (en) Power drive inverting means and low side driving turn high-end drive circuit
CN216851750U (en) Parallel power supply protection circuit and electronic equipment
CN214480494U (en) Plug type proportional valve amplifier
EP3952087A1 (en) Safety shutdown apparatus with self-driven control, power supply system, and method of controlling the same
CN215729355U (en) Safety controller and output detection device thereof
CN113746338B (en) Connection circuit and industrial personal computer

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant