Communication method in direct current charging
The main control of the device side is controlled by the charging IC, and combined with ADC detection, the low-cost and low-technical threshold of the charging end and the device side are realized, which solves the problems of charging status monitoring and communication, and improves the charging efficiency and Battery life.
Patent Information
- Application Number
- CN202410884410.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-03
- Publication Date
- 2024-11-12
AI Technical Summary
In the prior art, low-end products cannot know whether the device end is full when charging, resulting in the charging end being continuously powered by mistakenly thinking that the device end is charging, and high-end products are expensive and lack effective communication methods between the charging end and the device end.
A communication method in DC charging is adopted, and the conventional communication protocol control is carried out through the main control of the device and the charging IC, and the voltage changes are detected by the ADC sampling port to realize charging status monitoring and communication, including battery power mode, charging mode and direct power mode , the voltage and current path are adjusted using the internal switch of the charging IC.
It realizes low-cost and low-tech communication between the device and the charging terminal during the charging process, reduces the cost of charging communication, improves charging efficiency and battery life, and does not require complex supporting circuits.
Smart Images

Figure CN118944222A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of communication technology, and in particular to a communication method in direct current charging. Background Art
[0002] Low-end products hardly communicate during charging. If you want interactive communication between the device being charged and the charging device, most high-end products use data cables or Bluetooth connections. Although these two methods can achieve communication and are relatively mature, many mobile phone fast charging protocols are activated through USB data cables, and a small number of high-end Bluetooth headsets use Bluetooth to achieve interactive communication between the charging device and the charging device, but they are both expensive and have significant disadvantages.
[0003] For example, currently the "charging end" of low-end products cannot know whether the "device end" is fully charged. Because the "device end" is often in the power-on state when charging, even if the battery inside the "device end" is fully charged, since the "device end" is still detecting this charging state when it is turned on, the "charging end" needs to continue to supply current to the "device end" to keep it powered on for detection, and the current consumption is not small, instead of consuming the internal battery current of the "device end", so the "charging end" always has current output, and the "charging end" mistakenly believes that the "device end" is still charging, so the full charge indicator light of the "charging end" will not change, which is very inhumane. Although high-end products do not have this disadvantage, they have paid a high cost price. Summary of the invention
[0004] 1. Technical issues to be solved
[0005] In view of the shortcomings of the prior art, the present invention provides a communication method in DC charging, providing a brand-new way to enable various high-end and low-end "device ends" to communicate interactively with the "charging end" during charging. Compared with the use of USB data cables or Bluetooth, this method has lower costs, lower technical barriers, and a wider range of applications.
[0006] (II) Technical solution
[0007] To achieve the above objectives, the present invention is implemented through the following technical solutions: A communication method in DC charging, comprising the following steps:
[0008] Step 1: The device must have a main control and a charging IC with charging path management, and the main control can control the charging IC;
[0009] Step 2: The main control communicates with the charging IC through conventional communication protocols.
[0010] Preferably, the main control at the device end in the step 1 needs to be able to control the charging IC, and conventional protocols such as I2C can be used for control, without special requirements. The charging end also needs a main control, which does not need to support conventional protocols such as I2C, but requires an analog-to-digital conversion function, and the main control needs to have an ADC sampling port to meet this function.
[0011] Preferably, in the step 2, the charging IC controls other power supply pins, VBUS is the power input pin; VSYS is the system power supply, which is the output pin; VBAT is the battery power supply, which is both the input pin and the output pin. When the battery is charging, it is the output pin, and when the battery is powered, it is the input pin.
[0012] Preferably, the charging IC path management in step 1 has an important impact on the charging effect and battery life of the electronic device. Good path management can ensure the stability of the charging current and the safety of the charging process, effectively extending the service life of the battery.
[0013] Preferably, the charging IC path management includes the control function of charging current, the monitoring function of charging process, the charging safety protection function and the charging efficiency improvement function. The charging IC path management is essentially to control the switches inside the charging IC to function, and can adjust the voltage, current and current path.
[0014] Preferably, the charging IC includes a battery power supply mode, a charging mode and a direct power supply mode. The battery power supply mode is that the battery's VBAT directly supplies power to the system VSYS. Generally, when the charger is not inserted, the IC is in this working state. Of course, even if the charger is inserted, if the device-side main control detects charging abnormalities or has other needs, it can also send instructions to make it enter this state.
[0015] Preferably, the charging mode is that the external power supply VBUS simultaneously supplies power to the system VSYS and charges the battery. Generally, when the charger is inserted and the battery is in a charging state, that is, when the battery is not fully charged, the IC is in this working state. Similarly, regardless of whether there is a battery or not, or whether the battery is fully charged, the IC can also enter this state when receiving a master control command.
[0016] Preferably, the direct power supply mode is that the external power supply VBUS only supplies power to the system VSYS. Generally, when the charger is inserted and the battery is in an uncharged state, that is, when the battery is fully charged, the IC is in this working state; if the battery is not inserted or not detected, the IC is also in this working state. Similarly, regardless of whether there is a battery or not, or whether the battery is fully charged or not, the IC can also actively switch into this state when receiving a master control command.
[0017] Preferably, in the circuit, only the voltage change can be detected by ADC, so a detection resistor is needed to convert the current change into a voltage change and then into a digital signal that can be processed in the circuit.
[0018] (III) Beneficial effects
[0019] The present invention provides a communication method in DC charging. It has the following beneficial effects:
[0020] The communication function can be realized during charging through the original positive and negative charging poles of the charged device. The matching charging device only needs a chip with an ADC detection pin to realize the function. The price is less than half of the chip that supports data communication, and there is no need for complex supporting circuits, which is conducive to reducing the cost of charging communication. BRIEF DESCRIPTION OF THE DRAWINGS
[0021] Figure 1 A simplified logic diagram of a communication method in DC charging proposed by the present invention;
[0022] Figure 2 A typical application diagram of a dot matrix pen in a communication method in DC charging proposed by the present invention;
[0023] Figure 3 A schematic diagram of the internal path logic of the charging IC of the dot matrix pen in the communication method of DC charging proposed by the present invention;
[0024] Figure 4 A schematic diagram of a battery power supply mode of a communication method in DC charging proposed by the present invention;
[0025] Figure 5 A schematic diagram of a charging mode of a communication method in DC charging proposed by the present invention;
[0026] Figure 6 A schematic diagram of a direct supply mode of a communication method in direct current charging proposed by the present invention;
[0027] Figure 7 A partial schematic diagram of a charging IC for a communication method in DC charging proposed by the present invention;
[0028] Figure 8 A schematic diagram of the relevant specifications of CW6305 for a communication method in DC charging proposed by the present invention;
[0029] Fig. 9 A circuit schematic diagram of a charging end of a communication method in DC charging proposed by the present invention;
[0030] Fig.10A simplified internal circuit diagram of a charging terminal of a communication method in DC charging proposed by the present invention;
[0031] Fig.11 A schematic diagram of a first signal waveform of a communication method in DC charging proposed by the present invention;
[0032] Fig.12 A schematic diagram of a second signal waveform of a communication method in DC charging proposed by the present invention;
[0033] Fig.13 A schematic diagram of a third signal waveform of a communication method in DC charging proposed by the present invention;
[0034] Fig.14 This is a schematic diagram of a fourth signal waveform of a communication method in DC charging proposed by the present invention. DETAILED DESCRIPTION
[0035] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0036] like Figure 1-14 As shown, an embodiment of the present invention provides a communication method in DC charging, comprising the following steps:
[0037] Step 1: The device must have a main control and a charging IC with charging path management, and the main control can control the charging IC;
[0038] Step 2: The main control communicates with the charging IC through conventional communication protocols.
[0039] In step 1, the main control on the device side needs to be able to control the charging IC, and conventional protocols such as I2C can be used. There are no special requirements. The charging side also requires a main control, which does not need to support conventional protocols such as I2C, but requires analog-to-digital conversion function. The main control needs to have an ADC sampling port to meet this function.
[0040] In step 2, the charging IC controls other power supply pins. VBUS is the power input pin; VSYS is the system power supply and is the output pin; VBAT is the battery power supply and is both an input pin and an output pin. When the battery is charging, it is an output pin, and when the battery is powered, it is an input pin.
[0041] The charging IC path management in step one has an important impact on the charging effect and battery life of the electronic device. Good path management can ensure the stability of the charging current and the safety of the charging process, effectively extending the battery life. The charging IC path management includes the charging current control function, the charging process monitoring function, the charging safety protection function and the charging efficiency improvement function. The charging IC path management is essentially to control the switches inside the charging IC to function, which can adjust the voltage, current and current path.
[0042] The charging IC includes battery power supply mode, charging mode and direct power supply mode. In battery power supply mode, the battery's VBAT directly supplies power to the system VSYS. Generally, the IC is in this working state when the charger is not plugged in. Of course, even if the charger is plugged in, if the device-side main control detects charging abnormalities or has other needs, it can also send instructions to put it into this state.
[0043] In charging mode, the external power supply VBUS supplies power to the system VSYS and charges the battery at the same time. Generally, when the charger is inserted and the battery is in the charging state, that is, when the battery is not fully charged, the IC is in this working state. Similarly, whether there is a battery or not, or whether the battery is fully charged or not, the IC can also enter this state when receiving a master control command.
[0044] In direct power supply mode, the external power supply VBUS only supplies power to the system VSYS. Generally, when the charger is inserted and the battery is not charged, that is, when the battery is fully charged, the IC is in this working state; if the battery is not inserted or not detected, the IC is also in this working state. Similarly, whether there is a battery or not, or whether the battery is fully charged or not, the IC can also actively switch to this state when receiving a master control command.
[0045] In the circuit, only the change of voltage can be detected by ADC, so detection resistance is needed to convert the change of current into the change of voltage, and then convert it into a digital signal that can be processed in the circuit. ADC sampling refers to the process of using analog-to-digital converter (ADC) to convert analog current into digital signal. The working principle of ADC can be divided into three main steps: ① Sampling: ADC will sample the analog signal at a certain time interval and convert the continuous analog signal into discrete sampling value; ② Quantization: The sampled signal will be quantized and the continuous sampling value will be mapped into discrete digital code. The accuracy of quantization determines the resolution of the digital signal; ③ Encoding: The quantized signal will be converted into binary code by encoder for the processing and storage of digital system; This regular waveform signal is very easy to be detected by ADC at the charging end and converted into digital signal. ADC circuit has clock and sampling cycle, so it can judge the time of signal. For this communication protocol, according to Ohm's law formula: U = I * R; Since the resistance value of R is constant, the relationship between U and I is linear, so the waveform of U and the waveform of I have the same time interval, but the equivalent Y axis is enlarged and reduced.
[0046] Experimental example:
[0047] We set a command: Command 1, which corresponds to a certain signal waveform (for example: change the charging end indicator light to blue)
[0048] When the device wants to control the charging end to implement Command 1, it sends a complete signal waveform.
[0049] The signal starts with sending a command to cut off the USB power supply, and after T1 time, sends a command to restore the USB power supply, and after T2 time, this is a small cycle, which is repeated N times to form a complete signal.
[0050] Where T1>0; T2>0; N>0, and is a positive integer;
[0051] When the ADC at the charging end detects the corresponding data, it can make corresponding instruction operations or responses.
[0052] The setting of T1 and T2 needs to consider the sampling rate of ADC. If the time is too short, accurate sampling cannot be achieved. Data communication function cannot be realized. N can be determined according to time and circuit interference. Generally speaking, the more repetitions, the lower the error rate; but the time to send a complete signal is also longer.
[0053] When the values of T1, T2, or N are in the same circuit, any different values will result in completely different corresponding signal waveforms.
[0054] For example, when T1 and T2 are the same, when N is 3, it can be defined as the signal of the indicator light not turning blue; when N is 6, it can be defined as the signal of cutting off the output of the charging end; when N is 10, it can be defined as the signal waveform of turning on the buzzer at the charging end.
[0055] The above is just one signal waveform used as an example in this solution. This solution is not limited to this signal waveform. This solution is not limited to a certain waveform. Regardless of whether the signal protocol sent is regular or periodic, as long as the device and the communication end agree to this protocol. Of course, the recognition rate and accuracy of regular waveforms in algorithms and data processing will usually be higher. Irregular waveforms also have corresponding advantages. They have low repetition rates, high recognizability, and are not easy to misjudge. They can be used as encrypted signals or signals with special functions.
[0056] The above is the specific technical draft and examples of this solution. Except for the device-side part listed in the text, the other charging end ADC detection and logic judgment codes are confidential technical information. No detailed description is given in this article.
[0057] Summarize:
[0058] The communication method mentioned in this patent does not use traditional data cables and Bluetooth methods. It can realize the communication function during charging only through the original positive and negative charging poles of the charged device. The matching charging device only needs a chip with an ADC detection pin to realize the function. The price is less than half of the chip that supports data communication, and there is no need for complex supporting circuits.
[0059] This solution uses the charging IC on the charged device to send signals, and the ADC detection pin of a chip on the charging device receives the signals to achieve control of various functions, such as: charging status control (switch power supply), charging indicator status control, and charging protection function.
[0060] This solution has a wide range of technical fields and application scenarios. It can replace the three traditional "relationships between the device end and the charging end" mentioned in the article at almost no cost (even reducing costs for some solutions). Moreover, this solution is safer, more accurate and intelligent. The technical threshold requirements for software and hardware are not high.
[0061] Although embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that various changes, modifications, substitutions and variations may be made to the embodiments without departing from the principles and spirit of the present invention, and that the scope of the present invention is defined by the appended claims and their equivalents.
Claims
1. A communication method in DC charging, characterized in that: The following steps are involved: Step 1: The device must have a main control and a charging IC with charging path management, and the main control can control the charging IC; Step 2: The main control communicates with the charging IC through conventional communication protocols.
2. A communication method in DC charging according to claim 2, characterized in that: In the step 1, the main control on the device side needs to be able to control the charging IC, and conventional protocols such as I2C can be used for control. There are no special requirements. The charging side also needs a main control, which does not need to support conventional protocols such as I2C, but requires analog-to-digital conversion function. The main control needs to have an ADC sampling port to meet this function.
3. A communication method in DC charging according to claim 2, characterized in that: In the step 2, the charging IC controls other power supply pins, VBUS is the power input pin; VSYS is the system power supply and is the output pin; VBAT is powered by the battery. It is both an input pin and an output pin. When the battery is charging, it is an output pin, and when the battery is powered, it is an input pin.
4. A communication method in DC charging according to claim 2, characterized in that: The charging IC path management in step 1 has an important impact on the charging effect and battery life of the electronic device. Good path management can ensure the stability of the charging current and the safety of the charging process, effectively extending the service life of the battery.
5. A communication method in DC charging according to claim 5, characterized in that: The charging IC path management includes the control function of charging current, the monitoring function of charging process, the charging safety protection function and the charging efficiency improvement function. The charging IC path management is essentially to control the switches inside the charging IC to function, and can adjust the voltage, current and current path.
6. A communication method in DC charging according to claim 1, characterized in that: The charging IC includes a battery power supply mode, a charging mode and a direct power supply mode. The battery power supply mode is that the battery's VBAT directly supplies power to the system VSYS; Generally, the IC is in this working state when the charger is not plugged in. Of course, even if the charger is plugged in, if the device-side main control detects charging abnormalities or has other needs, it can also send instructions to put it into this state.
7. A communication method in DC charging according to claim 6, characterized in that: The charging mode is that the external power supply VBUS supplies power to the system VSYS and charges the battery at the same time. Generally, when the charger is inserted and the battery is in the charging state, that is, when the battery is not fully charged, the IC is in this working state. Similarly, whether there is a battery or not, or whether the battery is fully charged or not, the IC can also enter this state when receiving a master control command.
8. A communication method in DC charging according to claim 6, characterized in that: The direct power supply mode is that the external power supply VBUS only supplies power to the system VSYS. Generally, when the charger is inserted and the battery is in an uncharged state, that is, when the battery is fully charged, the IC is in this working state; if the battery is not inserted or not detected, the IC is also in this working state. Similarly, no matter there is a battery or whether the battery is fully charged, the IC can also actively switch to this state when receiving a master control command.
9. A communication method in DC charging according to claim 1, characterized in that: In the circuit, only the voltage change can be detected by ADC, so a detection resistor is needed to convert the current change into a voltage change and then convert it into a digital signal that can be processed in the circuit.
