Load sensing module, load sensing method and charging device
Through the design of probe and switching circuit combined with capacitor and sensor, the problem of manual working mode and complex structure of the mobile power supply is solved, accurate sensing of load connection status and type and automatic charging mode switching is achieved, and the mobile power supply is improved portability and efficiency.
Patent Information
- Application Number
- CN202010045756.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-01-15
- Publication Date
- 2024-11-01
- Estimated Expiration
- 2040-01-15
AI Technical Summary
Existing mobile power supplies require users to manually decide on the working mode, the structure is complex and costly, making it difficult to accurately sense the connection status and type of external power supplies and mobile devices, resulting in poor charging conditions.
A probe and a series switching circuit are used, combined with a capacitor and a sensor, and the turn-on and off are controlled by a clock signal, and the voltage change of the capacitor is sensed to determine the load connection status and type, so as to realize automatic switching of the charging mode.
It realizes accurate sensing of the load connection status and type under a simple structure, automatically switches the charging mode, and improves the portability and efficiency of the mobile power supply.
Smart Images

Figure CN111142046B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to a load sensing module and a load sensing method capable of accurately sensing a connection state and a load type of a load using only one probe, and a charging device equipped with the load sensing module. Background Art
[0002] Mobile communication devices like portable smartphones, as well as wearable devices like smartwatches, smart glasses, and smart headphones, are now ubiquitous in our daily lives. These mobile electronic devices have brought numerous conveniences to our daily lives, and people are increasingly relying on them. In particular, smartphones have transcended mere communication tools. As platforms, powered by a variety of applications, they have become life managers and caregivers. From daily mobile payments, commuting, and bill payments to socializing and entertainment, it's no exaggeration to say that they've become inseparable and inseparable.
[0003] However, as these mobile electronic devices continue to permeate our lives, an inevitable contradiction arises. On the one hand, they provide convenience, but on the other, they disrupt and disrupt daily life when they stop working. In other words, when these devices "stop working," the very things that normally make life so convenient can become the very culprits that cause significant inconvenience.
[0004] Therefore, in order to ensure the normal operation of these mobile electronic devices while taking into account portability, mobile power supplies came into being. Mobile power supplies can store sufficient electrical energy in advance so that they can charge the mobile electronic devices when necessary to enable them to operate normally.
[0005] Depending on whether an external power source (e.g., a 220V household power source) and a mobile electronic device (e.g., a smart phone) are connected, the power bank can operate in three main modes: (1) when only an external power source is connected, the power bank is charged by the external power source; (2) when only a mobile electronic device is connected, the power bank charges the mobile electronic device; (3) when both an external power source and a mobile electronic device are connected, the external power source (via a bypass module) is used to directly charge the mobile electronic device, or the power bank and the mobile electronic device are charged simultaneously. In addition, depending on the type of mobile electronic device connected, the charging conditions (e.g., charging voltage, charging current, etc.) may also vary.
[0006] However, most of the power banks currently on the market require users to manually select their operating mode, which is inconvenient to use. Even some products that can automatically select their operating mode have relatively complex structures, resulting in increased costs.
[0007] Therefore, there is an urgent need for a mobile power supply that can accurately sense the connection status and device type of an external power source and a mobile electronic device with a simple structure, thereby switching the working mode and charging conditions.
[0008] Prior art literature
[0009] Patent Literature
[0010] Patent Document 1: CN 207069632 U
[0011] Patent Document 2: CN 106450534 A Summary of the Invention
[0012] Problems to be solved by the invention
[0013] The present invention is proposed to solve the above-mentioned problems existing in the prior art, and its purpose is to provide a load sensing module and a load sensing method that can accurately sense the connection status and load type of a load using only one probe.
[0014] Another object of the present invention is to provide a charging device equipped with the above-mentioned load sensing module, which can accurately sense the connection status and load type of the load with a simple structure and switch the charging mode and charging conditions accordingly.
[0015] Technical solutions to problems
[0016] In order to achieve the above-mentioned object, the load sensing module according to the present invention is characterized in that it has:
[0017] Probe, used to sense whether a load is connected;
[0018] a series circuit of a first switch and a second switch, wherein one end of the series circuit is connected to a reference voltage and the other end is grounded, a connection point between the first switch and the second switch is connected to the probe, and the first switch and the second switch are turned on and off according to a clock signal;
[0019] a capacitor, one end of which is connected to the probe and the other end of which is grounded, and is charged to a reference voltage when the load sensing module is in operation, and is subsequently charged or discharged by turning on or off the first switch and the second switch;
[0020] a rising edge sensor connected to the one end of the capacitor, configured to sense the voltage of the capacitor after the capacitor is charged to the reference voltage and continues to be charged for a given first time, and compare the voltage with a first reference voltage as a first comparison result;
[0021] a falling edge sensor connected to the one end of the capacitor, sensing the voltage of the capacitor after the capacitor is discharged for a given second time, and comparing the voltage with a second reference voltage as a second comparison result; and
[0022] The determination module is connected to the rising edge sensor and the falling edge sensor, and determines whether a load is connected according to the first comparison result and the second comparison result.
[0023] The load sensing method according to the present invention is used to sense whether a load is connected, and is characterized by comprising:
[0024] Step (a): Charge the capacitor of the load sensing module to a reference voltage.
[0025] Step (b): After the capacitor continues to be charged for a given first time, sensing the voltage of the capacitor and comparing it with a first reference voltage as a first comparison result,
[0026] Step (c): discharging the capacitor,
[0027] Step (d): After the capacitor is discharged for a given second time, sensing the voltage of the capacitor and comparing it with a second reference voltage as a second comparison result,
[0028] Step (e): Determine whether a load is connected based on the first comparison result and the second comparison result.
[0029] The charging device according to the present invention is characterized by comprising:
[0030] Battery;
[0031] a control module comprising the load sensing module according to claims 1 to 7, and determining an operating mode of the charging device according to a sensing result of the load sensing module;
[0032] A power connection port, used to connect to an external power source to charge the charging device; and
[0033] The load connection port is used to connect the load and charge the load.
[0034] Effects of the Invention
[0035] According to the present invention, a load sensing module and a load sensing method can be provided that can accurately sense the connection state and load type of a load using only one probe.
[0036] According to the present invention, a charging device including the load sensing module can be provided, which can accurately sense the connection status and type of the load with a simple structure and switch the charging mode and charging conditions accordingly. BRIEF DESCRIPTION OF THE DRAWINGS
[0037] Figure 1 This is a schematic diagram illustrating the basic structure and operating mode of a charging device.
[0038] Figure 2 It is an explanation Figure 1 The diagram shows the basic structure and working principle of the first embodiment of the load sensing module provided in the charging device.
[0039] Figure 3 It is an explanation Figure 1 The diagram shows the basic structure and working principle of the second embodiment of the load sensing module provided in the charging device.
[0040] Figure 4 It is an explanation Figure 1 The diagram shows the basic structure and working principle of the third embodiment of the load sensing module provided in the charging device.
[0041] Figure 5 It is an explanation Figure 1 The diagram shows the basic structure and working principle of a fourth embodiment of a load sensing module provided in a charging device.
[0042] Figure 6 It is a basic flow chart of the load sensing method of the present invention.
[0043] Figure 7 This is a flow chart of Example 1 of the load sensing method of the present invention.
[0044] Figure 8 FIG. 4 is a timing diagram of various signals used in the load sensing method of the present invention.
[0045] Figure 9 This is a flow chart of Example 2 of the load sensing method of the present invention.
[0046] Figure 10 This is a flowchart of a modified example of the second embodiment of the load sensing method of the present invention.
[0047] Figure 11 This is a flow chart of Example 3 of the load sensing method of the present invention.
[0048] Figure 12This is a flow chart of Example 4 of the load sensing method of the present invention.
[0049] Description of Reference Numerals
[0050] 1: Charging device, 2: External power supply, 3: Load, 10: Control module, 20: Battery, 100: Load sensing module, 200: Charging module, 300: Discharging module, 400: Bypass module, 110: Rising edge sensor, 120: Falling edge sensor, 130: Determination module, 131: First counter, 132: Second counter COUT: Capacitor, SW1: First switch, SW2: Second switch, P1: Power connection port, P2: Load connection port, VOUT: Capacitor voltage, VREF: Reference voltage, CLK: Clock signal, VODET_OUT1: First comparison result, VODET_OUT2: Second comparison result, I SINK : Internal discharge current of the capacitor. DETAILED DESCRIPTION
[0051] Hereinafter, embodiments of the present invention will be described in detail using the embodiments and accompanying drawings. In each figure, the same reference numerals are used for the same components, and repeated descriptions are omitted. In addition, the embodiments described below are general or specific examples, which are used to make the present invention easier to understand, and are not used to limit the interpretation of the present invention.
[0052] In the following description, terms such as "first" and "second" are used solely to distinguish one component, parameter, or value from other components, parameters, or values, and the present invention is not limited by these terms. Furthermore, in the following description, the term "connected" includes not only direct connection but also indirect connection via other elements, and further includes connections using indirect contact methods such as electromagnetic coupling.
[0053] <Charging device>
[0054] Figure 1 1 is a schematic diagram illustrating the basic structure and working mode of the charging device 1. Here, as an example of the charging device 1, it can be a portable charging device such as a mobile power supply, or a fixed charging device.
[0055] like Figure 1As shown, the charging device 1 includes a control module 10 and a battery 20. The charging device 1 also has a power connection port P1 for connecting to an external power source 2 and a load connection port P2 for connecting to a load 3. Here, the external power source 2 can be, for example, a 220V household power source connected via a voltage adapter or directly. The load 3 can be various mobile electronic devices such as smartphones, smartwatches, and smart headphones. Furthermore, the load 3 is not limited to mobile electronic devices and can also be stationary electronic devices or other devices that require charging.
[0056] The control module 10 includes a charging module 200, a discharging module 300, and a bypass module 400. The charging device 1 is controlled to operate in different operating modes according to whether the external power source 2 and the load 3 are connected.
[0057] When only the external power source 2 is connected, the charging device 1 charges the charging device 1 (more specifically, the battery 20 ) using the external power source 2 via the charging module 200 . This operation mode is hereinafter referred to as a charging mode.
[0058] When only the load 3 is connected, the charging device 1 charges the load 3 using the electric energy stored in the battery 20 through the discharge module 300. Hereinafter, this operation mode is referred to as the discharge mode.
[0059] When both the external power source 2 and the load 3 are connected, the charging device 1 directly charges the load 3 using the external power source 3 through the bypass module 400 , or simultaneously charges the charging device 1 and the load 3 . Hereinafter, the former is referred to as the bypass mode, and the latter is referred to as the duplex mode.
[0060] Furthermore, when different types of loads 3 are connected, the requirements for charging conditions such as charging voltage and charging current also vary.
[0061] Therefore, in order to accurately sense the connection status of the load 3, that is, whether the load 3 is connected, and accurately sense what type of load 3 is connected, that is, the type of the load 3, so that the charging device 1 operates in an appropriate operating mode and under optimal charging conditions, the charging device 1 of the present invention further includes a load sensing module 100. The load sensing module 100 can sense whether the load 3 is connected and the type of the load 3 using only one probe.
[0062] <Load Sensing Module>
[0063] Example 1
[0064] Figure 2 It is an explanation Figure 1 The diagram shows the basic structure and working principle of the load sensing module 100 of the charging device 1 according to the first embodiment.
[0065] like Figure 2 As shown, load sensing module 100 includes a probe for sensing whether a load 3 is connected. Load sensing module 100 also includes a first switch SW1 and a second switch SW2 connected in series. One end of the series circuit of the first switch SW1 and the second switch SW2 is connected to a reference voltage VREF, and the other end is grounded. The connection point between the first switch SW1 and the second switch SW2 is connected to the probe. The first switch SW1 and the second switch SW2 are supplied with a clock signal CLK and are turned on and off according to the clock signal CLK. As an example, when the clock signal CLK is at a high level, the first switch SW1 is turned on and the second switch SW2 is turned off. When the clock signal CLK is at a low level, the first switch SW1 is turned off and the second switch SW2 is turned on. Alternatively, the reverse can be true. That is, when the clock signal CLK is at a low level, the first switch SW1 is turned on and the second switch SW2 is turned off. When the clock signal CLK is at a high level, the first switch SW1 is turned off and the second switch SW2 is turned on.
[0066] The load sensing module 100 further includes a capacitor COUT, one end of which is connected to the probe and the other end is grounded. When the load sensing module 100 starts working, the capacitor COUT is pre-charged to the reference voltage VREF, and then charged or discharged according to the on / off of the first switch SW1 and the second switch SW2. Specifically, when the first switch SW1 is turned on and the second switch SW2 is turned off, the capacitor COUT is charged by the reference voltage VREF, and the voltage at both ends gradually increases until it reaches the reference voltage VREF and is maintained at the reference voltage VREF. When the first switch SW1 is turned off and the second switch SW2 is turned on, the charged capacitor COUT is discharged through the second switch SW2 with a discharge current I SINK The discharge path inside the load sensing module 100 is discharged, so that the voltage across the two ends gradually decreases. Since one end of the capacitor COUT is connected to the probe, the voltage VOUT across the two ends of the capacitor COUT is the voltage applied to the probe.
[0067] The load sensing module 100 further includes a rising edge sensor 110, a falling edge sensor 120, and a determination module 130. The rising edge sensor 110 is connected to one end of the capacitor COUT. When the capacitor COUT is charged to the reference voltage VREF and continues to be charged for a given first time T PULSEAfterwards, the rising edge sensor 110 senses the voltage VOUT of the capacitor COUT and compares it with the first reference voltage RD_VREF to obtain a first comparison result VODET_OUT1. Here, the first reference voltage RD_VREF is less than the reference voltage VREF. Then, the capacitor COUT begins to discharge. The falling edge sensor 120 is connected to one end of the capacitor COUT. When the capacitor COUT discharges for a given second time T EVAL Then, the falling edge sensor 120 senses the voltage VOUT of the capacitor COUT and compares it with the second reference voltage FD_VREF to obtain a second comparison result VODET_OUT2. The determination module 130 is connected to the rising edge sensor 110 and the falling edge sensor 120, and determines whether a load is connected based on the first comparison result VODET_OUT1 and the second comparison result VODET_OUT2.
[0068] If the capacitor COUT continues to be charged for a given time T PULSE Afterwards, the voltage VOUT of the capacitor COUT sensed by the rising edge sensor 110 is greater than the first reference voltage RD_VREF, and the capacitor COUT is discharged for a given time T EVAL Afterwards, if the voltage VOUT of the capacitor COUT sensed by the falling edge sensor 120 is lower than the second reference voltage FD_VREF, the determination module 130 may determine that a load is connected.
[0069] Given time T PULSE Equivalent to the "first time" of the present invention, the given time T EVAL This is equivalent to the "second time" of the present invention.
[0070] Capacitor COUT can be charged and discharged repeatedly. If the voltage VOUT of capacitor COUT sensed by rising edge sensor 110 is greater than first reference voltage RD_VREF N times in a row, and the voltage VOUT of capacitor COUT sensed by falling edge sensor 120 is less than second reference voltage FD_VREF N times in a row, determination module 130 determines that a load is connected. Here, N is a given natural number greater than 2.
[0071] On the other hand, after the capacitor COUT discharges for a given time T EVAL Thereafter, if the voltage VOUT of the capacitor COUT sensed by the falling edge sensor 120 is greater than the second reference voltage FD_VREF, the determination module 130 may determine that the load is not connected.
[0072] Furthermore, the capacitor COUT can be repeatedly charged and discharged multiple times. If the voltage VOUT of the capacitor COUT sensed by the falling edge sensor 120 is greater than the second reference voltage FD_VREF for N consecutive times, the determination module 130 determines that the load is not connected. Here, N is a given natural number greater than 2.
[0073] By repeatedly charging and discharging the capacitor COUT multiple times and comparing the voltage VOUT of the capacitor COUT sensed by the rising edge sensor 110 and the falling edge sensor 120 with the first reference voltage RD_VREF and the second reference voltage FD_VREF N times (N is a given natural number greater than 2), the sensing accuracy of the load sensing module 100 can be improved.
[0074] The following briefly describes the working principle of the load sensing module 100 of the present invention, which can accurately sense whether a load is connected and the type of load.
[0075] When the capacitor COUT starts to discharge, the voltage VOUT of the capacitor COUT starts to drop. EVAL Then, the drop amount ΔVOUT of the voltage VOUT of the capacitor COUT can be expressed by the following formula (1).
[0076]
[0077] Where I is the discharge current of capacitor COUT, which is equal to Figure 2 The internal discharge current I shown in FIG1 is discharged to the internal discharge path of the load sensing module 100. SINK , C is the capacitance value of capacitor COUT.
[0078] When a load is connected, the capacitor COUT not only discharges to the internal discharge path of the load sensing module 100, but also discharges to the load. At this time, the discharge current I becomes the internal discharge current I SINK and the discharge current I R The sum becomes greater than the discharge current I when no load is connected SINK Therefore, when a load is connected, the time T is the same as when no load is connected. EVAL After that, the drop amount ΔVOUT of the voltage VOUT of the capacitor COUT will be larger. Therefore, by setting an appropriate second reference value FD_VREF, the capacitor COUT is discharged after a given time T when no load is connected. EVAL After that, its voltage is greater than the second reference value FD_VREF, and the capacitor COUT is discharged after a given time T when a load is connected. EVALThereafter, the voltage thereof is lower than the second reference value FD_VREF, so that whether a load is connected can be determined based on the magnitude relationship between the voltage VOUT of the capacitor COUT sensed by the falling edge sensor 120 and the second reference value FD_VREF.
[0079] In addition, when the connected load is different, the discharge current I R will be different, and the total discharge current I in the above formula (1) will also be different. Therefore, after the time T EVAL After the discharge of the capacitor COUT, the drop amount VOUT of the voltage VOUT of the capacitor COUT will also be different. Accordingly, by setting different first reference voltages RD_VREF and second reference voltages FD_VREF, the specific type of the connected load can be determined.
[0080] For example, appropriate first reference voltage RD_VREF and second reference voltage FD_VREF corresponding to different loads can be measured in advance and made into a reference table. The voltage VOUT of the capacitor COUT sensed by the rising edge sensor 110 and the falling edge sensor 120 can be compared with each different first reference voltage RD_VREF and second reference voltage FD_VREF, respectively, so as to determine the type of the connected load. As a result, the optimal charging mode can be switched to charge the load under the optimal charging conditions.
[0081] As a specific example, in Embodiment 1, when the voltage VOUT of the capacitor COUT sensed by the rising edge sensor 110 is greater than the first reference voltage RD_VREF, a high level is output to the determination module 130 as the first comparison result VODET_OUT1. When the voltage VOUT of the capacitor COUT sensed by the rising edge sensor 110 is less than the first reference voltage RD_VREF, a low level is output to the determination module 130 as the first comparison result VODET_OUT1. When the voltage VOUT of the capacitor COUT sensed by the falling edge sensor 120 is less than the second reference voltage FD_VREF, a high level is output to the determination module 130 as the second comparison result VODET_OUT2. When the voltage VOUT of the capacitor COUT sensed by the falling edge sensor 120 is greater than the second reference voltage FD_VREF, a low level is output to the determination module 130 as the second comparison result VODET_OUT2. If both the first and second comparison results are high, the determination module 130 determines that the load 3 is connected. If the first comparison result and the second comparison result are not all high levels, the determination module 130 determines that the load is not connected.
[0082] In the first embodiment, the relationship between the levels of the first comparison result VODET_OUT1 and the second comparison result VODET_OUT2 and the voltage VOUT of the capacitor COUT is shown in Table 1. The same applies to the following second to fourth embodiments.
[0083] [Table 1]
[0084]
[0085] Example 2
[0086] Figure 3 It is an explanation Figure 1 The diagram shows the basic structure and working principle of the second embodiment of the load sensing module 100 of the charging device 1 .
[0087] In order to improve the accuracy of the determination result of the determination module 130, as Figure 3 As shown, the determination module 130 may further include a first counter 131. If the first comparison result VODET_OUT1 and the second comparison result VODET_OUT2 are both high levels, the determination module 130 does not directly determine that the load 3 is connected, but instead increases the first count value of the first counter 131 by 1. Then, the determination module 100 determines whether the first count value is equal to the first reference count value C1_REF. If the first count value is equal to the first reference count value C1_REF, the determination module 130 determines that the load is connected. If the first count value is not equal to the first reference count value C1_REF, the charging and discharging of the capacitor COUT are repeated, and the rising edge sensor 110 and the falling edge sensor 120 respectively re-sense the charged state for a given time T. PULSE After the capacitor COUT reaches voltage VOUT and discharges for a given time T EVAL The voltage VOUT of the capacitor COUT is then calculated, and the first comparison result VODET_OUT1 and the second comparison result VODET_OUT2 are re-output for determination by the determination module 130 .
[0088] If the first comparison result VODET_OUT1 and the second comparison result VODET_OUT2 are not both high levels, the determination module 130 determines that the load is not connected.
[0089] Modification of Example 2
[0090] As a variation of embodiment 2, if the first comparison result VODET_OUT1 and the second comparison result VODET_OUT2 are not all high levels, the determination module 130 does not directly determine that the load is not connected, but resets the first count value (for example, it can be reset to 0) and repeats the charging and discharging of the capacitor COUT. The rising edge sensor 110 and the falling edge sensor 120 respectively re-sense the charged state for a given time T. PULSE After the capacitor COUT reaches voltage VOUT and discharges for a given time T EVAL The voltage VOUT of the capacitor COUT is then calculated, and the first comparison result VODET_OUT1 and the second comparison result VODET_OUT2 are re-output for determination by the determination module 130 .
[0091] Example 3
[0092] Figure 4 It is an explanation Figure 1 The diagram shows the basic structure and working principle of the third embodiment of the load sensing module 100 included in the charging device 1 .
[0093] Compared with the second embodiment, in order to further improve the accuracy of the determination result of the determination module 130 , the determination module 130 further includes a second counter 132 .
[0094] If the first comparison result VODET_OUT1 and the second comparison result VODET_OUT2 are not both high levels, the determination module 130 does not directly determine that the load is not connected or reset the first count value (for example, reset to 0), but instead increases the second count value of the second counter 132 by 1. Then, the determination module 130 determines whether the second count value is equal to the second reference count value C2_REF. If the second count value is equal to the second reference count value C2_REF, the determination module 130 determines that the load is not connected. If the second count value is not equal to the second reference count value C2_REF, the determination module 130 resets the first count value (for example, reset to 0) and repeats the charging and discharging of the capacitor COUT. The rising edge sensor 110 and the falling edge sensor 120 respectively re-sense the charged capacitor for a given time T. PULSE After the capacitor COUT reaches voltage VOUT and discharges for a given time T EVAL The voltage VOUT of the capacitor COUT is then calculated, and the first comparison result VODET_OUT1 and the second comparison result VODET_OUT2 are re-output for determination by the determination module 130 .
[0095] Example 4
[0096] Figure 5 It is an explanation Figure 1The diagram shows the basic structure and working principle of the fourth embodiment of the load sensing module 100 of the charging device 1 .
[0097] like Figure 5 As shown, the load sensing module 100 may also only include the second counter 132. In this case, if the first comparison result VODET_OUT1 and the second comparison result VODET_OUT2 are both high levels, the determination module 130 directly determines that a load is connected.
[0098] If the first comparison result VODET_OUT1 and the second comparison result VODET_OUT2 are not both high, the determination module 130 increases the second count value of the second counter 132 by 1. Then, it is determined whether the second count value is equal to the second reference count value C2_REF. If the second count value is equal to the second reference count value C2_REF, the determination module 130 determines that the load is not connected. If the second count value is not equal to the second reference count value C2_REF, the charging and discharging of the capacitor COUT are repeated, and the rising edge sensor 110 and the falling edge sensor 120 respectively re-sense the charged capacitor for a given time T. PULSE After the capacitor COUT reaches voltage VOUT and discharges for a given time T EVAL The voltage VOUT of the capacitor COUT is then calculated, and the first comparison result VODET_OUT1 and the second comparison result VODET_OUT2 are re-output for determination by the determination module 130 .
[0099] In addition, although the relationship between the levels of the first comparison result VODET_OUT1 and the second comparison result VODET_OUT2 and the voltage VOUT of the capacitor COUT is shown in Table 1 in Examples 1 to 4, the present invention is not limited thereto and other combinations are also possible.
[0100] For example, the relationship between the levels of the first comparison result VODET_OUT1 and the second comparison result VODET_OUT2 and the voltage VOUT of the capacitor COUT may also be as shown in Table 2.
[0101] [Table 2]
[0102]
[0103] In the case of Table 2, when the voltage VOUT of the capacitor COUT sensed by the rising edge sensor 110 is greater than the first reference voltage RD_VREF, a low level is output to the determination module 130 as the first comparison result VODET_OUT1. When the voltage VOUT of the capacitor COUT sensed by the rising edge sensor 110 is less than the first reference voltage RD_VREF, a high level is output to the determination module 130 as the first comparison result VODET_OUT1. When the voltage VOUT of the capacitor COUT sensed by the falling edge sensor 120 is less than the second reference voltage FD_VREF, a low level is output to the determination module 130 as the second comparison result VODET_OUT2. When the voltage VOUT of the capacitor COUT sensed by the falling edge sensor 120 is greater than the second reference voltage FD_VREF, a high level is output to the determination module 130 as the second comparison result VODET_OUT2.
[0104] At this time, in the first to fourth embodiments of the load sensing module 100, to achieve the same effect, "high level" and "low level" can be interchanged. In other words, "high level" can be read as "low level" and "low level" can be read as "high level".
[0105] <Load Sensing Method>
[0106] Below, refer to Figure 6 The basic process of the load sensing method of the present invention is described.
[0107] In the following description, the relationship between the voltage levels of the first comparison result VODET_OUT1 and the second comparison result VODET_OUT2 and the voltage VOUT of the capacitor COUT is as shown in Table 1. However, the present invention is not limited to this relationship and other relationships may also be satisfied. For example, the relationship between the voltage levels of the first comparison result VODET_OUT1 and the second comparison result VODET_OUT2 and the voltage VOUT of the capacitor COUT may also be as shown in Table 2. In this case, in the following description, "high level" can be read as "low level" and "low level" can be read as "high level".
[0108] In the load sensing method of the present invention, first, the voltage VOUT of the capacitor COUT of the load sensing module 100 is charged to the reference voltage VREF (step S1). After the voltage VOUT of the capacitor COUT is charged to the reference voltage VREF, this state is maintained for a given time T. PRECHG (Step S2), the voltage VOUT of the capacitor COUT is stabilized at the reference voltage VREF. Here, step S1 is equivalent to "step (a)" of the present invention, and step S2 is equivalent to "step (f)" of the present invention. The given time T PRECHGThis is equivalent to the "third time" of the present invention.
[0109] Then, the capacitor COUT is continuously charged (step S3). PULSE Then (step S4), the voltage VOUT of the capacitor COUT is sensed and compared with the first reference voltage RD_VREF to obtain a first comparison result VODET_OUT1 (step S5). Here, steps S3 to S5 correspond to "step (b)" of the present invention.
[0110] Next, the capacitor COUT is discharged (step S6). The capacitor is discharged for a given time T. EVAL Next (step S7), the voltage VOUT of capacitor COUT is sensed and compared with the second reference voltage FD_VREF to obtain a second comparison result VODET_OUT2 (step S8). Here, step S6 corresponds to "step (c)" of the present invention, and steps S7 to S8 correspond to "step (d)" of the present invention.
[0111] Next, based on the first comparison result VODET_OUT1 and the second comparison result VODET_OUT2, a determination is made as to whether a load is connected (step S9). Specifically, if the voltage VOUT of the capacitor COUT sensed in step S5 is greater than the first reference voltage RD_VREF and the voltage VOUT of the capacitor COUT sensed in step S8 is less than the second reference voltage FD_VREF, it is determined that a load is connected. Here, step S9 corresponds to "step (e)" of the present invention.
[0112] Steps S3 to S8 may be repeated multiple times. Furthermore, if the voltage VOUT of the capacitor COUT sensed in step S5 is greater than the first reference voltage RD_VREF N times in a row, and the voltage VOUT of the capacitor COUT sensed in step S8 is less than the second reference voltage RD_VREF N times in a row, then it is determined in step S9 that a load is connected. Here, N is a given natural number greater than or equal to 2.
[0113] On the other hand, if the voltage VOUT of the capacitor COUT sensed in step S8 is greater than the second reference voltage FD_VREF, it may be determined in step S9 that the load is not connected.
[0114] Furthermore, steps S3 to S8 may be repeated multiple times. Furthermore, if the voltage VOUT of the capacitor COUT sensed in step S8 is greater than the second reference voltage RD_VREF N times in a row, it may be determined in step S9 that no load is connected. Here, N is a given natural number greater than 2.
[0115] By repeatedly executing steps S3 to S8 multiple times and comparing the voltage VOUT of the capacitor COUT sensed in steps S5 and S8 with the first reference voltage RD_VREF and the second reference voltage FD_VREF N times (N is a given natural number greater than 2), the sensing accuracy of the load sensing method can be improved.
[0116] In the load sensing method described above, steps S1 and S2 are the pre-charging process for capacitor COUT. This pre-charging process can be performed each time the load sensing method of the present invention is executed, or it can be completed in advance so that the method can be directly started from step S3 during the actual execution.
[0117] In addition, the main purpose of step S2 is to stably charge the voltage VOUT of the capacitor COUT to the reference voltage VREF. Therefore, step S2 is not essential and can be omitted.
[0118] Below, refer to Figures 7 to 12 Specific embodiments 1 to 4 of the load sensing method of the present invention will be described.
[0119] Example 1
[0120] Figure 7 This is a flow chart of Example 1 of the load sensing method of the present invention. Figure 8 FIG. 1 is a timing diagram of various signals used in the load sensing module 100 of the present invention.
[0121] exist Figure 7 In, with Figure 6 Compared with the flowchart shown in FIG. 1 , step S5 , step S8 , and step S9 are concretized as step S51 , step S81 , and step S91 .
[0122] In step S51 , if VOUT>RD_VREF, the first comparison result VODET_OUT1 is high (when represented by binary digital representation, its logic value is 1); if VOUT≤RD_VREF, the first comparison result VODET_OUT1 is low (when represented by binary digital representation, its logic value is 0).
[0123] In step S81 , if VOUT<FD_VREF, the second comparison result VODET_OUT2 is high (when represented by binary digital representation, its logic value is 1); if VOUT≥FD_VREF, the second comparison result VODET_OUT2 is low (when represented by binary digital representation, its logic value is 0).
[0124] Next, in step S91, it is determined whether the first comparison result VODET_OUT1 and the second comparison result VODET_OUT2 are both high, that is, whether the logical values are both 1. If the logical values of the first comparison result VODET_OUT1 and the second comparison result VODET_OUT2 are both 1, it is determined that load 3 is connected. If the logical values of the first comparison result VODET_OUT1 and the second comparison result VODET_OUT2 are not both 1, it is determined that load 3 is not connected.
[0125] Example 2
[0126] As the second embodiment of the load sensing method of the present invention, the flow chart is as follows: Figure 9 As shown. Figure 7 Compared to the flowchart shown in FIG. 1 , the difference is that in step S91, when the logic values of the first comparison result VODET_OUT1 and the second comparison result VODET_OUT2 are both 1, it is not directly determined that the load 3 is connected. Instead, the first count value Count1 is incremented by 1 (step S10). Next, it is determined whether the first count value Count1 is equal to the first reference count value C1_REF (step S11). If the first count value Count1 is equal to the first reference count value C1_REF, it is determined that a load is connected. If the count value Count1 is not equal to the first reference count value C1_REF, the process returns to step S3 to continue executing the load sensing method of the present invention.
[0127] Modification of Example 2
[0128] As a variation of Example 2, Figure 10 As shown, in step S91, when the logic values of the first comparison result VODET_OUT1 and the second comparison result VODET_OUT2 are not all 1, it is not directly determined that the load 3 is not connected, but the first count value Count1 is reset, that is, Count1=0, and then the process returns to step S3 to continue executing the load sensing method of the present invention.
[0129] Example 3
[0130] As the embodiment 3 of the load sensing method of the present invention, its flow chart is as follows: Figure 11 As shown. Figure 9 or Figure 10Compared with the flowchart shown in FIG, the difference is that in step S91, if the logic values of the first comparison result VODET_OUT1 and the second comparison result VODET_OUT2 are not all 1, it is not directly determined that the load 3 is not connected, or the first count value Count1 is reset and the process returns to step S3, but the second count value Count2 is incremented by 1 (step S21). Then, it is determined whether the second count value Count2 is equal to the second reference count value C2_REF (step S22). If the second count value Count2 is equal to the second reference count value C2_REF, it is determined that the load 3 is not connected. If the second count value Count2 is not equal to the second reference count value C2_REF, the process is executed. Figure 10 In step S12, that is, the first count value Count1 is reset (for example, reset to 0), and the process returns to step S3 to continue executing the load sensing method of the present invention.
[0131] Example 4
[0132] In addition, as the fourth embodiment of the load sensing method of the present invention, the flow chart thereof is as follows: Figure 12 As shown. Figure 11 Compared with the flowchart shown in FIG. 1 , the difference is that, in step S91, if it is determined that the logical values of the first comparison result VODET_OUT1 and the second comparison result VODET_OUT2 are both 1, it is directly determined that the load 3 is connected, and, in step S22, if the second count value Count2 is not equal to the second reference count value C2_REF, step S12 is not executed and the process directly returns to step S3 to continue executing the load sensing method of the present invention.
[0133] In the above, several embodiments of the load sensing module and the load sensing method and their variations are listed to illustrate the load sensing module, the load sensing method and the charging device equipped with the load sensing module according to the present invention. However, the present invention is not limited to these. Other embodiments implemented by combining any constituent elements in the above embodiments and their variations, variations obtained by implementing various variations of the above embodiments that can be conceived by those skilled in the art without departing from the main purpose of the present invention, and various devices equipped with the load sensing module and the charging device according to the present invention are also included in the present invention.
[0134] Industrial applicability
[0135] The present invention can be widely used in charging electronic devices such as mobile communication devices and wearable devices.
Claims
1. A load sensing module, It is characterized in that have: Probe, used to sense whether a load is connected; A series circuit of a first switch and a second switch, wherein one end of the series circuit is connected to a reference voltage and the other end is grounded, a connection point between the first switch and the second switch is connected to the probe, and the first switch and the second switch are turned on and off according to a clock signal; A capacitor, one end of which is connected to the probe and the other end of which is grounded, is charged to a reference voltage when the load sensing module is working, and is then charged or discharged by turning on and off the first switch and the second switch; a rising edge sensor connected to the one end of the capacitor, for sensing the voltage of the capacitor after the capacitor is charged to the reference voltage and continues to be charged for a given first time, and comparing the voltage with a first reference voltage as a first comparison result; a falling edge sensor connected to the one end of the capacitor, sensing the voltage of the capacitor after the capacitor is discharged for a given second time, and comparing the voltage with a second reference voltage as a second comparison result; as well as a determination module connected to the rising edge sensor and the falling edge sensor, and determining whether a load is connected according to the first comparison result and the second comparison result, The capacitor is repeatedly charged and discharged multiple times. If the voltage of the capacitor sensed by the rising edge sensor is greater than the first reference voltage N times in a row and the voltage of the capacitor sensed by the falling edge sensor is less than the second reference voltage N times in a row, the determination module determines that a load is connected, wherein N is a given natural number greater than 2, If the voltage of the capacitor sensed by the falling edge sensor is greater than the second reference voltage for N consecutive times, the determination module determines that the load is not connected, wherein N is a given natural number greater than 2. If the voltage of the capacitor sensed by the rising edge sensor is greater than the first reference voltage, a high level is output as the first comparison result; if the voltage of the capacitor sensed by the rising edge sensor is less than the first reference voltage, a low level is output as the first comparison result. If the voltage of the capacitor sensed by the falling edge sensor is less than the second reference voltage, a high level is output as the second comparison result; if the voltage of the capacitor sensed by the falling edge sensor is greater than the second reference voltage, a low level is output as the second comparison result. The determination module further comprises a first counter, If both the first comparison result and the second comparison result are high levels, the determination module adds 1 to the first count value of the first counter and determines whether the first count value is equal to the first reference count value. If the first count value is equal to the first reference count value, the determination module determines that a load is connected. If the first count value is not equal to the first reference count value, the rising edge sensor and the falling edge sensor respectively re-sense the voltage of the capacitor after being charged for the first time and the voltage of the capacitor after being discharged for the second time. If the first comparison result and the second comparison result are not all high levels, the determination module determines that the load is not connected.
2. A load sensing method for sensing whether a load is connected, It is characterized in that Include: Step (a): charging the capacitor of the load sensing module to a reference voltage, Step (b): After the capacitor continues to be charged for a given first time, sensing the voltage of the capacitor and comparing it with a first reference voltage as a first comparison result, Step (c): discharging the capacitor, Step (d): After the capacitor is discharged for a given second time, sensing the voltage of the capacitor and comparing it with a second reference voltage as a second comparison result, Step (e): determining whether a load is connected according to the first comparison result and the second comparison result, Repeat steps (b) to (d) for multiple times, If the voltage of the capacitor sensed in step (b) is greater than the first reference voltage N times in a row, and the voltage of the capacitor sensed in step (d) is less than the second reference voltage N times in a row, then in step (e), it is determined that a load is connected, wherein N is a given natural number greater than 2. If the voltage of the capacitor sensed in step (d) is greater than the second reference voltage for N consecutive times, it is determined in step (e) that the load is not connected, wherein N is a given natural number greater than 2. In the step (b), if the voltage of the capacitor is greater than the first reference voltage, a high level is output as the first comparison result; if the voltage of the capacitor is less than the first reference voltage, a low level is output as the first comparison result. In the step (d), if the voltage of the capacitor is less than the second reference voltage, a high level is output as the second comparison result; if the voltage of the capacitor is greater than the second reference voltage, a low level is output as the second comparison result. In said step (e), If both the first comparison result and the second comparison result are high levels, the first count value of the first counter is increased by 1, and it is determined whether the first count value is equal to the first reference count value. If the first count value is equal to the first reference count value, it is determined that a load is connected. If the first count value is not equal to the first reference count value, steps (b) to (e) are repeated. If the first comparison result and the second comparison result are not all high levels, it is determined that the load is not connected.
3. A charging device, It is characterized in that have: Battery; A control module, comprising the load sensing module according to claim 1, and determining an operating mode of the charging device according to a sensing result of the load sensing module; A power connection port, used to connect an external power source to charge the charging device; as well as The load connection port is used to connect the load and charge the load.
