Multiplexing circuit and HNB appliance
By designing the detection module, drive module and charging module in the multiplexed circuit, the problem of interface resource occupation in charge detection, drive and control of HNB appliances is solved, and efficient interface resource management and cost reduction are achieved.
Patent Information
- Application Number
- CN202411326668.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-23
- Publication Date
- 2024-12-31
AI Technical Summary
When mainstream HNB appliances realize charging detection, indicator component driving and charging control, they need to occupy the transmission interfaces of multiple external controllers, resulting in excessive use of interface resources and increased costs.
Design a multiplexed circuit, including detection module, drive module and charging module. Through the combination of these modules, control of the power supply module, indicator components and charging chip is realized. It only needs to occupy the transmission interface of an external controller to reduce the external Requirements for transmission interfaces.
The access detection of the power supply module, the driving control of the indicator element and the charging control are realized, which reduces the demand for external transmission interfaces, reduces costs, and improves resource utilization efficiency.
Smart Images

Figure CN119232133A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of electronic circuit design, and in particular to a multiplexing circuit and an HNB device. Background Art
[0002] Mainstream HNB (Heat Not Burning) devices usually have the following functions: 1. When charging the device, it is necessary to detect the insertion or removal of the power module, so a corresponding detection circuit is required. 2. After the aerosol matrix preheating stage is completed, the indicator element will prompt the user to inhale, so a corresponding drive circuit is also required. 3. During the charging process of the device, if the battery temperature is detected to be too high or the circuit board temperature is too high, it is necessary to control the charging chip to temporarily stop charging, so a corresponding charging control circuit is required.
[0003] Therefore, if the above functions need to be realized, at least three transmission interfaces of the external controller need to be occupied, which will cause excessive occupation of interface resources. Summary of the invention
[0004] Based on this, it is necessary to provide a multiplexing circuit and an HNB device to address the above technical issues.
[0005] In a first aspect, the present application provides a multiplexing circuit, wherein the multiplexing circuit is configured with a power interface for connecting a power supply module; the multiplexing circuit includes a detection module, a driving module and a charging module; the detection module is connected to the power interface and the driving module respectively, and is connected to the charging module via the driving module; the driving module is used to connect an external indicating element and is connected to the charging module; the charging module is used to connect a transmission interface of an external controller and is connected to an external charging chip; the transmission interface is configured with an input mode;
[0006] The detection module is used to output a first driving signal when receiving a power signal from the power supply module via the power interface;
[0007] The driving module is used to output a second driving signal and stop outputting a third driving signal when receiving the first driving signal; the third driving signal is used to control the operation of the indicating element;
[0008] The charging module is used for outputting a charging enable signal to the charging chip when the second driving signal is received and the transmission interface is in an input mode.
[0009] In one of the embodiments, the transmission interface is further configured with an output mode;
[0010] The charging module is further configured to receive a first control signal from the external controller when the transmission interface is in an output mode, and stop outputting the charging enable signal under the action of the first control signal.
[0011] In one embodiment, the charging module is further used to output a fourth drive signal to the driving module when the detection module does not receive the power signal and receives a second control signal from the external controller via the transmission interface in output mode; the fourth drive signal is used to control the driving module to output the third drive signal to drive the indicating element to work.
[0012] In one embodiment, the charging module is also used to output a fifth drive signal to the driving module when the detection module does not receive the power signal and receives a first control signal from the external controller via the transmission interface in output mode; the fifth drive signal is used to control the driving module to stop outputting the third drive signal.
[0013] In one embodiment, the detection module is further configured to stop outputting the first driving signal when the power signal is not received, so that the driving module stops outputting the second driving signal and the third driving signal;
[0014] The charging module is further configured to stop outputting the charging enable signal when the second driving signal is not received and the transmission interface is in an input mode.
[0015] In one embodiment, the detection module includes:
[0016] A first bias component connected to the power interface;
[0017] A first switch component, wherein the controlled end and the first end of the first switch component are connected to the first bias component, the first end of the first switch component is also connected to the ground end, the second end of the first switch component is connected to the driving module, and the first switch component is used to conduct the connection between the driving module and the ground end when the power signal is connected through the first bias component and the power interface, so as to transmit the signal at the ground end as the first driving signal to the driving module.
[0018] In one of the embodiments, the first switch component is further used to disconnect the connection between the driving module and the ground terminal to stop outputting the first driving signal without the first bias component and the power interface receiving the power signal.
[0019] In one embodiment, the driving module includes:
[0020] a second bias component connected to the second end of the first switch component;
[0021] a second switch component, wherein a controlled end and a first end of the second switch component are connected to the second bias component, the first end of the second switch component is used to access a power supply signal and is connected to a positive terminal of the indicating element, and the second end of the second switch component is connected to the charging module;
[0022] a first control switch, wherein a controlled end of the first control switch is connected to a second end of the first switch assembly, a first end of the first control switch is connected to the charging module, and a second end of the first control switch is used to connect to a negative terminal of the indicating element;
[0023] a protection component, wherein a first end of the protection component is used to access the power supply signal, a second end of the protection component is connected to a controlled end of the first control switch, a third end of the protection component is connected to the second end of the first control switch, and the protection component is used to smoothly transmit a current to the first control switch;
[0024] Wherein, when the controlled end of the second switch component and the controlled end of the first control switch receive the first drive signal, the second switch component turns on the connection between the charging module and the first end of the second switch component to transmit the power supply signal to the charging module as the second drive signal, and the first control switch disconnects the connection between the negative terminal of the indicating element and the charging module to stop outputting the third drive signal.
[0025] In one embodiment, the protection component includes a diode and a resistor, the positive electrode of the diode is connected to the second end of the first control switch and is used to connect to the negative terminal of the indicating element, the negative electrode of the diode is connected to the first end of the second switch component and is used to connect to the positive terminal of the indicating element, and the two ends of the resistor are respectively connected to the first end of the second switch component and the controlled end of the first control switch.
[0026] In one embodiment, the charging module includes:
[0027] A voltage dividing component, wherein a first end of the voltage dividing component is connected to a second end of the first switch component, a second end of the voltage dividing component is used to connect to a ground terminal, and a third end of the voltage dividing component is used to connect to the transmission interface;
[0028] a second control switch, wherein a controlled end of the second control switch is connected to a third end of the voltage divider component, a first end of the second control switch is connected to a first end of the first control switch, and a second end of the second control switch is connected to a fourth end of the voltage divider component;
[0029] a resistor component, wherein a first end of the resistor component is used to access the power supply signal, and a second end of the resistor component is connected to the first end of the second control switch and is used to connect to the charging chip;
[0030] Among them, when the voltage divider component is connected to the second drive signal and the transmission interface is in input mode, the second control switch turns on the connection between the ground terminal and the second end of the resistor component, so that the signal at the ground terminal is transmitted to the charging chip as the charging enable signal.
[0031] In one embodiment, when the voltage divider component receives a first control signal from the external controller via a transmission interface in output mode, the second control switch disconnects the connection between the ground terminal and the second end of the resistor component to stop outputting the charging enable signal.
[0032] In one embodiment, when the voltage divider component does not receive the second drive signal and receives the second control signal from the external controller via the transmission interface in output mode, the first control switch turns on the connection between the indicating element and the second control switch, and the second control switch turns on the connection between the first control switch and the ground terminal, so that the signal at the ground terminal is transmitted to the indicating element as the third drive signal, thereby causing the indicating element to operate.
[0033] In one embodiment, when the voltage divider component does not receive the second drive signal and receives the first control signal from the external controller via the transmission interface in output mode, the first control switch disconnects the indicator element from the second control switch, and the second control switch disconnects the first control switch from the ground terminal to stop transmitting the third drive signal to the indicator element.
[0034] In the second aspect, the present application also provides an HNB device, including an external controller, a power supply module, a motor and a charging chip and a multiplexing circuit as described above, wherein the external controller includes a transmission interface, the transmission interface is configured with an input mode and an output mode, the external controller is connected to the multiplexing circuit via the transmission interface, and the power supply module is used to output a power signal to the multiplexing circuit when connected to the multiplexing circuit; the motor and the charging chip are both connected to the multiplexing circuit.
[0035] In one embodiment, the external controller includes a single-chip microcomputer, and the transmission interface includes an I / O port.
[0036] The above-mentioned multiplexing circuit and HNB device, the multiplexing circuit is configured with a power interface for connecting the power supply module; the multiplexing circuit includes a detection module, a driving module and a charging module; the detection module is connected to the power interface and the driving module respectively, and is connected to the charging module through the driving module; the driving module is used to connect an external indicating element and is connected to the charging module; the charging module is used to connect a transmission interface of an external controller and is connected to an external charging chip; the transmission interface is configured with an input mode; the detection module is used to output a first drive signal when receiving a power signal from the power supply module through the power interface; the driving module is used to output a second drive signal and stop outputting a third drive signal when receiving the first drive signal; the third drive signal is used to control the operation of the indicating element; the charging module is used to output a charging enable signal to the charging chip when the second drive signal is received and the transmission interface is in input mode. The multiplexing circuit in this application only needs to occupy a transmission interface of the external controller, can realize the access detection of the power supply module, the drive control and charging control of the indicating element, can reduce the demand for the external transmission interface, and reduce costs. BRIEF DESCRIPTION OF THE DRAWINGS
[0037] In order to more clearly illustrate the technical solutions in the embodiments of the present application or related technologies, the drawings required for use in the embodiments of the present application or related technical descriptions will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.
[0038] Figure 1 This is one of the structural schematic diagrams of the multiplexing circuit in one embodiment of the present application;
[0039] Figure 2 is a schematic diagram of the structure of a detection module in an embodiment of the present application;
[0040] Figure 3 is a schematic diagram of the structure of a driving module in an embodiment of the present application;
[0041] Figure 4 This is a schematic diagram of the structure of a protection component in an embodiment of the present application;
[0042] Figure 5 This is a schematic diagram of the structure of a charging module in an embodiment of the present application;
[0043] Figure 6 This is a second structural diagram of a multiplexing circuit in an embodiment of the present application.
[0044] Description of Figure Numbers:
[0045] Power supply interface: 110; detection module: 120; first bias component: 121; first switch component: 122; drive module: 130; second bias component: 131; second switch component: 132; first control switch: 133; protection component: 134; charging module: 140; voltage divider component: 141; second control switch: 142; resistance component: 143; power supply module: 210; indication element: 220; external controller: 230; transmission interface: 231; charging chip: 240. DETAILED DESCRIPTION
[0046] In order to make the above-mentioned purposes, features and advantages of the present application more obvious and easy to understand, the specific implementation methods of the present application are described in detail below in conjunction with the accompanying drawings. In the following description, many specific details are set forth to facilitate a full understanding of the present application. However, the present application can be implemented in many other ways different from those described herein, and those skilled in the art can make similar improvements without violating the connotation of the present application, so the present application is not limited by the specific embodiments disclosed below.
[0047] In the description of the present application, it should be understood that the terms "center", "longitudinal", "lateral", "length", "width", "thickness", "up", "down", "front", "back", "left", "right", "vertical", "horizontal", "top", "bottom", "inside", "outside", "clockwise", "counterclockwise", "axial", "radial", "circumferential" and the like indicate orientations or positional relationships based on the orientations or positional relationships shown in the accompanying drawings, and are only for the convenience of describing the present application and simplifying the description, and do not indicate or imply that the referred device or element must have a specific orientation, be constructed and operated in a specific orientation, and therefore should not be understood as a limitation on the present application.
[0048] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include at least one of the features. In the description of this application, the meaning of "plurality" is at least two, such as two, three, etc., unless otherwise clearly and specifically defined.
[0049] In this application, unless otherwise clearly specified and limited, the terms "installed", "connected", "connected", "fixed" and the like should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection or an indirect connection through an intermediate medium, it can be the internal connection of two elements or the interaction relationship between two elements, unless otherwise clearly defined. For ordinary technicians in this field, the specific meanings of the above terms in this application can be understood according to specific circumstances.
[0050] In one embodiment, see the attached Figure 1 , attached Figure 1 One of the structural schematic diagrams of the multiplexing circuit 100 in this embodiment is shown. The multiplexing circuit 100 in this embodiment is configured with a power interface 110 for connecting to a power supply module 210; the multiplexing circuit 100 includes a detection module 120, a driving module 130 and a charging module 140; the detection module 120 is connected to the power interface 110 and the driving module 130 respectively, and is connected to the charging module 140 via the driving module 130; the driving module 130 is used to connect to an external indicating element 220, and is connected to the charging module 140; the charging module 140 is used to connect to an external controller 230 The transmission interface 231 is connected to an external charging chip 240; the transmission interface 231 is configured with an input mode; the detection module 120 is used to output a first drive signal when a power signal is received from the power supply module 210 via the power interface 110; the drive module 130 is used to output a second drive signal and stop outputting a third drive signal when the first drive signal is received; the third drive signal is used to control the operation of the indicating element 220; the charging module 140 is used to output a charging enable signal to the charging chip 240 when the second drive signal is received and the transmission interface 231 is in the input mode.
[0051] Among them, the detection module 120 is mainly used to detect whether the power interface 110 of the multiplexing circuit 100 is connected to the power supply module 210. When the power interface 110 of the multiplexing circuit 100 is connected to the power supply module 210, the power supply module 210 outputs a power signal, and the power interface 110 transmits the power signal to the detection module 120. The detection module 120 outputs a corresponding first drive signal based on the power signal, that is, the first drive signal can represent that the power interface 110 has been connected to the power supply module 210. It can be understood that the first drive signal is the node voltage signal of the node where the detection module 120 and the drive module 130 are connected when the power interface 110 has been connected to the power supply module 210.
[0052] In order to be applicable to HNB devices, when the multiplexing circuit 100 is connected to the power supply module 210, the user should be prevented from taking a puff. Therefore, at this time, it is necessary to control the driving module 130 to stop driving the indicating element 220 to work, and at the same time, the charging module 140 should be driven to output a charging enable signal to the charging chip 240 so that the charging chip 240 starts charging control. Therefore, when the driving module 130 receives the first driving signal, it outputs the second driving signal and stops outputting the third driving signal. The second driving signal can be understood as a node voltage signal of the node connecting the driving module 130 and the charging module 140, and the third driving module 130 can be understood as a voltage signal provided to the indicating element 220 when driving the indicating element 220. The driving module 130 stops outputting the third driving signal, that is, the indicating element 220 stops working.
[0053] The transmission interface 231 is configured with an input mode, that is, when the transmission interface 231 is in the input mode, the transmission interface 231 only inputs electrical signals to the external controller 230, and does not transmit electrical signals from the external controller 230. When the transmission interface 231 is in the input mode, it can be understood that no external intervention is required to control the multiplexing circuit 100. At this time, the charging module 140 outputs a charging enable signal to the charging chip 240 based on the second driving signal transmitted by the driving module 130, so that the charging chip 240 starts charging control work.
[0054] The multiplexing circuit 100 in this embodiment only needs to occupy one transmission interface 231 of the external controller 230, and can realize access detection of the power supply module 210, drive control and charging control of the indicating element 220, which can reduce the demand for the external transmission interface 231 and reduce costs.
[0055] In one embodiment, the transmission interface is also configured with an output mode; the charging module is also used to receive a first control signal from an external controller when the transmission interface is in the output mode, and stop outputting the charging enable signal under the action of the first control signal.
[0056] When the transmission interface is in output mode, it can be understood that the outside world intervenes in the control of the multiplexing circuit. In this embodiment, when the transmission interface is in output mode, the charging module can access the first control signal through the transmission interface of the external controller. At this time, the first control signal can cause the charging module to stop outputting the charging enable signal, thereby terminating the charging control of the charging chip and stopping charging.
[0057] In one embodiment, the charging module is also used to output a fourth drive signal to the driving module when the detection module does not receive a power signal and receives a second control signal from an external controller via the transmission interface in output mode; the fourth drive signal is used to control the driving module to output a third drive signal to drive the indicating element to work.
[0058] In this embodiment, when the detection module does not receive the power signal, it means that the multiplexing circuit is not connected to the power supply module at this time. Therefore, if you want to control the indicating element to work according to the preset control program, you can control the indicating element to start working through external intervention. At this time, the transmission interface is converted from input mode to output mode, and at the same time receives the second control signal from the external controller. Under the action of the second control signal, the charging module outputs a fourth driving signal to the driving module, thereby controlling the driving module to drive the indicating element, so that the indicating element starts working.
[0059] It can be understood that the second control signal in this embodiment can be an electrical signal with a different level state from the first control signal in the previous embodiment. The charging module can be in different working states under the action of electrical signals in different level states, and correspondingly output electrical signals in different level states, thereby controlling the driving module to have different driving effects on the indicating element.
[0060] In one embodiment, the charging module is also used to output a fifth drive signal to the driving module when the detection module does not receive a power signal and receives a first control signal from an external controller via the transmission interface in output mode; the fifth drive signal is used to control the driving module to stop outputting the third drive signal.
[0061] In this embodiment, the working state of the indicating element is controlled for a second time on the basis of the previous embodiment. That is, when it is necessary to control the indicating element to stop working on the basis of already controlling the indicating element to work, the transmission interface of the external controller can output a first control signal with a level state opposite to the second control signal to the charging module, so that the charging module outputs a fifth drive signal to the driving module, so that the driving module stops outputting the third drive signal, and then controls the indicating element to stop working. The fifth drive signal and the fourth drive signal can also correspond to electrical signals with opposite level states.
[0062] In one embodiment, the detection module is also used to stop outputting the first drive signal when the power signal is not received, so that the drive module stops outputting the second drive signal and the third drive signal; the charging module is also used to stop outputting the charging enable signal when the second drive signal is not received and the transmission interface is in input mode.
[0063] In this embodiment, when the detection module does not receive the power signal, the multiplexing circuit is not connected to the power supply module. Inevitably, the charging module should control the charging chip to stop working to avoid circuit damage. Therefore, contrary to when the detection module is connected to the power signal, when the detection module is not connected to the power signal, the detection module stops outputting the first drive signal, and correspondingly, the drive module stops outputting the second drive signal and the third drive signal, so that the charging module stops outputting the charging enable signal, ensuring that the charging chip stops working, and at the same time controls the indicating element to stop working to ensure circuit safety.
[0064] In one embodiment, see the attached Figure 2 , attached Figure 2 The schematic diagram of the structure of the detection module 120 in this embodiment is shown. The detection module 120 in this embodiment includes a first bias component 121 and a first switch component 122. The first bias component 121 is connected to the power interface 110; the first switch component 122: the controlled end and the first end of the first switch component 122 are connected to the first bias component 121, the first end of the first switch component 122 is also connected to the ground terminal GND, and the second end of the first switch component 122 is connected to the driving module 130. The first switch component 122 is used to conduct the connection between the driving module 130 and the ground terminal GND when the power signal is connected through the first bias component 121 and the power interface 110, so as to transmit the signal of the ground terminal GND to the driving module 130 as the first driving signal.
[0065] Among them, the first bias component 121 can be a bias network formed by multiple resistors. The first switch component 122 can be any controlled switch. Taking the first switch component 122 as an NPN transistor as an example, the NPN transistor is turned on when the base is connected to a high-level electrical signal, and is turned off when the base is connected to a low-level electrical signal. The first bias component 121 is connected between the base and the emitter of the NPN transistor. The resistance value of the first bias component 121 can be set to ensure that the NPN transistor can be turned on at a specific voltage, which not only optimizes the static operating point of the NPN transistor, but also helps to consume the base energy on the resistor when the power is off, ensuring that the transistor is reliably turned off.
[0066] In this embodiment, when the first bias voltage is connected to the power signal via the power interface 110, the first bias component 121 can divide the voltage of the power signal, so that the first switch component 122 is in an on state. At this time, the driving module 130 is connected to the ground signal of the ground terminal GND, that is, the first driving signal, so that the driving module 130 starts further driving work, thereby enhancing the coordination and correlation between the detection module 120 and the driving module 130.
[0067] In one embodiment, the first switch component is also used to disconnect the connection between the driver module and the ground terminal to stop outputting the first drive signal when the first bias component and the power interface are not connected to the power signal. In this embodiment, when the power interface is not connected to the power signal, the first switch component is in a disconnected state. At this time, the driver module is not connected to the ground signal of the ground terminal, that is, the detection module stops outputting the first drive signal, thereby achieving different actions in two different states, and detecting whether the power supply module is connected or not, so that the charging module can perform different actions when the multiplexing circuit is connected to the power supply module and when it is not connected to the power supply module.
[0068] In one embodiment, see the attached Figure 3 , attached Figure 3 The schematic diagram of the structure of the driving module 130 in the present embodiment is shown. The driving module 130 in the present embodiment includes a second biasing component 131, a second switch component 132, a first control switch 133 and a protection component 134. The second biasing component 131 is connected to the second end of the first switch component 122; the controlled end and the first end of the second switch component 132 are connected to the second biasing component 131, the first end of the second switch component 132 is used to access the power supply signal VDD and connect the positive terminal of the indicating element 220, and the second end of the second switch component 132 is connected to the charging module 140; the controlled end of the first control switch 133 is connected to the second end of the first switch component 122, the first end of the first control switch 133 is connected to the charging module 140, and the second end of the first control switch 133 is used to connect the negative terminal of the indicating element 220; the first end of the protection component 134 is used to access the power supply signal VDD, and the protection component 1 The second end of the protection component 134 is connected to the controlled end of the first control switch 133, and the third end of the protection component 134 is connected to the second end of the first control switch 133, and the protection component 134 is used to smooth the current transmitted to the first control switch 133; wherein, when the controlled end of the second switch component 132 and the controlled end of the first control switch 133 receive the first drive signal, the second switch component 132 turns on the connection between the charging module 140 and the first end of the second switch component 132 to transmit the power supply signal VDD as the second drive signal to the charging module 140, and the first control switch 133 disconnects the connection between the negative terminal of the indicating element 220 and the charging module 140 to stop outputting the third drive signal.
[0069] Similar to the first bias component 121, the second bias component 131 in this embodiment can also be a bias network formed by multiple resistors. The second switch component 132 can be any controlled switch. Taking the second switch component 132 as a PNP transistor as an example, the PNP transistor is disconnected when the base is connected to a high-level electrical signal, and is turned on when the base is connected to a low-level electrical signal. Connecting the second bias component 131 between the base and the emitter of the PNP transistor can stabilize the operating point of the PNP transistor and prevent self-oscillation. At the same time, it helps to accelerate the consumption of the base charge, so that the transistor switches from the on state to the off state faster, which helps to reduce the switching time and improve the switching speed and efficiency of the circuit.
[0070] The first control switch 133 may also be any controlled switch, such as a MOS transistor device. The protection component 134 is mainly used to generate a spike voltage when the first control switch 133 suddenly stops working, thereby causing damage to the first control switch 133. Exemplarily, the protection component 134 may be a diode or a combination circuit including a diode and a resistor element, but is not limited thereto.
[0071] In this embodiment, when the first switch component 122 is turned on, the controlled end of the second switch component 132 is directly connected to the ground terminal GND, so the second switch component 132 will also be turned on synchronously. Further, the controlled end of the first control switch 133 is also connected to the ground terminal GND. At this time, the first control switch 133 is disconnected, and the power supply signal VDD is transmitted to the charging module 140 via the second switch component 132, so that the charging module 140 receives a high-level second drive signal. At the same time, since the first control switch 133 is disconnected, the connection between the indicating element 220 and the ground terminal GND is disconnected, and the indicating element 220 will also stop working, so it is possible to control the operation of the charging module 140 and the driving module 130 through the first drive signal.
[0072] In one embodiment, see the attached Figure 4 , attached Figure 4 The schematic diagram of the structure of the protection component 134 in this embodiment is shown. The protection component 134 in this embodiment includes a diode D1 and a resistor R1. The positive electrode of the diode D1 is connected to the second end of the first control switch 133 and is used to connect the negative terminal of the indicating element 220. The negative electrode of the diode D1 is connected to the first end of the second switch component 132 and is used to connect the positive terminal of the indicating element 220. The two ends of the resistor R1 are respectively connected to the first end of the second switch component 132 and the controlled end of the first control switch 133. In this embodiment, the diode D1 is used as a freewheeling diode D1 of the indicating element 220. The diode D1 and the resistor R1 can smooth the spike voltage generated when the indicating element 220 suddenly stops working, thereby preventing the spike voltage from damaging the first control switch 133.
[0073] In one embodiment, see the attached Figure 5 , attached Figure 5 The schematic diagram of the structure of the charging module 140 in this embodiment is shown. The charging module 140 in this embodiment includes a voltage dividing component 141, a second control switch 142 and a resistance component 143. The first end of the voltage divider component 141 is connected to the second end of the first switch component 122, the second end of the voltage divider component 141 is used to connect to the ground terminal GND, and the third end of the voltage divider component 141 is used to connect to the transmission interface 231; the controlled end of the second control switch 142 is connected to the third end of the voltage divider component 141, the first end of the second control switch 142 is connected to the first end of the first control switch 133, and the second end of the second control switch 142 is connected to the fourth end of the voltage divider component 141; the first end of the resistor component 143 is used to access the power supply signal VDD, and the second end of the resistor component 143 is connected to the first end of the second control switch 142 and is used to connect to the charging chip 240; wherein, when the voltage divider component 141 is connected to the second drive signal and the transmission interface 231 is in the input mode, the second control switch 142 turns on the connection between the ground terminal GND and the second end of the resistor component 143, so that the signal of the ground terminal GND is transmitted to the charging chip 240 as a charging enable signal.
[0074] Among them, the voltage divider component 141 can be a circuit or element including at least two resistors, the first end of the voltage divider component 141 is connected to the second end of the first switch component 122, the second end of the voltage divider component 141 is used to connect the ground terminal GND, and the third end of the voltage divider component 141 is connected to the controlled end of the second control switch 142. When the first switch component 122 is turned on, the connected power supply signal VDD can be divided, thereby driving the second control switch 142 to be turned on, so that the charging chip 240 is connected to the ground signal of the ground terminal GND and starts charging control. In addition, the resistance component 143 can be a circuit or element of at least one resistor, which can divide the power supply signal VDD and transmit it to the charging chip 240, so as to avoid the charging chip 240 from being damaged by the large current of the power supply signal VDD and protect the circuit safety.
[0075] In one embodiment, when the voltage divider component receives a first control signal from an external controller via the transmission interface in output mode, the second control switch disconnects the ground terminal from the second end of the resistor component to stop outputting a charging enable signal.
[0076] In this embodiment, if it is necessary to control the charging to stop through external intervention, the second control switch can also disconnect the connection between the ground terminal and the second end of the resistor component under the action of the first control signal transmitted through the transmission interface in the output mode. At this time, the voltage at the second end of the resistor component is the voltage of the power supply signal divided by the resistor component. At this time, the electrical signal input by the power supply module to the charging chip is not a ground signal (that is, a charging enable signal). At this time, the charging chip stops the charging control work and charging stops.
[0077] In one embodiment, when the voltage divider component does not receive the second drive signal and receives the second control signal from the external controller via the transmission interface in the output mode, the first control switch turns on the connection between the indicating element and the second control switch, and the second control switch turns on the connection between the first control switch and the ground terminal, so that the signal at the ground terminal is transmitted to the indicating element as the third drive signal, thereby making the indicating element work.
[0078] In this embodiment, the voltage divider component does not receive the second drive signal, indicating that the multiplexing circuit is not connected to the power supply module at this time. If external intervention is required to control the operation of the indicating element, the external controller can convert the transmission interface from the input mode to the output module, thereby outputting the second control signal to the charging module. The second control switch will turn on the connection between the first control switch and the ground terminal under the action of the second control signal. Since the multiplexing circuit is not connected to the power supply module, the controlled end of the first control switch receives the power supply signal through the resistor in the protection component. At this time, the first control switch turns on the connection between the second control switch and the negative terminal of the indicating element, that is, the negative terminal of the indicating element is connected to the ground terminal at this time, and the positive terminal of the indicating element is connected to the power supply signal, so the indicating element can work normally.
[0079] In one embodiment, when the voltage divider component does not receive the second drive signal and receives the first control signal from the external controller via the transmission interface in the output mode, the first control switch disconnects the indicating element from the second control switch, and the second control switch disconnects the first control switch from the ground terminal to stop transmitting the third drive signal to the indicating element.
[0080] In this embodiment, when the voltage divider component does not receive the second drive signal and receives the first control signal from the external controller via the transmission interface in the output mode, secondary control of the working state of the indicating element can be achieved. At this time, the second control switch is disconnected under the action of the first control signal, and the second control switch is also in a disconnected state because the connection with the ground terminal is not established. At this time, the connection between the negative terminal of the indicating element and the ground terminal is disconnected, so the indicating element will not receive the third drive signal of a low level, and the indicating element stops working.
[0081] In one embodiment, see the attached Figure 6, attached Figure 6 The second structural schematic diagram of the multiplexing circuit in this embodiment is shown. The multiplexing circuit in this embodiment includes resistors R1~R8, NPN transistor Q1, PNP transistor Q2, diode D1, NMOS transistor Q3, NMOS transistor Q4 and a power interface. The two ends of the resistor R1 are respectively connected to the emitter of the PNP transistor Q3 and the gate of the NMOS transistor Q3, the first end of the resistor R2 is connected to the power interface, the other end of the resistor R2 is connected to the base of the NPN transistor Q1 and one end of the resistor R3, the other end of the resistor R3 is connected to the ground terminal, the two ends of the resistor R4 are respectively connected to the collector of the NPN transistor Q1 and the base of the PNP transistor Q2, and the resistor R5 is connected to the collector of the NPN transistor Q1 and the base of the PNP transistor Q2. Two ends of are respectively connected to the base of PNP transistor Q2 and the emitter of PNP transistor Q2, two ends of resistor R6 are respectively connected to the collector of PNP transistor Q2 and the gate of NMOS transistor Q4, two ends of resistor R7 are respectively connected to the source of NMOS transistor Q4 and the ground terminal, one end of resistor R8 is used to access the power supply signal, the other end of resistor R8 is respectively connected to the source of NMOS transistor Q3 and the drain of NMOS transistor Q4, the anode of diode D1 is connected to the drain of NMOS transistor Q3, the cathode of diode D1 is used to access the power supply signal, the emitter of NPN transistor Q1 is connected to the ground terminal, and the emitter of PNP transistor Q2 is also used to access the power supply signal.
[0082] Among them, the resistor R1 and the diode D1 are equivalent to the protection component in the above embodiment, the resistor R2 and the resistor R3 are equivalent to the first bias component in the above embodiment, the NPN transistor Q1 is equivalent to the first switch component in the above embodiment, the resistor R4 and the resistor R5 are equivalent to the second bias component in the above embodiment, the PNP transistor Q2 is equivalent to the second switch component in the above embodiment, the resistor R6 and the resistor R7 are equivalent to the voltage divider component in the above embodiment, the NMOS tube Q3 is equivalent to the first control switch in the above embodiment, the NMOS tube Q4 is equivalent to the second control switch in the above embodiment, the resistor R9 is equivalent to the resistor element in the above embodiment, and the motor M is equivalent to the indicating element in the above embodiment. The functions and connection relationships of the components in this embodiment are the same as those of the corresponding components in any of the above embodiments, and are not repeated here.
[0083] In one embodiment, the present application also provides an HNB device. The HNB device in this embodiment includes an external controller, a power supply module, a motor and a charging chip and a multiplexing circuit as in any of the above embodiments. The external controller includes a transmission interface, the transmission interface is configured with an input mode and an output mode, the external controller is connected to the multiplexing circuit via a transmission interface, the power supply module is used to output a power signal to the multiplexing circuit when connected to the multiplexing circuit; the motor and the charging chip are both connected to the multiplexing circuit.
[0084] In one embodiment, the external controller includes a single chip microcomputer, and the transmission interface includes an I / O port.
[0085] The technical features of the above-described embodiments may be arbitrarily combined. To make the description concise, not all possible combinations of the technical features in the above-described embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0086] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be construed as limiting the scope of the application. It should be noted that, for a person of ordinary skill in the art, several variations and improvements may be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the patent of the present application shall be subject to the attached claims.
Claims
1. A multiplexing circuit, characterized in that: The multiplexing circuit is configured with a power interface for connecting to a power supply module; the multiplexing circuit includes a detection module, a driving module and a charging module; the detection module is connected to the power interface and the driving module respectively, and is connected to the charging module via the driving module; the driving module is used to connect to an external indicating element and is connected to the charging module; the charging module is used to connect to a transmission interface of an external controller and is connected to an external charging chip; the transmission interface is configured with an input mode; The detection module is used to output a first driving signal when receiving a power signal from the power supply module via the power interface; The driving module is used to output a second driving signal and stop outputting a third driving signal when receiving the first driving signal; the third driving signal is used to control the operation of the indicating element; The charging module is used for outputting a charging enable signal to the charging chip when the second driving signal is received and the transmission interface is in an input mode.
2. The multiplexing circuit according to claim 1, characterized in that: The transmission interface is also configured with an output mode; The charging module is further configured to receive a first control signal from the external controller when the transmission interface is in an output mode, and stop outputting the charging enable signal under the action of the first control signal.
3. The multiplexing circuit according to claim 1, characterized in that: The charging module is further configured to output a fourth driving signal to the driving module when the detection module does not receive the power signal and receives a second control signal from the external controller via the transmission interface in the output mode; The fourth driving signal is used to control the driving module to output the third driving signal to drive the indicating element to work.
4. The multiplexing circuit according to claim 3, characterized in that: The charging module is further configured to output a fifth driving signal to the driving module when the detection module does not receive the power signal and receives a first control signal from the external controller via the transmission interface in the output mode; The fifth driving signal is used to control the driving module to stop outputting the third driving signal.
5. The multiplexing circuit according to claim 1, characterized in that: The detection module is further configured to stop outputting the first drive signal when the power signal is not received, so that the drive module stops outputting the second drive signal and the third drive signal; The charging module is further configured to stop outputting the charging enable signal when the second driving signal is not received and the transmission interface is in an input mode.
6. The multiplexing circuit according to any one of claims 1 to 5, characterized in that: The detection module comprises: A first bias component connected to the power interface; A first switch component, wherein the controlled end and the first end of the first switch component are connected to the first bias component, the first end of the first switch component is also connected to the ground end, the second end of the first switch component is connected to the driving module, and the first switch component is used to conduct the connection between the driving module and the ground end when the power signal is connected through the first bias component and the power interface, so as to transmit the signal at the ground end as the first driving signal to the driving module.
7. The multiplexing circuit according to claim 6, characterized in that: The first switch component is also used to disconnect the connection between the driving module and the ground terminal without the first bias component and the power interface receiving the power signal, so as to stop outputting the first driving signal.
8. The multiplexing circuit according to claim 6, characterized in that: The driving module comprises: a second bias component connected to the second end of the first switch component; a second switch component, wherein a controlled end and a first end of the second switch component are connected to the second bias component, the first end of the second switch component is used to access a power supply signal and is connected to a positive terminal of the indicating element, and the second end of the second switch component is connected to the charging module; a first control switch, wherein a controlled end of the first control switch is connected to a second end of the first switch assembly, a first end of the first control switch is connected to the charging module, and a second end of the first control switch is used to connect to a negative terminal of the indicating element; a protection component, wherein a first end of the protection component is used to access the power supply signal, a second end of the protection component is connected to a controlled end of the first control switch, a third end of the protection component is connected to the second end of the first control switch, and the protection component is used to smoothly transmit a current to the first control switch; Wherein, when the controlled end of the second switch component and the controlled end of the first control switch receive the first drive signal, the second switch component turns on the connection between the charging module and the first end of the second switch component to transmit the power supply signal to the charging module as the second drive signal, and the first control switch disconnects the connection between the negative terminal of the indicating element and the charging module to stop outputting the third drive signal.
9. The multiplexing circuit according to claim 8, characterized in that: The protection component includes a diode and a resistor, the positive electrode of the diode is connected to the second end of the first control switch and is used to connect to the negative terminal of the indicating element, the negative electrode of the diode is connected to the first end of the second switch component and is used to connect to the positive terminal of the indicating element, and the two ends of the resistor are respectively connected to the first end of the second switch component and the controlled end of the first control switch.
10. The multiplexing circuit according to claim 8, characterized in that: The charging module comprises: A voltage dividing component, wherein a first end of the voltage dividing component is connected to a second end of the first switch component, a second end of the voltage dividing component is used to connect to a ground terminal, and a third end of the voltage dividing component is used to connect to the transmission interface; a second control switch, wherein a controlled end of the second control switch is connected to a third end of the voltage divider component, a first end of the second control switch is connected to a first end of the first control switch, and a second end of the second control switch is connected to a fourth end of the voltage divider component; a resistor component, wherein a first end of the resistor component is used to receive the power supply signal, and a second end of the resistor component is connected to the first end of the second control switch and is used to connect to the charging chip; Among them, when the voltage divider component is connected to the second drive signal and the transmission interface is in input mode, the second control switch turns on the connection between the ground terminal and the second end of the resistor component, so that the signal at the ground terminal is transmitted to the charging chip as the charging enable signal.
11. The multiplexing circuit according to claim 10, characterized in that: When the voltage divider component receives a first control signal from the external controller via the transmission interface in output mode, the second control switch disconnects the ground terminal from the second end of the resistor component to stop outputting the charging enable signal.
12. The multiplexing circuit according to claim 10, characterized in that: When the voltage divider component does not receive the second drive signal and receives the second control signal from the external controller via the transmission interface in output mode, the first control switch turns on the connection between the indicating element and the second control switch, and the second control switch turns on the connection between the first control switch and the ground terminal, so that the signal at the ground terminal is transmitted to the indicating element as the third drive signal, thereby causing the indicating element to operate.
13. The multiplexing circuit according to claim 12, characterized in that: When the voltage divider component does not receive the second drive signal and receives the first control signal from the external controller via the transmission interface in output mode, the first control switch disconnects the indicating element from the second control switch, and the second control switch disconnects the first control switch from the ground terminal to stop transmitting the third drive signal to the indicating element.
14. A HNB device, characterized in that: It includes an external controller, a power supply module, a motor and a charging chip and a multiplexing circuit as described in any one of claims 1 to 13, the external controller includes a transmission interface, the transmission interface is configured with an input mode and an output mode, the external controller is connected to the multiplexing circuit via the transmission interface, the power supply module is used to output a power signal to the multiplexing circuit when connected to the multiplexing circuit; the motor and the charging chip are both connected to the multiplexing circuit.
15. The HNB device according to claim 14, characterized in that: The external controller includes a single chip microcomputer, and the transmission interface includes an I / O port.