Pressure sensor switch circuit and control method
By designing the pressure sensor switch circuit, using the combination of the comparison circuit and the switching circuit, the problem of low switching control accuracy in the prior art is solved, and more accurate pressure sensing and switching control are achieved.
Patent Information
- Application Number
- CN202110114521.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-01-27
- Publication Date
- 2025-02-14
- Estimated Expiration
- 2041-01-27
AI Technical Summary
In the prior art, it is impossible to ensure that when the pressure reaches a specific value, the electromagnetic force generated by the relay according to the obtained voltage is sufficient to attract the armature, resulting in a low switching control accuracy.
A pressure sensor switching circuit is designed, including a comparison circuit and a switching circuit. The comparison circuit receives the reference voltage output by the power supply device and the comparison voltage output by the pressure detection device. When the comparison voltage is greater than the reference voltage, it generates an enable signal and controls the switch circuit to turn on.
By accurately comparing the reference voltage and the comparison voltage, accurately controlling the switch of the switching circuit to be turned on, improving the control accuracy of the switch.
Smart Images

Figure CN112945453B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of sensor technology, and in particular to a pressure sensor switch circuit and a control method. Background Art
[0002] Pressure sensors are the most commonly used sensors in industrial practice. They are widely used in various industrial automatic control environments, involving many industries such as water conservancy and hydropower, railway transportation, electricity, machine tools, pipelines, etc. At present, commonly used load limiting equipment uses pressure sensors and relays as pressure control switches. The principle is that when the pressure sensor detects that the pressure reaches a specific value, the relay is energized and the switch is closed. However, this method cannot guarantee that when the pressure reaches a specific value, the electromagnetic force generated by the relay according to the obtained voltage is sufficient to attract the armature, and the switch control accuracy is low.
[0003] The above contents are only used to assist in understanding the technical solution of the present invention and do not constitute an admission that the above contents are prior art. Summary of the invention
[0004] The main purpose of the present invention is to provide a pressure sensor switch circuit and control method, aiming to solve the technical problem that the prior art cannot ensure that when the pressure reaches a specific value, the electromagnetic force generated by the relay according to the obtained voltage is sufficient to attract the armature, and the switch control accuracy is low.
[0005] To achieve the above-mentioned object, the present invention provides a pressure sensor switch circuit, the pressure sensor switch circuit comprising: a comparison circuit and a switch circuit, the reference voltage input terminal of the comparison circuit is connected to the reference voltage output terminal of the power supply device, the comparison voltage input terminal of the comparison circuit is connected to the comparison voltage output terminal of the pressure detection device, the enable terminal of the comparison circuit is connected to the enable terminal of the switch circuit, and the conduction voltage output terminal of the switch circuit is connected to the conduction voltage input terminal of the power consumption device;
[0006] The comparison circuit is used to receive the reference voltage output by the power supply device and the comparison voltage output by the pressure detection device;
[0007] The comparison circuit is further configured to generate an enable signal when the comparison voltage is greater than the reference voltage, and send the enable signal to the switch circuit;
[0008] The switch circuit is used to receive the start-up enable signal, turn on the switch according to the start-up enable signal, generate a turn-on voltage, and output the turn-on voltage to the power-consuming device.
[0009] Optionally, the comparison circuit includes a comparison chip;
[0010] The reference voltage input terminal of the comparison chip is connected to the reference voltage output terminal of the power supply device, the comparison voltage input terminal of the comparison chip is connected to the comparison voltage output terminal of the pressure detection device, and the enable signal terminal of the comparison chip is connected to the enable signal terminal of the switching circuit.
[0011] Optionally, the comparison circuit further includes a first resistor, a second resistor, a third resistor, a fourth resistor and a first capacitor;
[0012] The first end of the first resistor is connected to the reference voltage output end of the power supply device, the second end of the first resistor is respectively connected to the reference voltage input end of the comparison chip and the first end of the second resistor, the second end of the second resistor is connected to the first end of the third resistor, the second end of the third resistor is grounded, the first end of the fourth resistor is connected to the comparison voltage output end of the pressure detection device, the second end of the fourth resistor is respectively connected to the comparison voltage input end of the comparison chip and the first end of the first capacitor, and the second end of the first capacitor is grounded.
[0013] Optionally, the switch circuit includes a first switch circuit and a second switch circuit;
[0014] The enable end of the first switch circuit is connected to the enable end of the comparison circuit, the start end of the first switch circuit is connected to the start end of the second switch circuit, and the on-voltage output end of the second switch circuit is connected to the on-voltage input end of the electrical device.
[0015] Optionally, the first switch circuit includes a transistor, a fifth resistor and a sixth resistor;
[0016] The first end of the fifth resistor is connected to the reference voltage output end of the power supply device, the second end of the fifth resistor is connected to the first end of the sixth resistor, the first end of the sixth resistor is connected to the enable end of the comparison circuit, the second end of the sixth resistor is connected to the base of the transistor, the collector of the transistor is connected to the start-up end of the second switch circuit, and the emitter of the transistor is grounded.
[0017] Optionally, the second switch circuit includes a photoelectric coupling chip and a seventh resistor;
[0018] The first end of the seventh resistor is connected to the reference voltage output end of the power supply device, the second end of the seventh resistor is connected to the positive voltage input end of the photoelectric coupling chip, the negative voltage input end of the photoelectric coupling chip is connected to the start end of the first switch circuit, and the on-voltage output end of the photoelectric coupling chip is connected to the on-voltage input end of the power-consuming device.
[0019] Optionally, the pressure sensor switching circuit also includes a voltage stabilizing circuit, which includes a voltage stabilizing chip, a second capacitor and a third capacitor; the voltage input end of the voltage stabilizing chip is respectively connected to the reference voltage output end of the power supply device and the first end of the second capacitor, the second end of the second capacitor is grounded, the reference voltage output end of the voltage stabilizing chip is respectively connected to the reference voltage input end of the comparison circuit and the first end of the third capacitor, and the second end of the third capacitor is grounded.
[0020] Optionally, the pressure sensor switch circuit further includes a protection circuit, and the protection circuit includes a first diode, a second diode, a third diode and a fourth capacitor;
[0021] The anode of the first diode is connected to the reference voltage output terminal of the power supply device and the first end of the fourth capacitor, the second end of the fourth capacitor is grounded, the anode of the first diode is also connected to the cathode of the second diode and the cathode of the third diode, the anode of the second diode and the anode of the third diode are grounded respectively, and the cathode of the first diode is connected to the reference voltage input terminal of the comparison circuit.
[0022] In addition, to achieve the above-mentioned purpose, the present invention also provides a pressure sensor switch control method, the pressure sensor switch control method is applied to a pressure sensor switch circuit, the pressure sensor switch circuit includes: a comparison circuit and a switch circuit; the conveyor belt monitoring self-stop control method includes:
[0023] The comparison circuit receives the reference voltage output by the power supply device and the comparison voltage output by the pressure detection device;
[0024] When the comparison voltage is greater than the reference voltage, the comparison circuit generates an enable signal and sends the enable signal to the switch circuit;
[0025] The switch circuit receives the start-up enable signal, turns on the switch according to the start-up enable signal, generates a turn-on voltage, and outputs the turn-on voltage to the power-consuming device.
[0026] Optionally, the switch circuit includes a first switch circuit and a second switch circuit;
[0027] The switch circuit receives the start-up enable signal, turns on the switch according to the start-up enable signal, generates a turn-on voltage, and outputs the turn-on voltage to the power-consuming device, including:
[0028] The first switch circuit receives the start-up enable signal, generates a start-up voltage according to the start-up enable signal, and outputs the start-up voltage to the second switch circuit;
[0029] The second switch circuit receives the start-up voltage, turns on the switch according to the start-up voltage, generates a conduction voltage, and outputs the conduction voltage to the power-consuming device.
[0030] The present invention proposes a pressure sensor switch circuit, which includes a comparison circuit and a switch circuit, wherein the reference voltage input terminal of the comparison circuit is connected to the reference voltage output terminal of the power supply device, the comparison voltage input terminal of the comparison circuit is connected to the comparison voltage output terminal of the pressure detection device, the enable terminal of the comparison circuit is connected to the enable terminal of the switch circuit, and the on-voltage output terminal of the switch circuit is connected to the on-voltage input terminal of the power-consuming device. The present invention receives the reference voltage output by the power supply device and the comparison voltage output by the pressure detection device through the comparison circuit, generates an on-enable signal when the comparison voltage is greater than the reference voltage, and sends the on-enable signal to the switch circuit, the switch circuit receives the on-enable signal, turns on the switch according to the on-enable signal, generates an on-voltage, and outputs the on-voltage to the power-consuming device, and outputs the comparison voltage to the comparison circuit when the pressure reaches a specific value through the pressure detection device, and the comparison voltage is output to the comparison circuit, the comparison circuit can accurately compare the reference voltage and the comparison voltage, so as to accurately control the switch of the switch circuit to be turned on when the comparison voltage is greater than the reference voltage, so as to output the voltage to the power-consuming device, thereby improving the control accuracy of the switch. BRIEF DESCRIPTION OF THE DRAWINGS
[0031] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on the structures shown in these drawings without paying creative work.
[0032] Figure 1 It is a structural schematic diagram of a first embodiment of a pressure sensor switch circuit of the present invention;
[0033] Figure 2 It is a structural schematic diagram of a second embodiment of a pressure sensor switch circuit of the present invention;
[0034] Figure 3 A circuit diagram of an embodiment of a pressure sensor switch circuit of the present invention;
[0035] Figure 4 A schematic diagram of a flow chart of an embodiment of a pressure sensor switch control method of the present invention;
[0036] Figure 5 FIG. 4 is a flow chart of another embodiment of a pressure sensor switch control method according to the present invention.
[0037] Description of Figure Numbers:
[0038] Label name Label name 100 Comparison Circuit U1 Compare Chips 200 Switching Circuit U2 Optocoupler Chip 300 Voltage stabilization circuit U3 Voltage regulator chip 400 Protection Circuit Q1 triode 201 First switch circuit V+ Positive voltage input terminal 202 Second switch circuit V- Negative voltage input terminal R1~R7 The first to seventh resistors Vout Voltage output C1~C4 The first to fourth capacitors VDD Supply voltage output D1~D3 The first to third diodes Vp Comparison voltage input terminal
[0039] The realization of the purpose, functional features and advantages of the present invention will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION
[0040] It should be understood that the specific embodiments described herein are only used to explain the present invention, and are not used to limit the present invention.
[0041] The present invention provides a pressure sensor switch circuit, referring to Figure 1 , Figure 1 It is a schematic structural diagram of the first embodiment of the pressure sensor switch circuit of the present invention.
[0042] The pressure sensor switch circuit 200 includes: a comparison circuit 100 and a switch circuit 200, the reference voltage input terminal of the comparison circuit 100 is connected to the reference voltage output terminal of the power supply device, the comparison voltage input terminal of the comparison circuit 100 is connected to the comparison voltage output terminal of the pressure detection device, the enable terminal of the comparison circuit 100 is connected to the enable terminal of the switch circuit 200, and the on-voltage output terminal of the switch circuit 200 is connected to the on-voltage input terminal of the power-consuming device.
[0043] The comparison circuit 100 is used to receive the reference voltage output by the power supply device and the comparison voltage output by the pressure detection device.
[0044] It should be noted that the reference voltage of the comparison circuit 100 can be provided by a power supply device, and the voltage value of the reference voltage can be a fixed voltage value set by the user. The voltage value of the reference voltage can be set according to the actual needs of the user. The comparison voltage of the comparison circuit 100 can be provided by a pressure detection device, and the voltage value of the comparison voltage can be a variable voltage value. The comparison voltage changes with the change of the pressure detected by the pressure detection device, and this embodiment is not limited to this.
[0045] It can be understood that the power supply circuit can provide a working voltage to the pressure detection device so that the pressure detection device can start normally and perform detection work, so that the comparison circuit 100 can obtain the comparison voltage output by the pressure detection device. This embodiment does not limit this.
[0046] The comparison circuit 100 is further configured to generate an enable signal when the comparison voltage is greater than the reference voltage, and send the enable signal to the switch circuit 200 .
[0047] It should be noted that when the pressure detection device detects that the pressure reaches a specific value, the comparison voltage gradually increases to be greater than or equal to the reference voltage, and the comparison circuit 100 generates an enable signal, wherein the specific value of the pressure may be the pressure value corresponding to the reference voltage, and the enable signal may control the switch circuit 200 to turn on the switch. In a specific implementation, the enable signal may be a high-level signal, or may be other control signals that have the function of turning on the switch circuit 200, and this embodiment is not limited thereto.
[0048] It is understandable that when the pressure value does not increase to a specific value, the comparison voltage is always smaller than the reference voltage. At this time, the switch circuit 200 is in the off state, the switch is not turned on, and the electrical equipment has no voltage to supply power. This embodiment does not limit this.
[0049] The switch circuit 200 is used to receive the start-up enable signal, turn on the switch according to the start-up enable signal, generate a turn-on voltage, and output the turn-on voltage to the electrical device.
[0050] It can be understood that when the switch circuit 200 receives the start-up enable signal, the switch circuit 200 is converted from the off state to the on state. After the switch is turned on, the switch circuit 200 converts the voltage input by the power supply device into a conduction voltage, and the conduction voltage can be used to provide a working voltage to the electrical device. This embodiment does not limit this.
[0051] It is easy to understand that when the switch circuit 200 does not receive the start-up enable signal, the switch circuit 200 is in an off state, the switch is not turned on, and the electrical equipment is powered without voltage, which is not limited in this embodiment.
[0052] In this embodiment, through the above circuit, the comparison circuit receives the reference voltage output by the power supply device and the comparison voltage output by the pressure detection device. When the comparison voltage is greater than the reference voltage, an enable signal is generated, and the enable signal is sent to the switch circuit. The switch circuit receives the enable signal, turns on the switch according to the enable signal, generates a turn-on voltage, and outputs the turn-on voltage to the power-consuming device. When the pressure reaches a specific value detected by the pressure detection device, the comparison voltage is output to the comparison circuit. The comparison circuit can accurately compare the reference voltage and the comparison voltage, thereby accurately controlling the switch of the switch circuit to be turned on when the comparison voltage is greater than the reference voltage, so as to output the voltage to the power-consuming device, thereby improving the control accuracy of the switch.
[0053] Based on the first embodiment of the present invention, a second embodiment of the pressure sensor switch circuit of the present invention is proposed. Figure 2 , Figure 3 , Figure 2 is a schematic structural diagram of a second embodiment of a pressure sensor switch circuit of the present invention, Figure 3FIG. 4 is a circuit diagram of an embodiment of a pressure sensor switch circuit of the present invention.
[0054] In the second embodiment, the comparison circuit 100 includes a comparison chip U1 .
[0055] The reference voltage input terminal of the comparison chip U1 is connected to the reference voltage output terminal of the power supply device, the comparison voltage input terminal of the comparison chip U1 is connected to the comparison voltage output terminal of the pressure detection device, and the enable signal terminal of the comparison chip U1 is connected to the enable signal terminal of the switch circuit 200.
[0056] It should be noted that the comparison chip U1 can be a chip that compares the input voltage and generates a corresponding control signal based on the comparison result. The comparison chip U1 can have an amplification function so that the comparison chip U1 can more accurately compare the relationship between the reference voltage and the comparison voltage, thereby accurately controlling the working state of the switch circuit 200. This embodiment is not limited to this.
[0057] It can be understood that the comparison voltage of the comparison chip U1 can be input from the comparison voltage input terminal Vp, and the pressure detection device can obtain the working voltage from the power supply voltage input terminal VDD. The comparison chip U1 can output a low level when the comparison voltage is less than the reference voltage, so that the switch circuit 200 is in the off state, the switch is not turned on, and the electrical equipment has no voltage for power supply. The comparison chip U1 can output a high level when the comparison voltage is greater than or equal to the reference voltage, so that the switch circuit 200 is in the on state, the switch is turned on, and the electrical equipment inputs the working voltage. This embodiment is not limited to this.
[0058] In this embodiment, the comparison circuit 100 further includes a first resistor R1, a second resistor R2, a third resistor R3, a fourth resistor R4 and a first capacitor C1;
[0059] The first end of the first resistor R1 is connected to the reference voltage output end of the power supply device, the second end of the first resistor R1 is respectively connected to the reference voltage input end of the comparison chip U1 and the first end of the second resistor R2, the second end of the second resistor R2 is connected to the first end of the third resistor R3, the second end of the third resistor R3 is grounded, the first end of the fourth resistor R4 is connected to the comparison voltage output end of the pressure detection device, the second end of the fourth resistor R4 is respectively connected to the comparison voltage input end of the comparison chip U1 and the first end of the first capacitor C1, and the second end of the first capacitor C1 is grounded.
[0060] It can be understood that the first resistor R1, the second resistor R2 and the third resistor R3 can be the load resistor of the reference voltage input terminal of the comparison chip U1, and the voltage input by the power supply device to the comparison chip U1 can be divided by the first resistor R1, the second resistor R2 and the third resistor R3 to obtain the reference voltage set by the user, and the voltage value of the reference voltage can be determined according to the resistance values of the first resistor R1, the second resistor R2 and the third resistor R3, and the resistance values of the first resistor R1, the second resistor R2 and the third resistor R3 can be set according to the actual needs of the user. The first resistor R1, the second resistor R2 and the third resistor R3 can also protect the comparison chip U1 from directly receiving the voltage input by the power supply device, thereby avoiding the comparison chip U1 from being burned due to high voltage and high current when the power supply device fails, and protecting the comparison chip U1 for safe use, which is not limited in this embodiment.
[0061] It can be understood that the fourth resistor R4 can be the load resistor of the comparison voltage input end of the comparison chip U1. The voltage input by the pressure detection device to the comparison chip U1 can be divided by the fourth resistor R4 to obtain the comparison voltage, so that the voltage input by the pressure detection device to the comparison chip U1 can obtain a relatively stable comparison voltage after a certain load buffer, so as to protect the safe operation of the comparison chip U1. This embodiment is not limited to this.
[0062] It is easy to understand that the first capacitor C1 can be a filter capacitor at the comparison voltage input end of the comparison chip U1. One end of the first capacitor C1 is grounded and the other end is connected to the circuit, which can have a filtering effect. When the current and voltage pass through the capacitor, the noise passes from the positive pole to the negative pole and then directly enters the ground wire. The capacitor can eliminate the noise. This embodiment is not limited to this.
[0063] In this embodiment, the switch circuit 200 includes a first switch circuit 201 and a second switch circuit 202;
[0064] The enable end of the first switch circuit 201 is connected to the enable end of the comparison circuit 100, the start end of the first switch circuit 201 is connected to the start end of the second switch circuit 202, and the on-voltage output end of the second switch circuit 202 is connected to the on-voltage input end of the electrical device.
[0065] It should be noted that the switch circuit 200 may have two types of control switches, the switch function of the first switch circuit 201 may be the same as or different from the switch function of the second switch circuit 202, and when the first switch circuit 201 is in the on state, the second switch circuit 202 can be in the on state, and the conduction voltage is output from the voltage output terminal Vout to the electrical equipment. This embodiment does not limit this.
[0066] It can be understood that when the first switch circuit 201 receives the start-up enable signal, the first switch circuit 201 is in the on state, the first switch is turned on, and the first switch circuit 201 can output a start-up voltage to the second switch circuit 202 so that the second switch circuit 202 receives the start-up voltage and is thus in the on state, and the second switch is turned on. This embodiment is not limited to this.
[0067] In this embodiment, the first switch circuit 201 includes a transistor Q1, a fifth resistor R5 and a sixth resistor R6;
[0068] The first end of the fifth resistor R5 is connected to the reference voltage output end of the power supply device, the second end of the fifth resistor R5 is connected to the first end of the sixth resistor R6, the first end of the sixth resistor R6 is connected to the enable end of the comparison circuit 100, the second end of the sixth resistor R6 is connected to the base of the transistor Q1, the collector of the transistor Q1 is connected to the start-up end of the second switch circuit 202, and the emitter of the transistor Q1 is grounded.
[0069] It can be understood that the base of the transistor Q1 is turned on when receiving a high level, so that the second switch circuit 202 receives a start-up voltage and is in an on state, and the second switch is turned on. This embodiment is not limited to this.
[0070] It is easy to understand that the fifth resistor R5 and the sixth resistor R6 are load resistors of the transistor Q1. The voltage input by the power supply device or the comparison circuit 100 can be divided by the fifth resistor R5 and the sixth resistor R6, thereby protecting the transistor Q1 from working safely. This embodiment is not limited to this.
[0071] In this embodiment, the second switch circuit 202 includes a photoelectric coupling chip U2 and a seventh resistor R7;
[0072] The first end of the seventh resistor R7 is connected to the reference voltage output end of the power supply device, the second end of the seventh resistor R7 is connected to the positive voltage input end of the optocoupler chip U2, the negative voltage input end of the optocoupler chip U2 is connected to the start end of the first switch circuit 201, and the on-voltage output end of the optocoupler chip U2 is connected to the on-voltage input end of the power-consuming device.
[0073] It should be noted that the optocoupler chip U2 can be an electric-optical-electrical conversion chip that uses light as a medium to transmit electrical signals. When current flows through one end of the optocoupler chip U2, the other end can be turned on, thereby realizing a switching effect. This embodiment is not limited to this.
[0074] It is easy to understand that the seventh resistor R7 is the load resistor of the optocoupler chip U2. The voltage input by the power supply device can be divided by the seventh resistor R7, thereby protecting the optocoupler chip U2 from working safely. This embodiment is not limited to this.
[0075] In this embodiment, the pressure sensor switch circuit 200 further includes a voltage stabilizing circuit 300, and the voltage stabilizing circuit 300 includes a voltage stabilizing chip U3, a second capacitor C2, and a third capacitor C3;
[0076] The voltage input end of the voltage stabilizing chip U3 is respectively connected to the reference voltage output end of the power supply device and the first end of the second capacitor C2, the second end of the second capacitor C2 is grounded, the reference voltage output end of the voltage stabilizing chip U3 is respectively connected to the reference voltage input end of the comparison circuit 100 and the first end of the third capacitor C3, the second end of the third capacitor C3 is grounded.
[0077] It should be noted that the voltage regulator chip U3 can stabilize and filter the voltage input by the power supply device, thereby outputting a stable voltage without noise. The voltage regulator chip U3 can provide a stable reference voltage without noise to the comparison circuit 100, and this embodiment is not limited to this.
[0078] It is easy to understand that the second capacitor C2 and the third capacitor C3 can be filter capacitors of the voltage stabilizing chip U3. One end of the capacitor is grounded and the other end is connected to the circuit, which can have a filtering effect. When the current and voltage pass through the capacitor, the noise passes from the positive pole to the negative pole and then directly enters the ground wire. The capacitor can eliminate the noise. This embodiment is not limited to this.
[0079] In this embodiment, the pressure sensor switch circuit 200 further includes a protection circuit 400, and the protection circuit 400 includes a first diode D1, a second diode D2, a third diode D3 and a fourth capacitor C4;
[0080] The anode of the first diode D1 is connected to the reference voltage output terminal of the power supply device and the first end of the fourth capacitor C4, the second end of the fourth capacitor C4 is grounded, the anode of the first diode D1 is also connected to the cathode of the second diode D2 and the cathode of the third diode D3, the anode of the second diode D2 and the anode of the third diode D3 are grounded respectively, and the cathode of the first diode D1 is connected to the reference voltage input terminal of the comparison circuit 100.
[0081] It should be noted that the voltage of the power supply device can be input from the positive voltage input terminal V+ and the negative voltage input terminal V-, the first diode D1, the second diode D2 and the third diode D3 can have the characteristic of only allowing current to pass through in a single direction, the first diode D1 can be used as a check valve in the protection circuit 400 to ensure that the current and voltage output by the power supply device flow in a specified direction, the second diode D2 and the third diode D3 can be voltage-stabilizing elements in the protection circuit 400, the second diode D2 and the third diode D3 work on the principle of voltage stabilization based on the characteristic that after the voltage-stabilizing diode is reversely broken down, the reverse voltage does not change with the reverse current within a certain reverse current range, and this embodiment is not limited to this.
[0082] It is easy to understand that the fourth capacitor C4 can be a filter capacitor in the protection circuit 400. One end of the fourth capacitor C4 is grounded and the other end is connected to the circuit, which can have a filtering effect. When the current and voltage pass through the capacitor, the noise passes from the positive pole to the negative pole and then directly enters the ground line. The capacitor can eliminate the noise. This embodiment is not limited to this.
[0083] The present invention uses the above circuit, the comparison circuit includes a comparison chip, a first resistor, a second resistor, a third resistor, a fourth resistor and a first capacitor, the switch circuit includes a first switch circuit and a second switch circuit, the first switch circuit includes a triode, a fifth resistor and a sixth resistor, the second switch circuit includes a photoelectric coupling chip and a seventh resistor, the pressure sensor switch circuit also includes a voltage stabilizing circuit and a protection circuit, the voltage stabilizing circuit includes a voltage stabilizing chip, a second capacitor and a third capacitor, the protection circuit includes a first diode, a second diode, a third diode and a fourth capacitor, the comparison chip, the first resistor, the second resistor, the third resistor, the fourth resistor and the first capacitor can make the comparison circuit compare the voltage more safely and accurately, the first switch circuit and the second switch circuit improve the switch control capability, the voltage stabilizing circuit and the protection circuit protect the safe use of the internal circuit, and further improve the control accuracy and safety of the pressure sensor switch circuit.
[0084] Further, refer to Figure 4 , Figure 4 The present invention is a flow chart of an embodiment of a pressure sensor switch control method of the present invention, wherein the pressure sensor switch control method is applied to a pressure sensor switch circuit, wherein the pressure sensor switch circuit comprises: a comparison circuit and a switch circuit;
[0085] The conveyor belt monitoring self-stop control method comprises:
[0086] Step S10: the comparison circuit receives the reference voltage output by the power supply device and the comparison voltage output by the pressure detection device.
[0087] It should be noted that the reference voltage of the comparison circuit can be provided by a power supply device, and the voltage value of the reference voltage can be a fixed voltage value set by the user. The voltage value of the reference voltage can be set according to the actual needs of the user. The comparison voltage of the comparison circuit can be provided by a pressure detection device, and the voltage value of the comparison voltage can be a variable voltage value. The comparison voltage changes with the change of the pressure detected by the pressure detection device, and this embodiment is not limited to this.
[0088] It can be understood that the power supply circuit can provide a working voltage to the pressure detection device so that the pressure detection device can start normally and perform detection work, so that the comparison circuit can obtain the comparison voltage output by the pressure detection device. This embodiment does not limit this.
[0089] Step S20: When the comparison voltage is greater than the reference voltage, the comparison circuit generates an enable signal, and sends the enable signal to the switch circuit.
[0090] It should be noted that when the pressure detection device detects that the pressure reaches a specific value, the comparison voltage gradually increases to be greater than or equal to the reference voltage, and the comparison circuit generates an enable signal, wherein the specific value of the pressure may be the pressure value corresponding to the reference voltage, and the enable signal may control the switch circuit to turn on the switch. In a specific implementation, the enable signal may be a high-level signal, or may be other control signals that have the function of turning on the switch circuit, and this embodiment is not limited to this.
[0091] It is understandable that when the pressure value does not increase to a specific value, the comparison voltage is always smaller than the reference voltage. At this time, the switch circuit is in the off state, the switch is not turned on, and the electrical equipment is not powered by voltage. This embodiment does not limit this.
[0092] Step S30: the switch circuit receives the start-up enable signal, turns on the switch according to the start-up enable signal, generates a turn-on voltage, and outputs the turn-on voltage to the electrical device.
[0093] It can be understood that when the switch circuit receives the start-up enable signal, the switch circuit is converted from the off state to the on state. After the switch is turned on, the switch circuit converts the voltage input by the power supply device into a conduction voltage, which can be used to provide a working voltage to the electrical equipment. This embodiment does not limit this.
[0094] It is easy to understand that when the switch circuit does not receive the start-up enable signal, the switch circuit is in an off state, the switch is not turned on, and the electrical equipment is powered without voltage, and this embodiment does not limit this.
[0095] In this embodiment, through the above-mentioned control method, the comparison circuit receives the reference voltage output by the power supply device and the comparison voltage output by the pressure detection device. When the comparison voltage is greater than the reference voltage, an enable signal is generated, and the enable signal is sent to the switch circuit. The switch circuit receives the enable signal, turns on the switch according to the enable signal, generates a turn-on voltage, and outputs the turn-on voltage to the power-consuming device. When the pressure reaches a specific value detected by the pressure detection device, the comparison voltage is output to the comparison circuit. The comparison circuit can accurately compare the reference voltage and the comparison voltage, thereby accurately controlling the switch of the switch circuit to be turned on when the comparison voltage is greater than the reference voltage, so as to output the voltage to the power-consuming device, thereby improving the control accuracy of the switch.
[0096] Reference Figure 5 , Figure 5 This is a flow chart of another embodiment of the pressure sensor switch control method of the present invention. Figure 4 The illustrated embodiment provides another embodiment of the pressure sensor switch control method of the present invention.
[0097] Step S30 specifically includes the following steps:
[0098] Step S301: the first switch circuit receives the start-up enable signal, generates a start-up voltage according to the start-up enable signal, and outputs the start-up voltage to the second switch circuit.
[0099] Step S302: the second switch circuit receives the start-up voltage, turns on the switch according to the start-up voltage, generates a turn-on voltage, and outputs the turn-on voltage to the electrical device.
[0100] It should be noted that the switching function of the first switching circuit may be the same as or different from the switching function of the second switching circuit, and the second switching circuit can only be in the on state when the first switching circuit is in the on state. When the first switching circuit receives an on enable signal, the first switching circuit is in the on state, the first switch is turned on, and the first switching circuit can output a turn-on voltage to the second switching circuit so that the second switching circuit receives the turn-on voltage and is thus in the on state, and the second switch is turned on. This embodiment is not limited to this.
[0101] It is easy to understand that the enable signal can be a high-level signal, and the first switch circuit can use the switching characteristics of the transistor. When the base of the transistor receives a high level, the first switch circuit is turned on, so that the input circuit generates a start voltage through the first switch circuit. The second switch circuit can use the principle of photoelectric coupling. When the start end of the second switch circuit receives the start voltage, when a current flows through one end of the second switch circuit, the other end can be turned on, thereby realizing the switch function, and this embodiment is not limited to this.
[0102] In this embodiment, through the above control method, the switch circuit includes a first switch circuit and a second switch circuit. The first switch circuit receives a start-up enable signal, generates a start-up voltage according to the start-up enable signal, and outputs the start-up voltage to the second switch circuit. The second switch circuit receives the start-up voltage, turns on the switch according to the start-up voltage, generates a turn-on voltage, and outputs the turn-on voltage to the electrical equipment. The second switch circuit can be in the turn-on state only when the first switch circuit is in the turn-on state, thereby improving the control accuracy of the pressure sensor switch circuit.
[0103] In addition, it should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or system including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or system. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or system including the element.
[0104] The serial numbers of the above embodiments of the present invention are only for description and do not represent the advantages or disadvantages of the embodiments.
[0105] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as a read-only memory (ROM) / RAM, a magnetic disk, or an optical disk), and includes a number of instructions for a terminal device (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods described in each embodiment of the present invention.
[0106] The above are only preferred embodiments of the present invention, and are not intended to limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made using the contents of the present invention specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present invention.
Claims
1. A pressure sensor switch circuit, characterized in that: The pressure sensor switch circuit comprises: a comparison circuit and a switch circuit, wherein the reference voltage input terminal of the comparison circuit is connected to the reference voltage output terminal of the power supply device, the comparison voltage input terminal of the comparison circuit is connected to the comparison voltage output terminal of the pressure detection device, the enable terminal of the comparison circuit is connected to the enable terminal of the switch circuit, and the conduction voltage output terminal of the switch circuit is connected to the conduction voltage input terminal of the power consumption device; The comparison circuit is used to receive the reference voltage output by the power supply device and the comparison voltage output by the pressure detection device; The comparison circuit is further configured to generate an enable signal when the comparison voltage is greater than the reference voltage, and send the enable signal to the switch circuit; The switch circuit is used to receive the start-up enable signal, turn on the switch according to the start-up enable signal, generate a conduction voltage, and output the conduction voltage to the power-consuming device; The pressure sensor switch circuit further includes a voltage stabilizing circuit, and the voltage stabilizing circuit includes a voltage stabilizing chip, a second capacitor and a third capacitor; The voltage input end of the voltage stabilizing chip is respectively connected to the reference voltage output end of the power supply device and the first end of the second capacitor, the second end of the second capacitor is grounded, the reference voltage output end of the voltage stabilizing chip is respectively connected to the reference voltage input end of the comparison circuit and the first end of the third capacitor, and the second end of the third capacitor is grounded; The voltage stabilizing chip is used to perform voltage stabilization and filtering on the voltage input by the power supply device to obtain a reference voltage, and output the reference voltage to the comparison circuit.
2. The pressure sensor switch circuit according to claim 1, characterized in that: The comparison circuit includes a comparison chip; The reference voltage input terminal of the comparison chip is connected to the reference voltage output terminal of the power supply device, the comparison voltage input terminal of the comparison chip is connected to the comparison voltage output terminal of the pressure detection device, and the enable signal terminal of the comparison chip is connected to the enable signal terminal of the switching circuit.
3. The pressure sensor switch circuit according to claim 2, characterized in that: The comparison circuit further includes a first resistor, a second resistor, a third resistor, a fourth resistor and a first capacitor; The first end of the first resistor is connected to the reference voltage output end of the power supply device, the second end of the first resistor is respectively connected to the reference voltage input end of the comparison chip and the first end of the second resistor, the second end of the second resistor is connected to the first end of the third resistor, the second end of the third resistor is grounded, the first end of the fourth resistor is connected to the comparison voltage output end of the pressure detection device, the second end of the fourth resistor is respectively connected to the comparison voltage input end of the comparison chip and the first end of the first capacitor, and the second end of the first capacitor is grounded.
4. The pressure sensor switch circuit according to claim 1, characterized in that: The switch circuit includes a first switch circuit and a second switch circuit; The enable end of the first switch circuit is connected to the enable end of the comparison circuit, the start end of the first switch circuit is connected to the start end of the second switch circuit, and the on-voltage output end of the second switch circuit is connected to the on-voltage input end of the electrical device.
5. The pressure sensor switch circuit according to claim 4, characterized in that: The first switch circuit includes a transistor, a fifth resistor and a sixth resistor; The first end of the fifth resistor is connected to the reference voltage output end of the power supply device, the second end of the fifth resistor is connected to the first end of the sixth resistor, the first end of the sixth resistor is connected to the enable end of the comparison circuit, the second end of the sixth resistor is connected to the base of the transistor, the collector of the transistor is connected to the start-up end of the second switch circuit, and the emitter of the transistor is grounded.
6. The pressure sensor switch circuit according to claim 4, characterized in that: The second switch circuit includes a photoelectric coupling chip and a seventh resistor; The first end of the seventh resistor is connected to the reference voltage output end of the power supply device, the second end of the seventh resistor is connected to the positive voltage input end of the photoelectric coupling chip, the negative voltage input end of the photoelectric coupling chip is connected to the start end of the first switch circuit, and the on-voltage output end of the photoelectric coupling chip is connected to the on-voltage input end of the power-consuming device.
7. The pressure sensor switch circuit according to claim 1, characterized in that: The pressure sensor switch circuit further includes a protection circuit, wherein the protection circuit includes a first diode, a second diode, a third diode and a fourth capacitor; The anode of the first diode is connected to the reference voltage output terminal of the power supply device and the first end of the fourth capacitor, the second end of the fourth capacitor is grounded, the anode of the first diode is also connected to the cathode of the second diode and the cathode of the third diode, the anode of the second diode and the anode of the third diode are grounded respectively, and the cathode of the first diode is connected to the reference voltage input terminal of the comparison circuit.
8. A pressure sensor switch control method, characterized in that: The pressure sensor switch control method is applied to the pressure sensor switch circuit according to any one of claims 1 to 7; The pressure sensor switch control method comprises: The comparison circuit receives a reference voltage output by the power supply device and a comparison voltage output by the pressure detection device; When the comparison voltage is greater than the reference voltage, the comparison circuit generates an enable signal and sends the enable signal to the switch circuit; The switch circuit receives the start-up enable signal, turns on the switch according to the start-up enable signal, generates a conduction voltage, and outputs the conduction voltage to the power-consuming device; The comparison circuit generates an enable signal when the comparison voltage is greater than the reference voltage, and before sending the enable signal to the switch circuit, the method further includes: The voltage stabilizing chip performs voltage stabilization and filtering on the voltage inputted by the power supply device to obtain a reference voltage, and outputs the reference voltage to the comparison circuit.
9. The pressure sensor switch control method according to claim 8, characterized in that: The switch circuit includes a first switch circuit and a second switch circuit; The switch circuit receives the start-up enable signal, turns on the switch according to the start-up enable signal, generates a turn-on voltage, and outputs the turn-on voltage to the power-consuming device, including: The first switch circuit receives the start-up enable signal, generates a start-up voltage according to the start-up enable signal, and outputs the start-up voltage to the second switch circuit; The second switch circuit receives the start-up voltage, turns on the switch according to the start-up voltage, generates a conduction voltage, and outputs the conduction voltage to the power-consuming device.
Citation Information
Patent Citations
Switchover circuit and electronic device
CN104038207A
Control method and circuit for turning on or off pen
CN109739146A
Pressure sensor switching circuit and device and pressure sensor
CN214793577U