A proximity switch

By introducing an electromagnetic compatibility protection circuit into the proximity switch, including three-level protection measures, the electromagnetic compatibility shortcomings of existing proximity switches are solved, their resistance to electromagnetic interference and surges is improved, and stability and reliability are ensured. sex.

CN118367906BActive Publication Date: 2024-10-29NINGBO JIAHONG SENSING TECH CO LTD
View PDF 15 Cites 0 Cited by

Patent Information

Application Number
CN202410780740.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-06-18
Publication Date
2024-10-29
Estimated Expiration
2044-06-18

AI Technical Summary

Technical Problem

Existing proximity switches have defects in electromagnetic compatibility and are easily damaged by electromagnetic interference and surges, and are particularly vulnerable during lightning strikes.

Method used

A proximity switch including a first circuit board and a second circuit board is designed. The first circuit board is used for an induction circuit. The second circuit board is provided with an electromagnetic compatibility protection circuit. The proximity switch is protected by the electromagnetic compatibility protection circuit, including Three levels of protection circuitry to suppress surges, differential mode and common mode interference, and electrical fast burst interference.

Benefits of technology

It significantly improves the electromagnetic compatibility performance of the proximity switch, weakens the impact of external electromagnetic interference on the proximity switch, ensures the stability and reliability of the switch under harsh conditions, and can withstand a surge voltage of at least 1000V.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118367906B_ABST
    Figure CN118367906B_ABST
Patent Text Reader

Abstract

The present invention provides a proximity switch, belonging to the technical field of sensors, comprising: a first circuit board, the first circuit board is provided with an induction circuit; a second circuit board, the second circuit board is provided with an electromagnetic compatibility protection circuit, and the first circuit board is electrically connected to the second circuit board; the beneficial effects of the present invention are: a second circuit board for electromagnetic compatibility protection is added, and the first circuit board can protect the proximity switch through the electromagnetic compatibility protection circuit on the basis of working through the induction circuit, thereby greatly improving the electromagnetic compatibility performance of the proximity switch, so that the proximity switch is not easily damaged by surge or electromagnetic interference factors.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the technical field of sensors and relates to a proximity switch. Background Art

[0002] A proximity switch is a non-contact switch sensor, generally used in the motion positioning control of automatic machinery. When an object reaches the sensing point of the proximity switch, the switch can be activated without mechanical contact or any pressure, thereby driving DC appliances or providing control instructions to computer (PLC) devices.

[0003] Proximity switches are relatively sensitive, and existing proximity switches have poor electromagnetic compatibility (EMC). When the equipment is turned on or off, when the grounding contact is poor, when the static electricity is too high, or when there is a lightning strike from the outside, the proximity switch can be easily damaged by electromagnetic interference or a sudden increase in voltage (surge).

[0004] In response to the above problems, there are currently some proximity switches with short-circuit protection and surge protection, such as a utility model patent with application number CN200620050575.5, named AC two-wire proximity switch with current limiting, short-circuit protection and surge protection. Although the proximity switch has the ability of short-circuit protection and surge protection, its electromagnetic compatibility performance has not been significantly improved due to the size and structural layout of the proximity switch, especially when encountering lightning strikes, the proximity switch is easily damaged by surges. Summary of the invention

[0005] The purpose of the present invention is to propose a proximity switch in view of the above problems existing in the prior art.

[0006] The object of the present invention can be achieved through the following technical solutions: A proximity switch, comprising:

[0007] A first circuit board, wherein the first circuit board is provided with an induction circuit;

[0008] The second circuit board is provided with an electromagnetic compatibility protection circuit, and the first circuit board is electrically connected to the second circuit board.

[0009] Preferably, one of the first circuit board and the second circuit board is provided with a first row of pins and the other is provided with a first row of female pins, and the first row of pins is plugged into the first row of female pins to electrically connect the first circuit board to the second circuit board.

[0010] Preferably, the device further comprises a housing, wherein the housing comprises a first shell and a second shell, wherein the first shell has a first cavity portion, the second shell has a second cavity portion, the first shell is connected to the second shell, and the first cavity portion and the second cavity portion constitute an installation cavity;

[0011] The first circuit board is installed in the first cavity portion and is fixedly connected to the first shell, and the second circuit board is installed in the second cavity portion and is fixedly connected to the second shell.

[0012] Preferably, the first circuit board and the second circuit board are stacked along the depth direction of the installation cavity, and a distance is reserved between the first circuit board and the second circuit board.

[0013] Preferably, the second shell is installed with an output connector, one of the output connector and the second circuit board is provided with a second row of pins and the other is provided with a second row of female connectors, and the second row of pins and the second row of female connectors are plugged into each other so that the output connector is electrically connected to the second circuit board.

[0014] Preferably, the electromagnetic compatibility protection circuit includes: a power supply EMC protection circuit and multiple output end EMC protection circuits; wherein: the power supply EMC protection circuit is electrically connected to the power supply end of the proximity switch; the output end EMC protection circuit is electrically connected to the output end of the proximity switch; the output end EMC protection circuit corresponds one-to-one to the output end of the proximity switch.

[0015] Preferably, the power supply EMC protection circuit comprises: a primary protection circuit, a secondary protection circuit and a tertiary protection circuit electrically connected in sequence; wherein:

[0016] The primary protection circuit is electrically connected to the power supply terminal of the proximity switch and is used to suppress surge interference voltage signals;

[0017] The secondary protection circuit is used to eliminate differential mode interference signals and common mode interference signals;

[0018] The three-level protection circuit is electrically connected to the internal voltage stabilizing circuit of the proximity switch and is used to suppress electrical fast pulse group interference signals.

[0019] Preferably, the primary protection circuit includes: a first varistor RV1; the secondary protection circuit includes: a first capacitor C1, a fifth capacitor C5 and a sixth capacitor C6; wherein:

[0020] One end of the first capacitor C1 and one end of the fifth capacitor C5 are connected to EARTH together, and the other end of the first capacitor C1 is connected to the three-level protection circuit, and is sequentially connected to one end of the sixth capacitor C6, one end of the first varistor RV1 and the power supply end of the proximity switch; the other end of the fifth capacitor C5 is connected to the three-level protection circuit, and is sequentially connected to the other end of the sixth capacitor C6 and the other end of the first varistor RV1 and then grounded.

[0021] Preferably, the three-level protection circuit includes: a first fuse F1, a third TVS tube V3, a fourth capacitor C4, a second diode V2, a first resistor R1, a second resistor R2, a second electrolytic capacitor E2, and a third capacitor C3; wherein: one end of the first fuse F1 is connected to one end of the first capacitor C1 in the secondary protection circuit, and the other end is connected to one end of the third TVS tube V3, one end of the fourth capacitor C4, and the positive end of the second diode V2 in sequence, and then connected to the positive end of the first diode V1; the other end of the third TVS tube V3 is connected to one end of the fifth capacitor C5 in the secondary protection circuit At the same time, it is connected to the other end of the fourth capacitor C4, the negative end of the second electrolytic capacitor E2, and one end of the third capacitor C3 in sequence, and then connected to the internal voltage stabilizing circuit of the proximity switch; the negative end of the second diode V2 is connected to the positive power supply VDD; the negative end of the first diode V1 is simultaneously connected to one end of the first resistor R1 and one end of the second resistor R2; the other end of the second resistor R2 is connected to the positive end of the second electrolytic capacitor E2 and the positive power supply V+; the other end of the first resistor R1 is connected to the positive power supply V+ and the other end of the third capacitor C3 in sequence, and then connected to the internal voltage stabilizing circuit of the proximity switch.

[0022] Preferably, the output end EMC protection circuit includes: a TVS tube and a capacitor; one end of the capacitor is connected to the power drive circuit of the proximity switch and is connected to one end of the TVS tube and connected to the output end of the proximity switch; the other end of the capacitor is connected to the other end of the TVS tube and then grounded.

[0023] Compared with the prior art, the present invention has the following beneficial effects:

[0024] 1. A second circuit board for electromagnetic compatibility protection is added. On the basis of the first circuit board working through the induction circuit, the second circuit board can protect the proximity switch through the electromagnetic compatibility protection circuit, which greatly improves the electromagnetic compatibility performance of the proximity switch and makes the proximity switch less likely to be damaged by surge or electromagnetic interference factors;

[0025] 2. The first circuit board and the second circuit board do not need to be connected by wires, so as to avoid wire damage when the first shell and the second shell are connected. At the same time, the first shell and the second shell can be pre-assembled as two independent parts and then connected together, so that the proximity switch is more convenient to assemble;

[0026] 3. Since the first circuit board and the second circuit board are connected through the pin-and-female connector, the first circuit board and the second circuit board are stacked together, making the structures of the two more compact. Therefore, the proximity switch can add a second circuit board without significantly increasing the volume, making full use of the space of the installation cavity;

[0027] 4. In the present invention, the first-level protection circuit uses the first varistor RV1 to suppress surge interference voltage signals with large energy and low frequency; the second-level protection circuit eliminates differential mode interference signals and common mode interference signals through the first capacitor C1, the fifth capacitor C5 and the sixth capacitor C6; the third-level protection circuit suppresses electrical fast pulse group interference signals with characteristics such as small energy and high amplitude, that is, the present invention sets up three-level protection measures, including first-level surge suppression (using varistor RV1), second-level differential mode and common mode interference elimination (using capacitors C1, C5, and C6) and third-level electrical fast pulse group suppression. Through the combined use of these protection elements, the influence of external electromagnetic interference on the proximity switch circuit is effectively weakened, thereby greatly reducing the damage to the proximity switch caused by voltage mutations caused by lightning strikes and the on and off of heavy equipment switches in the line, ensuring the stability and reliability of the switch under harsh conditions. BRIEF DESCRIPTION OF THE DRAWINGS

[0028] Figure 1 It is a schematic diagram of the internal structure of the proximity switch of the present invention.

[0029] Figure 2 The figure is a schematic diagram showing the positions of the first circuit board and the second circuit board of the proximity switch of the present invention.

[0030] Figure 3 It is a structural exploded view of the proximity switch of the present invention.

[0031] Figure 4 This is a structural exploded view of the proximity switch of the present invention from another perspective.

[0032] Figure 5 This is a circuit diagram of a proximity switch according to the present invention.

[0033] Figure 6 This is the first partial circuit diagram of the proximity switch circuit diagram.

[0034] Figure 7 This is the second partial circuit diagram of the proximity switch circuit diagram.

[0035] In the figure, 100, first circuit board; 110, first row of female; 200, second circuit board; 210, first row of pins; 220, second row of female; 300, output connector; 310, second row of pins; 400, housing; 410, first shell; 411, first cavity; 420, second shell; 421, second cavity; 1, oscillation circuit; 2, voltage follower and comparison circuit; 3, comparator circuit; 4, internal voltage stabilization circuit; 5, power supply EMC protection circuit; 6, power drive circuit and output end EMC protection circuit. DETAILED DESCRIPTION

[0036] The following are specific embodiments of the present invention and the accompanying drawings to further describe the technical solution of the present invention, but the present invention is not limited to these embodiments. Embodiment 1

[0037] like Figure 1-4 As shown, a proximity switch includes: a first circuit board 100, wherein the first circuit board 100 is provided with a sensing circuit; a second circuit board 200, wherein the second circuit board 200 is provided with an electromagnetic compatibility protection circuit, and the first circuit board 100 is electrically connected to the second circuit board 200.

[0038] The proximity switch is newly added with a second circuit board 200 for providing electromagnetic compatibility protection. On the basis of the first circuit board 100 working through the induction circuit, the second circuit board 200 can protect the proximity switch through the electromagnetic compatibility protection circuit, which greatly improves the electromagnetic compatibility performance of the proximity switch and makes the proximity switch less likely to be damaged by surges or electromagnetic interference.

[0039] The first circuit board 100 is printed with a sensing circuit, which is the main circuit of the proximity switch, and the second circuit board 200 is printed with an electromagnetic compatibility protection circuit, which is electrically connected to the sensing circuit and is used to protect the sensing circuit to prevent the sensing circuit from malfunctioning when the device is turned on or off, when the grounding contact is poor, when the static electricity is too large, or when there is an external lightning strike. Since the second circuit board 200 is independently provided, it can produce better electromagnetic compatibility protection and can withstand a surge voltage of at least 1000V in actual use.

[0040] like Figure 1-4 As shown, on the basis of the above embodiment, one of the first circuit board 100 and the second circuit board 200 is provided with a first row of pins 210 and the other is provided with a first row of females 110, and the first row of pins 210 and the first row of females 110 are plugged into each other so that the first circuit board 100 and the second circuit board 200 are electrically connected.

[0041] The first row of pins 210 and the first row of female connectors 110 function as connectors for transmitting current or signals. The first circuit board 100 and the second circuit board 200 are connected to each other via the first row of pins 210 and the first row of female connectors 110 .

[0042] On the basis of the above embodiment, it also includes a shell 400, and the shell 400 includes a first shell 410 and a second shell 420, the first shell 410 has a first cavity portion 411, the second shell 420 has a second cavity portion 421, the first shell 410 is connected to the second shell 420, and the first cavity portion 411 and the second cavity portion 421 constitute an installation cavity; the first circuit board 100 is installed in the first cavity portion 411 and fixedly connected to the first shell 410, and the second circuit board 200 is installed in the second cavity portion 421 and fixedly connected to the second shell 420.

[0043] The housing 400 is a split structure, and the first housing 410 and the second housing 420 need to be assembled together during assembly. In the actual production and assembly process, the first circuit board 100 is first fixed in the first cavity 411, and the second circuit board 200 is fixed in the second cavity 421, and then the first housing 410 and the second housing 420 are docked together. During this process, the first row of pins 210 is inserted into the first row of females 110, and then the first housing 410 and the second housing 420 can be fixed together to complete the assembly.

[0044] It should be pointed out that the above-mentioned connection method can optimize the structural layout of the proximity switch. The first circuit board 100 and the second circuit board 200 do not need to be connected by wires, thereby avoiding damage to the wires when the first shell 410 and the second shell 420 are connected. At the same time, the first shell 410 and the second shell 420 can be pre-assembled as two independent components and then docked together, making the proximity switch more convenient to assemble.

[0045] On the basis of the above embodiment, the first circuit board 100 and the second circuit board 200 are stacked along the depth direction of the installation cavity, and a distance is reserved between the first circuit board 100 and the second circuit board 200 .

[0046] Since the first circuit board 100 and the second circuit board 200 are connected by a pin-and-female connector, the first circuit board 100 and the second circuit board 200 are stacked together, making the structures of the two more compact. Therefore, the proximity switch can add the second circuit board 200 without significantly increasing the volume, thereby making full use of the space of the installation cavity.

[0047] like Figure 1-4As shown, based on the above embodiment, the second shell 420 is installed with an output connector 300, one of the output connector 300 and the second circuit board 200 is provided with a second row of pins 310 and the other is provided with a second row of females 220, and the second row of pins 310 and the second row of females 220 are plugged together so that the output connector 300 is electrically connected to the second circuit board 200.

[0048] The output connector 300 and the second circuit board 200 are connected together through a pin and female connector, so the proximity switch realizes a wire-free structure, and there is no need to consider the twisting, deformation or damage of the wires during assembly. The first circuit board 100 can output the signal through the output connector 300 through the second circuit board 200. Embodiment 2

[0049] In order to achieve three-level protection for the proximity switch, an electromagnetic compatibility protection circuit is arranged on the second circuit board 200 in this embodiment; the electromagnetic compatibility protection circuit includes: a power supply EMC protection circuit 5 and multiple output end EMC protection circuits; wherein: the power supply EMC protection circuit 5 is electrically connected to the power supply end VCC of the proximity switch; the output end EMC protection circuit is electrically connected to the output end of the proximity switch; the output end EMC protection circuit corresponds one-to-one to the output end of the proximity switch.

[0050] like Figure 7 As shown, the power supply EMC protection circuit 5 includes: a primary protection circuit, a secondary protection circuit and a tertiary protection circuit electrically connected in sequence; wherein:

[0051] The primary protection circuit is electrically connected to the power supply terminal VCC of the proximity switch and is used to suppress surge interference voltage signals;

[0052] The secondary protection circuit is used to eliminate differential mode interference signals and common mode interference signals;

[0053] The primary protection circuit includes: a first varistor RV1; the secondary protection circuit includes: a first capacitor C1, a fifth capacitor C5 and a sixth capacitor C6; wherein:

[0054] One end of the first capacitor C1 and one end of the fifth capacitor C5 are connected to EARTH together, and the other end of the first capacitor C1 is connected to the three-level protection circuit, and is sequentially connected to one end of the sixth capacitor C6, one end of the first varistor RV1 and the power supply terminal VCC of the proximity switch; the other end of the fifth capacitor C5 is connected to the three-level protection circuit, and is sequentially connected to the other end of the sixth capacitor C6 and the other end of the first varistor RV1 and then grounded.

[0055] The three-level protection circuit is electrically connected to the internal voltage stabilizing circuit 4 of the proximity switch and is used to suppress electrical fast pulse group interference signals.

[0056] The three-level protection circuit includes: a first fuse F1, a third TVS tube V3, a fourth capacitor C4, a second diode V2, a first resistor R1, a second resistor R2, a second electrolytic capacitor E2, and a third capacitor C3; wherein: one end of the first fuse F1 is connected to one end of the first capacitor C1 in the secondary protection circuit, and the other end is connected to one end of the third TVS tube V3, one end of the fourth capacitor C4, and the positive end of the second diode V2 in sequence, and then connected to the positive end of the first diode V1; the other end of the third TVS tube V3 is connected to one end of the fifth capacitor C5 in the secondary protection circuit, and the , connected to the other end of the fourth capacitor C4, the negative end of the second electrolytic capacitor E2, and one end of the third capacitor C3 in sequence, and then connected to the internal voltage stabilizing circuit 4 of the proximity switch; the negative end of the second diode V2 is connected to the positive power supply VDD; the negative end of the first diode V1 is simultaneously connected to one end of the first resistor R1 and one end of the second resistor R2; the other end of the second resistor R2 is connected to the positive end of the second electrolytic capacitor E2 and the positive power supply V+; the other end of the first resistor R1 is connected to the positive power supply V+ and the other end of the third capacitor C3 in sequence, and then connected to the internal voltage stabilizing circuit 4 of the proximity switch.

[0057] In the three-level protection circuit of this embodiment, the resistor R1, the resistor R2, the electrolytic capacitor E2 and the capacitor C3 form an RC low-pass filter circuit to ensure that the power input terminal signal of U1 in the internal voltage stabilization circuit 4 is a clean voltage signal.

[0058] In addition, it should be noted that Figure 5 As shown, the proximity switch circuit of this embodiment includes multiple large dot electrical points (specific positions: V+, GND, VDD, PIN1, PIN2, and PIN3), and the large dot electrical points are the electrical connection breakpoint positions of the first circuit board 100 and the second circuit board 200, that is, the connection positions of the first row of pins 210 and the first row of mothers 110.

[0059] The output end EMC protection circuit includes: a TVS tube and a capacitor; one end of the capacitor is connected to the power drive circuit of the proximity switch, and is connected to one end of the TVS tube and connected to the output end of the proximity switch; the other end of the capacitor is connected to the other end of the TVS tube and then grounded.

[0060] It should be noted that Figure 6 and Figure 7 for Figure 5 The split diagram of . Figure 5 or Figure 6 and Figure 7As shown, the circuit of the proximity switch in this embodiment includes: an oscillation circuit 1, a voltage follower and comparison circuit 2, a comparator circuit 3, an internal voltage regulator circuit 4, a power supply EMC protection circuit 5, a power drive circuit and an output end EMC protection circuit 6;

[0061] Among them: the oscillation circuit 1, the voltage follower and comparison circuit 2, the comparator circuit 3, and the internal voltage stabilization circuit 4 are arranged on the first circuit board 100; the power supply EMC protection circuit 5, the power drive circuit and the output end EMC protection circuit 6 are arranged on the second circuit board 200.

[0062] The proximity switch in this embodiment includes two output terminals (see Figure 7 OUT1 and OUT2 in the figure), where TVS tube V6 and capacitor C10 are the output end EMC protection circuit corresponding to output end OUT2, and TVS tube V8 and capacitor C10 are the output end EMC protection circuit corresponding to output end OUT1. The functions of the two output ends are:

[0063] When there is no metal conductor around the inductor L1, the OUT1 of the proximity switch outputs a high level, while the OUT2 outputs a low level. When the metal conductor approaches the inductor L1 to its sensing distance, the eddy current effect stops the oscillation, at which time the state of the comparator U3A changes, causing the OUT1 output to become a low level, while the state change of the comparator U3B causes the OUT2 output to become a high level. Therefore, the proximity switch of the present invention has two independent output ports with opposite states, which can switch signals according to whether the detected object exists to meet different control and monitoring requirements. Specifically, the working process of the proximity switch is:

[0064] When there is no metal conductor around the inductor L1, the oscillation circuit 1 vibrates at a high frequency with an inherent frequency, the comparator U3A outputs a low level, the MOS tube U2B is turned on, the power supply terminal VCC of the proximity switch is connected to OUT1 through the fuse F1, the diode V2, the resistor R3, and the MOS tube U2B, and OUT1 outputs a high level; the comparator U3B outputs a high level, the light-emitting diode D1 is not turned on, the MOS tube U2A is turned off, and OUT2 outputs a low level.

[0065] When the metal conductor approaches the inductor L1 to its sensing distance, due to the eddy current effect, the inductance of L1 disappears, the oscillation stops, the comparator U3A outputs a high level, the MOS tube U2B is cut off, and OUT1 outputs a low level; the comparator U3B outputs a low level, the light-emitting diode D1 is turned on, and the MOS tube U2A is turned on at the same time. The power supply terminal VCC of the proximity switch is connected to OUT2 through the self-recovering fuse F1, the diode V2, the resistor R3, and the MOS tube U2A, and OUT2 outputs a high level.

[0066] It can be seen from the above working process that the present invention uses the electromagnetic compatibility protection circuit to achieve three-level protection for itself during the working process of the proximity switch (forming a three-level protection against harsh electromagnetic interference signals such as lightning strikes, surges, or transient high voltages). Specifically:

[0067] The first-level protection circuit uses the first varistor RV1 to suppress surge interference voltage signals with large energy and low frequency; the second-level protection circuit eliminates differential mode interference signals and common mode interference signals through three safety capacitors: the first capacitor C1, the fifth capacitor C5 and the sixth capacitor C6; the third-level protection circuit suppresses electrical fast pulse group interference signals with characteristics such as small energy and high amplitude, that is, the present invention sets up three-level protection measures, including first-level surge suppression (using varistor RV1), second-level differential mode and common mode interference elimination (using capacitors C1, C5, and C6) and third-level electrical fast pulse group suppression. Through the combined use of these protection elements, the influence of external electromagnetic interference on the proximity switch circuit is effectively weakened, thereby greatly reducing the damage to the proximity switch caused by voltage mutations caused by lightning strikes, switching on and off of heavy equipment in the line, etc., ensuring the stability and reliability of the switch under harsh conditions.

[0068] It should be noted that all directional indications (such as up, down, left, right, front, back, etc.) in the embodiments of the present invention are only used to explain the relative position relationship, movement status, etc. between the components under a certain specific posture (as shown in the accompanying drawings). If the specific posture changes, the directional indication will also change accordingly.

[0069] In addition, in the present invention, the descriptions such as "first", "second", "one", etc. are only used for descriptive purposes and cannot be understood as indicating or implying their relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" or "second" may explicitly or implicitly include at least one of the features.

[0070] In the present invention, unless otherwise clearly stipulated and limited, the terms "connected", "fixed", etc. should be understood in a broad sense. For example, "fixed" can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection or an indirect connection through an intermediate medium; it can be the internal connection of two elements or the interaction relationship between two elements, unless otherwise clearly limited.

[0071] In addition, the technical solutions between the various embodiments of the present invention can be combined with each other, but it must be based on the fact that ordinary technicians in the field can implement it. When the combination of technical solutions is contradictory or cannot be implemented, it should be deemed that such combination of technical solutions does not exist and is not within the scope of protection required by the present invention.

Claims

1. A proximity switch, characterized in that: include: A first circuit board (100), wherein the first circuit board (100) is provided with an induction circuit; A second circuit board (200), the second circuit board (200) being provided with an electromagnetic compatibility protection circuit, the first circuit board (100) being electrically connected to the second circuit board (200); One of the first circuit board (100) and the second circuit board (200) is provided with a first row of pins (210) and the other is provided with a first row of female connectors (110), and the first row of pins (210) is plugged into the first row of female connectors (110) so that the first circuit board (100) and the second circuit board (200) are electrically connected; The device further comprises a housing (400), wherein the housing (400) comprises a first shell (410) and a second shell (420), wherein the first shell (410) has a first cavity portion (411), and the second shell (420) has a second cavity portion (421), wherein the first shell (410) is connected to the second shell (420), and the first cavity portion (411) and the second cavity portion (421) form an installation cavity; The first circuit board (100) is installed in the first cavity portion (411) and is fixedly connected to the first shell (410), and the second circuit board (200) is installed in the second cavity portion (421) and is fixedly connected to the second shell (420); The electromagnetic compatibility protection circuit comprises: a power supply EMC protection circuit and a plurality of output end EMC protection circuits; wherein: the power supply EMC protection circuit is electrically connected to the power supply end of the proximity switch; the output end EMC protection circuit is electrically connected to the output end of the proximity switch; the output end EMC protection circuit corresponds to the output end of the proximity switch one by one; The power supply EMC protection circuit comprises: a primary protection circuit, a secondary protection circuit and a tertiary protection circuit electrically connected in sequence; wherein: The primary protection circuit is electrically connected to the power supply terminal of the proximity switch and is used to suppress surge interference voltage signals; The secondary protection circuit is used to eliminate differential mode interference signals and common mode interference signals; The three-level protection circuit is electrically connected to the internal voltage stabilizing circuit of the proximity switch and is used to suppress electrical fast pulse group interference signals; The primary protection circuit includes: a first varistor RV1; the secondary protection circuit includes: a first capacitor C1, a fifth capacitor C5 and a sixth capacitor C6; wherein: One end of the first capacitor C1 and one end of the fifth capacitor C5 are connected to EARTH together, and the other end of the first capacitor C1 is connected to the three-level protection circuit, and is sequentially connected to one end of the sixth capacitor C6, one end of the first varistor RV1, and the power supply end of the proximity switch; the other end of the fifth capacitor C5 is connected to the three-level protection circuit, and is sequentially connected to the other end of the sixth capacitor C6 and the other end of the first varistor RV1, and then grounded; The three-level protection circuit includes: a first fuse F1, a third TVS tube V3, a fourth capacitor C4, a second diode V2, a first resistor R1, a second resistor R2, a second electrolytic capacitor E2, and a third capacitor C3; wherein: one end of the first fuse F1 is connected to one end of the first capacitor C1 in the secondary protection circuit, and the other end is connected to one end of the third TVS tube V3, one end of the fourth capacitor C4, and the positive end of the second diode V2 in sequence, and then connected to the positive end of the first diode V1; the other end of the third TVS tube V3 is connected to one end of the fifth capacitor C5 in the secondary protection circuit, and the positive end of the second diode V2 is ... When the first resistor R1 is connected to the positive power supply V+, the other end of the first resistor R2 is connected to the positive power supply V+ and the other end of the third capacitor C3. The first resistor R1 is connected to the positive power supply V+ and the other end of the third capacitor C3. The other end of the first resistor R1 is connected to the positive power supply V+ and the other end of the third capacitor C3. A comparator circuit is also provided on the first circuit board (100); The second circuit board (200) is also provided with a power drive circuit of the proximity switch; The proximity switch comprises an output terminal OUT1 and an output terminal OUT2; The negative terminal of the second diode V2 in the three-level protection circuit is connected to the positive power supply VDD and then connected to one end of the third resistor R3, and the other end of the third resistor R3 is connected to the power drive circuit; the power drive circuit includes: The seventh resistor R7, the MOS tube U2B and the MOS tube U2A; one end of the seventh resistor R7 is connected to the comparator circuit and connected to the G pole of the MOS tube U2B, and the other end is connected to the comparator circuit and connected to one end of the third resistor R3 and the S pole of the MOS tube U2B, and then connected to one end of the sixth resistor R6 and the S pole of the MOS tube U2A in sequence; the G pole of the MOS tube U2A is connected to the other end of the sixth resistor R6 and one end of the twelfth resistor R12 at the same time; the other end of the twelfth resistor R12 is connected to one end of the sixteenth resistor R16 and the positive terminal of the first diode D1 at the same time; the negative terminal of the first diode D1 is connected to the other end of the sixteenth resistor R16 and then connected to the comparator circuit; the D pole of the MOS tube U2B is connected to the output end EMC protection circuit corresponding to the output end OUT1 in the proximity switch, and the D pole of the MOS tube U2A is connected to the output end EMC protection circuit corresponding to the output end OUT2 in the proximity switch; The proximity switch includes a plurality of large circular electrical points, which are: V+ is the positive power supply in the three-level protection circuit; VDD is the positive power supply in the three-level protection circuit; GND is the connection terminal between the sixth capacitor C6 and the first varistor RV1; PIN1 is a connection terminal between one end of the seventh resistor R7 and the comparator circuit; PIN2 is the connection terminal between the other end of the seventh resistor R7 and the comparator circuit; PIN3 is the connection terminal between the cathode terminal of the first diode D1 and the comparator circuit; The large dot electrical point is the electrical connection breakpoint position between the first circuit board (100) and the second circuit board (200), that is, the connection position between the first row of needles (210) and the first row of females (110).

2. A proximity switch according to claim 1, characterized in that: The first circuit board (100) and the second circuit board (200) are stacked and arranged along the depth direction of the installation cavity, and a distance is reserved between the first circuit board (100) and the second circuit board (200).

3. A proximity switch according to claim 1, characterized in that: The second housing (420) is installed with an output connector (300); one of the output connector (300) and the second circuit board (200) is provided with a second row of pins (310) and the other is provided with a second row of female connectors (220); the second row of pins (310) and the second row of female connectors (220) are plugged into each other so that the output connector (300) is electrically connected to the second circuit board (200).

4. A proximity switch according to claim 1, characterized in that: The output end EMC protection circuit includes: a TVS tube and a capacitor; one end of the capacitor is connected to the power drive circuit of the proximity switch, and is connected to one end of the TVS tube and connected to the output end of the proximity switch; the other end of the capacitor is connected to the other end of the TVS tube and then grounded.

Citation Information

Patent Citations

  • Current-limiting, short-circuit protection and anti-surge compacting AC two-wire system approach switch

    CN200953550Y

  • High voltage resistant inductance approach switch

    CN104300957A

  • Proximity switch

    CN110266300A

  • Proximity switch

    CN110417387A

  • PLC power supply anti-interference protection circuit

    CN117220496A