Sensor and sensor state detection method and device

By designing the housing, magnetic parts, induction parts and circuit board sensors on the metal door body, and using the magnetic field changes to detect the current, the problem of poor use effect of the existing proximity switch on the metal door body is solved, and door detection is realized. Accurate monitoring and fault diagnosis of body opening and closing status.

CN118533202AActive Publication Date: 2024-08-23THE 711TH RES INST OF CHINA STATE SHIPBUILDING CORP
View PDF 7 Cites 0 Cited by

Patent Information

Application Number
CN202410524941.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-04-29
Publication Date
2024-08-23
Estimated Expiration
2044-04-29

AI Technical Summary

Technical Problem

In the existing technology, the proximity switches used on metal door bodies are not effective. Inductive proximity switches have high requirements on the frequency and amplitude of the excitation power supply. Capacitive proximity switches have slow response speed and are susceptible to external interference. Photoelectric proximity switches are prone to interference. Affected by light and pollution.

Method used

A sensor is designed that includes a housing, a magnetic component, an induction component and a circuit board. The magnetic component provides a magnetic field, and the induction component induces magnetic field changes in the magnetic field to generate an electrical signal. The induction circuit on the circuit board combines the power supply signal to adjust the current, and detects The size of the current determines the sensor status to detect the opening and closing status of the target object.

Benefits of technology

It achieves accurate detection of the opening and closing status of metal doors, avoids the shortcomings of traditional proximity switches, and improves the reliability of use in ship cabins and other environments.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118533202A
    Figure CN118533202A
Patent Text Reader

Abstract

The invention discloses a sensor and a sensor state detection method and device, and belongs to the technical field of sensing tests.The sensor comprises a shell, a magnetic part, an induction part and a circuit board, the magnetic part, the induction part and the circuit board are arranged in the shell, the magnetic part provides a magnetic field and is in sliding connection with the shell, the induction part is located in the magnetic field, and the circuit board is located in the shell. The induction piece generates a first electric signal through the change of a magnetic field when the magnetic piece moves relative to the induction piece, an induction circuit is arranged in the circuit board and connected with a second electric signal serving as a power supply signal, meanwhile, the induction circuit is connected with the induction piece and connected with the first electric signal, and the current of the induction circuit is adjusted through the first electric signal and the second electric signal. The working state of the sensor is confirmed by detecting the magnitude of the current, and the opening and closing state of the target object is detected. The detection method comprises the steps of obtaining the current of the induction circuit, judging the working state of the sensor through the current value, and further judging the opening and closing state of the target object.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application belongs to the field of sensor testing technology, and specifically relates to a sensor, a method and a device for detecting a sensor state. Background Art

[0002] At present, proximity switches are mostly installed on ship cabin door covers and other door bodies that are mostly made of metal materials to detect the open and closed status of the door bodies; however, inductive proximity switches have high requirements on the stability of the frequency and amplitude of the excitation power supply, and have poor effects on the surface of metal objects; capacitive proximity switches have slow response speeds and are more sensitive to external interference; photoelectric proximity switches are easily affected by light interference and pollution, so the use effects of the above proximity switches are not good. Summary of the invention

[0003] Purpose of the invention: The present application develops a sensor, a method and a device for detecting the state of the sensor, aiming to solve the technical problem in the prior art that there is no suitable proximity switch for a door made of metal material.

[0004] Technical solution: In a first aspect, an embodiment of the present application provides a sensor, comprising:

[0005] case;

[0006] A magnetic member, the magnetic member is slidably connected to the housing, and the magnetic member is configured to provide a magnetic field;

[0007] an induction element, the induction element being connected to the housing, the induction element being disposed in the magnetic field, and the induction element being configured to sense a change in the magnetic field to generate a first electrical signal;

[0008] A circuit board, the circuit board is connected to the housing, the circuit board is provided with an induction circuit, the induction circuit is configured to adjust its own current in combination with the first electrical signal and the second electrical signal, the second electrical signal being a power supply signal;

[0009] Wherein, the induction element includes a first terminal, a second terminal and a third terminal, the second terminal is configured to output the first electrical signal, and the third terminal is configured to be grounded; the induction circuit includes a first resistor and a second resistor, the first resistor and the second resistor are configured to access the second electrical signal, the first resistor is connected to the first terminal, and the second resistor is connected to the second terminal.

[0010] In some embodiments, the sensing element includes a Hall element.

[0011] In some embodiments, a power supply circuit is further disposed on the circuit board, the power supply circuit is connected to the sensing circuit, and the power supply circuit is configured to be connected to an external power source to output a second electrical signal.

[0012] In some embodiments, the power supply circuit includes:

[0013] a rectifier module, wherein the rectifier module is configured to be connected to an external power source and output a third electrical signal;

[0014] a voltage stabilizing module, the voltage stabilizing module being connected to the rectifier module, the voltage stabilizing module being configured to receive the third electrical signal and output a second electrical signal;

[0015] An explosion-proof module is connected to the voltage stabilizing module.

[0016] In some embodiments, the explosion-proof module comprises:

[0017] A first diode, the first diode is connected in parallel with the voltage stabilizing module;

[0018] A second diode is connected in parallel with the first diode.

[0019] In some embodiments, the voltage stabilization module includes:

[0020] a first capacitor, one end of the first capacitor is connected to the rectifier module, the other end of the first capacitor is grounded, and the first capacitor is configured to receive the third electrical signal and output a fourth electrical signal;

[0021] a voltage stabilizer, the voltage stabilizer being connected in parallel with the first capacitor, the voltage stabilizer being configured to receive the fourth electrical signal and output a fifth electrical signal;

[0022] A second capacitor, one end of the second capacitor is connected to the regulator, the other end of the second capacitor is grounded, and the second capacitor is configured to receive the fifth electrical signal and output the second electrical signal.

[0023] In some embodiments, the housing has a chamber and a first through hole, the first through hole is connected to the chamber; the magnetic component, the induction component and the circuit board are all arranged in the chamber;

[0024] Also includes:

[0025] a cover plate, the cover plate being connected to the housing and covering the first through hole;

[0026] A first seal is disposed between the cover plate and the housing, and is configured to seal a connection between the cover plate and the housing.

[0027] In some embodiments, the housing further has a second through hole, and the second through hole is connected to the chamber;

[0028] It also includes a trigger mechanism, which is penetrated by the second through hole and connected to the magnetic member, and at least a part of the trigger mechanism is located outside the chamber.

[0029] In some embodiments, the trigger mechanism comprises:

[0030] A connecting member, the connecting member is disposed in the chamber and connected to the magnetic member;

[0031] A contact piece is extended along a first direction, the contact piece is passed through the second through hole and connected to the connecting piece, and the outer wall of the contact piece is sealed and connected to the inner wall of the second through hole; at least part of the contact piece is located outside the shell.

[0032] In some embodiments, the trigger mechanism further includes a spring, the spring is disposed in the chamber, and the spring is extended along the first direction;

[0033] One end of the spring is connected to the inner wall of the chamber, and the other end of the spring is connected to the connecting piece.

[0034] In some embodiments, the housing further has a third through hole, the third through hole is in communication with the chamber, and the third through hole is configured to provide a wiring channel;

[0035] Also includes:

[0036] Explosion-proof hose;

[0037] An explosion-proof stuffing box, one end of which is connected to the shell and communicates with the third through hole, and the other end of which is connected to the explosion-proof hose.

[0038] In some embodiments, the housing further has a fourth through hole, and the fourth through hole is connected to the chamber;

[0039] The invention also includes a second sealing member, which is connected to the housing and is disposed in the fourth through hole to seal the fourth through hole.

[0040] In a second aspect, an embodiment of the present application further provides a method for detecting a sensor state based on any one of the first aspects, comprising the following steps:

[0041] determining a current of the sensing circuit;

[0042] In response to the current satisfying a preset first current threshold, determining that the sensor is in a first state, when the sensor is in the first state, the magnetic element is close to the inductive element;

[0043] In response to the current satisfying a preset second current threshold, determining that the sensor is in a second state, when the sensor is in the second state, the magnetic element is away from the inductive element;

[0044] In response to the current satisfying a preset third current threshold, it is determined that the sensor is in a third state, and the third state is a fault state of the sensor.

[0045] In a third aspect, an embodiment of the present application further provides a sensor state detection device, comprising:

[0046] a first module configured to determine a current of a sensing circuit;

[0047] The second module is configured to determine that the sensor is in a first state in response to the current satisfying a preset first current threshold, and when the sensor is in the first state, the magnetic component is close to the inductive component; determine that the sensor is in a second state in response to the current satisfying a preset second current threshold, and when the sensor is in the second state, the magnetic component is away from the inductive component; determine that the sensor is in a third state in response to the current satisfying a preset third current threshold, and the third state is a fault state of the sensor.

[0048] Beneficial effect: Compared with the prior art, a sensor provided in an embodiment of the present application includes a shell, a magnetic part, an induction part and a circuit board. The magnetic part, the induction part and the circuit board are arranged in the shell. The magnetic part provides a magnetic field and is slidably connected to the shell. The induction part is located in the magnetic field. The induction part generates a first electrical signal through the change of the magnetic field when the magnetic part moves relative to the induction part. The circuit board is provided with an induction circuit, and the induction circuit is connected to the second electrical signal as a power supply signal. At the same time, the induction circuit is connected to the induction part and connected to the first electrical signal. The current of the induction circuit is adjusted by the first electrical signal and the second electrical signal. The working state of the sensor is confirmed by detecting the magnitude of the current, and the detection of the opening and closing state of the target object is realized; in the present application, the induction part includes a first terminal, a second terminal and a third terminal, and the induction circuit includes a first resistor and a second resistor. The first resistor and the second resistor are connected in parallel and connected to the second electrical signal. The first resistor is connected to the first terminal, and the second resistor is connected to the second terminal. After the magnetic part moves and the induction part senses the change of the magnetic field, the first electrical signal is induced and generated. At this time, only the first resistor is connected to the circuit, and the current in the induction circuit changes. The working state of the sensor is obtained by detecting the current in the induction circuit.

[0049] The embodiment of the present application provides a method for detecting the state of a sensor, which is used to detect the working state of the sensor provided in the embodiment of the present application. The detection method first obtains the current of the sensing circuit in the sensor. When the current meets the first current threshold, the magnetic part is close to the sensing part. When the current meets the second current threshold, the magnetic part is away from the sensing part. When the current meets the third current threshold, the sensor is in a fault state. The present application determines the working state of the sensor by detecting the current value of the sensing circuit in the sensor, and then determines the open and closed state of the target object. BRIEF DESCRIPTION OF THE DRAWINGS

[0050] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For those skilled in the art, other drawings can be obtained based on these drawings without creative work.

[0051] Figure 1 A front view of a sensor provided in an embodiment of the present application;

[0052] Figure 2 A partial cross-sectional view of a sensor provided in an embodiment of the present application;

[0053] Figure 3 A top view of a sensor provided in an embodiment of the present application;

[0054] Figure 4 A simplified structural diagram of an application example of the sensor provided in an embodiment of the present application;

[0055] Figure 5 A circuit diagram of a power supply circuit in a sensor provided in an embodiment of the present application;

[0056] Figure 6 A circuit diagram of a sensing circuit in a sensor provided in an embodiment of the present application;

[0057] Figure 7 A flowchart of the steps of the sensor state detection method provided in the embodiment of the present application;

[0058] Figure 8 A module connection diagram of a sensor state detection device provided in an embodiment of the present application;

[0059] Reference numerals: 100, housing; 110, chamber; 120, first through hole; 130, second through hole; 140, third through hole; 150, fourth through hole; 200, magnetic member; 300, induction member; 310, first terminal; 320, second terminal; 330, third terminal; 500, circuit board; 510, induction circuit; 511, first resistor; 512, second resistor; 520, power supply circuit; 521, rectifier module; 522, voltage stabilizing module; 5221, first capacitor; 5222, voltage regulator; 5223, second capacitor; 523, explosion-proof module; 5231, first diode; 5232, second diode; 600, cover plate; 700, first sealing member; 800, trigger mechanism; 810, connector; 820, contact member; 830, spring; 900, explosion-proof hose; 1000, explosion-proof stuffing box; 1100, second sealing member; X, first direction; 1, first module; 2, second module. DETAILED DESCRIPTION

[0060] The technical solutions in the embodiments of the present application will be described clearly and completely below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, rather than all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present application.

[0061] The sensor provided in the embodiment of the present application can be used in the explosive gas environment of the ship as an indicator of the hatch door opening and closing. The working state of the sensor reflects the opening and closing state of the hatch door to achieve the purpose of monitoring the hatch door state. Specifically, the sensor of the present application can be set on a target object with an open and closed state, such as a door and a lid. When the sensor of the present application is applied to the door, the sensor of the present application is installed on the door frame to monitor the opening and closing state of the door body; when the sensor of the present application is applied to the lid, the sensor of the present application is installed on the lid frame to monitor the opening and closing state of the lid body.

[0062] See also Figures 1 to 6The embodiment of the present application provides a sensor, including a shell 100, a magnetic member 200, a sensing member 300 and a circuit board 500. The magnetic member 200, the sensing member 300 and the circuit board 500 are arranged on the shell 100. The magnetic member 200 provides a magnetic field and is slidably connected to the shell 100. The sensing member 300 is located in the magnetic field. The sensing member 300 generates a first electrical signal through the change of the magnetic field when the magnetic member 200 moves relative to the sensing member 300. The circuit board 500 is provided with a sensing circuit 510. The sensing circuit 510 receives a second electrical signal as a power supply signal. At the same time, the sensing circuit 510 is connected to the sensing member 300 and receives the first electrical signal. The current of the sensing circuit 510 is adjusted by the first electrical signal and the second electrical signal. By detecting the current The size of the sensor is used to confirm the working state of the sensor, thereby realizing the detection of the opening and closing state of the target object; in the present application, the sensing element 300 includes a first terminal 310, a second terminal 320 and a third terminal 330, and the sensing circuit 510 includes a first resistor 511 and a second resistor 512, the first resistor 511 and the second resistor 512 are connected in parallel and connected to the second electrical signal, the first resistor 511 is connected to the first terminal 310, and the second resistor 512 is connected to the second terminal 320. After the magnetic element 200 moves and the sensing element 300 senses the change in the magnetic field, the first electrical signal is induced and generated. At this time, only the first resistor 511 is connected to the circuit, and the current in the sensing circuit 510 changes. By detecting the current in the sensing circuit 510, the working state of the sensor is obtained.

[0063] See also Figure 2 and Figure 6In some embodiments, the sensing component 300 may use a Hall element, and the magnetic component 200 may use a magnet. The Hall element is fixedly connected to the housing 100. When the magnet moves relative to the housing 100, the relative position of the Hall element and the magnet changes, and the position of the Hall element in the magnetic field also changes. The Hall element will generate a first electrical signal based on the Hall effect. The first electrical signal is output to the sensing circuit 510 through the second terminal 320 to change the current value of the sensing circuit 510, and the state of the sensor is determined based on the difference in current values. Specifically, when the present application is applied to the detection of the opening and closing of a target object, in the Hall element, the first terminal 310 is an input terminal, and the first terminal 310 connects the Hall element to a power supply signal through the first resistor 511. When the target object is closed, the magnet approaches the Hall element under the contact of the target object. Based on the Hall effect, the Hall element outputs a low level. At this time, the first resistor 511 and the second resistor 512 are both connected to the sensing circuit 510. At this time, the sensing circuit 510 has a first current value; when the door body is opened, the magnet loses the contact with the door body and moves away from the Hall element. Based on the Hall effect, the Hall element outputs a high level, that is, a first electrical signal. At this time, both ends of the second resistor 512 are connected to a positive voltage. Due to the lack of potential difference, no current flows through the second resistor 512. At this time, only the first resistor 511 is connected to the sensing circuit 510. The sensing circuit 510 has a second current value. The state of the magnet in the sensor relative to the Hall element is determined based on the difference in the current value of the sensing circuit 510, so as to determine whether the target object is in a closed state or an open state. Specifically, the Hall element in the present application is an HJ1 type Hall element, which outputs a digital signal.

[0064] See also Figure 2 , Figure 5 and Figure 6 In some embodiments, a power supply circuit 520 is further provided on the circuit board 500. The power supply circuit 520 is connected to the sensing circuit 510. The power supply circuit 520 is used to adjust the power supply signal. The power supply circuit 520 is configured to connect to an external power supply and output a second electrical signal. Specifically, when the external power supply is an AC power supply, the power supply circuit 520 is connected to the external AC power supply, performs rectification and voltage stabilization on the AC power supply, and generates a DC signal that can be used by the sensing circuit 510, that is, the second electrical signal, to power the sensing circuit 510.

[0065] See also Figure 5In some embodiments, the power supply circuit 520 converts the external power supply current into a direct current to realize the rectification operation, and a rectifier module 521 is provided in the power supply circuit 520. Specifically, in the present application, the rectifier module 521 uses a single-phase bridge rectifier, the AC input end of the single-phase bridge rectifier is connected to the external AC power supply, the negative polarity output end of the single-phase bridge rectifier is grounded, and the positive polarity output end of the single-phase bridge rectifier is connected to the voltage stabilizing module 522 to output the rectified pulsating direct current, that is, the third electrical signal, to the voltage stabilizing module 522.

[0066] See also Figure 5 In some embodiments, in order to realize voltage stabilization operation, stabilize the voltage variation amplitude of the third electrical signal, and generate direct current with a more stable amplitude, i.e., the second electrical signal, the power supply circuit 520 is provided with a voltage stabilization module 522, and the voltage stabilization module 522 is connected to the rectifier module 521. The voltage stabilization module 522 receives the third electrical signal and outputs the second electrical signal.

[0067] See also Figure 5 In some embodiments, the voltage stabilizing module 522 includes a first capacitor 5221, one end of the first capacitor 5221 is connected to the positive polarity output end of the single-phase bridge rectifier, and the other end of the first capacitor 5221 is grounded. After receiving the third electrical signal, the first capacitor 5221 acts as an input filter capacitor to filter out high-frequency noise and interference in the third electrical signal to generate a fourth electrical signal. Specifically, the first capacitor 5221 in the present application is a ceramic capacitor with a capacitance value of 0.01uf and a voltage rating of 35V.

[0068] See also Figure 5 In some embodiments, the voltage stabilization module 522 further includes a voltage stabilizer 5222, which is connected in parallel with the first capacitor 5221 to receive the fourth electrical signal, adjust the voltage amplitude of the fourth electrical signal, and generate a fifth signal with a more stable amplitude. The input end of the voltage stabilizer 5222 is connected to one end of the first capacitor 5221, and is connected to the single-phase bridge rectifier through the first capacitor 5221. Specifically, the voltage stabilizer 5222 in the present application is a low voltage difference power regulator, whose model is LM2931AD-5.02R2G, and performs voltage stabilization operation on the fourth signal.

[0069] See also Figure 5In some embodiments, the voltage stabilizing module 522 further includes a second capacitor 5223, one end of the second capacitor 5223 is connected to the output end of the voltage regulator 5222, and the other end of the second capacitor 5223 is grounded to receive the fifth signal, and further filter the high-frequency noise and ripples of the fifth signal as an output filter capacitor to generate a second electrical signal. Specifically, the second capacitor 5223 in the present application is an electrolytic capacitor, and the positive electrode of the electrolytic capacitor is externally connected to a 5V voltage. At the same time, the positive electrode of the electrolytic capacitor is connected to the output end of the voltage regulator 5222. In the present application, the electrolytic capacitor is a solid tantalum capacitor, and its capacitance value is 22uf and its voltage rating is 16V.

[0070] See also Figure 5 In some embodiments, the power supply circuit 520 performs double power supply protection to achieve explosion-proof purpose and prevent voltage overvoltage. An explosion-proof module 523 is provided in the power supply circuit 520, and the explosion-proof module 523 is connected to the voltage stabilizing module 522.

[0071] See also Figure 5 In some embodiments, the explosion-proof module 523 includes a first diode 5231 and a second diode 5232, the first diode 5231 is connected in parallel with the voltage stabilizing module 522, and the second diode 5232 is connected in parallel with the first diode 5231. Specifically, the first diode 5231 and the second diode 5232 are both voltage stabilizing diodes, the maximum power of the first diode 5231 and the second diode 5232 is 1.5w, and the reverse breakdown voltage of the first diode 5231 and the second diode 5232 is 5.6V.

[0072] See also Figure 5 In some embodiments, the power supply circuit 520 of the present application is further provided with an external wiring terminal, which is connected to the AC input terminal of the single-phase bridge rectifier. The external wiring terminal is used to connect an external power supply, and then the external power supply is input into the single-phase bridge rectifier through the AC input terminal of the single-phase bridge rectifier. At the same time, the current of the power supply circuit 520 and the sensing circuit 510 can be detected through the external wiring terminal, so as to determine the working state of the sensor through the current change.

[0073] See also Figure 1 and Figure 2 In some embodiments, the housing 100 has a chamber 110 , and the magnetic component 200 , the inductive component 300 , and the circuit board 500 are all disposed in the chamber 110 to protect the magnetic component 200 , the inductive component 300 , and the circuit board 500 .

[0074] In some embodiments, the circuit components on the circuit board 500 are made using a coating technology, and the circuit board 500 is coated with a three-proof varnish and treated to avoid salt spray, mold and water vapor corrosion, meeting the three-proof requirements of ship components working on the water surface.

[0075] See also Figure 2 In some embodiments, the housing 100 further has a first through hole 120, which is connected to the housing 100. Internal components of the sensor such as the magnetic element 200, the inductive element 300 and the circuit board 500 are installed in the chamber 110 of the housing 100 through the first through hole 120.

[0076] In some embodiments, two first through holes 120 are provided, and the two first through holes 120 are symmetrically arranged through each other. Providing two first through holes 120 can effectively improve installation flexibility.

[0077] See also Figure 1 and Figure 3 In some embodiments, the sensor provided in the embodiment of the present application further includes a cover plate 600, which is connected to the housing 100 and covers the first through hole 120. Correspondingly, in order to cover the two first through holes 120, the present application provides two cover plates 600, which cover the two first through holes 120 respectively.

[0078] In some embodiments, the cover plate 600 and the housing 100 are fixed with screws, and thread fasteners, anti-loosening washers, anti-loosening nuts and other measures may be provided to prevent the connection from loosening, so as to meet the performance requirements of the marine device for impact and vibration resistance.

[0079] See also Figure 3 In some embodiments, the sensor provided in the embodiment of the present application further includes a first seal 700, which is disposed between the cover plate 600 and the housing 100, and is configured to seal the connection between the cover plate 600 and the housing 100. Correspondingly, two first seals 700 are provided, which are respectively disposed at the connection between the two cover plates 600 and the first through hole 120. Specifically, to ensure the sealing performance, the first seal 700 is a conductive shielding gasket to resist external radiation, improve electromagnetic compatibility, and prevent salt fog, mold and water vapor from eroding the inside of the housing 100, so as to meet the three-proof requirements of marine devices working on the water surface.

[0080] See also Figures 1 to 4 In some embodiments, the housing 100 of the present application further has a second through hole 130, which is connected to the chamber 110. To facilitate the movement of the magnetic member 200, the sensor of the present application further includes a trigger mechanism 800, which is disposed in the second through hole 130 and connected to the magnetic member 200. At least part of the trigger mechanism 800 is located outside the chamber 110. When an external target object contacts the trigger mechanism 800, the trigger mechanism 800 drives the magnetic member 200 to move.

[0081] See also Figure 2In some embodiments, the trigger mechanism 800 includes a connector 810 and a contact member 820. The connector 810 is disposed in the chamber 110 and connected to the magnetic member 200. The contact member 820 is extended along the first direction X. The contact member 820 is passed through the second through hole 130 and connected to the connector 810. The outer wall of the contact member 820 is sealed and connected to the inner wall of the second through hole 130 to prevent salt spray, mold and water vapor from corroding the inside of the housing 100, so as to meet the three-proof requirements of the ship device working on the water surface. At least part of the contact member 820 is located outside the housing 100. When the external target abuts the contact member 820, the contact member 820 drives the magnetic member 200 to move along the first direction X.

[0082] See also Figure 2 In some embodiments, the trigger mechanism 800 further includes a spring 830, which is disposed in the chamber 110 and extends along the first direction X. One end of the spring 830 is connected to the inner wall of the chamber 110, and the other end of the spring 830 is connected to the connector 810. When the contact member 820 is pressed by the target object, the connector 810 is driven to move along the first direction X. At this time, the sensing circuit 510 outputs a first current value. The connector 810 presses the spring 830 along the first direction X, and the spring 830 is compressed. When the target object is a door panel, it indicates that the door panel is in a closed state. After the contact member 820 cancels the pressure on the contact member 820, the external pressure of the spring 830 disappears, and the spring 830 rebounds and resets, pushing the connector 810 to move along the first direction X. At this time, the sensing circuit 510 outputs a second current value. When the target object is a door panel, it indicates that the door panel is in an open state.

[0083] See also Figure 2 In some embodiments, the shell 100 also has a third through hole 140, which is connected to the chamber 110. The third through hole 140 is used to provide a wiring channel. External power supply wires or signal transmission lines enter the chamber 110 through the third through hole 140 to connect to the circuit board 500.

[0084] See also Figure 1 , Figure 2 and Figure 4 In some embodiments, in order to improve the safety of the wiring harness in the third through hole 140 such as the power supply wire and the signal transmission line, the sensor provided in the embodiment of the present application also includes an explosion-proof stuffing box 1000 and an explosion-proof hose 900. One end of the explosion-proof stuffing box 1000 is connected to the housing 100, and the explosion-proof stuffing box 1000 is connected to the third through hole 140. The other end of the explosion-proof stuffing box 1000 is connected to the explosion-proof hose 900. The power supply wire, the signal transmission line and other lines pass through the explosion-proof hose 900 and the explosion-proof stuffing box in turn to enter the chamber 110, and then are connected to the circuit board 500 in the chamber 110 to achieve explosion-proof protection.

[0085] See also Figure 2 In some embodiments, the shell 100 also has a fourth through hole 150 and a second seal 1100. The fourth through hole 150 is communicated with the chamber 110. The second seal 1100 is connected to the shell 100 and is arranged at the fourth through hole 150, and seals the fourth through hole 150 to prevent salt spray, mold and water vapor from invading the shell 100, thereby meeting the three-proof requirements of ship devices working on the water surface; in this application, the fourth through hole 150 is used to balance the internal and external air pressure of the sensor, clear the accumulated water inside the sensor, and perform gas permeability tests, etc. At the same time, the internal components of the sensor can be maintained through the fourth through hole 150.

[0086] Specifically, the power supply circuit 520 of the sensor provided in the embodiment of the present application is connected to an external 24V AC power, and after rectification and voltage stabilization operation of the power supply circuit 520, a 5V DC power is generated and passed to the sensing circuit 510 to provide 5V DC power for the sensing circuit 510; in the present application, the first resistor 511 is a metal film resistor with R1=0Ω, which is used to limit the current of the sensing circuit 510 to the working current range of the Hall element when the Hall element is working, to avoid current abnormality and damage to the Hall element, so as to achieve the purpose of explosion-proof; the second resistor 512 is a metal film resistor with R2=390Ω; taking the sensor provided in the embodiment of the present application as an example, which is set on the door, when the door cover is closed, the magnetic steel is close to the When the sensor is close to the Hall element, the Hall element outputs a low level. At this time, the first resistor 511 and the second resistor 512 are both connected to the circuit, and the first current value in the sensing circuit 510 is 16.8mA (4+12.8=16.8mA); when the door cover is opened, the magnet is away from the Hall element, and the Hall element outputs a high level. At this time, only the first resistor 511 is connected to the circuit, so the second current value in the sensing circuit 510 is 4mA; when the sensor fails, the third current value in the sensing circuit 510 is lower than 1mA, and the current signals in the power supply circuit 520 and the sensing circuit 510 are collected through the external wiring terminals, and the opening and closing state of the door cover and the fault state of the sensor are judged by the current value.

[0087] In some embodiments, each component of the sensor provided in the embodiments of the present application is made of three-proof (moisture-proof, salt spray-proof, and mildew-proof) materials to avoid corrosion by salt spray, mildew, and water vapor, and meet the three-proof requirements of ship devices working on the water surface.

[0088] It can be understood that an embodiment of the present application provides a sensor, including a shell 100, a magnetic member 200, a sensing member 300 and a circuit board 500, wherein the magnetic member 200, the sensing member 300 and the circuit board 500 are arranged in the shell 100, the magnetic member 200 provides a magnetic field and is slidably connected to the shell 100, the sensing member 300 is located in the magnetic field, and the sensing member 300 generates a first electrical signal through the change of the magnetic field when the magnetic member 200 moves relative to the sensing member 300, and a sensing circuit 510 is arranged in the circuit board 500, and the sensing circuit 510 is connected to the second electrical signal as a power supply signal, and at the same time, the sensing circuit 510 is connected to the sensing member 300, and is connected to the first electrical signal, and the current of the sensing circuit 510 is adjusted by the first electrical signal and the second electrical signal, and the sensing circuit 510 is detected. The magnitude of the current is measured to confirm the working state of the sensor and detect the open or closed state of the target object; in the present application, the sensing element 300 includes a first terminal 310, a second terminal 320 and a third terminal 330, and the sensing circuit 510 includes a first resistor 511 and a second resistor 512, the first resistor 511 and the second resistor 512 are connected in parallel and connected to a second electrical signal, the first resistor 511 is connected to the first terminal 310, and the second resistor 512 is connected to the second terminal 320. After the magnetic element 200 moves and the sensing element 300 senses the change in the magnetic field, the first electrical signal is induced and generated. At this time, only the first resistor 511 is connected to the circuit, and the current in the sensing circuit 510 changes. By detecting the current in the sensing circuit 510, the working state of the sensor is obtained.

[0089] Accordingly, see Figure 7 The embodiment of the present application also provides a method for detecting the state of a sensor, which is used to detect the working state of the sensor provided in the embodiment of the present application, and specifically comprises the following steps:

[0090] Step 1: Determine the current of the sensing circuit 510;

[0091] Step 2: In response to the current satisfying a preset first current threshold, the sensor is determined to be in a first state. When the sensor is in the first state, the magnetic component 200 is close to the inductive component 300; in response to the current satisfying a preset second current threshold, the sensor is determined to be in a second state. When the sensor is in the second state, the magnetic component 200 is away from the inductive component 300; in response to the current satisfying a preset third current threshold, the sensor is determined to be in a third state. The third state is a fault state of the sensor.

[0092] Specifically, the first current preset and the second current threshold are determined based on the working states of the first resistor 511 and the second resistor 512. Taking the application of the sensor provided in the embodiment of the present application to the door as an example, when the door body is closed and the magnetic steel is close to the Hall element, the Hall element output is a low level. At this time, the first resistor 511 and the second resistor 512 are both connected to the sensing circuit 510. The sensing circuit 510 has a first current value. The first current threshold a is confirmed based on the first current value. At the same time, in order to improve the detection sensitivity, the margin range is increased for the first current threshold a. Taking the circuit parameters of the present application as an example, the first current threshold a satisfies: 16mA≤a≤18mA. When the door cover is opened, the magnetic steel is away from the Hall element, and the Hall element output is a high level. At this time, only the first resistor 511 is connected to the circuit, and the sensing circuit 510 has a second current value. The second current threshold b is confirmed based on the second current value. At the same time, in order to improve the detection sensitivity, the margin range is increased for the second current threshold b. Taking the circuit parameters of the present application as an example, the second current threshold b satisfies: 3mA≤b≤5Ma. When the sensor fails, it is confirmed that there is a third current value in the sensing circuit 510, and a third current threshold c is confirmed based on the third current value. Taking the circuit parameters of the present application as an example, the third current threshold c satisfies: c≤1mA.

[0093] It can be understood that the embodiment of the present application provides a method for detecting the state of a sensor, which is used to detect the working state of the sensor provided in the embodiment of the present application. The detection method first obtains the current of the sensing circuit 510 in the sensor. When the current meets the first current threshold, the magnetic component 200 is close to the sensing component 300. When the current meets the second current threshold, the magnetic component 200 is away from the sensing component 300. When the current meets the third current threshold, the sensor is in a fault state. The present application determines the working state of the sensor by detecting the current value of the sensing circuit 510 in the sensor, and then determines the open and closed state of the target object, thereby realizing the detection of the open and closed state of the target object.

[0094] See also Figure 8 Accordingly, an embodiment of the present application further provides a sensor state detection device, which is used to detect the working state of the sensor provided in the embodiment of the present application, including:

[0095] A first module 1, the first module 1 is configured to determine a current of a sensing circuit 510;

[0096] The second module 2 is configured to determine that the sensor is in a first state in response to the current satisfying a preset first current threshold, and when the sensor is in the first state, the magnetic component 200 is close to the inductive component 300; to determine that the sensor is in a second state in response to the current satisfying a preset second current threshold, and when the sensor is in the second state, the magnetic component 200 is away from the inductive component 300; and to determine that the sensor is in a third state in response to the current satisfying a preset third current threshold, and the third state is a fault state of the sensor.

[0097] The present application has introduced in detail a sensor, a method for detecting the state of a sensor and a device provided in the embodiments of the present application. Specific examples are used herein to illustrate the principle and implementation mode of the present application. The description of the above embodiments is only used to help understand the method and core idea of ​​the present application. At the same time, for those skilled in the art, according to the idea of ​​the present application, there will be changes in the specific implementation mode and the scope of application. In summary, the content of this specification should not be understood as a limitation on the present application.

Claims

1. A sensor, characterized in that: include: Housing (100); A magnetic member (200), the magnetic member (200) being slidably connected to the housing (100), and the magnetic member (200) being configured to provide a magnetic field; an induction element (300), the induction element (300) being connected to the housing (100), the induction element (300) being disposed in the magnetic field, and the induction element (300) being configured to sense a change in the magnetic field to generate a first electrical signal; A circuit board (500), the circuit board (500) being connected to the housing (100), the circuit board (500) being provided with a sensing circuit (510), the sensing circuit (510) being configured to adjust its own current in combination with the first electrical signal and a second electrical signal, the second electrical signal being a power supply signal; The sensing element (300) comprises a first terminal (310), a second terminal (320) and a third terminal (330), wherein the second terminal (320) is configured to output the first electrical signal, and the third terminal (330) is configured to be grounded; the sensing circuit (510) comprises a first resistor (511) and a second resistor (512), wherein the first resistor (511) and the second resistor (512) are configured to receive the second electrical signal, the first resistor (511) is connected to the first terminal (310), and the second resistor (512) is connected to the second terminal (320).

2. The sensor according to claim 1, characterized in that The sensing element (300) comprises a Hall element.

3. The sensor according to claim 1, characterized in that A power supply circuit (520) is also provided on the circuit board (500), and the power supply circuit (520) is connected to the sensing circuit (510). The power supply circuit (520) is configured to be connected to an external power source and output a second electrical signal.

4. The sensor according to claim 3, characterized in that The power supply circuit (520) comprises: A rectifier module (521), the rectifier module (521) being configured to be connected to the external power source and output a third electrical signal; A voltage stabilizing module (522), the voltage stabilizing module (522) being connected to the rectifier module (521), the voltage stabilizing module (522) being configured to receive the third electrical signal and output a second electrical signal; An explosion-proof module (523), wherein the explosion-proof module (523) is connected to the voltage stabilizing module (522).

5. The sensor according to claim 4, characterized in that The explosion-proof module (523) comprises: A first diode (5231), the first diode (5231) is connected in parallel with the voltage stabilizing module (522); A second diode (5232), the second diode (5232) is connected in parallel with the first diode (5231).

6. The sensor according to claim 4, characterized in that The voltage stabilizing module (522) comprises: a first capacitor (5221), one end of the first capacitor (5221) being connected to the rectifier module (521), the other end of the first capacitor (5221) being grounded, and the first capacitor (5221) being configured to receive the third electrical signal and output a fourth electrical signal; a voltage regulator (5222), the voltage regulator (5222) being connected in parallel with the first capacitor (5221), the voltage regulator (5222) being configured to receive the fourth electrical signal and output a fifth electrical signal; A second capacitor (5223), one end of the second capacitor (5223) is connected to the regulator (5222), the other end of the second capacitor (5223) is grounded, and the second capacitor (5223) is configured to receive the fifth electrical signal and output the second electrical signal.

7. The sensor according to claim 1, characterized in that The housing (100) has a chamber (110) and a first through hole (120), wherein the first through hole (120) is in communication with the chamber (110); the magnetic component (200), the inductive component (300) and the circuit board (500) are all arranged in the chamber (110); Also includes: a cover plate (600), the cover plate (600) being connected to the housing (100) and covering the first through hole (120); A first seal (700), wherein the first seal (700) is disposed between the cover plate (600) and the housing (100), and the first seal (700) is configured to seal a connection between the cover plate (600) and the housing (100).

8. The sensor according to claim 7, characterized in that The housing (100) further has a second through hole (130), and the second through hole (130) is in communication with the chamber (110); It also includes a trigger mechanism (800), which is disposed in the second through hole (130) and connected to the magnetic member (200), and at least a portion of the trigger mechanism (800) is located outside the chamber (110).

9. The sensor according to claim 8, characterized in that The trigger mechanism (800) comprises: A connecting member (810), the connecting member (810) being connected to the magnetic member (200) and being disposed in the chamber (110); A contact piece (820), wherein the contact piece (820) is extended along a first direction (X), the contact piece (820) is passed through the second through hole (130), and is connected to the connecting piece (810), and the outer wall of the contact piece (820) is sealedly connected to the inner wall of the second through hole (130); at least a portion of the contact piece (820) is located outside the shell (100).

10. The sensor according to claim 9, characterized in that The trigger mechanism (800) further comprises a spring (830), wherein the spring (830) is disposed in the chamber (110), and the spring (830) is extended along the first direction (X); One end of the spring (830) is connected to the inner wall of the chamber (110), and the other end of the spring (830) is connected to the connecting member (810).

11. The sensor according to claim 7, characterized in that The housing (100) further has a third through hole (140), the third through hole (140) is in communication with the chamber (110), and the third through hole (140) is configured to provide a wiring channel; Also includes: Explosion-proof hose (900); An explosion-proof stuffing box (1000), one end of which is connected to the housing (100) and communicates with the third through hole (140), and the other end of which is connected to the explosion-proof hose (900).

12. The sensor according to claim 7, characterized in that The housing (100) further has a fourth through hole (150), and the fourth through hole (150) is in communication with the chamber (110); The invention also comprises a second sealing member (1100), wherein the second sealing member (1100) is connected to the housing (100), is disposed in the fourth through hole (150), and seals the fourth through hole (150).

13. A method for detecting a sensor state according to any one of claims 1 to 12, characterized in that: The steps include: determining a current of the sensing circuit (510); In response to the current satisfying a preset first current threshold, determining that the sensor is in a first state, and when the sensor is in the first state, the magnetic element (200) is close to the inductive element (300); In response to the current satisfying a preset second current threshold, determining that the sensor is in a second state, and when the sensor is in the second state, the magnetic element (200) is away from the inductive element (300); In response to the current satisfying a preset third current threshold, it is determined that the sensor is in a third state, and the third state is a fault state of the sensor.

14. A sensor state detection device, characterized in that: include: A first module (1), the first module (1) being configured to determine a current of a sensing circuit (510); The second module (2) is configured to, in response to the current satisfying a preset first current threshold, determine that the sensor is in a first state, when the sensor is in the first state, the magnetic component (200) is close to the inductive component (300); in response to the current satisfying a preset second current threshold, determine that the sensor is in a second state, when the sensor is in the second state, the magnetic component (200) is away from the inductive component (300); in response to the current satisfying a preset third current threshold, determine that the sensor is in a third state, the third state being a fault state of the sensor.

Citation Information

Patent Citations

  • Motor uni-current sensor controlling method and apparatus based on four switch inversion bridge

    CN101453182A

  • System for monitoring ultrasonic elliptical vibration cutting state on line by utilizing electrical characteristic of energy transducer

    CN101712128A

  • High voltage switch dynamic characteristics tester

    CN101813752A

  • A superconducting linear induction motor

    CN102290967A

  • Residual current operated circuit-breaker

    CN103337429A