Hall current switch circuit
By using components such as analog circuits and op amps in Hall current switch circuits, the problems of slow response speed and high development cost of Hall current switch are solved, faster response and lower costs are achieved, and the cost-effectiveness of the circuit is improved. and safety performance.
Patent Information
- Application Number
- CN202420904581.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2024-04-28
- Publication Date
- 2024-12-31
- Estimated Expiration
- 2034-04-28
AI Technical Summary
The existing Hall current switch has a slow response speed and a high development cost. This is mainly due to the large calculation workload when collecting Hall voltages by microcontrollers, resulting in delay in switching reactions.
A Hall current switch circuit was designed, using analog circuit to compare the Hall voltage amplified by comparator with the reference voltage, driving the relay, reducing the computational workload of the digital circuit, and constructed through operational amplifiers, operational amplifiers and resistors. Signal amplifier unit and comparator reduce design costs and improve cost-effectiveness.
Improves the response speed and cost-effectiveness of the switch, while reducing costs through the design of operational amplifiers and resistors, and improving the safety performance of the circuit through transistors and optocoupler drive relays.
Smart Images

Figure CN222283225U_ABST
Abstract
Description
Technical Field
[0001] The utility model relates to the technical field of electronic switches, in particular to a Hall current switch circuit. Background Art
[0002] The Hall current switch uses the Hall effect to detect the magnetic induction intensity of a conductor or wire to realize the switching function. When the magnetic induction intensity value reaches a certain level, the Hall current switch is turned off or on. It is usually used in current safety control devices.
[0003] Existing Hall current switches usually use a single-chip microcomputer to collect the Hall voltage, and trigger the switch to open or close by judging the size of the Hall voltage. When using a single-chip microcomputer to collect the Hall voltage value to calculate the opening or closing, when the frequency of the current change on the conductor or wire is large, the Hall voltage value changes greatly. The single-chip microcomputer will cause a lot of calculation workload when sampling and calculating the voltage, resulting in a slow response speed of the final switch and a high development cost of the switch. Utility Model Content
[0004] In order to solve the technical problems of the slow response speed of the existing Hall current switch and the high development cost of the switch, the utility model provides a Hall current switch circuit.
[0005] The technical solution of the utility model to solve the above technical problems is as follows:
[0006] A Hall current switch circuit comprises a Hall element, a Hall excitation power supply, a signal amplifying unit, a comparator, a reference power supply, a relay drive unit and a relay; the input end of the Hall element is electrically connected to the output end of the Hall excitation power supply, the output end of the Hall element is electrically connected to the input end of the signal amplifying unit, the output end of the signal amplifying unit is electrically connected to the non-inverting input end of the comparator, the output end of the reference power supply is electrically connected to the inverting input end of the comparator, the output end of the comparator is electrically connected to the input end of the relay drive unit, and the output end of the relay drive unit is electrically connected to the electromagnetic coil of the relay.
[0007] The beneficial effects of the utility model are as follows: the Hall voltage after amplification by the signal amplification unit is compared with the reference voltage output by the reference power supply by using a comparator. When the Hall voltage is higher than the reference voltage, it means that the current through the measured wire or conductor exceeds the preset value, and the comparator outputs a low level. When the relay drive unit is driven at a low level, the coil of the relay is energized, and the switch circuit controlled by the relay is disconnected; when the Hall voltage is lower than the reference voltage, the current through the measured wire or conductor is lower than the preset value, and the current through the measured wire or conductor is within the normal range, the comparator outputs a high level. When the relay drive unit is driven at a high level, the coil of the relay is de-energized, and the switch circuit controlled by the relay is connected. The utility model involves analog circuits in the entire switch control process. Compared with the prior art that uses digital processing circuits such as MCU or single-chip microcomputer to sample the Hall voltage, the calculation workload of the digital circuit is reduced, thereby improving the corresponding speed of the switch.
[0008] On the basis of the above technical solution, the present invention can also be improved as follows.
[0009] Further, the signal amplification unit includes a resistor R1, a resistor R2, a resistor R3, a resistor R4 and an operational amplifier U1; one end of the resistor R1 is electrically connected to the negative electrode of the output end of the Hall element, the other end of the resistor R1 is electrically connected to the inverting input end of the operational amplifier U1, one end of the resistor R2 is electrically connected to the positive electrode of the output end of the Hall element, and the other end of the resistor R2 is electrically connected to the non-inverting input end of the operational amplifier U1; one end of the resistor R3 is electrically connected to the non-inverting input end of the operational amplifier U1, the other end of the resistor R3 is grounded, one end of the resistor R4 is electrically connected to the inverting input end of the operational amplifier U1, the other end of the resistor R4 is electrically connected to the output end of the operational amplifier U1, and the output end of the operational amplifier U1 is electrically connected to the non-inverting input end of the comparator.
[0010] The beneficial effect of adopting the above further solution is that the signal amplification unit is constructed using an operational amplifier, thereby reducing the design cost.
[0011] Further, the comparator includes a resistor R5, a resistor R6, a resistor R7 and an operational amplifier U2, one end of the resistor R5 is electrically connected to the output end of the operational amplifier U1, the other end of the resistor R5 is electrically connected to the non-inverting input end of the operational amplifier U2, one end of the resistor R6 is electrically connected to the output end of the reference power supply, the other end of the resistor R6 is electrically connected to the inverting input end of the operational amplifier U2, one end of the resistor R7 is electrically connected to the positive pole of the power supply end of the operational amplifier U2, the other end of the resistor R7 is electrically connected to the output end of the operational amplifier U2, the positive pole of the power supply end of the operational amplifier U2 is connected to the power supply, the negative pole of the power supply end of the operational amplifier U2 is grounded, and the output end of the operational amplifier U2 is electrically connected to the input end of the relay drive unit.
[0012] The beneficial effect of adopting the above further solution is that the comparator is constructed by using common components such as operational amplifiers and resistors, which can improve the cost performance of the entire switch circuit.
[0013] Further, the relay drive unit includes a resistor R8, a resistor R9, a resistor R10, a transistor Q1, an optical coupler U3, a resistor R11, a resistor R12 and a transistor Q2; one end of the resistor R8 is electrically connected to the output end of the operational amplifier U2, the other end of the resistor R8 is electrically connected to the base of the transistor Q1 and one end of the resistor R9, the emitter of the transistor Q1 and the other end of the resistor R9 are both grounded, one end of the resistor R10 is connected to a power supply, and the other end of the resistor R10 is electrically connected to the collector of the transistor Q1; the three The collector of the transistor Q1 is electrically connected to the anode of the input end of the optocoupler U3, the cathode of the input end of the optocoupler U3 is grounded, the collector of the optocoupler U3 is connected to a power supply, the emitter of the optocoupler U3 is electrically connected to one end of the resistor R11, the other end of the resistor R11 is respectively electrically connected to one end of the resistor R12 and the base of the transistor Q2, the other end of the resistor R12 and the emitter of the transistor Q2 are both grounded, the collector of the transistor Q2 is electrically connected to one end of the electromagnetic coil of the relay, and the other end of the electromagnetic coil of the relay is connected to a power supply.
[0014] The beneficial effect of adopting the above further solution is that by driving the relay through the transistor and the optocoupler, a high-voltage relay can be driven by a low voltage, and the voltage isolation effect of the optocoupler is used to improve the safety performance of the circuit.
[0015] Further, the reference power supply includes a capacitor C1, a resistor R13, a resistor R14 and a voltage regulator U4, one end of the capacitor C1 is electrically connected to the input end of the voltage regulator U4, the input end of the voltage regulator U4 is connected to the power supply, the other end of the capacitor C1 is grounded, the voltage regulating end of the voltage regulator U4 is electrically connected to one end of the resistor R13 and one end of the resistor R14 respectively, the other end of the resistor R13 is grounded, the other end of the resistor R14 is electrically connected to the output end of the voltage regulator U4, and the output end of the voltage regulator U4 is electrically connected to one end of the resistor R6.
[0016] Furthermore, the voltage stabilizer U4 is specifically a voltage stabilizer chip, and the model of the voltage stabilizer chip is LM317.
[0017] The beneficial effect of adopting the above further solution is that the stability of the reference voltage output by the reference power supply can be improved by adopting a voltage stabilizing chip.
[0018] Furthermore, it also includes a sound alarm circuit, which includes a buzzer drive unit and a buzzer, the input end of the buzzer drive unit is electrically connected to the output end of the comparator, and the output end of the buzzer drive unit is electrically connected to the input end of the buzzer.
[0019] Further, the buzzer driving unit includes a resistor R15, a resistor R16, a resistor R17 and a transistor Q3, one end of the resistor R15 is electrically connected to the output end of the comparator, the other end of the resistor R15 is electrically connected to the base of the transistor Q3, the base of the transistor Q3 is electrically connected to one end of the resistor R16, the other end of the resistor R16 is grounded, the collector of the transistor Q3 is connected to a power supply, the emitter of the transistor Q3 is electrically connected to the positive electrode of the input end of the buzzer and one end of the resistor R17, respectively, and the other end of the resistor R17 and the negative electrode of the input end of the buzzer are both grounded.
[0020] The beneficial effect of adopting the above further solution is that, by providing a sound alarm circuit, when the Hall voltage is higher than the reference voltage, the buzzer is powered on and emits an alarm sound.
[0021] Furthermore, it also includes an indicator light unit, which is electrically connected to the output end of the comparator.
[0022] Further, the indicator light unit includes a resistor R18, a resistor R19, a resistor R20, a transistor Q4 and a light-emitting diode D2; one end of the resistor R18 is electrically connected to the output end of the comparator, the other end of the resistor R18 is electrically connected to the base of the transistor Q4, one end of the resistor R19 is electrically connected to the base of the transistor Q4, the other end of the resistor R19 is grounded, one end of the resistor R20 is connected to a power supply, the other end of the resistor R20 is electrically connected to the collector of the transistor Q4, the positive electrode of the light-emitting diode D2 is electrically connected to the collector of the transistor Q4, and the emitter of the transistor Q4 and the negative electrode of the light-emitting diode D2 are both grounded.
[0023] The beneficial effect of adopting the above further scheme is that by setting the indicator light unit, when the Hall voltage is higher than the reference voltage, the light-emitting diode D2 is powered on, and the light-emitting diode D2 emits light to indicate that the current of the wire or conductor is too high or that the electromagnetic induction coil K is energized and the relay is activated. BRIEF DESCRIPTION OF THE DRAWINGS
[0024] Figure 1 This is a circuit principle block diagram of a Hall current switch circuit in an embodiment of the utility model;
[0025] Figure 2 This is a circuit diagram of a signal amplifying unit in an embodiment of the utility model;
[0026] Figure 3 A circuit diagram of a comparator in an embodiment of the utility model;
[0027] Figure 4 A circuit diagram of a relay drive unit in an embodiment of the utility model;
[0028] Figure 5 A circuit diagram of a reference power supply in an embodiment of the present utility model;
[0029] Figure 6 This is a circuit diagram of a buzzer driving unit in an embodiment of the utility model;
[0030] Figure 7 1 is a circuit diagram of an indicator light unit in an embodiment of the present utility model. DETAILED DESCRIPTION
[0031] The principles and features of the present invention are described below in conjunction with the accompanying drawings. The examples given are only used to explain the present invention and are not used to limit the scope of the present invention.
[0032] like Figure 1As shown, this embodiment provides a Hall current switch circuit, including a Hall element, a Hall excitation power supply, a signal amplifying unit, a comparator, a reference power supply, a sound alarm circuit, an indicator light unit, a relay drive unit and a relay; the input end of the Hall element is electrically connected to the output end of the Hall excitation power supply, the output end of the Hall element is electrically connected to the input end of the signal amplifying unit, the output end of the signal amplifying unit is electrically connected to the non-inverting input end of the comparator, the output end of the reference power supply is electrically connected to the inverting input end of the comparator, the output end of the comparator is electrically connected to the input end of the relay drive unit, and the output end of the relay drive unit is electrically connected to the electromagnetic coil of the relay. The sound alarm circuit is electrically connected to the output end of the comparator. The indicator light unit is electrically connected to the output end of the comparator. Among them, the Hall excitation power supply can be a constant voltage power supply or a constant current power supply, and the Hall excitation power supply is used to provide an excitation voltage or current for the Hall element.
[0033] The comparator is used to compare the Hall voltage after being amplified by the signal amplification unit with the reference voltage output by the reference power supply. When the Hall voltage is higher than the reference voltage, it means that the current passing through the measured wire or conductor exceeds the preset value, and the comparator outputs a low level. The relay drive unit is driven at a low level, and the coil of the relay is energized, and the switch circuit controlled by the relay is disconnected; when the Hall voltage is lower than the reference voltage, the current passing through the measured wire or conductor is lower than the preset value, and the current passing through the measured wire or conductor is within the normal range, the comparator outputs a high level, and the relay drive unit is driven at a high level, and the coil of the relay is disconnected, and the switch circuit controlled by the relay is connected. The utility model involves analog circuits in the entire switch control process. Compared with the prior art that uses digital processing circuits such as MCU or single-chip microcomputers to sample the Hall voltage, the calculation workload of the digital circuit is reduced, thereby improving the corresponding speed of the switch.
[0034] like Figure 2As shown, the signal amplification unit includes a resistor R1, a resistor R2, a resistor R3, a resistor R4 and an operational amplifier U1; one end of the resistor R1 is electrically connected to the negative electrode of the output end of the Hall element, the other end of the resistor R1 is electrically connected to the inverting input end of the operational amplifier U1, one end of the resistor R2 is electrically connected to the positive electrode of the output end of the Hall element, and the other end of the resistor R2 is electrically connected to the non-inverting input end of the operational amplifier U1; one end of the resistor R3 is electrically connected to the non-inverting input end of the operational amplifier U1, the other end of the resistor R3 is grounded, one end of the resistor R4 is electrically connected to the inverting input end of the operational amplifier U1, the other end of the resistor R4 is electrically connected to the output end of the operational amplifier U1, and the output end of the operational amplifier U1 is electrically connected to the non-inverting input end of the comparator. Through the above signal amplification unit structure design, the output voltage Vout1 of the operational amplifier U1 = R4 / R1 (Vp-Vn) = 40VH, that is, the amplification factor of the signal amplification unit is 40 times; wherein VH represents the output voltage of the Hall element.
[0035] like Figure 3 As shown, the comparator includes a resistor R5, a resistor R6, a resistor R7 and an operational amplifier U2, one end of the resistor R5 is electrically connected to the output end of the operational amplifier U1, the other end of the resistor R5 is electrically connected to the non-inverting input end of the operational amplifier U2, one end of the resistor R6 is electrically connected to the output end of the reference power supply, the other end of the resistor R6 is electrically connected to the inverting input end of the operational amplifier U2, one end of the resistor R7 is electrically connected to the positive electrode of the power supply end of the operational amplifier U2, the other end of the resistor R7 is electrically connected to the output end of the operational amplifier U2, the positive electrode of the power supply end of the operational amplifier U2 is connected to the power supply, the negative electrode of the power supply end of the operational amplifier U2 is grounded, and the output end of the operational amplifier U2 is electrically connected to the input end of the relay drive unit. When the reference voltage REF is greater than the output voltage IN of the operational amplifier U1, the operational amplifier U2 outputs a high-point flat voltage; when the reference voltage REF is less than or equal to the output voltage IN of the operational amplifier U1, the operational amplifier U2 outputs a low-point flat voltage. The comparator is constructed by common components such as operational amplifiers and resistors, which can improve the cost performance of the entire switching circuit.
[0036] like Figure 4The relay drive unit includes a resistor R8, a resistor R9, a resistor R10, a transistor Q1, an optical coupler U3, a resistor R11, a resistor R12, a diode D1 and a transistor Q2; one end of the resistor R8 is electrically connected to the output end of the operational amplifier U2, the other end of the resistor R8 is electrically connected to the base of the transistor Q1 and one end of the resistor R9 respectively, the emitter of the transistor Q1 and the other end of the resistor R9 are both grounded, one end of the resistor R10 is connected to a power supply, and the other end of the resistor R10 is electrically connected to the collector of the transistor Q1; the collector of the transistor Q1 is electrically connected to the anode of the input end of the optical coupler U3, and the The cathode of the input end of the optocoupler U3 is grounded, the collector of the optocoupler U3 is connected to the power supply, the emitter of the optocoupler U3 is electrically connected to one end of the resistor R11, the other end of the resistor R11 is respectively electrically connected to one end of the resistor R12 and the base of the transistor Q2, the other end of the resistor R12 and the emitter of the transistor Q2 are both grounded, the collector of the transistor Q2 is electrically connected to one end of the electromagnetic coil of the relay, and the other end of the electromagnetic coil of the relay is connected to a DC12V power supply; the positive electrode of the diode D1 is electrically connected to one end of the electromagnetic coil of the relay, and the negative electrode of the diode D1 is electrically connected to the other end of the electromagnetic coil of the relay. When the other end of the resistor R8 is connected to a low level, the transistor Q1 is turned off, the optocoupler U3 is turned on, and the electromagnetic coil K is powered on by the transistor Q2, and the switch is closed or opened; when the other end of the resistor R8 is connected to a high level, the transistor Q1 is turned on, the positive and negative electrodes of the input end of the optocoupler U3 are grounded, the optocoupler U3 is turned off, the base of the transistor Q2 is at a low level, the transistor Q2 is turned off, no current flows through the electromagnetic coil K, and the switch is opened or closed. By driving the relay through the transistor and the optocoupler, a high voltage relay can be driven by a low voltage, and the voltage isolation effect of the optocoupler can be used to improve the safety performance of the circuit.
[0037] like Figure 5 As shown, the reference power supply includes a capacitor C1, a resistor R13, a resistor R14 and a voltage stabilizer U4, one end of the capacitor C1 is electrically connected to the input end of the voltage stabilizer U4, the input end of the voltage stabilizer U4 is connected to the power supply, the other end of the capacitor C1 is grounded, the voltage regulating end of the voltage stabilizer U4 is electrically connected to one end of the resistor R13 and one end of the resistor R14 respectively, the other end of the resistor R13 is grounded, the other end of the resistor R14 is electrically connected to the output end of the voltage stabilizer U4, and the output end of the voltage stabilizer U4 is electrically connected to one end of the resistor R6. Wherein, the voltage stabilizer U4 is specifically a voltage stabilizer chip, and the model of the voltage stabilizer chip is LM317. The stability of the reference voltage output by the reference power supply can be improved by using a voltage stabilizer chip.
[0038] like Figure 6As shown, the sound alarm circuit includes a buzzer drive unit and a buzzer, the input end of the buzzer drive unit is electrically connected to the output end of the comparator, and the output end of the buzzer drive unit is electrically connected to the input end of the buzzer. The buzzer drive unit includes a resistor R15, a resistor R16, a resistor R17 and a transistor Q3, one end of the resistor R15 is electrically connected to the output end of the comparator, the other end of the resistor R15 is electrically connected to the base of the transistor Q3, the base of the transistor Q3 is electrically connected to one end of the resistor R16, the other end of the resistor R16 is grounded, the collector of the transistor Q3 is connected to the power supply, the emitter of the transistor Q3 is electrically connected to the positive electrode of the input end of the buzzer and one end of the resistor R17, respectively, and the other end of the resistor R17 and the negative electrode of the input end of the buzzer are both grounded. When the comparator outputs a low level, the transistor Q3 is turned off, there is no voltage across the resistor R17, and the buzzer does not sound; when the comparator outputs a high level, the transistor Q3 is turned on, the buzzer is powered on, and an alarm sound is issued. By setting up a sound alarm circuit, the buzzer can be powered on and an alarm sound can be issued when the Hall voltage is higher than the reference voltage.
[0039] like Figure 7 As shown, the indicator light unit includes a resistor R18, a resistor R19, a resistor R20, a transistor Q4 and a light emitting diode D2; one end of the resistor R18 is electrically connected to the output end of the comparator, that is, one end of the resistor R18 is electrically connected to the output end of the operational amplifier U2, the other end of the resistor R18 is electrically connected to the base of the transistor Q4, one end of the resistor R19 is electrically connected to the base of the transistor Q4, the other end of the resistor R19 is grounded, one end of the resistor R20 is connected to the power supply, the other end of the resistor R20 is electrically connected to the collector of the transistor Q4, the positive electrode of the light emitting diode D2 is electrically connected to the collector of the transistor Q4, and the emitter of the transistor Q4 and the negative electrode of the light emitting diode D2 are both grounded. When the comparator outputs a high level, the transistor Q4 is turned on, and the light emitting diode D2 is powered on and emits light; when the comparator outputs a low level, the transistor Q4 is turned on, and the light emitting diode D2 is powered on and emits light.
[0040] By setting the indicator light unit, when the Hall voltage is higher than the reference voltage, the light emitting diode D2 is powered on, and the light emitting diode D2 illuminates to indicate that the current of the wire or conductor is too high or that the electromagnetic induction coil K is energized and the relay is actuated.
[0041] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the concept and principle of the present invention shall be included in the protection scope of the present invention.
Claims
1. A Hall current switch circuit, characterized in that: It includes a Hall element, a Hall excitation power supply, a signal amplifying unit, a comparator, a reference power supply, a relay driving unit and a relay; the input end of the Hall element is electrically connected to the output end of the Hall excitation power supply, the output end of the Hall element is electrically connected to the input end of the signal amplifying unit, the output end of the signal amplifying unit is electrically connected to the non-inverting input end of the comparator, the output end of the reference power supply is electrically connected to the inverting input end of the comparator, the output end of the comparator is electrically connected to the input end of the relay driving unit, and the output end of the relay driving unit is electrically connected to the electromagnetic coil of the relay.
2. The Hall current switch circuit according to claim 1, characterized in that: The signal amplification unit includes a resistor R1, a resistor R2, a resistor R3, a resistor R4 and an operational amplifier U1; one end of the resistor R1 is electrically connected to the negative electrode of the output end of the Hall element, the other end of the resistor R1 is electrically connected to the inverting input end of the operational amplifier U1, one end of the resistor R2 is electrically connected to the positive electrode of the output end of the Hall element, and the other end of the resistor R2 is electrically connected to the non-inverting input end of the operational amplifier U1; one end of the resistor R3 is electrically connected to the non-inverting input end of the operational amplifier U1, the other end of the resistor R3 is grounded, one end of the resistor R4 is electrically connected to the inverting input end of the operational amplifier U1, the other end of the resistor R4 is electrically connected to the output end of the operational amplifier U1, and the output end of the operational amplifier U1 is electrically connected to the non-inverting input end of the comparator.
3. The Hall current switch circuit according to claim 2, characterized in that: The comparator includes a resistor R5, a resistor R6, a resistor R7 and an operational amplifier U2, one end of the resistor R5 is electrically connected to the output end of the operational amplifier U1, the other end of the resistor R5 is electrically connected to the non-inverting input end of the operational amplifier U2, one end of the resistor R6 is electrically connected to the output end of the reference power supply, the other end of the resistor R6 is electrically connected to the inverting input end of the operational amplifier U2, one end of the resistor R7 is electrically connected to the positive pole of the power supply end of the operational amplifier U2, the other end of the resistor R7 is electrically connected to the output end of the operational amplifier U2, the positive pole of the power supply end of the operational amplifier U2 is connected to the power supply, the negative pole of the power supply end of the operational amplifier U2 is grounded, and the output end of the operational amplifier U2 is electrically connected to the input end of the relay drive unit.
4. The Hall current switch circuit according to claim 3, characterized in that: The relay drive unit includes a resistor R8, a resistor R9, a resistor R10, a transistor Q1, an optical coupler U3, a resistor R11, a resistor R12 and a transistor Q2; one end of the resistor R8 is electrically connected to the output end of the operational amplifier U2, the other end of the resistor R8 is electrically connected to the base of the transistor Q1 and one end of the resistor R9 respectively, the emitter of the transistor Q1 and the other end of the resistor R9 are both grounded, one end of the resistor R10 is connected to a power supply, and the other end of the resistor R10 is electrically connected to the collector of the transistor Q1; the transistor The collector of Q1 is electrically connected to the anode of the input end of the optocoupler U3, the cathode of the input end of the optocoupler U3 is grounded, the collector of the optocoupler U3 is connected to a power supply, the emitter of the optocoupler U3 is electrically connected to one end of the resistor R11, the other end of the resistor R11 is respectively electrically connected to one end of the resistor R12 and the base of the transistor Q2, the other end of the resistor R12 and the emitter of the transistor Q2 are both grounded, the collector of the transistor Q2 is electrically connected to one end of the electromagnetic coil of the relay, and the other end of the electromagnetic coil of the relay is connected to a power supply.
5. The Hall current switch circuit according to claim 3, characterized in that: The reference power supply includes a capacitor C1, a resistor R13, a resistor R14 and a voltage regulator U4, one end of the capacitor C1 is electrically connected to the input end of the voltage regulator U4, the input end of the voltage regulator U4 is connected to the power supply, the other end of the capacitor C1 is grounded, the voltage regulating end of the voltage regulator U4 is respectively electrically connected to one end of the resistor R13 and one end of the resistor R14, the other end of the resistor R13 is grounded, the other end of the resistor R14 is electrically connected to the output end of the voltage regulator U4, and the output end of the voltage regulator U4 is electrically connected to one end of the resistor R6.
6. The Hall current switch circuit according to claim 5, characterized in that: The voltage stabilizer U4 is specifically a voltage stabilizer chip, and the model of the voltage stabilizer chip is LM317.
7. The Hall current switch circuit according to claim 1, characterized in that: It also includes a sound alarm circuit, which includes a buzzer drive unit and a buzzer, wherein the input end of the buzzer drive unit is electrically connected to the output end of the comparator, and the output end of the buzzer drive unit is electrically connected to the input end of the buzzer.
8. The Hall current switch circuit according to claim 7, characterized in that: The buzzer driving unit includes a resistor R15, a resistor R16, a resistor R17 and a transistor Q3, one end of the resistor R15 is electrically connected to the output end of the comparator, the other end of the resistor R15 is electrically connected to the base of the transistor Q3, the base of the transistor Q3 is electrically connected to one end of the resistor R16, the other end of the resistor R16 is grounded, the collector of the transistor Q3 is connected to a power supply, the emitter of the transistor Q3 is electrically connected to the positive electrode of the input end of the buzzer and one end of the resistor R17, respectively, and the other end of the resistor R17 and the negative electrode of the input end of the buzzer are both grounded.
9. The Hall current switch circuit according to claim 1, characterized in that: It also includes an indicator light unit, which is electrically connected to the output end of the comparator.
10. The Hall current switch circuit according to claim 9, characterized in that: The indicator light unit includes a resistor R18, a resistor R19, a resistor R20, a transistor Q4 and a light-emitting diode D2; one end of the resistor R18 is electrically connected to the output end of the comparator, the other end of the resistor R18 is electrically connected to the base of the transistor Q4, one end of the resistor R19 is electrically connected to the base of the transistor Q4, the other end of the resistor R19 is grounded, one end of the resistor R20 is connected to a power supply, the other end of the resistor R20 is electrically connected to the collector of the transistor Q4, the positive electrode of the light-emitting diode D2 is electrically connected to the collector of the transistor Q4, and the emitter of the transistor Q4 and the negative electrode of the light-emitting diode D2 are both grounded.
