AD sampling control circuit and bathroom equipment
Through the design of the sampling module and isolation module in the AD sampling control circuit, the problems of inaccurate voltage detection and high standby power consumption in battery-powered products are solved, and the sampling accuracy and low power consumption are balanced.
Patent Information
- Application Number
- CN202510660932.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-05-22
- Publication Date
- 2025-08-29
- Estimated Expiration
- 2045-05-22
AI Technical Summary
In the prior art, battery-powered products have inaccurate battery voltage detection and high standby power consumption during AD sampling, resulting in a shortening of battery life.
Adopting AD sampling control circuit, through the combined design of the sampling module, sampling control module and isolation module, the isolation module controls the isolation and connection between the voltage source and the external load module, to achieve sampling accuracy and low power consumption by standby.
Improves detection accuracy during AD sampling, reduces power consumption in standby state, and extends the battery life.
Smart Images

Figure CN120185614B_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present invention relate to the field of AD sampling technology, and in particular to an AD sampling control circuit and bathroom equipment. Background Art
[0002] Battery-powered products, such as bathroom fixtures and other products, have certain requirements for battery life. For this purpose, AD sampling is often used to detect battery voltage. Currently, during AD sampling, the battery powers various products simultaneously, which can result in inaccurate AD detection of battery voltage. Furthermore, the AD sampling circuit consumes relatively high power in standby mode, shortening the battery life. Summary of the Invention
[0003] The present invention provides an AD sampling control circuit and bathroom equipment, so as to achieve accurate detection during AD sampling and realize low power consumption design in standby mode.
[0004] In a first aspect, an embodiment of the present invention provides an AD sampling control circuit, the AD sampling control circuit comprising: a sampling module, a sampling control module, and an isolation module; the sampling module comprises a first voltage dividing unit and a second voltage dividing unit;
[0005] The sampling control module is connected in series between the output end of the first voltage divider unit and the input end of the second voltage divider unit; the input end of the first voltage divider unit is electrically connected to a voltage source; the output end of the second voltage divider unit is grounded; the output end of the first voltage divider unit is connected to the control end of the isolation module; the voltage source is electrically connected to the input end of the isolation module; and the output end of the isolation module is connected to an external load module;
[0006] The sampling control module is used to receive and control whether to output a sampled voltage signal to the second voltage divider unit according to a sampling enable signal; and is also used to control the first voltage divider unit to output different node voltage signals according to the sampling enable signal; the isolation module is used to output an isolation signal according to different node voltage signals to control whether the voltage source is isolated from the external load module.
[0007] Optionally, the AD sampling control circuit further includes: an energy storage module; the energy storage module is connected between the isolation module and the external load module;
[0008] The sampling time t of the AD sampling control circuit satisfies: 29 μs≤t≤31 μs.
[0009] Optionally, the isolation module includes a sampling isolation control unit and an isolation unit;
[0010] The sampling isolation control unit is used to output an isolation control signal to the isolation unit according to the node voltage signal; and the isolation unit is used to output the isolation signal according to the isolation control signal.
[0011] Optionally, the sampling isolation control unit includes: a first sampling isolation control subunit; the first sampling isolation control subunit is connected to the first voltage dividing unit and the isolation module;
[0012] The first sampling isolation control subunit is configured to output the isolation control signal to the isolation module according to the node voltage signal.
[0013] Optionally, the first sampling isolation control subunit includes a first transistor and a first resistor;
[0014] The control end of the first transistor is electrically connected to the output end of the first voltage divider unit; the first end of the first transistor is electrically connected to the output end of the isolation module; the second end of the first transistor is electrically connected to the first end of the first resistor; and the second end of the first resistor is grounded.
[0015] Optionally, the sampling isolation control unit includes: a sampling isolation starting subunit and a second sampling isolation control subunit;
[0016] The input end of the sampling isolation starter unit is electrically connected to the first voltage divider unit; the output end of the sampling isolation starter unit is electrically connected to the input end of the second sampling isolation control subunit; the output end of the second sampling isolation control subunit is connected to the isolation module;
[0017] The sampling isolation start subunit is used to output a start control signal to the second sampling isolation control subunit according to the node voltage signal; the second sampling isolation control subunit is used to output the isolation control signal to the isolation module according to the start control signal.
[0018] Optionally, the sampling isolation start subunit includes a second transistor; the second sampling isolation control subunit includes a third transistor and a second resistor;
[0019] The control end of the second transistor is electrically connected to the output end of the first voltage divider unit; the first end of the second transistor is electrically connected to the control end of the third transistor; the second end of the third transistor is grounded; the second end of the third transistor is electrically connected to the output end of the isolation module; and the first end of the third transistor is grounded through the second resistor.
[0020] Optionally, the sampling isolation control unit includes: a fourth transistor;
[0021] The first end of the fourth transistor is electrically connected to the voltage source; the second end of the fourth transistor is electrically connected to the external load; and the control end of the fourth transistor is used to receive the isolation control signal.
[0022] Optionally, the sampling control module includes: a sampling control unit; the sampling control unit includes a fifth transistor;
[0023] The first end of the fifth transistor is electrically connected to the output end of the first voltage divider unit; the second end of the fifth transistor is electrically connected to the input end of the second voltage divider unit; and the control end of the fifth transistor is used to receive the sampling control signal.
[0024] In a second aspect, an embodiment of the present invention further provides a bathroom device, which includes the AD sampling control circuit described in the first aspect above, and also includes: an external load module; the external load module at least includes a bathroom body; the output end of the isolation module is connected to the external load module.
[0025] Optionally, the external load module further includes a step-down unit, a drive unit, an electromagnetic relay unit and a control unit;
[0026] The output end of the isolation module is connected to the power supply end of the driving unit through the step-down unit; the first output end of the driving unit is electrically connected to the bathroom body through the electromagnetic relay unit; the second output end of the driving unit is electrically connected to the driving end of the control unit;
[0027] The sampling terminal of the control unit is electrically connected to the input terminal of the second voltage divider unit; the enable terminal of the control unit is used to output the sampling control signal; the control signal terminal of the control unit is electrically connected to the control terminal of the electromagnetic relay unit.
[0028] Optionally, the step-down unit includes a step-down chip, an input filter subunit and an output filter subunit;
[0029] The input end of the step-down chip is electrically connected to the output end of the isolation module; the output end of the step-down chip is electrically connected to the input end of the drive unit; the input end of the step-down chip is electrically connected to the input filter subunit; and the output end of the step-down chip is electrically connected to the output filter subunit.
[0030] Optionally, the control unit includes a main control chip.
[0031] Optionally, the control unit further includes an optical coupler detection subunit and a status display subunit;
[0032] The optical coupler detection subunit is electrically connected to the start detection terminal of the main control chip; the status indication terminal of the main control chip is electrically connected to the status display subunit;
[0033] The optocoupler detection subunit is used to output an infrared receiving signal to the main control chip; the main control chip is used to output a control signal to the electromagnetic relay unit and an output status indication signal to the status display subunit according to the infrared receiving signal.
[0034] In an embodiment of the present invention, the sampling control module receives and controls whether to output the sampled voltage signal to the second voltage divider unit based on a sampling control signal; at the same time, controls the first voltage divider unit to output different node voltage signals based on the sampling control signal; the isolation module outputs an isolation control signal based on different node voltage signals to control whether the voltage source is isolated from the external load module; thus, when the sampling control signal received is a sampling enable signal, the sampling control module controls the output of the sampled voltage signal to the second voltage divider unit; and controls the first voltage divider unit to output the first node voltage signal. The isolation module outputs an isolation control signal based on the first node voltage signal as an isolation enable signal, thereby isolating the voltage source from the external load module, thereby achieving output accuracy of the sampled voltage signal; when the sampling control signal received is a sampling disable signal, the sampling voltage signal cannot be output; at the same time, the first voltage divider unit outputs the second node voltage signal, and the isolation module outputs an isolation control signal based on the second node voltage as an isolation disable signal, thereby controlling the voltage source to be connected to the external load module to achieve standby mode. Since the voltage source does not flow into the sampling module when the voltage source is connected to the external load module, that is, the energy of the voltage source is not consumed, thereby achieving a low power consumption design for standby mode.
[0035] It should be understood that the content described in this section is not intended to identify the key or important features of the embodiments of the present invention, nor is it intended to limit the scope of the present invention. Other features of the present invention will become readily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0036] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. 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 these drawings without creative work.
[0037] Figure 1 1 is a schematic structural diagram of an AD sampling control circuit provided by an embodiment of the present invention;
[0038] Figure 2 1 is a schematic structural diagram of another AD sampling control circuit provided by an embodiment of the present invention;
[0039] Figure 3 1 is a schematic diagram of the specific structure of an AD sampling control circuit provided by an embodiment of the present invention;
[0040] Figure 4 Another embodiment of the present invention provides a schematic diagram of the specific structure of the AD sampling control circuit;
[0041] Figure 5 This is a specific circuit diagram of an AD sampling control circuit provided by an embodiment of the present invention;
[0042] Figure 6 1 is a specific circuit diagram of another AD sampling control circuit provided by an embodiment of the present invention;
[0043] Figure 7 1 is a specific circuit diagram of another AD sampling control circuit provided by an embodiment of the present invention;
[0044] Figure 8 is a schematic diagram of the specific structure of another AD sampling control circuit provided by an embodiment of the present invention.
[0045] Figure 9 1 is a specific circuit diagram of another AD sampling control circuit provided by an embodiment of the present invention;
[0046] Figure 10 1 is a specific circuit diagram of another AD sampling control circuit provided by an embodiment of the present invention;
[0047] Figure 11 This is a structural block diagram of a bathroom device provided by an embodiment of the present invention;
[0048] Figure 12 This is a schematic diagram of the specific structure of a bathroom device provided by an embodiment of the present invention;
[0049] Figure 13 This is a specific circuit diagram of a step-down unit provided by an embodiment of the present invention;
[0050] Figure 14 This is a specific circuit diagram of a control unit provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0051] In order to enable those skilled in the art to better understand the solutions of the present invention, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the embodiments described are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative efforts should fall within the scope of protection of the present invention.
[0052] It should be noted that the terms "first", "second", etc. in the description and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that the numbers used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0053] Figure 1 FIG. 1 is a schematic diagram of the structure of an AD sampling control circuit provided by an embodiment of the present invention. Figure 1 As shown, the AD sampling control circuit includes: a sampling module 10, a sampling control module 20 and an isolation module 30; the sampling module 10 includes a first voltage divider unit 11 and a second voltage divider unit 12; the sampling control module 20 is connected in series between the output end of the first voltage divider unit 11 and the input end of the second voltage divider unit 12; the input end of the first voltage divider unit 11 is electrically connected to the voltage source VCC; the output end of the second voltage divider unit 12 is grounded; the output end of the first voltage divider unit 11 is connected to the control end of the isolation module 30; the voltage source VCC is electrically connected to the input end of the isolation module 30; and the output end of the isolation module 30 is connected to the external load module;
[0054] The sampling control module 20 is used to receive and control, based on the sampling control signal, whether to output the sampling voltage signal AD_VCC to the second voltage divider unit 12; and is also used to control the first voltage divider unit 11 to output different node voltage signals based on the sampling control signal. The isolation module 30 is used to control, based on different node voltage signals, whether to output an isolation signal to control whether the voltage source VCC is isolated from the external load module.
[0055] In this embodiment, the sampled voltage signal AD_VCC output to the second voltage divider unit 12 is the sampled voltage signal of the sampling module 10; the sampled voltage signal AD_VCC of the sampling module 10 is the divided voltage of the voltage source VCC after passing through the first voltage divider unit 11 and the second voltage divider unit 12; the first voltage divider unit 11 can be a combination of resistors, or a combination of resistors and capacitors; the second voltage divider unit 12 can be a combination of resistors, or a combination of resistors and capacitors; the specific forms of the first voltage divider unit 11 and the second voltage divider unit 12 are not limited in this embodiment;
[0056] The specific value of the voltage source VCC can be set according to the battery voltage in a specific application scenario. For example, the voltage source VCC can be 6V or 12V. This embodiment does not limit this.
[0057] The sampling control module 20 can receive and control whether to output the sampling voltage signal AD_VCC to the second voltage divider unit 12 according to the sampling control signal; at the same time, it can control the first voltage divider unit 11 to output different node voltage signals according to the sampling control signal. Specifically, when the sampling control signal is a sampling enable signal, the sampling voltage signal AD_VCC is controlled to be output to the second voltage divider unit 12, and the first voltage divider unit 11 is controlled to output the first node voltage signal. When the sampling control signal is a sampling disable signal, the sampling voltage signal AD_VCC cannot be controlled to be output to the second voltage divider unit 12, and the first voltage divider unit 11 is controlled to output the second node voltage signal (the second node voltage signal is the voltage source VCC).
[0058] The isolation module 30 can output an isolation signal according to different node voltage signals to control whether the voltage source VCC is isolated from the external load module; specifically, the isolation module 30 outputs an isolation signal according to the first node voltage signal, thereby controlling the isolation of the voltage source VCC from the external load module; that is, when the sampling control signal is a sampling enable signal, the sampling voltage signal AD_VCC is controlled to be output to the second voltage divider unit 12, and at the same time, the isolation module 30 controls the isolation of the voltage source VCC from the external load module; the isolation module 30 cannot output an isolation signal according to the second node voltage signal, and cannot control the isolation of the voltage source VCC from the external load module; that is, when the sampling control signal is a sampling disable signal, the sampling voltage signal AD_VCC cannot be controlled to be output to the second voltage divider unit 12, and at the same time, the isolation module 30 cannot control the isolation of the voltage source VCC from the external load module.
[0059] In the embodiment of the present invention, when the sampling control signal received by the sampling control module 20 is a sampling enable signal, the sampling voltage signal AD_VCC is controlled to be output to the second voltage divider unit 12; and the first voltage divider unit 11 is controlled to output the first node voltage signal. The isolation module 30 outputs an isolation signal according to the first node voltage signal, thereby controlling the isolation of the voltage source and the external load module. Since the voltage source VCC is isolated from the external load module during the output of the sampling voltage signal AD_VCC, the voltage source VCC is prevented from flowing into the external load module, thereby improving the sampling accuracy. When the sampling control signal received is a sampling disable signal, , then the sampling voltage signal cannot be output; at the same time, the first voltage dividing unit 11 outputs the second node voltage signal, and the isolation module 30 cannot output the isolation signal according to the second node voltage. In this way, the control voltage source VCC is connected to the external load module to achieve standby. Since the voltage source VCC does not flow into the sampling module 10 when the control voltage source VCC is connected to the external load module, the energy of the voltage source VCC is not consumed, thereby achieving a low power consumption design for standby. In this way, this solution not only achieves accurate detection during AD sampling through the sampling module 10, the sampling control module 20 and the isolation module 30, but also avoids the problem of low loss in the standby state.
[0060] Optionally, based on the above embodiment, the AD sampling control circuit is further optimized. Figure 2 FIG. 1 is a structural diagram of another AD sampling control circuit provided by an embodiment of the present invention; Figure 2 As shown, the AD sampling control circuit further includes: an energy storage module 40; the energy storage module 40 is connected between the isolation module 30 and the external load module; the sampling time t of the AD sampling control circuit satisfies: 29μs≤t≤31μs.
[0061] Among them, the energy storage module 40 can be an energy storage capacitor; generally, the order of magnitude of the energy storage capacitor is small, and can be 200μF; considering that when the AD sampling control circuit outputs the sampling voltage signal AD_VCC, the voltage source VCC is isolated from the external load module, and the voltage source VCC cannot provide a voltage signal to the external load module, thereby affecting the normal operation of the external load module; during the standby process of this embodiment, on the one hand, a part of the electric energy can be stored through the energy storage module 40; thus, during the sampling process, a certain amount of electric energy can be supplemented for the external load module through the energy storage module 40; on the other hand, the sampling time t of the AD sampling control circuit satisfies: 29μs≤t≤31μs, that is, a relatively short sampling time is maintained, thereby further avoiding the external load module from being fed with power, thereby avoiding affecting the normal operation of the external load module during the sampling process.
[0062] Optionally, each module is further refined below. Figure 3 FIG. 1 is a schematic diagram of a specific structure of an AD sampling control circuit provided by an embodiment of the present invention. Figure 3As shown, the isolation module 30 includes a sampling isolation control unit 31 and an isolation unit 32; the sampling isolation control unit 31 is used to output an isolation control signal to the isolation unit 32 according to the node voltage signal; the isolation unit 32 is used to output an isolation signal according to the isolation control signal.
[0063] The sampling isolation control unit 31 may be composed of a control subunit type, or a combination of a starter subunit and a control subunit type; this is not specifically limited. The isolation unit 32 may be in the form of a single transistor or a combination of multiple transistors; this is also not specifically limited. Specifically, the sampling isolation control unit 31 outputs an isolation control signal as an isolation enable signal based on the first node voltage signal; the isolation unit 32 outputs an isolation signal based on the isolation enable signal; the sampling isolation control unit 31 outputs an isolation control signal as an isolation disable signal based on the second node voltage signal; the isolation unit 32 cannot output an isolation signal based on the isolation disable signal. This embodiment specifically implements isolation of the voltage source VCC from the external load module during the sampling process through the sampling isolation control unit 31 and the isolation unit 32; and connects the voltage source to the external load module in the standby state.
[0064] Optionally, the sampling isolation control unit 31 is further refined. In some embodiments, Figure 4 FIG. 1 is a schematic diagram of a specific structure of another AD sampling control circuit provided by an embodiment of the present invention. Figure 4 As shown, the sampling isolation control unit 31 includes: a first sampling isolation control subunit 311; the first sampling isolation control subunit 311 is connected to the first voltage divider unit 11 and the isolation unit 32; the first sampling isolation control subunit 311 is used to control the output isolation signal to be output to the isolation unit 32 according to the node voltage signal.
[0065] In this embodiment, the sampling and isolation control unit 31 is composed of control subunits, specifically, a first sampling and isolation control subunit 311. The first sampling and isolation control subunit 311 can be a single-transistor control structure or a multi-transistor control structure. Specifically, the first sampling and isolation control subunit 311 outputs an isolation signal to the isolation unit 32 based on the first node voltage signal. The first sampling and isolation control subunit 311 cannot output an isolation signal to the isolation unit 32 based on the second node voltage signal. In this embodiment, the output of the isolation control signal is achieved through the first sampling and isolation control subunit 311.
[0066] Optionally, this embodiment refines the composition of the first sampling isolation control subunit 311 in the above embodiment. Figure 5 FIG. 1 is a specific circuit diagram of an AD sampling control circuit provided by an embodiment of the present invention, such as Figure 5As shown, the first sampling isolation control subunit 311 includes a first transistor Q1 and a first resistor R1; the control end of the first transistor Q1 is electrically connected to the output end of the first voltage divider unit 11; the first end of the first transistor Q1 is electrically connected to the output end of the isolation unit 32; the second end of the first transistor Q1 is electrically connected to the first end of the first resistor R1; and the second end of the first resistor R1 is grounded.
[0067] More specifically, the first transistor Q1 can be a P-type transistor; when the output end of the first voltage divider unit 11 outputs a first node voltage signal, since the voltage difference between the first node voltage signal and the first end of the first transistor Q1 is less than the preset threshold value at this time, the first transistor Q1 is turned on, and the output signal of the first end of the first resistor R1 is an isolation control signal; and the isolation control signal is an isolation enable signal; when the output end of the first voltage divider unit 11 outputs a second node voltage signal, since the voltage difference between the second node voltage signal and the first end of the first transistor is not less than the preset threshold value at this time, the first transistor Q1 is turned off, and the output signal of the first end of the first resistor R1 is an isolation control signal; and the isolation control signal is an isolation non-enable signal.
[0068] Optionally, this embodiment further describes the composition of the isolation unit 32. Figure 6 FIG. 1 is a specific circuit diagram of another AD sampling control circuit provided by an embodiment of the present invention. Figure 6 As shown, the isolation unit 32 includes: a fourth transistor Q4; a first end of the fourth transistor Q4 is electrically connected to the voltage source VCC; a second end of the fourth transistor Q4 is electrically connected to the external load module; and a control end of the fourth transistor Q4 is used to receive an isolation control signal.
[0069] Specifically, in this embodiment, the fourth transistor Q4 can be a PMOS transistor. When the output end of the first voltage divider unit 11 outputs a first node voltage signal, the first transistor Q1 is turned on, the voltage difference between the first end of the first resistor R1 and the first end of the fourth transistor Q4 is not less than a preset threshold, the fourth transistor Q4 is turned off, and the voltage source is isolated from the external load module. When the output end of the first voltage divider unit 11 outputs a second node voltage signal, the first transistor Q1 is turned off, the voltage difference between the first end of the first resistor R1 and the first end of the fourth transistor Q4 is less than a preset threshold, the fourth transistor Q4 is turned on, and the voltage source is connected to the external load module to achieve standby mode. It should be noted that since the fourth transistor Q4 is used as the isolation unit 32, when the voltage source is connected to the external load module to achieve standby mode, the insertion loss of the fourth transistor Q4 is small due to its conduction, and normal standby operation power consumption will not be affected.
[0070] Optionally, this embodiment provides a detailed description of the composition of the sampling control module 20. Figure 7FIG. 1 is a specific circuit diagram of another AD sampling control circuit provided by an embodiment of the present invention. Figure 7 As shown, the sampling control module 20 includes: a sampling control unit 21; the sampling control unit 21 includes a fifth transistor Q5; a first end of the fifth transistor Q5 is electrically connected to the output end of the first voltage divider unit 11; a second end of the fifth transistor Q5 is electrically connected to the input end of the second voltage divider unit 12; and a control end of the fifth transistor Q5 is used to receive a sampling control signal AD_EN.
[0071] Specifically, the fifth transistor Q5 is an N-type transistor. When the sampling control signal is a sampling enable signal and the sampling enable signal is at a high level, the fifth transistor Q5 is turned on, and the output end of the first voltage divider unit 11 outputs the first node voltage. If the difference between the first node voltage and the first end of the first transistor Q1 (the voltage source signal) is less than a preset threshold, the first transistor Q1 is turned on, causing the fourth transistor Q4 to be turned off. In this way, isolation between the voltage source and the external load module is achieved during the sampling process, thereby improving sampling accuracy. When the sampling control signal is a sampling disable signal and the sampling disable signal is at a low or high level, the fifth transistor Q5 is turned off, and the output end of the first voltage divider unit 11 outputs the second node voltage (i.e., the voltage source signal). If the difference between the second node voltage and the first end of the first transistor Q1 (the voltage source signal) is not less than a preset threshold, the first transistor Q1 is turned off, causing the fourth transistor Q4 to be turned on. In this way, the voltage source provides a voltage signal to the external load module in the standby state. Since the fourth transistor Q4 is turned off in the standby state, the voltage source flows into the sampling module, thereby achieving a low power consumption design in the standby state. Of course, it is understandable that when the sampling enable signal is at a low level, the fifth transistor Q5 may also be a P-type transistor; this is not limited in this embodiment.
[0072] Optionally, in other embodiments, the sampling isolation control unit 31 may also be in other forms. Figure 8 FIG. 1 is a schematic diagram of a specific structure of another AD sampling control circuit provided by an embodiment of the present invention. Figure 8 As shown, the sampling isolation control unit 31 includes: a sampling isolation starter unit 312 and a second sampling isolation control subunit 313; the input end of the sampling isolation starter unit 312 is electrically connected to the first voltage divider unit 11; the output end of the sampling isolation starter unit 312 is electrically connected to the input end of the second sampling isolation control subunit 313; the output end of the second sampling isolation control subunit 313 is connected to the isolation unit 32; the sampling isolation starter unit 312 is used to control whether to output a start control signal to the second sampling isolation control subunit 313 according to the node voltage signal; the second sampling isolation control subunit 313 is used to output an isolation control signal to the isolation unit 32 according to the start control signal.
[0073] In this embodiment, the sampling isolation control unit 31 is composed of a combination of a starter unit and a control subunit. The sampling isolation control unit 31 includes a sampling isolation starter unit 312 and a second sampling isolation control subunit 313. The sampling isolation starter unit 312 can be a single-transistor controlled structure or a multi-transistor controlled structure; the second sampling isolation control subunit 313 can be a single-transistor controlled structure or a multi-transistor controlled structure; specifically, the sampling isolation starter unit 312 outputs a start control signal to the second sampling isolation control subunit 312 based on the first node voltage signal; and the start control signal is a start enable signal; the second sampling isolation control subunit 313 outputs an isolation control signal as an isolation enable signal based on the start enable signal, and outputs it to the isolation unit 32. The sampling isolation start subunit 312 outputs a start control signal to the second sampling isolation control subunit 313 according to the second node voltage signal; and the start control signal is a start disabling signal; the second sampling isolation control subunit 313 outputs an isolation control signal as an isolation disabling signal according to the start disabling signal, and outputs the signal to the isolation unit 32. In this way, the present embodiment can also implement the output of the isolation control signal through the sampling isolation start subunit 312 and the second sampling isolation control subunit 313.
[0074] Optionally, the specific composition of the sampling isolation initiator unit 312 and the second sampling isolation controller unit 313 is further detailed below. Figure 9 FIG. 1 is a specific circuit diagram of another AD sampling control circuit provided by an embodiment of the present invention. Figure 9 As shown, the sampling isolation start subunit 312 includes a second transistor Q2; the second sampling isolation control subunit 313 includes a third transistor Q3 and a second resistor R2; the control end of the second transistor Q2 is electrically connected to the output end of the first voltage divider unit 11; the first end of the second transistor Q2 is electrically connected to the control end of the third transistor Q3; the second end of the second transistor Q2 is grounded; the second end of the third transistor Q3 is electrically connected to the output end of the isolation unit 32; and the first end of the third transistor Q3 is grounded via the second resistor R2.
[0075] More specifically, the second transistor Q2 can be a P-type transistor; the third transistor Q3 can be a P-type transistor; the control end of the second transistor Q2 is electrically connected to the output end of the first voltage divider unit 11; when the output end of the first voltage divider unit 11 outputs the first node voltage signal, the second transistor Q2 is turned on; when the second transistor Q2 is turned on, the control end of the third transistor Q3 is pulled low, then the third transistor Q3 is turned on, then the first end output signal of the second resistor R2 is an isolation control signal; and the isolation control signal is an isolation enable signal; when the output end of the first voltage divider unit 11 outputs the second node voltage signal, the second transistor Q2 is turned off, and when the second transistor Q2 is turned off, the control end of the third transistor Q3 is not pulled low, then the third transistor Q3 is turned off, so that the first end output signal of the second resistor R2 is an isolation control signal; the isolation control signal is an isolation non-enable signal.
[0076] It should be noted that when the sampling isolation control unit 31 includes the sampling isolation starting subunit 312 and the second sampling isolation control subunit 313, Figure 10 FIG. 1 is a specific circuit diagram of another AD sampling control circuit provided by an embodiment of the present invention. Figure 10 As shown, the specific composition of the isolation unit 32 and the sampling control unit 21 can remain unchanged; that is, the isolation unit 32 includes a fourth transistor Q4; the sampling control unit 21 includes a fifth transistor Q5; thus, when the sampling control signal is a sampling enable signal, the sampling enable signal is at a high level, the fifth transistor Q5 is turned on, the output end of the first voltage divider unit 11 outputs the first node voltage, the second transistor Q2 and the third transistor Q3 are turned on, and the fourth transistor Q4 is turned off. In this way, the voltage source and the external load module are isolated during the sampling process, thereby improving the sampling accuracy; when the sampling control signal is a sampling disable signal, the sampling disable signal is at a low or high level, the fifth transistor Q5 is turned off, the output end of the first voltage divider unit 11 outputs the second node voltage (i.e., the voltage source signal), the second transistor Q2 and the third transistor Q3 are turned off, and the fourth transistor Q4 is turned on. In this way, the voltage source provides a voltage signal to the external load module in the standby state. Since the fourth transistor Q4 is turned off in the standby state, the voltage source flows into the sampling module, thereby achieving a low power consumption design in the standby state.
[0077] Based on the same inventive concept, an embodiment of the present invention further provides a bathroom device, which may include basic sanitary equipment and bathing equipment; Figure 11 This is a structural block diagram of a bathroom device provided by an embodiment of the present invention; Figure 11As shown, bathroom fixture 100 includes the AD sampling control circuit 01 described in any of the above embodiments, and also includes an external load module 02; external load module 02 includes at least a bathroom fixture body 021; and the output end of isolation module 30 is connected to external load module 02. Because bathroom fixtures require high drive power, the service life of the voltage source is highly demanding. In this embodiment, the bathroom fixture includes the AD sampling control circuit 01 described in any of the above embodiments, thereby better meeting the requirements for voltage source sampling accuracy and low standby power consumption in the bathroom fixture.
[0078] Optional, Figure 12 Schematic diagram of the specific structure of a bathroom device provided by an embodiment of the present invention; Figure 12 As shown, the external load module 02 further includes a step-down unit 022, a drive unit 023, an electromagnetic relay unit 024 and a control unit 025; the output end of the isolation module 30 is connected to the power supply end of the drive unit 023 via the step-down unit 022; the first output end of the drive unit 023 is electrically connected to the bathroom body 021 via the electromagnetic relay unit 024; the second output end of the drive unit 023 is electrically connected to the drive end of the control unit 025;
[0079] The sampling terminal of the control unit 025 is electrically connected to the input terminal of the second voltage divider unit 12 ; the enable terminal of the control unit 025 is used to output the sampling control signal AD_EN; the control signal terminal of the control unit 025 is electrically connected to the control terminal of the electromagnetic relay unit 024 .
[0080] The voltage-step-down unit 022 can step down the voltage signal output by the voltage source VCC, thereby providing an operating voltage for the driver unit 02. This allows the driver unit 022 to drive the bathroom unit 021 through the electromagnetic relay unit when the control unit 025 controls the operation of the electromagnetic relay unit 024. Simultaneously, the driver unit 022 can also drive the control unit 025. The driver unit 023 can be a driver chip; the model of the driver chip is SS8837.
[0081] Optional, Figure 13 This is a specific circuit diagram of a step-down unit provided by an embodiment of the present invention;
[0082] like Figure 13As shown, the buck unit 022 includes a buck chip U1, an input filter subunit 0221, and an output filter subunit 0222. The input terminal Vin of the buck chip U1 is electrically connected to the output terminal of the isolation module 30. The output terminal Vout of the buck chip U1 is electrically connected to the input terminal of the driver unit 023. The input terminal Vin of the buck chip U1 is electrically connected to the input filter subunit. The output terminal Vout of the buck chip U1 is electrically connected to the output filter subunit 0222. The buck chip U1 can be model 7333. The input filter subunit 0221 can include one or more input filter capacitors to filter the input voltage source signal. The output filter subunit 0222 can include one or more output filter capacitors to filter the voltage signal after the voltage reduction process. In some embodiments, the input filter subunit 024 includes a first capacitor C1 and a second capacitor C2. The first end of the first capacitor C1 and the first end of the second capacitor C2 are both electrically connected to the input terminal Vin of the buck chip U1. The second end of the first capacitor C1 and the second end of the second capacitor C2 are both grounded. The input filter sub-unit 0222 includes a third capacitor C3; a first end of the third capacitor C3 is electrically connected to the output end Vout of the buck chip U1; and a second end of the third capacitor C3 is grounded.
[0083] Optional, Figure 14 : is a specific circuit diagram of a control unit provided by an embodiment of the present invention; Figure 14 As shown, control unit 025 includes a main control chip U2; a sampling terminal PA6 of main control chip U2 is electrically connected to the input terminal AD_VCC of the second voltage divider unit 12; an enable terminal PA5 of main control chip U2 is used to output a sampling control signal AD_EN; and driving terminals (PB0, PA7, PB2) of main control chip U2 are electrically connected to the second output terminals (MCUA, MCUB, SLEEP) of driving unit 022. The control signal terminal PA0 of main control chip U2 is electrically connected to electromagnetic relay unit 024.
[0084] Optional, continue to refer to Figure 14 The control unit 025 further includes an optocoupler detection subunit 0251 and a status display subunit (not shown); the optocoupler detection subunit 0251 is electrically connected to the startup detection terminal (ISINK, PB1, PA4, PA1, PA3) of the main control chip U1; the status indication terminal PA2 of the main control chip U1 is electrically connected to the status display subunit;
[0085] The optocoupler detection subunit 0251 is used to output the infrared receiving signal to the main control chip U1; the main control chip U1 is used to output the control signal IC PDA to the electromagnetic relay unit 024 according to the infrared receiving signal; and output the status indication signal LEDICPACK to the status display subunit.
[0086] The optocoupler detection subunit 0251 includes an infrared transmitter circuit A and an infrared receiver circuit B. Infrared transmitter circuit B transmits infrared light toward the obstruction. Based on the intensity of the received infrared signal, infrared receiver circuit B outputs a control signal to the electromagnetic relay unit 024, thereby activating the electromagnetic relay unit 024 and ensuring normal operation of the bathroom fixture 021. Simultaneously, a status indicator signal is output to the status display subunit, which may include an infrared light-emitting diode (LED). This indicates the operating status of the bathroom fixture 021. The use of the optocoupler detection subunit 0251 and the status display subunit improves the reliability and intelligent control of bathroom fixtures. Specifically, infrared transmitter circuit A may include a third resistor R3, a fourth capacitor C4, and an infrared transmitter diode D11. Infrared receiver circuit B may include a fourth resistor R4, a fifth resistor R5, a sixth resistor R6, a fifth capacitor C5, and an infrared receiver diode D22. Furthermore, the operating power supply terminals (VDD and VSS) of the main control chip U1 are connected via a sixth capacitor C6, and the sampling power supply terminals (AVDD and AVSS) of the main control chip U1 are connected via a seventh capacitor C7.
[0087] Note that the above are only preferred embodiments of the present invention and the technical principles employed. Those skilled in the art will understand that the present invention is not limited to the specific embodiments described herein, and that various obvious changes, readjustments, and substitutions can be made by those skilled in the art without departing from the scope of protection of the present invention. Therefore, although the present invention has been described in detail through the above embodiments, the present invention is not limited to the above embodiments and may include many other equivalent embodiments without departing from the concept of the present invention. The scope of the present invention is determined by the scope of the appended claims.
Claims
1. An AD sampling control circuit, characterized in that: include: Sampling module, sampling control module, isolation module; the sampling module includes a first voltage dividing unit and a second voltage dividing unit; The sampling control module is connected in series between the output end of the first voltage divider unit and the input end of the second voltage divider unit; the input end of the first voltage divider unit is electrically connected to a voltage source; the output end of the second voltage divider unit is grounded; the output end of the first voltage divider unit is connected to the control end of the isolation module; the voltage source is electrically connected to the input end of the isolation module; and the output end of the isolation module is connected to an external load module; The sampling control module is configured to receive and control, according to a sampling control signal, whether to output a sampled voltage signal to the second voltage dividing unit; and further configured to control, according to the sampling control signal, the first voltage dividing unit to output different node voltage signals; The isolation module is configured to output an isolation signal according to different node voltage signals to control whether the voltage source is isolated from the external load module; Wherein, the isolation module includes a sampling isolation control unit and an isolation unit; The sampling isolation control unit is configured to output an isolation control signal to the isolation unit according to the node voltage signal; the isolation unit is configured to output the isolation signal according to the isolation control signal; The sampling isolation control unit includes: a sampling isolation starting subunit and a second sampling isolation control subunit; The input end of the sampling isolation starter unit is electrically connected to the first voltage divider unit; the output end of the sampling isolation starter unit is electrically connected to the input end of the second sampling isolation control subunit; the output end of the second sampling isolation control subunit is connected to the isolation module; The sampling isolation start subunit is used to output a start control signal to the second sampling isolation control subunit according to the node voltage signal; the second sampling isolation control subunit is used to output the isolation control signal to the isolation module according to the start control signal.
2. The AD sampling control circuit according to claim 1, characterized in that: Also includes: Energy storage module; The energy storage module is connected between the isolation module and the external load module; The sampling time t of the AD sampling control circuit satisfies: 29 μs≤t≤31 μs.
3. The AD sampling control circuit according to claim 1, wherein: The sampling isolation start subunit includes a second transistor; the second sampling isolation control subunit includes a third transistor and a second resistor; The control end of the second transistor is electrically connected to the output end of the first voltage divider unit; the first end of the second transistor is electrically connected to the control end of the third transistor; the second end of the third transistor is grounded; the second end of the third transistor is electrically connected to the output end of the isolation module; and the first end of the third transistor is grounded through the second resistor.
4. The AD sampling control circuit according to claim 1, characterized in that: The isolation unit includes: a fourth transistor; The first end of the fourth transistor is electrically connected to the voltage source; the second end of the fourth transistor is electrically connected to the external load; and the control end of the fourth transistor is used to receive the isolation control signal.
5. The AD sampling control circuit according to claim 1, characterized in that: The sampling control module includes: a sampling control unit; the sampling control unit includes a fifth transistor; The first end of the fifth transistor is electrically connected to the output end of the first voltage divider unit; the second end of the fifth transistor is electrically connected to the input end of the second voltage divider unit; and the control end of the fifth transistor is used to receive the sampling control signal.
6. A bathroom equipment, characterized in that: The AD sampling control circuit according to any one of claims 1 to 5 further comprises: an external load module; the external load module at least comprises a bathroom body; and the output end of the isolation module is connected to the external load module.
7. The bathroom equipment according to claim 6, characterized in that: The external load module further includes a step-down unit, a drive unit, an electromagnetic relay unit and a control unit; The output end of the isolation module is connected to the power supply end of the driving unit through the step-down unit; the first output end of the driving unit is electrically connected to the bathroom body through the electromagnetic relay unit; the second output end of the driving unit is electrically connected to the driving end of the control unit; The sampling terminal of the control unit is electrically connected to the input terminal of the second voltage divider unit; the enable terminal of the control unit is used to output the sampling control signal; the control signal terminal of the control unit is electrically connected to the control terminal of the electromagnetic relay unit.
8. The bathroom equipment according to claim 7, characterized in that: The step-down unit includes a step-down chip, an input filter subunit and an output filter subunit; The input end of the step-down chip is electrically connected to the output end of the isolation module; the output end of the step-down chip is electrically connected to the input end of the drive unit; the input end of the step-down chip is electrically connected to the input filter subunit; and the output end of the step-down chip is electrically connected to the output filter subunit.
Citation Information
Patent Citations
Battery voltage detection device
CN219039315U