Power supply circuit and power consuming device
By combining a Hall effect detection chip with a magnetic switch assembly, intelligent control of the power supply circuit of electrical equipment is achieved, solving the problem of power waste in DC power supply equipment, extending battery life, reducing user replacement frequency and costs, and improving user experience.
Patent Information
- Application Number
- CN202522728782.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2025-12-23
- Publication Date
- 2026-11-24
- Estimated Expiration
- 2035-12-23
AI Technical Summary
DC-powered devices have short battery life when idle, leading to frequent battery replacements, increasing costs and impacting user experience.
By employing a Hall effect-based detection chip and a magnetic switch assembly, the circuit outputs a level signal by detecting the proximity or distance of the magnetic switch. This signal, combined with the linkage control of the controlled switch, enables intelligent switching of the circuit and reduces power consumption during idle periods.
It significantly extends the lifespan of power sources such as dry cell batteries, reduces the frequency and cost of battery replacements for users, and improves the user experience of electrical equipment.
Smart Images

Figure CN225020373U_ABST
Abstract
Description
Technical Field
[0001] This utility model relates to the field of power electronics technology, specifically to power supply circuits and electrical equipment. Background Technology
[0002] For some products that use DC power sources such as dry cell batteries, such as gas stoves, the batteries often run out of power when not in use, or the battery life is short during use. Users need to replace the batteries frequently, which leads to a poor user experience and increases user costs. Utility Model Content
[0003] This utility model provides a power supply circuit and electrical equipment to solve the problem in related technologies where electrical equipment powered by DC power supplies suffers from power waste and increased user costs.
[0004] In a first aspect, this utility model provides a power supply circuit for use in electrical equipment. The electrical equipment includes a main control chip and further includes a detection chip and a magnetic switch assembly. The detection chip is used to detect the magnetic switch assembly approaching or moving away from the electrical equipment based on the Hall effect principle, outputting a low-level signal when the magnetic switch assembly is detected to be approaching or moving away from the electrical equipment, and outputting a high-level signal when the magnetic switch assembly is not detected to be approaching or moving away from the electrical equipment. The power supply circuit includes a first controlled switch, a second controlled switch, a first resistor, and a third controlled switch. The first terminal of the first controlled switch is connected to a power supply, the second terminal is connected to the power supply terminal of the main control chip, and the control terminal is connected to the first terminal of the first controlled switch through the first resistor. The first controlled switch is turned on when the control terminal is at a low level. The control terminal of the first controlled switch is also connected to the control terminal of the second controlled switch and the first terminal of the third controlled switch; The first end of the second controlled switch is connected to the power supply end and the detection end of the main control chip, respectively, and the second end is connected to the output end of the detection chip; The second terminal of the third controlled switch is grounded, and the control terminal is connected to the output terminal of the main control chip. Both the second controlled switch and the third controlled switch are turned on when the control terminal is at a high level. When the main control chip detects a low-level signal for the first time after each power-on, it outputs a high-level signal to the control terminal of the third controlled switch. When the main control chip detects a low-level signal for the second time after power-on, it outputs a low-level signal to the control terminal of the third controlled switch.
[0005] This invention, by incorporating a Hall effect-based detection chip and a magnetic switch assembly, accurately identifies the proximity or distance of the magnetic switch assembly and outputs corresponding level signals. Combined with the linkage control logic of the first, second, and third controlled switches, it achieves intelligent switching of circuit on / off states. When no magnetic switch is activated, the detection chip outputs a high level, the first controlled switch is turned off, and the power supply and subsequent circuits such as the main control chip are disconnected, avoiding unnecessary power consumption. The circuit is only turned on through the switch linkage when the magnetic switch approaches or moves away, triggering a low-level signal. Simultaneously, the main control chip controls the third controlled switch to output high and low levels respectively through two low-level signals from the detection end, precisely controlling the circuit's start and stop. This significantly reduces the power consumption of the power supply when idle, significantly extends the usage time of power supplies such as dry batteries, reduces the frequency and cost of battery replacements for users, and improves the user experience of electrical equipment.
[0006] In one optional embodiment, the power supply circuit further includes a power supply status indicator component, one end of which is connected to the first end of the third controlled switch, and the other end of which is connected to the control end of the first controlled switch.
[0007] This invention, by incorporating a power supply status indicator component, can synchronously provide feedback on the operating status of the power supply circuit based on the circuit's on / off state: when the first controlled switch is turned on and the subsequent circuit is powered, the indicator component indicates that the circuit is in a power supply state; when the first controlled switch is turned off and the circuit enters a low-power mode, the indicator component's state changes synchronously. Users can quickly determine whether the circuit is currently in a valid power supply state through the indicator component, without the need for additional testing tools, thus improving the convenience of circuit status identification. It also allows for timely detection of circuit anomalies (such as when power should be supplied but there is no indication), facilitating troubleshooting and further optimizing the ease of use of electrical equipment.
[0008] In one alternative implementation, the power supply status indicator is an LED light.
[0009] This invention utilizes the advantages of LED lights: low power consumption, high brightness, fast response speed, and long lifespan. When the circuit is working, the LED lights clearly indicate the power supply status. Their low power consumption does not add extra burden to the power supply, avoiding the impact of power consumption by the indicator element on the power supply's lifespan. Their high brightness and fast response speed allow users to quickly and accurately capture changes in the circuit status, and they can be clearly identified even in low-light environments.
[0010] In one alternative embodiment, the magnetic switch assembly is a switch made of magnetic material for controlling the power supply to the electrical device.
[0011] This invention utilizes the stable magnetic properties of magnetic materials to ensure that the detection chip accurately identifies the proximity or distance of the device based on the Hall effect, avoiding signal distortion caused by unstable material properties and ensuring the reliability of circuit on / off control. On the other hand, magnetic control eliminates the need for physical contact, reducing mechanical wear on the switching components and extending the switch's lifespan. It is also easy to operate; users can control the power supply simply by moving the device closer or further away, eliminating the need for complex operations and improving the ease of use of electrical equipment. Furthermore, the cost of magnetic materials is controllable and will not significantly increase the overall cost of the equipment, thus balancing reliability and economy.
[0012] In one optional embodiment, the power supply circuit further includes: a first energy storage capacitor and a second energy storage capacitor; One end of the first energy storage capacitor is connected to the power supply, and the other end is grounded; One end of the second energy storage capacitor is connected to the second end of the first controlled switch, and the other end is grounded.
[0013] This invention utilizes a first energy storage capacitor to store electrical energy when the power supply output is stable. When power output fluctuates (such as a slight drop in dry cell battery voltage), the energy is released to supplement power supply, ensuring the stability of the power supply to the circuit. A second energy storage capacitor releases its stored energy the instant the first controlled switch is turned on or when the load of subsequent circuits fluctuates, preventing the main control chip from malfunctioning due to power supply voltage fluctuations and ensuring its stable operation. This improves the overall stability of the circuit's power supply, reduces equipment failures caused by voltage fluctuations, extends the lifespan of electrical equipment, and further optimizes power supply efficiency.
[0014] In one optional embodiment, the power supply circuit further includes: a first capacitor and a second capacitor; One end of the first capacitor is connected in parallel with the first energy storage capacitor; One end of the second capacitor is connected in parallel with the second energy storage capacitor.
[0015] This invention uses a first capacitor to filter out high-frequency noise in the power supply output, preventing noise from interfering with other components in the circuit (such as detection chips and controlled switches) and ensuring component stability. A second capacitor filters out high-frequency noise in the output voltage of the second terminal of the first controlled switch, ensuring a clean power supply voltage to the main control chip and preventing noise from causing misjudgments in the main control chip's detection signals or errors in its control logic. This improves the power supply quality and operational stability of the circuit, reduces circuit faults caused by high-frequency noise, and ensures reliable operation of electrical equipment.
[0016] In one optional embodiment, the power supply circuit further includes: a second resistor, a third resistor, a fourth resistor, a fifth resistor, a sixth resistor, and a seventh resistor, wherein one end of the second resistor is connected to the control terminal of the first controlled switch, and the other end is connected to the first terminal of the third controlled switch and one end of the third resistor, respectively. The other end of the third resistor is connected to one end of the fourth resistor and the control terminal of the second controlled switch, respectively, and the other end of the fourth resistor is grounded; One end of the fifth resistor is connected to the first end of the second controlled switch, and the other end is connected to the power supply terminal of the main control chip; One end of the sixth resistor is connected to the output terminal of the main control chip, and the other end is connected to one end of the seventh resistor and the control terminal of the third controlled switch, respectively. The other end of the seventh resistor is grounded.
[0017] This invention uses second, third, and fourth resistors to divide and limit the current at the control terminals of the first and second controlled switches, preventing excessive current from flowing into the control terminals and causing damage to the switches. It also stabilizes the control terminal signal level, ensuring the accuracy of switch operation. The fifth resistor limits the current when the second controlled switch is turned on, protecting the second controlled switch and the main control chip's detection terminal from overcurrent damage. The sixth and seventh resistors, while achieving voltage division and current limiting, also ensure that grounding the seventh resistor stabilizes the control terminal level of the third controlled switch when there is no signal at the main control chip's output, preventing it from falsely turning on.
[0018] In one optional implementation, the first controlled switch is a PNP transistor, and the second and third controlled switches are NPN transistors.
[0019] This invention utilizes the low leakage current of PNP transistors when they are turned off, which can further reduce power consumption when the circuit is idle. NPN transistors have a fast response and stable current control when they are turned on, ensuring the timeliness and accuracy of switching action.
[0020] Secondly, this utility model provides an electrical device, which includes a main control chip, a detection chip, a magnetic switch assembly, and a power supply circuit as described in the first aspect or any other corresponding embodiment. The detection chip is used to detect, based on the Hall effect principle, output a low-level signal when the magnetic switch assembly is detected to be near or far from the electrical device, and output a high-level signal when the magnetic switch assembly is not detected to be near or far from the electrical device.
[0021] The electrical device provided by this utility model integrates a detection chip, a magnetic switch assembly, and the aforementioned power supply circuit. The detection chip accurately identifies the state of the magnetic switch assembly based on the Hall effect and outputs a corresponding level signal. The power supply circuit, through multi-switch linkage and logic control of the main control chip, achieves intelligent on / off switching and low-power control of the device's power supply. This significantly extends the lifespan of the device's power supply (such as dry cell batteries), reducing the frequency and cost of battery replacements for users. Furthermore, the magnetic control operation is convenient, allowing users to start and stop the device without complex operations. The circuit also boasts high stability (e.g., filtering and current limiting designs), ensuring reliable operation of the electrical device and improving the overall user experience.
[0022] In one alternative implementation, the electrical appliance is a gas stove.
[0023] The gas stove provided by this utility model controls the power supply of the gas stove through a magnetic switch assembly, which is convenient to operate (such as turning on the power supply when close to the magnetic switch and turning it off when away), which conforms to user habits; at the same time, the low power consumption feature can significantly extend the battery life of the gas stove, avoid users from frequently replacing batteries, and improve the user experience. Attached Figure Description
[0024] To more clearly illustrate the specific embodiments of this utility model or the technical solutions in the prior art, the drawings used in the description of the specific embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of this utility model. For those skilled in the art, other drawings can be obtained from these drawings without creative effort.
[0025] Figure 1 This is a structural schematic diagram of an electrical device according to an embodiment of the present utility model. Figure 2 This is a schematic diagram of the power supply circuit according to an embodiment of the present utility model. Detailed Implementation
[0026] To make the objectives, technical solutions, and advantages of the embodiments of this utility model clearer, the technical solutions of the embodiments of this utility model will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this utility model, not all embodiments. Based on the embodiments of this utility model, all other embodiments obtained by those skilled in the art without creative effort are within the protection scope of this utility model.
[0027] It is understood that before using the technical solutions disclosed in the various embodiments of this utility model, users should be informed of the types, scope of use, and usage scenarios of the personal information involved in this utility model in an appropriate manner in accordance with relevant laws and regulations, and user authorization should be obtained.
[0028] The terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature. In the description of this utility model, "a plurality of" means two or more, unless otherwise explicitly specified.
[0029] This utility model embodiment provides an electrical device, such as... Figure 1 As shown, the electrical device includes a main control chip 101, a detection chip 102, a magnetic switch assembly 103, and a power supply circuit 104. The detection chip 102, based on the Hall effect principle, outputs a low-level signal when the magnetic switch assembly 103 is detected approaching or moving away from the device, and outputs a high-level signal when the magnetic switch assembly 103 is not detected. The output terminal of the detection chip 102 is connected to the power supply circuit 104. The detection and output terminals of the main control chip 101 are also connected to the power supply circuit 104. Through the cooperation of the detection chip 102 and the main control chip 101, the on / off control of the power supply circuit 104 is achieved. This power supply circuit 104 reduces battery power consumption, increases the battery life of dry cell batteries, avoids frequent battery replacements, and reduces user costs. For details regarding the specific circuit structure, working principle, and operation process of the power supply circuit 104, please refer to the relevant descriptions in the corresponding embodiments below, which will not be repeated here.
[0030] For example, taking a gas stove as an example, the magnetic switch assembly 103 is a magnetic knob made of magnetic material. The user controls the output signal of the detection chip 102 by holding the magnetic knob close to or away from the gas stove. This control, in conjunction with the main control chip 101, controls the on / off state of the power supply circuit 104, thereby controlling the power supply to the gas stove. In practical applications, this electrical device can also be other devices including the main control chip 101 and powered by dry cell batteries, such as dehumidifiers and thermometers; this invention is not limited to these.
[0031] The gas stove provided by this utility model controls the power supply of the gas stove through a magnetic switch assembly, which is convenient to operate (such as turning on the power supply when close to the magnetic switch and turning it off when away), which conforms to user habits; at the same time, the low power consumption feature can significantly extend the battery life of the gas stove, avoid users from frequently replacing batteries, and improve the user experience.
[0032] Specifically, the aforementioned detection chip 102 is based on the Hall effect principle. For example, when a magnetic knob approaches or moves away from the detection chip, the magnetic field distribution differs. This allows the semiconductor material to generate a potential difference in the magnetic field, detecting changes in magnetic field strength and thus determining whether the magnetic knob is near the electrical device. The core principle of the detection chip is: when current flows through the semiconductor material perpendicular to the magnetic field direction, the magnetic field deflects charge carriers (electrons or holes), causing charges of different polarities to accumulate on both sides of the material, forming a potential difference (Hall potential). This potential is proportional to the magnetic field strength and the magnitude of the current, and can be converted into a measurable electrical signal to determine whether the magnetic knob is near. Exemplarily, this detection chip 102 is a Hall sensor chip for detecting changes in magnetic field, hereinafter referred to as the magnetic chip. The specific working principle and process of the detection chip 102 mentioned in this embodiment are existing technologies and will not be elaborated further here.
[0033] When the detection chip 102 detects the magnetic switch assembly 103 approaching, it triggers a corresponding signal to control the power supply circuit 104 to conduct, energizing the main control chip 101. At this time, the output of the detection chip 102 sends a communication signal to the main control chip 101 of the gas stove, so that the main control chip 101, upon receiving the communication signal, sends an electrical signal to the ignition circuit of the gas stove (the specific communication process between the main control chip 101 and the detection chip 102 is existing technology and will not be described in detail here). The ignition circuit controls the spark plug to generate an electric spark to ignite the gas, thereby achieving the ignition function. Furthermore, in practical applications, the main control chip 101 can also monitor the temperature change of the pot bottom in real time through a temperature sensor installed on the gas stove, dynamically adjusting the gas output. When the temperature rises abnormally, the main control chip 101 can trigger a valve-closing action within milliseconds to shut off the gas supply and prevent dry burning. For example, the main control chip 101 is an MCU chip. In practical applications, the main control chip 101 can also be flexibly selected according to the functional requirements of the actual electrical equipment, such as a microcontroller, but this utility model is not limited thereto.
[0034] The electrical device provided in this embodiment integrates a detection chip, a magnetic switch assembly, and the aforementioned power supply circuit. The detection chip accurately identifies the state of the magnetic switch assembly based on the Hall effect and outputs a corresponding level signal. The power supply circuit, through multi-switch linkage and logic control of the main control chip, achieves intelligent on / off switching and low-power control of the device's power supply. This significantly extends the lifespan of the device's power supply (such as dry cell batteries), reducing the frequency and cost of battery replacements for users. Furthermore, the magnetic control operation is convenient, allowing users to start and stop the device without complex operations. The circuit also boasts high stability (e.g., filtering and current limiting designs), ensuring reliable operation of the electrical device and improving the overall user experience.
[0035] This embodiment provides a power supply circuit that can be used as described above. Figure 1The electrical appliances shown, such as gas stoves, etc. Figure 2 This is a schematic diagram of the power supply circuit according to an embodiment of the present utility model, as shown below. Figure 2 As shown, the power supply circuit includes: The system comprises a first controlled switch Q1, a second controlled switch Q2, a first resistor R6, and a third controlled switch Q3. The first terminal of the first controlled switch Q1 is connected to the power supply VCC_IN, and the second terminal is connected to the power supply terminal VCC_OUT of the main control chip 101. The control terminal is connected to the first terminal of the first controlled switch Q1 through the first resistor R6. The first controlled switch Q1 is turned on when the control terminal is at a low level. The control terminal of the first controlled switch Q1 is also connected to the control terminal of the second controlled switch Q2 and the first terminal of the third controlled switch Q3; The first terminal of the second controlled switch Q2 is connected to the power supply terminal VCC_OUT and the detection terminal SW_TEST of the main control chip 101, respectively, and the second terminal is connected to the output terminal CONTRON of the detection chip 102. The second terminal of the third controlled switch Q3 is grounded, and the control terminal is connected to the output terminal IO of the main control chip 101. Both the second controlled switch Q2 and the third controlled switch Q3 are turned on when the control terminal is high. When the main control chip 101 detects a low-level signal for the first time after each power-on, it outputs a high-level signal to the control terminal of the third controlled switch Q3. When the main control chip 101 detects a low-level signal for the second time after power-on, it outputs a low-level signal to the control terminal of the third controlled switch Q3.
[0036] This invention, by incorporating a Hall effect-based detection chip and a magnetic switch assembly, accurately identifies the proximity or distance of the magnetic switch assembly and outputs corresponding level signals. Combined with the linkage control logic of the first, second, and third controlled switches, it achieves intelligent switching of circuit on / off states. When no magnetic switch is activated, the detection chip outputs a high level, the first controlled switch is turned off, and the power supply and subsequent circuits such as the main control chip are disconnected, avoiding unnecessary power consumption. The circuit is only turned on through the switch linkage when the magnetic switch approaches or moves away, triggering a low-level signal. Simultaneously, the main control chip controls the third controlled switch to output high and low levels respectively through two low-level signals from the detection end, precisely controlling the circuit's start and stop. This significantly reduces the power consumption of the power supply when idle, significantly extends the usage time of power supplies such as dry batteries, reduces the frequency and cost of battery replacements for users, and improves the user experience of electrical equipment.
[0037] In this embodiment of the invention, the power supply VCC_IN is described as a dry cell battery. In practical applications, the power supply VCC_IN can also be a rechargeable battery or other DC power supply. This invention is not limited to this.
[0038] Specifically, the aforementioned magnetic switch assembly 103 is a switch made of magnetic material used for power supply control of electrical equipment. For example, the magnetic switch assembly 103 may be a magnetic knob, a magnetic switch, or the like.
[0039] This invention utilizes the stable magnetic properties of magnetic materials to ensure that the detection chip accurately identifies the proximity or distance of the device based on the Hall effect, avoiding signal distortion caused by unstable material properties and ensuring the reliability of circuit on / off control. On the other hand, magnetic control eliminates the need for physical contact, reducing mechanical wear on the switching components and extending the switch's lifespan. It is also easy to operate; users can control the power supply simply by moving the device closer or further away, eliminating the need for complex operations and improving the ease of use of electrical equipment. Furthermore, the cost of magnetic materials is controllable and will not significantly increase the overall cost of the equipment, thus balancing reliability and economy.
[0040] For example, the first controlled switch Q1 is a PNP transistor, and the second controlled switch Q2 and the third controlled switch Q3 are NPN transistors. It should be noted that in practical applications, the first controlled switch Q1, the second controlled switch Q2, and the third controlled switch Q3 can also be implemented using other switching devices such as MOSFETs or IGBTs, depending on the circuit's functional requirements; this invention is not limited to these methods.
[0041] This invention utilizes the low leakage current of PNP transistors when they are turned off, which can further reduce power consumption when the circuit is idle. NPN transistors have a fast response and stable current control when they are turned on, ensuring the timeliness and accuracy of switching action.
[0042] In some alternative implementations, such as Figure 2 As shown, the power supply circuit also includes a power supply status indicator component LED1, one end of which is connected to the first end of the third controlled switch Q3, and the other end is connected to the control end of the first controlled switch Q1.
[0043] This invention, by incorporating a power supply status indicator component, can synchronously provide feedback on the operating status of the power supply circuit based on the circuit's on / off state: when the first controlled switch is turned on and the subsequent circuit is powered, the indicator component indicates that the circuit is in a power supply state; when the first controlled switch is turned off and the circuit enters a low-power mode, the indicator component's state changes synchronously. Users can quickly determine whether the circuit is currently in a valid power supply state through the indicator component, without the need for additional testing tools, thus improving the convenience of circuit status identification. It also allows for timely detection of circuit anomalies (such as when power should be supplied but there is no indication), facilitating troubleshooting and further optimizing the ease of use of electrical equipment.
[0044] For example, the power supply status indicator component LED1 is an LED light. In addition, the power supply status indicator component LED1 can also be a miniature buzzer, a light-emitting diode, etc., and this utility model is not limited thereto.
[0045] This invention utilizes the advantages of LED lights: low power consumption, high brightness, fast response speed, and long lifespan. When the circuit is working, the LED lights clearly indicate the power supply status. Their low power consumption does not add extra burden to the power supply, avoiding the impact of power consumption by the indicator element on the power supply's lifespan. Their high brightness and fast response speed allow users to quickly and accurately capture changes in the circuit status, and they can be clearly identified even in low-light environments.
[0046] In some alternative implementations, such as Figure 2 As shown, the power supply circuit also includes: a first energy storage capacitor C2 and a second energy storage capacitor C3. One end of the first energy storage capacitor C2 is connected to the power supply VCC_IN, and the other end is grounded; One end of the second energy storage capacitor C3 is connected to the second end of the first controlled switch Q1, and the other end is grounded.
[0047] It should be noted that the selection of the first energy storage capacitor C2 and the second energy storage capacitor C3 can also be flexibly set according to the actual circuit requirements, and will not be elaborated here.
[0048] This invention utilizes a first energy storage capacitor to store electrical energy when the power supply output is stable. When power output fluctuates (such as a slight drop in dry cell battery voltage), the energy is released to supplement power supply, ensuring the stability of the power supply to the circuit. A second energy storage capacitor releases its stored energy the instant the first controlled switch is turned on or when the load of subsequent circuits fluctuates, preventing the main control chip from malfunctioning due to power supply voltage fluctuations and ensuring its stable operation. This improves the overall stability of the circuit's power supply, reduces equipment failures caused by voltage fluctuations, extends the lifespan of electrical equipment, and further optimizes power supply efficiency.
[0049] In some alternative implementations, such as Figure 2 As shown, the power supply circuit also includes: a first capacitor C4 and a second capacitor C5; One end of the first capacitor C4 is connected in parallel with the first energy storage capacitor C2; One end of the second capacitor C5 is connected in parallel with the second energy storage capacitor C3.
[0050] It should be noted that the selection of the first capacitor C4 and the second capacitor C5 can also be flexibly set according to the actual circuit requirements, which will not be elaborated here.
[0051] This invention uses a first capacitor to filter out high-frequency noise in the power supply output, preventing noise from interfering with other components in the circuit (such as detection chips and controlled switches) and ensuring component stability. A second capacitor filters out high-frequency noise in the output voltage of the second terminal of the first controlled switch, ensuring a clean power supply voltage to the main control chip and preventing noise from causing misjudgments in the main control chip's detection signals or errors in its control logic. This improves the power supply quality and operational stability of the circuit, reduces circuit faults caused by high-frequency noise, and ensures reliable operation of electrical equipment.
[0052] In some alternative implementations, such as Figure 2 As shown, the above power supply circuit also includes: a second resistor R1, a third resistor R2, a fourth resistor R7, a fifth resistor R3, a sixth resistor R4 and a seventh resistor R5, wherein one end of the second resistor R1 is connected to the control terminal of the first controlled switch Q1, and the other end is connected to the first terminal of the third controlled switch Q3 and one end of the third resistor R2 respectively. The other end of the third resistor R2 is connected to one end of the fourth resistor R7 and the control terminal of the second controlled switch Q2, and the other end of the fourth resistor R7 is grounded. One end of the fifth resistor R3 is connected to the first end of the second controlled switch Q2, and the other end is connected to the power supply terminal VCC_OUT of the main control chip 101; One end of the sixth resistor R4 is connected to the output terminal IO of the main control chip 101, and the other end is connected to one end of the seventh resistor R5 and the control terminal of the third controlled switch Q3. The other end of the seventh resistor R5 is grounded.
[0053] It should be noted that the specific resistance values of the second resistor R1 to the seventh resistor R5 can be flexibly set according to the actual circuit requirements, and will not be elaborated here.
[0054] This invention uses second, third, and fourth resistors to divide and limit the current at the control terminals of the first and second controlled switches, preventing excessive current from flowing into the control terminals and causing damage to the switches. It also stabilizes the control terminal signal level, ensuring the accuracy of switch operation. The fifth resistor limits the current when the second controlled switch is turned on, protecting the second controlled switch and the main control chip's detection terminal from overcurrent damage. The sixth and seventh resistors, while achieving voltage division and current limiting, also ensure that grounding the seventh resistor stabilizes the control terminal level of the third controlled switch when there is no signal at the main control chip's output, preventing it from falsely turning on.
[0055] The working principle and process of the power supply circuit provided in this embodiment of the present invention will be explained in detail below with reference to specific application examples.
[0056] For example Figure 2Taking the power supply circuit shown as an example, VCC_IN is the power supply for the user equipment, i.e., the input voltage of the dry cell battery; VCC_OUT is the power supply terminal of the main control chip, i.e., the power supply voltage of the subsequent circuit; when entering low power mode, Q1 is turned off, VCC_OUT stops outputting, at this time the subsequent circuit stops working, the dry cell battery is disconnected from the subsequent circuit, and the dry cell battery does not output energy.
[0057] CONTRON is the output terminal of the magnetic chip. It is high when no magnetic knob is near. When the magnetic knob is near, the magnetic chip senses the change in magnetic field and outputs a low-level signal from CONTRON. At this time, VCC_IN flows through the diode between the emitter and base of Q1, R1, and R2 to the base of Q2. The emitter of Q2 receives the low-level signal from the magnetic chip, turning Q2 on. The base of Q1 receives a low-level signal, and Q1 also turns on. VCC_IN is then powered to VCC_OUT through Q1, and the subsequent circuit starts working (the main control chip 101 is powered). However, since the magnetic field only changes when the magnetic knob is near, and the magnetic chip can only sense this change for a few seconds, after which there is no change in magnetic field, and the magnetic chip controls CONTRON to output a high level, it cannot sustain the continuous operation of the subsequent circuit.
[0058] After Q2 is turned on, the collector of Q2 is essentially grounded. At this time, SW_TEST is low. SW_TEST is the detection terminal of the main control chip. After the main control chip detects the low level of SW_TEST, it controls the output terminal IO of the main control chip to output a high level. At this time, Q3 is turned on, the base of Q1 is low, and Q1 is also turned on. LED1 is turned on and lit, indicating that the subsequent circuit is working normally. At this time, the magnetic chip controls CONTRON to output a high level, and SW_TEST is high.
[0059] After the magnetic knob is removed, the magnetic chip outputs a low level to CONTRON. At this time, VCC_IN flows through the diode between the emitter and base of Q1, R1, and R2 to the base of Q2. The emitter of Q2 receives the low level output from the magnetic chip, and Q2 is turned on again. After the main control chip 101 detects the low level of SW_TEST again, it controls the IO to output a low level. At this time, Q3 turns off, and Q1 also turns off. VCC_IN stops supplying power to VCC_OUT, and the main control chip 101 also loses power and enters a low-power state.
[0060] When the user holds the magnetic knob and brings it close again, the above process will be repeated, thereby enabling the user to actively move the magnetic knob to control the power supply of the device, thus achieving low-power power supply for the device and extending the service life of the user's device power supply such as dry cell batteries.
[0061] Although embodiments of the present invention have been described in conjunction with the accompanying drawings, those skilled in the art can make various modifications and variations without departing from the spirit and scope of the present invention, and such modifications and variations all fall within the scope defined by the appended claims.
Claims
1. A power supply circuit applied to an electrical appliance, the electrical appliance comprising: The main control chip is characterized in that the electrical device further includes: a detection chip and a magnetic switch assembly. The detection chip is used to detect, based on the Hall effect principle, the output of a low-level signal when the magnetic switch assembly is detected to be approaching or moving away from the electrical device, and to output a high-level signal when the magnetic switch assembly is not detected to be approaching or moving away from the electrical device. The power supply circuit includes: a first controlled switch, a second controlled switch, a first resistor, and a third controlled switch, wherein... The first terminal of the first controlled switch is connected to the power supply, and the second terminal is connected to the power supply terminal of the main control chip. The control terminal is connected to the first terminal of the first controlled switch through the first resistor. The first controlled switch is turned on when the control terminal is at a low level. The control terminal of the first controlled switch is also connected to the control terminal of the second controlled switch and the first terminal of the third controlled switch; The first end of the second controlled switch is connected to the power supply end and the detection end of the main control chip, respectively, and the second end is connected to the output end of the detection chip; The second terminal of the third controlled switch is grounded, and the control terminal is connected to the output terminal of the main control chip. Both the second controlled switch and the third controlled switch are turned on when the control terminal is at a high level. When the main control chip detects a low-level signal for the first time after each power-on, it outputs a high-level signal to the control terminal of the third controlled switch. When the main control chip detects a low-level signal for the second time after power-on, it outputs a low-level signal to the control terminal of the third controlled switch.
2. The power supply circuit according to claim 1, characterized in that, The power supply circuit further includes a power supply status indicator component, one end of which is connected to the first end of the third controlled switch, and the other end of which is connected to the control end of the first controlled switch.
3. The power supply circuit according to claim 2, characterized in that, The power supply status indicator is an LED light.
4. The power supply circuit according to claim 1, characterized in that, The magnetic switch assembly is a switch made of magnetic material used to control the power supply to the electrical equipment.
5. The power supply circuit according to any one of claims 1-4, characterized in that, The power supply circuit also includes: a first energy storage capacitor and a second energy storage capacitor; One end of the first energy storage capacitor is connected to the power supply, and the other end is grounded; One end of the second energy storage capacitor is connected to the second end of the first controlled switch, and the other end is grounded.
6. The power supply circuit according to claim 5, characterized in that, The power supply circuit also includes: a first capacitor and a second capacitor; One end of the first capacitor is connected in parallel with the first energy storage capacitor; One end of the second capacitor is connected in parallel with the second energy storage capacitor.
7. The power supply circuit according to any one of claims 1-4, characterized in that, The power supply circuit further includes: a second resistor, a third resistor, a fourth resistor, a fifth resistor, a sixth resistor, and a seventh resistor, wherein, One end of the second resistor is connected to the control terminal of the first controlled switch, and the other end is connected to the first terminal of the third controlled switch and one end of the third resistor, respectively. The other end of the third resistor is connected to one end of the fourth resistor and the control terminal of the second controlled switch, respectively, and the other end of the fourth resistor is grounded; One end of the fifth resistor is connected to the first end of the second controlled switch, and the other end is connected to the power supply terminal of the main control chip; One end of the sixth resistor is connected to the output terminal of the main control chip, and the other end is connected to one end of the seventh resistor and the control terminal of the third controlled switch, respectively. The other end of the seventh resistor is grounded.
8. The power supply circuit according to any one of claims 1-4, characterized in that, The first controlled switch is a PNP transistor, and the second and third controlled switches are NPN transistors.
9. An electrical appliance, the electrical appliance comprising: The main control chip is characterized in that the electrical device further includes: a detection chip, a magnetic switch assembly, and a power supply circuit as described in any one of claims 1-8, wherein the detection chip is used to detect, based on the Hall effect principle, output a low-level signal when the magnetic switch assembly is detected to be near or far from the electrical device, and output a high-level signal when the magnetic switch assembly is not detected to be near or far from the electrical device.
10. The electrical equipment according to claim 9, characterized in that, The electrical appliance is a gas stove.
