CN106879112A - 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
CN106879112A
CN106879112A CN201710129201.5A CN201710129201A CN106879112A CN 106879112 A CN106879112 A CN 106879112A CN 201710129201 A CN201710129201 A CN 201710129201A CN 106879112 A CN106879112 A CN 106879112A
Authority
CN
China
Prior art keywords
module
control chip
gate
magnetic induction
output
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.)
Granted
Application number
CN201710129201.5A
Other languages
Chinese (zh)
Other versions
CN106879112B (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]

Abstract

The present invention relates to approach switch technical field, the present invention provides a kind of proximity magnetic induction switch control chip and its control method, and proximity magnetic induction switch control chip includes voltage regulator module, control module, output type detection module, the first gate-controlled switch and the second gate-controlled switch;When connecting connection load between load or signal output part and earth terminal between the voltage input end and signal output part of output type detection module detection proximity magnetic induction switch control chip, testing result is sent to control module;Control module controls the first gate-controlled switch or the conducting of the second gate-controlled switch to be worked with driving load according to testing result, the highly integrated multiple modules of proximity magnetic induction switch control chip, reduce the design size and wiring space of chip, can automatic identification connect load type and automatic selector switch circuit structure, improve 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, streamline Aulomatizeted Detect etc..It is related to Inductance approach switch, safety anti-explosive formula proximity switch, inductance analogy amount output proximity switch, magnetic induction proximity switch and electricity Appearance formula proximity switch.No matter the proximity sensor of which kind of pattern, generally comprise three parts, one is to receive or produce sensing The power pack of signal section;Two is the main circuit part of identifying processing;Three be as on-off action open or close receive Control switching device part.
For the power pack for receiving or producing induced signal part, typically there are multiple technologies scheme, Yi Zhongji at present Art scheme is not do the treatment of any power supply, and directly by the main power source of input for sensor assembly is powered, this way must be selected With the device (voltage x current withstands shocks enough) of corresponding specification, while device volume size disclosure satisfy that power consumption requirements, it is overall Size is bigger than normal, is applied to simple low cost, the occasion of low required precision.Another technical scheme is power pack by separating unit Device, does special step-down treatment or linear voltage stabilization treatment, meets the application requirement of high accuracy, high stability and low-power consumption.
For the main circuit part of identifying processing, mainly it is given to the timely sampling processing of induced signal and by drive signal Main switching device, will accomplish the accurate quick of sampling, and have enough driving force driving loads to operate.
For the controlled switching devices part opened as on-off action, closed, according to different application requirements and application Environment, also there is various processing modes.1, simply using 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 are the mode switching control of direct contact, such as spring leaf or powered Coil, closes or opens in the presence of induction force, induction force disappears, and switching device is in spring or similar inertia force Original state is automatically restored under effect.
Receive or produce the power pack of induced signal part, the main circuit part of identifying processing and conduct switch to make Combined with these three parts of controlled switching devices part opened, close, and according to actual application requirement, be made in regulation Wiring board on, just constitute the application structure framework of conventional approach switch.
Existing application scheme, is in structure power pack, signal identification and the place for receiving or producing induced signal The main circuit part of reason and these three parts of the controlled switching devices composition opened as on-off action or closed, and be It is made up of discrete component, circuit stray is in disorder.
The load of output includes NPN type driving load structure and positive-negative-positive driving load structure, and current application scheme is necessary On the basis of loadtype is understood, targetedly using the circuit structure of corresponding driving structure, otherwise cannot driven Work.The support structures of such as NPN type, corresponding approach switch drive circuit must be the drive circuit of NPN type, positive-negative-positive Support structures, corresponding approach switch drive circuit must be the drive circuit of positive-negative-positive, it is impossible to realize that same circuit can With two kinds of loads of structure of compatible driving.
The content of the invention
It is an object of the invention to provide a kind of proximity magnetic induction switch control chip and its control method, it is intended to solve Cannot realize that same circuit can be with two kinds of problems of the load of structure of compatible driving present in prior art.
The present invention is achieved in that first aspect provides a kind of proximity magnetic induction switch control chip, described close The voltage output end of formula magnetic induction switch control chip connects the voltage input end of the hall device, the proximity magnetic induction The signal input part of switch control chip connects the signal output part of the hall device, and the control chip is adjusted including voltage Module, control module, output type detection module, the first gate-controlled switch and the second gate-controlled switch;
The control module connect respectively the control end of the voltage regulator module, the output type detection module it is defeated Go out the control end of end, the control end of first gate-controlled switch and second gate-controlled switch, first gate-controlled switch The voltage input end of input, the first input end of the output type detection module and the voltage regulator module connects simultaneously altogether Constitute the voltage input end of the proximity magnetic induction switch control chip, the output end of first gate-controlled switch, described Second input of the output end of two gate-controlled switches and the output type detection module connects and constitutes the proximity magnetic altogether The signal output part of inductive switch control chip, the input of second gate-controlled switch and the output type detection module 3rd input is connected to ground and constitutes the earth 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 of the control module is described The signal input part of proximity magnetic induction switch control chip;
The voltage regulator module is exported after input voltage is adjusted and powered to hall device;
The output type detection module detects the voltage input end and letter of the proximity magnetic induction switch control chip The signal output part and the earth terminal of load or the proximity magnetic induction switch control chip are connected between number output end Between connect load when, testing result is sent to the control module;
The control module is processed the induced signal that the hall device sends, and according to the testing result control Make first gate-controlled switch or second gate-controlled switch conducting is worked with driving load.
With reference in a first aspect, used as the first implementation method of first aspect, the proximity magnetic induction switch controls core Piece also includes LED drive module, and the input of the LED drive module connects the output end of the control module, and the LED drives Output end connection the first LED and second LED of dynamic model block;
When the controller module controls first gate-controlled switch to turn on, the LED drive module is driven to make described the One LED works;
When the controller module controls second gate-controlled switch to turn on, the LED drive module is driven to make described the Two LEDs work.
With reference in a first aspect, as second implementation method 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 first end of the 4th resistance and the in-phase input end of the comparator, institute The inverting input for stating comparator is the second input of the output type detection module, and the second end of the 4th resistance is 3rd input of the output type detection module, the output end of the comparator is the defeated of the output type detection module Go out end.
With reference in a first aspect, used as the third implementation method of first aspect, the control module detects output current When abnormal, the LED drive module is driven first LED or second LED is in flicker state, lasting place When protecting working condition Preset Time and detecting the induced signal, first gate-controlled switch or described is reopened Second gate-controlled switch.
With reference in a first aspect, used as the first implementation method of first aspect, the proximity magnetic induction switch controls core Piece also includes low pressure locking module, and the input of the low pressure locking module connects the voltage input end of the control chip, institute State the input of the output end link control module of low pressure locking module;
When between the voltage input end and earth terminal of the control chip connect power supply, the output end of the control chip with When connection load between power supply or the voltage input end and earth terminal of the control chip is connected between earth terminal, the low pressure Locking module is in the lock state, and the control module controls the voltage regulator module to be stopped.
Second aspect present invention provides a kind of control method of proximity magnetic induction switch control chip, the proximity magnetic The voltage output end of inductive switch control chip connects the voltage input end of the hall device, the proximity magnetic induction switch The signal input part of control chip connects the signal output part of the hall device, and the control chip includes that voltage adjusts mould Block, control module, output type detection module, the first gate-controlled switch and the second gate-controlled switch;
The control module connect respectively the control end of the voltage regulator module, the output type detection module it is defeated Go out the control end of end, the control end of first gate-controlled switch and second gate-controlled switch, first gate-controlled switch The voltage input end of input, the first input end of the output type detection module and the voltage regulator module connects simultaneously altogether Constitute the voltage input end of the proximity magnetic induction switch control chip, the output end of first gate-controlled switch, described Second input of the output end of two gate-controlled switches and the output type detection module connects and constitutes the proximity magnetic altogether The signal output part of inductive switch control chip, the input of second gate-controlled switch and the output type detection module 3rd input is connected to ground altogether, and the output end of the voltage regulator module is the electricity of the proximity magnetic induction switch control chip Pressure output end, the input of the control module is the signal input part of the proximity magnetic induction switch control chip;
The control method includes:
The voltage regulator module is exported after input voltage is adjusted and powered to hall device;
Load is connected between the voltage input end and output end of the output type detection module detection control chip Or testing result is sent to the control mould during connection load between the output end and the earth terminal of the control chip Block;
The control module is processed the induced signal that the hall device sends, and according to the testing result control Make first gate-controlled switch or second gate-controlled switch conducting is worked with driving load.
With reference to second aspect, used as the first implementation method of second aspect, the proximity magnetic induction switch controls core Piece also includes LED drive module, and the input of the LED drive module connects the output end of the control module, and the LED drives Output end connection the first LED and second LED of dynamic model block;
The control method also includes:
When the controller module controls first gate-controlled switch to turn on, the LED drive module is driven to make described the One LED works;
When the controller module controls second gate-controlled switch to turn on, the LED drive module is driven to make described the Two LEDs work.
With reference to the first implementation method of second aspect, as second implementation method of second aspect, the control mould When block detects output current exception, the LED drive module is driven to make at first LED or second LED In flicker state, protection working condition Preset Time is continuously in and when detecting the induced signal, reopen described the One gate-controlled switch or second gate-controlled switch.
With reference to second aspect, used as the third implementation method of second aspect, the proximity magnetic induction switch controls core Piece also includes low pressure locking module, and the input of the low pressure locking module connects the voltage input end of the control chip, institute State the input of the output end link control module of low pressure locking module;
The control method also includes:
When between the voltage input end and earth terminal of the control chip connect power supply, the output end of the control chip with When connection load between power supply or the voltage input end and earth terminal of the control chip is connected between earth terminal, the low pressure Locking module is in the lock state, and the control module controls the voltage regulator module to be stopped.
The embodiment of the present invention provides a kind of proximity magnetic induction switch control chip and its control method, and the control chip is high Integrated multiple modules are spent, external circuit is simplified, the design size area and wiring space of application is reduced, better met The actual requirement of the integrated miniaturization of modern Application, and can automatic identification connect load type and automatic selector switch electricity Line structure, can improve flexibility and the convenience of application with two kinds of output loading types of compatible NPN and PNP, and can be real The existing application requirement of high accuracy, low-power consumption, highly integrated, many defencive functions and Width funtion range of application.
Brief description of the drawings
Technical scheme in order to illustrate more clearly the embodiments of the present invention, below will be to embodiment or description of the prior art Needed for the accompanying drawing to be used be briefly described, it should be apparent that, drawings in the following description are only more of the invention Embodiment, for those of ordinary skill in the art, without having to pay creative labor, can also be according to these Accompanying drawing obtains other accompanying drawings.
Fig. 1 is a kind of structural representation of proximity magnetic induction switch control chip that an embodiment of the present invention is provided;
Fig. 2 is a kind of structural representation of proximity magnetic induction switch control chip that another kind embodiment of the invention is provided Figure;
Fig. 3 is that a kind of working condition of proximity magnetic induction switch control chip that an embodiment of the present invention is provided is illustrated Figure;
Fig. 4 is that a kind of working condition of proximity magnetic induction switch control chip that an embodiment of the present invention is provided is illustrated Figure;
Fig. 5 is a kind of partial circuit diagram of proximity magnetic induction switch control chip that an embodiment of the present invention is provided;
Fig. 6 is a kind of output current wave of proximity magnetic induction switch control chip that an embodiment of the present invention is provided Figure;
Fig. 7 is a kind of structural representation of proximity magnetic induction switch control chip that another kind embodiment of the invention is provided Figure;
Fig. 8 is a kind of control method of proximity magnetic induction switch control chip that another kind embodiment of the invention is provided Flow chart.
Specific embodiment
In order to make the purpose , technical scheme and advantage of the present invention be clearer, it is right below in conjunction with drawings and Examples 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, 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 output end VOUT of switch control chip 10 connects the voltage input end of hall device 20, the control of proximity magnetic induction switch The signal input part SIN of chip 10 connects the signal output part of hall device 20, and proximity magnetic induction switch control chip 10 is wrapped Include voltage regulator module 102, control module 101, output type detection module 103, the first gate-controlled switch 104 and second controllable Switch 105;
Control module 101 connects control end, the output of output type detection module 103 of voltage regulator module 102 respectively The control end of end, the control end of the first gate-controlled switch 104 and the second gate-controlled switch 105, the input of the first gate-controlled switch 104 The voltage input end of end, the first input end of output type detection module 103 and voltage regulator module 102 connects and constitutes institute altogether State the voltage input end VIN of proximity magnetic induction switch control chip 10, it is the output end of the first gate-controlled switch 104, second controllable The output end of switch 105 and the second input of output type detection module 103 connect and constitute proximity magnetic induction switch altogether The signal output part SOUT of control chip 10, the input of the second gate-controlled switch 105 and the 3rd of output type detection module 103 the Input is connected to ground and constitutes the earth terminal GND of proximity magnetic induction switch control chip 10 altogether, voltage regulator module 102 it is defeated It is the voltage output end VOUT of proximity magnetic induction switch control chip 10 to go out end, and the input of control module 101 is proximity The signal input part SIN of magnetic induction switch control chip 10;
Voltage regulator module 102 is exported after input voltage is adjusted powers to hall device 20;
Between the voltage input end VIN and signal output part SOUT of the detection control chip 10 of output type detection module 103 When connecting load between connection load or the signal output part SOUT and earth terminal GND of control chip 10, testing result is sent out Give control module 101;
Control module 101 is processed the induced signal that hall device 20 sends, and according to judged result control first The gate-controlled switch 105 of gate-controlled switch 104 or second is turned on and worked with driving load.
In embodiments of the present invention, voltage input end VIN and earth terminal GND the connection power supply of control chip 10, voltage is defeated Enter to hold the positive pole that VIN is dc source, earth terminal GND is the negative pole of dc source, and the voltage range of input voltage is 2.7- 36V, compatible most of supply district on the market at present, substantially without going to consider office of the voltage range to system application again Limit influence.
In embodiments of the present invention, voltage regulator module 102 is the electricity inside proximity magnetic induction switch control chip 10 Pressure adjustment circuit, is mainly used in being powered to outside Hall sensor, and input voltage 2.7-36V is changed into suitable power supply electricity Press and from voltage output end VOUT outputs, the driving current of voltage output end VOUT is arranged on 10mA, maximum overcurrent protection 50mA. By the type kind that voltage output end connects device is various, voltage is each different, and output voltage is by setting feedback end VFB institutes The resistance value of connection come the various magnitudes of voltage that are needed, without necessarily using different voltage-regulating circuits again, due to Voltage regulator module can use various voltage transformation modules of the prior art, and its concrete structure will not be repeated here.
In embodiments of the present invention, the first gate-controlled switch 104 and the second gate-controlled switch 105 can use metal-oxide-semiconductor, by connecing The combination application of the metal-oxide-semiconductor inside the nearly control chip 10 of formula magnetic induction switch control chip 10, improves response speed, reduces This province of device power consumption, and be designed to support to the smaller conduction loss of bigger rated current using metal-oxide-semiconductor, wherein, metal-oxide-semiconductor Can be PMOS or NMOS tube, used as a kind of implementation method, the first gate-controlled switch 104 and the second gate-controlled switch 105 can be with Using PMOS and NMOS tube can be respectively adopted, wherein, the controlled switching devices of proximity magnetic induction switch control chip 10 The source electrode output end of PMOS and the drain electrode input of pull-down NMOS pipe are pulled up in output end SOUT connection chip internals, by connecing The combination application of PMOS and NMOS tube inside nearly formula magnetic induction switch control chip 10, improves response speed, and PMOS and NMOS tube can reach the applicable cases of compatible different loads according to the connection of load, corresponding selection conducting. Wherein, using the specification of pressure-resistant 40V electric currents 0.5A, the practical application for conventional maximum 0.2A has reserved foot to two metal-oxide-semiconductors Enough surpluses.
For output type detection module 103, by setting output type detection module 103, there is control chip 10 Automatic load accesses detection function, you can to detect that load accesses the port position of proximity magnetic induction switch control chip 10, It is defeated due to proximity magnetic induction switch control chip 10 when load is accessed between signal output part SOUT and earth terminal GND Go out to hold SOUT to be output as high-impedance state, and be biased near VIN/2 current potentials by internal circuit, when load accesses output end SOUT and connects It is in parallel equivalent between output end SOUT and earth terminal GND to access an impedance when between ground terminal GND, so as to cause output The current potential of SOUT is held less than the current potential of VIN/2, when load is accessed between voltage input end VIN and output end SOUT, equivalent to It is in parallel between voltage input end VIN and output end SOUT to access an impedance, so as to the current potential for causing output end SOUT is higher than The current potential of VIN/2, therefore, by the current potential of detection output SOUT, so as to detect the position that load is accessed.
Specifically, as a kind of implementation method, as shown in figure 5, output type detection module 103 include 3rd resistor R3, The first end of the 4th resistance R4 and comparator U1,3rd resistor R3 is the first input end of output type detection module 103, the Second end of three resistance R3 connects the first end of the 4th resistance R4 and the in-phase input end of comparator U1, and comparator U1's is anti-phase defeated It is the second input of output type detection module 103 to enter end, and second end of the 4th resistance R4 is output type detection module 103 The 3rd input, the output end of comparator U1 is the output end of output type detection module 103.
Further, proximity magnetic induction switch control chip 10 also includes LED drive module 106, LED drive module The output end of 106 input link control module 101, output end connection the first LED and second of LED drive module 106 LED;
When controller module control the first gate-controlled switch 104 is turned on, LED drive module 106 is driven to make the first LED work Make;
When controller module control the second gate-controlled switch 105 is turned on, LED drive module 106 is driven to make the second LED work Make.
Specifically, after load input type automatic detection is finished, can be by the first set LED and second LED shows the use state of the first gate-controlled switch and the second gate-controlled switch, specifically, the first gate-controlled switch and second controllable is opened When pass is respectively adopted NMOS tube and PMOS, the specific work process of NMOS tube and PMOS is as follows:
The course of work of NMOS tube structure output is as follows:As shown in figure 3, control chip 10 is provided to hall device 20 can set Fixed burning voltage (error ± 2%), maximum voltage is no more than Vin-0.3V, after hall device 20 senses action generation, The 2nd pin output high level of hall device 20, the input 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 now LEDR ports can export high level, so as to light red led.
The course of work of PMOS structure output is as follows:As shown in figure 4, control chip 10 is provided to hall device 20 can set Fixed burning voltage (error ± 2%), maximum voltage is no more than Vin-0.3V, after hall device 20 senses action generation, The 2nd pin output high level of hall device 20, the input SIN of control chip 10 is connected to signal, opens PMOS, supplied to load Electricity, the voltage in load is about VIN-1V.Now LEDG ports can export high level, so as to light green indicating lamp, specifically , the working condition of red light or green light is as shown in the LED status table that table 1 below is provided:
When Hall is acted Loaded work piece is normal Loaded work piece is abnormal (output open circuit/short circuit)
N tubular constructions are exported When red, green light does not work Red light dodges, and green light does not work
P tubular constructions are exported Red light does not work, green light Red light does not work, and green light dodges
The LED status table of table 1
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 or the second LED be in flicker state, are continuously in protection working condition Preset Time and detect During induced signal, the first gate-controlled switch 104 or the second gate-controlled switch 105 are reopened.
Specifically, as shown in Figure 6:When control module 101 detects output current more than Io_peak threshold values, and maintain After 4uS, current-limiting protection is triggered, now output current is limited in Io_limit, until output current drops to normal work Within current range, if while control chip 10 works long hours under limited current state always, such as more than the time of 4mS, So control chip 10 enters CUT-OFF patterns, disconnects power output path by controlling gate-controlled switch, shut-in time 60mS After, if now the signal of input SIN is still effective, repeat to open gate-controlled switch again, into pattern of having the hiccups repeatedly.
Further, it is low as shown in fig. 7, proximity magnetic induction switch control chip 10 also includes low pressure locking module 107 The voltage input end VIN of the input connection control chip 10 of locking module 107 is pressed, the output end of low pressure locking module 107 connects Connect the input of control module 101;
When connecting power supply between the voltage input end VIN and earth terminal GND of control chip 10, and control chip 10 letter Connect number between output end SOUT and earth terminal GND power supply or control chip 10 voltage input end VIN and earth terminal GND it Between connect load when, low pressure locking module is in the lock state, and the control voltage adjusting module 102 of control module 101 is stopped.
Specifically, the embodiment of the present invention realizes anti-reverse Functional Design, such as Fig. 7 by setting low pressure locking module 107 Shown, when control chip 10 is normally being applied, whole control chip 10 most only has three lines outwards to connect at last, is respectively electricity Source line positive pole (VIN), power line negative pole (GND) and load output line (SOUT), and have special color line right respectively therewith Should, in application process, operator is due to that can not recognize the port corresponding to every line for this three line, it is possible that wrong Situation.Such as there are following several situations:Power line positive pole VIN is reversed with power line negative pole GND, power line positive pole VIN with output , to changing-over, output end SOUT and power line negative pole GND is to changing-over for end SOUT.Supervised by setting low pressure locking module in chip internal The situation that voltage input end VIN is connected load with signal output part SOUT is surveyed, the VIN/SOUT/GND of control chip 10 can be made Three pins have anti-reverse function.
Specifically, when load is connected between output end SOUT and power line negative pole GND and power supply is connected to power line When between positive pole VIN and power line negative pole GND, control chip normally goes up electricity, and voltage regulator module 102 is started working, while defeated Go out type detection module 103 detect load access SOUT to GND between, control module 101 from input SIN receive sensing letter After number, PMOS is opened;Because PMOS two ends are now supply voltages, PMOS excessively streams can be detected and had the hiccups repeatedly, while dodging Lamp indicates load abnormal, until SIN signals are dragged down or low pressure locking module etc. is completely switched off signal triggering.
When load be connected between power line positive pole VIN and output end SOUT and power supply be connected to output end SOUT with electricity When between source line negative pole GND, the normal upper electricity of control chip 10, voltage regulator module 102 is opened, while Check up polarity connects to load Enter between SOUT to VIN, after control module 101 sends from input SIN, open NMOS tube;Because NMOS tube two ends are now Supply voltage, can detect NMOS tube excessively stream and have the hiccups repeatedly, while flashing light is indicated, until SIN signals are dragged down or low pressure lock Cover half block etc. is completely switched off signal triggering.
When connection power supply, the output end of control chip 10 between the voltage input end and earth terminal of control chip 10 and ground connection When connection load between power supply or the voltage input end and earth terminal of control chip 10 is connected between end, control chip 10 is powered up Afterwards, load drags down voltage input end VIN voltage, the voltage of low pressure locking module detection input voltage input VIN, judges low Pressure locking module is in the lock state and cannot 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 The synchronous averaging of type detection module 103 simultaneously works always, is powered to hall device 20 after the normal work of voltage regulator module 102, when After hall device 20 detects action, the SIN ends of control chip 10 are connected to signal, correct to open PMOS or NMOS tube, when When abnormal or open circuit occurs in system load, into protection working condition, and trigger indicator lamp and warn flicker, trouble shooting Afterwards, system recovers normal work.
Another kind embodiment of the invention provides a kind of control method of proximity magnetic induction switch control chip, proximity magnetic The voltage output end of inductive switch control chip connects the voltage input end of hall device, proximity magnetic induction switch control chip Signal input part connect hall device signal output part, control chip include voltage regulator module, control module, output class Type detection module, the first gate-controlled switch and the second gate-controlled switch;
Control module connect respectively the control end of voltage regulator module, the output end of output type detection module, first can Control the control end of switch and the control end of the second gate-controlled switch, the input of the first gate-controlled switch, output type detection module 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 of the output end of the first gate-controlled switch, the output end of the second gate-controlled switch and output type detection module Two inputs connect and constitute the signal output part of proximity magnetic induction switch control chip altogether, the input of the second gate-controlled switch and 3rd input of output type detection module is connected to ground and constitutes the earth terminal of proximity magnetic induction switch control chip altogether, electricity Press the output end of adjusting module for the voltage output end of proximity magnetic induction switch control chip, the input 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:
Step S101. voltage regulator modules are exported after input voltage is adjusted and powered to hall device.
Step S102. output types detection module detects the voltage input end and letter of proximity magnetic induction switch control chip Connected between number output end between load or the signal output part and earth terminal of proximity magnetic induction switch control chip and connected During load, testing result is sent to control module.
Step S103. control modules are processed the induced signal that hall device sends, and according to testing result control First gate-controlled switch or the conducting of the second gate-controlled switch are worked with driving load.
Further, proximity magnetic induction switch control chip also includes LED drive module, the input of LED drive module Hold the output end of link control module, output end connection the first LED and second LED of LED drive module;
Control method also includes:
When step S104. controller modules control the first gate-controlled switch to turn on, LED drive module is driven to make the first LED Work.
When step S105. controller modules control the second gate-controlled switch to turn on, LED drive module is driven to make the second LED Work.
Further, control module detect output current it is abnormal when, drive LED drive module make the first LED or Second LED is in flicker state, when being continuously in protection working condition Preset Time and detecting induced signal, reopens First gate-controlled switch or the second gate-controlled switch.
Further, proximity magnetic induction switch control chip also include low pressure locking module, low pressure locking module it is defeated Enter the voltage input end of end connection control chip, the input of the output end link control module of low pressure locking module;
Control method also includes:
Step S106. is when connection power supply, the output end of control chip between the voltage input end and earth terminal of control chip When connection load between power supply or the voltage input end and earth terminal of control chip is connected between earth terminal, low pressure locking mould Block is in the lock state, and control module control voltage adjusting module is stopped.
The embodiment of the present invention provides a kind of proximity magnetic induction switch control chip and its control method, and the control chip is high Spend integrated multiple modules, can automatic identification connect load type and automatic selector switch circuit structure, as needed flexibly Sensor power voltage is set, and the various input voltages of compatible conventional application replace traditional triode to receive with MOSFET pipes Control switching device, it is intended to reach high accuracy, low-power consumption is highly integrated, many defencive functions, and the application of Width funtion range of application will Ask.
The application mode of the compatible unified prior art discrete device of the embodiment of the present invention, most devices and function are led to Chip internal design is crossed, external circuit is simplified, the design size area and wiring space of application is reduced, better met The actual requirement of the integrated miniaturization of modern Application.
The present invention adds perfect defencive function, such as anti-reverse protection of input and output compared with existing application technology, Open circuit short-circuit protection, can improve flexibility and the convenience of application with two kinds of output loading types of compatible NPN and PNP.
Above content is to combine specific preferred embodiment further description made for the present invention, it is impossible to assert Specific implementation of the invention is confined to these explanations.For general technical staff of the technical field of the invention, Some equivalent substitutes or obvious modification are made on the premise of not departing from present inventive concept, and performance or purposes are identical, all should It is considered as belonging to the scope of patent protection that the claims of the present invention by being submitted to determine.

Claims (9)

1. a kind of proximity magnetic induction switch control chip, the voltage output end of the proximity magnetic induction switch control chip connects Connect the voltage input end of the hall device, described in the signal input part connection of the proximity magnetic induction switch control chip suddenly The signal output part of your device, it is characterised in that the proximity magnetic induction switch control chip includes voltage regulator module, control Molding block, output type detection module, the first gate-controlled switch and the second gate-controlled switch;
The control module connects the control end of the voltage regulator module, the output of the output type detection module respectively End, the control end of the control end of first gate-controlled switch and second gate-controlled switch, first gate-controlled 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 and structure altogether Into the voltage input end of the proximity magnetic induction switch control chip, the output end of first gate-controlled switch, described second Second input of the output end of gate-controlled switch and the output type detection module connects and constitutes the proximity magnetic strength altogether The of the signal output part of inductive switch control chip, the input of second gate-controlled switch and the output type detection module Three inputs are connected to ground and constitute the earth terminal of the proximity magnetic induction switch control chip altogether, the voltage regulator module Output end is the voltage output end of the proximity magnetic induction switch control chip, and the input of the control module connects for described The signal input part of nearly formula magnetic induction switch control chip;
The voltage regulator module is exported after input voltage is adjusted and powered to hall device;
The output type detection module detects that the voltage input end and signal of the proximity magnetic induction switch control chip are defeated Go out end between connect load or the control chip signal output part and the earth terminal between connect load when, will detect Result is sent to the control module;
The control module is processed the induced signal that the hall device sends, and controls institute according to the testing result State the first gate-controlled switch or second gate-controlled switch conducting is worked with driving load.
2. proximity magnetic induction switch control chip as claimed in claim 1, it is characterised in that the proximity magnetic induction is opened Closing control chip also includes LED drive module, and the input of the LED drive module connects the output end of the control module, Output end connection the first LED and second LED of the LED drive module;
When the controller module controls first gate-controlled switch to turn on, the LED drive module is driven to make a LED Lamp works;
When the controller module controls second gate-controlled switch to turn on, the LED drive module is driven to make the 2nd LED Lamp works.
3. proximity magnetic induction switch control chip as claimed in claim 1, it is characterised 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 first end that the second end of the 3rd resistor connects the 4th resistance is same mutually defeated with the comparator Enter end, the inverting input of the comparator is the second input of the output type detection module, the 4th resistance Second end is the 3rd input of the output type detection module, and the output end of the comparator is output type detection The output end of module.
4. proximity magnetic induction switch control chip as claimed in claim 2, it is characterised in that the control module is detected When output current is abnormal, the LED drive module is driven first LED or second LED is in flicker shape State, is continuously in protection working condition Preset Time and when detecting the induced signal, reopens described first and controllable opens Close or second gate-controlled switch.
5. proximity magnetic induction switch control chip as claimed in claim 1, it is characterised in that the proximity magnetic induction is opened Closing control chip also includes low pressure locking module, and the voltage of the input connection control chip of the low pressure locking module is defeated Enter end, the input of the output end link control module of the low pressure locking module;
When connection power supply, the output end of the control chip between the voltage input end and earth terminal of the control chip and ground connection When connection load between power supply or the voltage input end and earth terminal of the control chip is connected between end, the low pressure locking Module is in the lock state, and the control module controls the voltage regulator module to be stopped.
6. a kind of control method of proximity magnetic induction switch control chip, the electricity of the proximity magnetic induction switch control chip Pressure output end connects the voltage input end of the hall device, the signal input part of the proximity magnetic induction switch control chip Connect the signal output part of the hall device, it is characterised in that the control chip includes voltage regulator module, control mould Block, output type detection module, the first gate-controlled switch and the second gate-controlled switch;
The control module connects the control end of the voltage regulator module, the output of the output type detection module respectively End, the control end of the control end of first gate-controlled switch and second gate-controlled switch, first gate-controlled 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 and structure altogether Into the voltage input end of the proximity magnetic induction switch control chip, the output end of first gate-controlled switch, described second Second input of the output end of gate-controlled switch and the output type detection module connects and constitutes the proximity magnetic strength altogether The of the signal output part of inductive switch control chip, the input of second gate-controlled switch and the output type detection module Three inputs are connected to ground and constitute the earth terminal of the proximity magnetic induction switch control chip altogether, the voltage regulator module Output end is the voltage output end of the proximity magnetic induction switch control chip, and the input of the control module connects for described The signal input part of nearly formula magnetic induction switch control chip;
The control method includes:
The voltage regulator module is exported after input voltage is adjusted and powered to hall device;
The output type detection module detects that the voltage input end and signal of the proximity magnetic induction switch control chip are defeated Go out between holding and connect between load or the signal output part and the earth terminal of the proximity magnetic induction switch control chip During connection load, testing result is sent to the control module;
The control module is processed the induced signal that the hall device sends, and controls institute according to the testing result State the first gate-controlled switch or second gate-controlled switch conducting is worked with driving load.
7. control method as claimed in claim 6, it is characterised in that the proximity magnetic induction switch control chip also includes LED drive module, the input of the LED drive module connects the output end of the control module, the LED drive module Output end connects the first LED and the second LED;
The control method also includes:
When the controller module controls first gate-controlled switch to turn on, the LED drive module is driven to make a LED Lamp works;
When the controller module controls second gate-controlled switch to turn on, the LED drive module is driven to make the 2nd LED Lamp works.
8. control method as claimed in claim 7, it is characterised in that the control module detect output current it is abnormal when, Driving the LED drive module makes first LED or second LED be in flicker state, is continuously in protection Working condition Preset Time and when detecting the induced signal, reopens first gate-controlled switch or described second can Control switch.
9. control method as claimed in claim 6, it is characterised in that the proximity magnetic induction switch control chip also includes Low pressure locking module, the input of the low pressure locking module connects the voltage input end of the control chip, the low pressure lock The input of the output end link control module of cover half block;
The control method also includes:
When connection power supply, the output end of the control chip between the voltage input end and earth terminal of the control chip and ground connection When connection load between power supply or the voltage input end and earth terminal of the control chip is connected between end, the low pressure locking Module is in the lock state, and the control module controls the voltage regulator module to be 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 true CN106879112A (en) 2017-06-20
CN106879112B 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)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110376538A (en) * 2018-10-25 2019-10-25 智佳电子股份有限公司 Magnet-type inductive module
CN113303799A (en) * 2021-05-21 2021-08-27 上海微创医疗机器人(集团)股份有限公司 Basin bottom detection equipment based on non-contact switch
CN113496580A (en) * 2020-04-07 2021-10-12 深圳爱根斯通科技有限公司 Method and device for setting door and window sensor, electronic equipment and storage medium

Citations (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

Patent Citations (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

Cited By (5)

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

Also Published As

Publication number Publication date
CN106879112B (en) 2018-09-14

Similar Documents

Publication Publication Date Title
KR101236292B1 (en) Terminal for multiple functions in a power supply
US10804896B2 (en) Proximity magnetic induction switch control chip and its control method
CN201107838Y (en) Circuit system of duplicate supply loop automatic switch
CN207069908U (en) Power-switching circuit and the controller for power-switching circuit
CN104219840B (en) LED switch color temperature regulation controller and LED drive circuit
CN105247772B (en) DC power supply circuit
CN106855731B (en) Dual-mode voltage stabilizer circuit
CN104122924B (en) A kind of switching mode mu balanced circuit and the constant pressure and flow comprising this circuit produce circuit
CN106879112A (en) A kind of proximity magnetic induction switch control chip and its control method
CN206611612U (en) A kind of proximity magnetic induction switch control chip
CN103733498A (en) Universal-voltage discrete input circuit
US20120112562A1 (en) Timing power switch
CN103929171A (en) PNP and NPN load conversion circuit
CN106992671A (en) Power supply unit and power supply method
CN204117010U (en) Switching mode mu balanced circuit, constant pressure and flow produce circuit and constant voltage constant current power equipment
CN102778849A (en) On-off control circuit, electronic equipment and on-off control method
CN104080228B (en) The detection control circuit of light fixture electric parameter
CN208094444U (en) Self-device synchronous rectification circuit
CN208112210U (en) A kind of short-circuit protection circuit
CN107919653A (en) Reverse-current protection circuit for on-off circuit
CN206294067U (en) A kind of fool proof insulating power supply circuit being applied on BMS
EP3920669B1 (en) Lighting controls
CN205232030U (en) Input undervoltage protection circuit and switching power supply
CN207701907U (en) A kind of digital voltage power for solenoid valve detection
CN205489447U (en) Modular power exports overvoltage protector

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