CN110212596A - A kind of charging equipment and the communication means that charges - Google Patents
A kind of charging equipment and the communication means that charges Download PDFInfo
- Publication number
- CN110212596A CN110212596A CN201811629979.3A CN201811629979A CN110212596A CN 110212596 A CN110212596 A CN 110212596A CN 201811629979 A CN201811629979 A CN 201811629979A CN 110212596 A CN110212596 A CN 110212596A
- Authority
- CN
- China
- Prior art keywords
- charging
- load
- voltage
- charging device
- data
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- H—ELECTRICITY
- H02—GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
- H02J—ELECTRIC POWER NETWORKS; CIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
- H02J7/00—Circuit arrangements for charging or discharging batteries or for supplying loads from batteries
- H02J7/40—Circuit arrangements for charging or discharging batteries or for supplying loads from batteries characterised by the exchange of charge or discharge related data
- H02J7/44—Circuit arrangements for charging or discharging batteries or for supplying loads from batteries characterised by the exchange of charge or discharge related data between battery management systems and power sources
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02E—REDUCTION OF GREENHOUSE GAS [GHG] EMISSIONS, RELATED TO ENERGY GENERATION, TRANSMISSION OR DISTRIBUTION
- Y02E60/00—Enabling technologies; Technologies with a potential or indirect contribution to GHG emissions mitigation
- Y02E60/10—Energy storage using batteries
Landscapes
- Engineering & Computer Science (AREA)
- Power Engineering (AREA)
- Charge And Discharge Circuits For Batteries Or The Like (AREA)
Abstract
Description
技术领域technical field
本发明涉及电子技术领域,尤其涉及一种充电设备及充电通信方法。The invention relates to the field of electronic technology, in particular to a charging device and a charging communication method.
背景技术Background technique
随着时代的发展,终端设备也在不断发展和完善,终端设备的安全性越来越受到关注,其中,充电安全尤为重要,比如作为充电负载的终端设备在充电时发生爆炸等事故,均是由充电不当引起的。为了保证终端设备的充电安全性,常用的方法是在为终端设备充电时,选择与其相匹配的充电设备。With the development of the times, terminal equipment is also constantly developing and improving, and the safety of terminal equipment has attracted more and more attention. Among them, charging safety is particularly important. For example, accidents such as explosions of terminal equipment used as charging loads during charging are serious Caused by improper charging. In order to ensure the charging safety of the terminal device, a common method is to select a matching charging device when charging the terminal device.
但是,在很多情况下,很难确定是否使用的充电设备是与终端设备匹配的,这样一来,终端设备的安全性存在隐患。因此,在充电时,终端设备如何选择合适的充电设备为其充电称为当前研究的热点问题。However, in many cases, it is difficult to determine whether the charging device used matches the terminal device, and in this way, there are hidden dangers to the safety of the terminal device. Therefore, when charging, how to select a suitable charging device for the terminal device to charge it has become a hot issue in current research.
发明内容Contents of the invention
本发明实施例提供了一种充电设备及充电通信方法,可以实现对充电负载进行充电管理,确保充电负载充电的安全性。Embodiments of the present invention provide a charging device and a charging communication method, which can realize charging management of a charging load and ensure the safety of charging the charging load.
第一方面,本发明实施例提供了一种充电设备,包括充电端口、通信模块以及微控制单元,充电端口用于电性连接充电负载且包括电源端和数据端,电源端用于提供充电电源,数据端用于传输数据信号;In the first aspect, an embodiment of the present invention provides a charging device, including a charging port, a communication module, and a micro-control unit. The charging port is used to electrically connect a charging load and includes a power terminal and a data terminal, and the power terminal is used to provide charging power. , the data terminal is used to transmit data signals;
通信模块分别与数据端和微控制单元电性连接,数据端还用于接收表征充电负载的额定充电电压的电平信号;The communication module is electrically connected to the data terminal and the micro control unit respectively, and the data terminal is also used to receive a level signal representing the rated charging voltage of the charging load;
通信模块用于根据电平信号生成编码信息,并将编码信息发送给微控制单元;The communication module is used to generate coded information according to the level signal, and send the coded information to the micro control unit;
所述微控制单元与所述数据端电性连接以根据所述编码信息与所述充电负载执行数据通信。The micro control unit is electrically connected to the data terminal to perform data communication with the charging load according to the coded information.
可选的,所述数据通信包括:所述微控制单元根据接收到的所述编码信息生成充电提示信息,并将所述充电提示信息发送给所述数据端,所述数据端还用于将所述充电提示信息发送给所述充电负载。Optionally, the data communication includes: the micro control unit generates charging prompt information according to the received coded information, and sends the charging prompt information to the data terminal, and the data terminal is also used to The charging prompt information is sent to the charging load.
可选的,充电设备还包括充电电路,Optionally, the charging device also includes a charging circuit,
所述充电电路与所述电源端电性连接,所述充电电路通过所述电源端向所述充电负载提供电源以为所述充电负载充电;The charging circuit is electrically connected to the power supply terminal, and the charging circuit provides power to the charging load through the power supply terminal to charge the charging load;
所述微控制单元与所述充电电路电性连接,当所述微控制单元接收到所述充电负载针对所述充电提示信息发送的充电响应信息时,基于所述充电响应信息控制所述充电电路提供与所述额定充电电压相匹配的充电电压为所述充电负载充电。The micro-control unit is electrically connected to the charging circuit, and when the micro-control unit receives the charging response information sent by the charging load in response to the charging prompt information, controls the charging circuit based on the charging response information A charging voltage matching the rated charging voltage is provided to charge the charging load.
可选的,通信模块包括射极跟随器、电压比较器和编码器,Optionally, the communication module includes an emitter follower, a voltage comparator and an encoder,
所述射极跟随器与所述数据端电性连接,所述射极跟随器用于接收所述电平信号;The emitter follower is electrically connected to the data terminal, and the emitter follower is used to receive the level signal;
所述射极跟随器还与所述电压比较器电性连接,且将接收到的所述电平信号传输到所述电压比较器;The emitter follower is also electrically connected to the voltage comparator, and transmits the received level signal to the voltage comparator;
所述电压比较器与所述编码器电性连接,所述电压比较器用于将所述电平信号与参考电压进行比较,并将所述比较结果发送给所述编码器,其中,所述参考电压表征所述充电设备提供的额定输出电压;The voltage comparator is electrically connected to the encoder, and the voltage comparator is used to compare the level signal with a reference voltage and send the comparison result to the encoder, wherein the reference The voltage represents the rated output voltage provided by the charging device;
所述编码器对所述比较结果进行编码处理得到所述编码信息。The encoder performs encoding processing on the comparison result to obtain the encoding information.
可选的,所述数据端包括相互配合执行传输数据信号的第一数据引脚和第二数据引脚,第一电阻电性连接于所述第一数据引脚和所述第二数据引脚之间,所述电源端包括电源引脚和接地引脚,所述电源引脚和所述接地引脚分别与所述充电电路电性连接为所述充电负载充电,Optionally, the data terminal includes a first data pin and a second data pin that cooperate with each other to transmit data signals, and the first resistor is electrically connected to the first data pin and the second data pin Between, the power terminal includes a power pin and a ground pin, the power pin and the ground pin are respectively electrically connected to the charging circuit to charge the charging load,
所述第一数据引脚与所述射极跟随器电性连接,用于将接收到的所述电平信号发送给所述射极跟随器,The first data pin is electrically connected to the emitter follower for sending the received level signal to the emitter follower,
所述第一数据引脚与所述MCU电性连接,用于接收所述MCU发送的所述充电提示信息,并将所述充电提示信息发送给所述充电负载以执行数据通信。第二方面,本发明实施例提供了一种充电通信方法,包括:The first data pin is electrically connected to the MCU for receiving the charging prompt information sent by the MCU, and sending the charging prompt information to the charging load for performing data communication. In a second aspect, an embodiment of the present invention provides a charging communication method, including:
当充电设备通过充电端口与充电负载电性连接时,所述充电设备通过所述充电端口的数据端接收表征所述充电负载的额定电压的电平信号;When the charging device is electrically connected to the charging load through the charging port, the charging device receives a level signal representing the rated voltage of the charging load through the data terminal of the charging port;
所述充电设备根据所述电平信号生成编码信息;The charging device generates coded information according to the level signal;
所述充电设备通过所述数据端根据所述编码信息与所述充电负载执行数据通信。The charging device performs data communication with the charging load through the data terminal according to the coded information.
可选的,所述充电设备包括射极跟随器、电压比较器和编码器,所述充电设备根据所述电平信号生成编码信息,包括:Optionally, the charging device includes an emitter follower, a voltage comparator, and an encoder, and the charging device generates coded information according to the level signal, including:
所述充电设备通过所述射极跟随器获取所述数据端口接收到的所述电平信号,并将所述电平信号传输给电压比较器;The charging device obtains the level signal received by the data port through the emitter follower, and transmits the level signal to a voltage comparator;
所述充电设备通过所述电压比较器将所述电平信号与参考电压进行比较,得到比较结果,并将所述比较结果传输给所述编码器,所述参考电压表征所述充电设备提供的额定输出电压;The charging device compares the level signal with a reference voltage through the voltage comparator, obtains a comparison result, and transmits the comparison result to the encoder, and the reference voltage represents the voltage provided by the charging device. Rated output voltage;
所述充电设备通过所述编码器对所述编码器接收到的比较结果进行编码处理,得到编码信息。The charging device encodes the comparison result received by the encoder through the encoder to obtain encoded information.
可选的,充电设备通过所述数据端根据所述编码信息与所述充电负载执行数据通信,包括:Optionally, the charging device performs data communication with the charging load through the data terminal according to the encoding information, including:
所述充电设备根据所述编码信息生成充电提示信息,并将所述充电提示信息通过所述数据端发送给所述充电负载,所述充电提示信息所述充电负载所述充电负载的额定电压与所述充电设备提供的额定输出电压的大小关系,以便于所述充电负载根据所述大小关系对所述充电负载进行充电管理。The charging device generates charging prompt information according to the coded information, and sends the charging prompt information to the charging load through the data terminal, and the charging prompt information is the same as the rated voltage of the charging load and the charging load. The size relationship of the rated output voltage provided by the charging device is used to facilitate the charge management of the charging load by the charging load according to the size relationship.
可选的,充电设备还包括充电电路,所述方法还包括:Optionally, the charging device also includes a charging circuit, and the method also includes:
当接收到所述充电负载针对所述充电提示信息发送的充电响应信息时,所述充电设备根据所述充电响应信息确定与所述充电负责的额定电压相匹配的充电电压;When receiving the charging response information sent by the charging load in response to the charging prompt information, the charging device determines a charging voltage that matches the rated voltage responsible for charging according to the charging response information;
所述充电设备通过所述充电电路以所述充电电压为所述充电负载充电。The charging device charges the charging load with the charging voltage through the charging circuit.
可选的,所述充电设备的充电端口包括所述数据端和电源端,所述数据端包括第一数据引脚和第二数据引脚,所述电源端包括电源引脚和接地引脚,所述充电设备通过所述充电端口的数据端接收表征所述充电负载的额定电压的电平信号,包括:Optionally, the charging port of the charging device includes the data end and a power end, the data end includes a first data pin and a second data pin, and the power end includes a power pin and a ground pin, The charging device receives a level signal representing the rated voltage of the charging load through the data terminal of the charging port, including:
所述充电设备通过所述数据端的第一数据引脚接收表征所述充电负载的额定电压的电平信号;The charging device receives a level signal representing the rated voltage of the charging load through the first data pin of the data terminal;
充电设备通过所述充电电路以所述充电电压为所述充电负载充电,包括:The charging device charges the charging load with the charging voltage through the charging circuit, including:
充电设备通过所述电源端输出所述充电电压以为所述充电负载充电。The charging device outputs the charging voltage through the power supply terminal to charge the charging load.
本发明实施例中,充电设备包括充电端口、通信模块以及微控制单元,充电端口用于电性连接充电负载且包括电源端和数据端,电源端用于提供充电电源,数据端用于传输数据信号;通信模块分别与数据端和微控制单元电性连接,数据端还用于接收表征充电负载额定充电电压的电平信号;通信模块用于根据电平信号生成编码信息,并将编码信息发送给微控制单元;微控制单元与数据端电性连接以根据所述编码信息与所述充电负载执行数据通信,可以实现对充电负载进行充电管理,确保充电负载充电的安全性。In the embodiment of the present invention, the charging device includes a charging port, a communication module, and a micro-control unit. The charging port is used to electrically connect the charging load and includes a power terminal and a data terminal. The power terminal is used to provide charging power, and the data terminal is used to transmit data. signal; the communication module is electrically connected to the data terminal and the micro control unit respectively, and the data terminal is also used to receive the level signal representing the rated charging voltage of the charging load; the communication module is used to generate coded information according to the level signal and send the coded information to To the micro control unit; the micro control unit is electrically connected to the data terminal to perform data communication with the charging load according to the coded information, so as to realize charging management of the charging load and ensure the safety of charging the charging load.
附图说明Description of drawings
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the following will briefly introduce the drawings that need to be used in the description of the embodiments or the prior art. Obviously, the accompanying drawings in the following description are only These are some embodiments of the present invention. Those skilled in the art can also obtain other drawings based on these drawings without creative work.
图1是本发明实施例提供的一种充电设备的结构示意图;Fig. 1 is a schematic structural diagram of a charging device provided by an embodiment of the present invention;
图2是本发明实施例提供的一种射极跟随器的结构示意图;Fig. 2 is a schematic structural diagram of an emitter follower provided by an embodiment of the present invention;
图3是本发明实施例提供的一种充电通信方法的流程示意图。Fig. 3 is a schematic flowchart of a charging communication method provided by an embodiment of the present invention.
具体实施方式Detailed ways
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.
目前随着技术的发展,充电负载的充电管理越来越重要,在充电负载充电时,对充电的电压和/电流进行管理,可以保证充电的安全性。为了实现对充电负载充电时的充电管理,本发明实施例提供了一种充电设备,该充电设备可以与充电负载进行通信,并可根据充电负载的充电指示为充电负载进行充电。At present, with the development of technology, the charging management of the charging load is becoming more and more important. When the charging load is charging, the charging voltage and/or current can be managed to ensure the safety of charging. In order to realize charging management when charging a charging load, an embodiment of the present invention provides a charging device that can communicate with the charging load and charge the charging load according to a charging instruction of the charging load.
参考图1,为本发明实施例提供的一种充电设备的结构示意图,如图1所示的充电设备100可包括充电端口101、通信模块102、以及微控制单元(Microcontroller Unit,MCU)103,由图中可知,充电端口101与通信模块102电性连接,通信模块102与微控制单元103电性连接,微控制单元103与充电端口101电性连接。Referring to FIG. 1, it is a schematic structural diagram of a charging device provided by an embodiment of the present invention. The charging device 100 shown in FIG. It can be seen from the figure that the charging port 101 is electrically connected to the communication module 102 , the communication module 102 is electrically connected to the micro control unit 103 , and the micro control unit 103 is electrically connected to the charging port 101 .
其中,充电端口101应用于电性连接充电负载200,充电负载200是指需要充电的设备,比如手机、平板、笔记本电脑以及可穿戴设备等,充电端口101可包括电源端和数据端,电源端主要用于提供电源,数据端主要用于传输数据信号,也即进行传输与充电负载之间的通信信息。本实施例中,充电端口101可以为USB3.0接口,在本发明其他实施例中,充电端口101还可以为其他类型的接口。Among them, the charging port 101 is used to electrically connect the charging load 200. The charging load 200 refers to devices that need to be charged, such as mobile phones, tablets, notebook computers, and wearable devices. The charging port 101 can include power terminals and data terminals. It is mainly used to provide power, and the data terminal is mainly used to transmit data signals, that is, to communicate information between the transmission and the charging load. In this embodiment, the charging port 101 may be a USB3.0 interface, and in other embodiments of the present invention, the charging port 101 may also be other types of interfaces.
具体地,数据端包括第一数据引脚以DP表示和第二数据引脚以DM表示,DP和DM通过第一电阻R1连接,电源端包括电源引脚以VDD表示和接地引脚以GND表示,VDD和GND分别与充电电路电性连接。其中,第一电阻R1连接于DP和DM之间,R1可以设置为200欧姆,此种连接可以使得当充电设备与充电负载电性连接时,充电负载将充电设备设别为专用充电端口。Specifically, the data terminal includes the first data pin represented by DP and the second data pin represented by DM, DP and DM are connected through the first resistor R1, and the power terminal includes the power pin represented by VDD and the ground pin represented by GND , VDD and GND are respectively electrically connected to the charging circuit. Wherein, the first resistor R1 is connected between DP and DM, R1 can be set to 200 ohms, this kind of connection can make when the charging device is electrically connected with the charging load, the charging load can set the charging device as a dedicated charging port.
在一个实施例中,通信模块102还包括射极跟随器1021、电压比较器1022以及编码器1023。可以理解的,通信模块102中射极跟随器1021、电压比较器1022以及编码器1023组成了充电设备100中的会话请求协议电路(Session Request Protocol circuit,SRP),SRP通过在硬件方案上进行改进使得充电管理装置可以与充电负载之间以最小的成本进行通信,从而使得在充电管理上更加精确。In one embodiment, the communication module 102 further includes an emitter follower 1021 , a voltage comparator 1022 and an encoder 1023 . It can be understood that the emitter follower 1021, the voltage comparator 1022 and the encoder 1023 in the communication module 102 constitute the session request protocol circuit (Session Request Protocol circuit, SRP) in the charging device 100, and the SRP is improved by improving the hardware solution The charging management device can communicate with the charging load at a minimum cost, thereby making the charging management more accurate.
在一个实施例中,第一数据引脚DP与射极跟随器1021电性连接,第一数据引脚DP用于接收充电负载200发送的表征充电负载的额定电压的电平信号,并将接收到的电平信号发送给射极跟随器1021,射极跟随器1021接收第一数据引脚DP接收到的电平信号。In one embodiment, the first data pin DP is electrically connected to the emitter follower 1021, the first data pin DP is used to receive the level signal representing the rated voltage of the charging load sent by the charging load 200, and will receive The received level signal is sent to the emitter follower 1021, and the emitter follower 1021 receives the level signal received by the first data pin DP.
其中,充电负载的额定电压是指可以用于给充电负载进行充电的电压,有的充电负载支持两个额定电压,比如某手机设备的额定电压为5V和9V,有的充电负载仅支持一个额定电压。可选的,充电设备100中可预先设置用于表征充电负载的额定电压的电平信号与充电堵在额定电压之间的对应关系,比如可以设置充电负载的额定电压为5V时,电平信号为3V,或者也可以设置充电负载的额定电压为5V时,电平信号为1V。Among them, the rated voltage of the charging load refers to the voltage that can be used to charge the charging load. Some charging loads support two rated voltages. For example, the rated voltage of a mobile phone device is 5V and 9V, and some charging loads only support one rated voltage. Voltage. Optionally, the charging device 100 can preset the corresponding relationship between the level signal used to characterize the rated voltage of the charging load and the rated charging voltage. For example, when the rated voltage of the charging load is 5V, the level signal It is 3V, or when the rated voltage of the charging load is 5V, the level signal is 1V.
在一个实施例中,第一数据引脚DP接收充电负载200发送的电平信号的实现方式可以为:当检测到与充电负载200之间的电性连接时,第一数据引脚DP向充电负载200发送充电参数请求,充电参数请求中可包括充电负载的额定电压;充电负载200根据充电负载的额定电压生成电平信号,并将该电平信号发送给充电设备的第一数据引脚DP。应当理解的,由于数据端是用于传输数据信号的,数据端能够传输的电压大小有限,为了保证数据传输的有效性和准确性,充电负载向数据端发送的是用于表征充电负载的额定电压的电平信号,而不是充电负载的额定电压。In one embodiment, the first data pin DP can receive the level signal sent by the charging load 200 in the following manner: when an electrical connection with the charging load 200 is detected, the first data pin DP sends a charging signal to the charging load 200. The load 200 sends a charging parameter request, which may include the rated voltage of the charging load; the charging load 200 generates a level signal according to the rated voltage of the charging load, and sends the level signal to the first data pin DP of the charging device . It should be understood that since the data terminal is used to transmit data signals, the voltage that the data terminal can transmit is limited. In order to ensure the validity and accuracy of data transmission, the charging load sends to the data terminal the rated The level signal of the voltage, not the rated voltage of the charging load.
在一个实施例中,射极跟随器1021与电压比较器1022电性连接,射极跟随器1021将获取到的电平信号输入到电压比较器1022;电压比较器1022与编码器1023电性连接,电压比较器1022用于将接收到的电平信号与用于表征充电设备提供的额定输出电压的参考电压进行比较,得到比较结果,并将比较结果发送给编码器1023;编码器1023对比较结果进行编码处理,得到编码信息。In one embodiment, the emitter follower 1021 is electrically connected to the voltage comparator 1022, and the emitter follower 1021 inputs the obtained level signal to the voltage comparator 1022; the voltage comparator 1022 is electrically connected to the encoder 1023 , the voltage comparator 1022 is used to compare the received level signal with the reference voltage used to characterize the rated output voltage provided by the charging device, obtain the comparison result, and send the comparison result to the encoder 1023; the encoder 1023 compares The result is coded to obtain coded information.
在一个实施例中,编码器1023与微控制单元103电性连接,编码器1023将得到的编码信息传输给微控制单元103,微控制单元103根据编码信息生成充电提示信息。微控制单元103与第一数据引脚DP电性连接,微控制单元103将生成的充电提示信息发送给第一数据引脚DP,第一数据引脚DP将充电提示信息发送给充电负载200。其中,充电提示信息用于提示充电负载充电设备与充电负载的额定电压之间的大小关系,以便于充电负载根据上述的大小关系进行充电管理。In one embodiment, the encoder 1023 is electrically connected to the micro control unit 103, and the encoder 1023 transmits the obtained encoded information to the micro control unit 103, and the micro control unit 103 generates charging prompt information according to the encoded information. The micro control unit 103 is electrically connected to the first data pin DP, the micro control unit 103 sends the generated charging prompt information to the first data pin DP, and the first data pin DP sends the charging prompt information to the charging load 200 . Wherein, the charging prompt information is used to prompt the charging load of the magnitude relationship between the charging device and the rated voltage of the charging load, so that the charging load can perform charging management according to the above magnitude relationship.
在一个实施例中,本发明实施例中通信模块102中所使用的射极跟随器1021的电路结构图如图2所示,由图2可知射极跟随器1021的电路中包括四个电阻,一个三极管,射极跟随器的主要特点是输入电阻高,传递信号源信号效率高,输出电阻低,带负载能力强,电压放大倍数小于1接近于1,且输出电压与输入电压相位相同,具有跟随特性,在实际应用中广泛作为输出级或者中间隔离级别。射极跟随器作为中间隔离级时能够将前级和后级隔离,实现了缓冲、隔离前后级的相互干扰,从而避免输出电压受到负载的影响。In one embodiment, the circuit structure diagram of the emitter follower 1021 used in the communication module 102 in the embodiment of the present invention is shown in FIG. 2 . It can be seen from FIG. 2 that the circuit of the emitter follower 1021 includes four resistors, A triode, the main characteristics of the emitter follower are high input resistance, high efficiency of transmitting signal source signals, low output resistance, strong load capacity, voltage magnification is less than 1 close to 1, and the output voltage is in the same phase as the input voltage, with Following the characteristics, it is widely used as an output stage or an intermediate isolation level in practical applications. When the emitter follower is used as an intermediate isolation stage, it can isolate the front stage and the rear stage, and realize buffering and isolation of mutual interference between the front and rear stages, thereby preventing the output voltage from being affected by the load.
较佳地,充电设备100中还包括充电电路104,微控制单元103与充电电路104电性连接,当微控制单元103接收到充电负载200针对充电提示信息发送的充电响应信息时,基于充电响应信息控制充电电路为充电负载充电。其中,充电响应信息可以是充电负载在用户针对充电提示信息输入了确认充电操作后生成的。充电电路104与电源引脚VDD电性连接,充电电路通过电源引脚VDD向充电负载提供电源以为充电负载充电。Preferably, the charging device 100 also includes a charging circuit 104, and the micro-control unit 103 is electrically connected to the charging circuit 104. When the micro-control unit 103 receives the charging response information sent by the charging load 200 for the charging prompt information, based on the charging response The information controls the charging circuit to charge the charging load. Wherein, the charging response information may be generated by the charging load after the user confirms the charging operation according to the charging prompt information. The charging circuit 104 is electrically connected to the power pin VDD, and the charging circuit provides power to the charging load through the power pin VDD to charge the charging load.
在一个实施例中,如果充电负载200根据充电提示信息明确充电负载的额定电压小于充电设备提供的额定输出电压,充电负载200可以在用户界面显示该充电提示信息以便于用户根据该充电提示信息输入操作,如果充电负载200接收到用户输入的确定充电的操作,充电负载200根据确认充电的操作生成充电响应信息,并将充电响应信息发送给充电设备100;充电设备100中的微控制单元103接收到充电响应信息之后,可通知充电设备100中降压模块,将充电电路104提供的电压降低到与充电负载的额定电压相匹配,然后通过充电电路104以与充电负载相匹配的电压为充电负载进行充电。可选的,如果充电负载的额定电压小于充电设备提供的额定输出电压,此时充电提示信息用于提示用于如果使用该充电设备为充电负载进行充电可能会存在安全隐患。In one embodiment, if the charging load 200 determines that the rated voltage of the charging load is lower than the rated output voltage provided by the charging device according to the charging prompt information, the charging load 200 can display the charging prompt information on the user interface so that the user can input the charging prompt information according to the charging prompt information. Operation, if the charging load 200 receives the operation of determining the charging input by the user, the charging load 200 generates charging response information according to the operation of confirming charging, and sends the charging response information to the charging device 100; the micro control unit 103 in the charging device 100 receives After receiving the charging response information, the step-down module in the charging device 100 can be notified to reduce the voltage provided by the charging circuit 104 to match the rated voltage of the charging load, and then use the charging circuit 104 to supply the charging load with a voltage that matches the charging load. to charge. Optionally, if the rated voltage of the charging load is lower than the rated output voltage provided by the charging device, the charging prompt information is used to indicate that there may be safety hazards if the charging device is used to charge the charging load.
应当理解的,由于通过较高电压的充电设备为较低充电负载进行充电存在安全隐患,充电设备100在通过降压处理控制充电电路104以与充电负载200相匹配的电压为充电负载进行充电之前,向充电负载200发送充电提示信息,有助于充电负载用户根据实际情况判断是否需要使用该充电设备继续充电,换句话说,如果用户还有其他可用充电设备,则可以选择更合适的充电设备为充电负载进行充电,如此一来,便于对充电负载进行充电管理,确保了充电负载的充电安全。It should be understood that due to the potential safety hazards of charging a lower charging load through a higher voltage charging device, the charging device 100 controls the charging circuit 104 to charge the charging load with a voltage that matches the charging load 200 through the step-down process. , to send charging prompt information to the charging load 200, which helps the charging load user to judge whether to use the charging device to continue charging according to the actual situation. In other words, if the user has other available charging devices, he can choose a more suitable charging device Charging the charging load, in this way, it is convenient to manage the charging of the charging load and ensure the charging safety of the charging load.
在一个实施例中,如果充电负载200根据充电提示信息明确充电负载的额定电压大于充电设备提供的额定输出电压,充电负载可以在用户界面显示该充电提示信息以便于用户根据该充电提示信息输入操作,如果充电负载200接收到用户输入的确定充电的操作,充电负载200根据确认充电的操作生成充电响应信息,并将充电响应信息发送给充电设备100。充电设备100中的微控制单元103接收到充电响应信息之后,可通知充电设备100以充电设备提供的额定输出电压作为充电电压,充电电路104以充电电压为充电负载进行充电。可选的,当充电负载的额定电压大于充电设备提供的额定输出电压时,充电提示信息可用于告知用户如果选择该充电设备为充电负载进行充电需要花费较多时间。In one embodiment, if the charging load 200 determines that the rated voltage of the charging load is greater than the rated output voltage provided by the charging device according to the charging prompt information, the charging load can display the charging prompt information on the user interface so that the user can input the operation according to the charging prompt information. , if the charging load 200 receives the operation of confirming charging input by the user, the charging load 200 generates charging response information according to the operation of confirming charging, and sends the charging response information to the charging device 100 . After receiving the charging response information, the micro control unit 103 in the charging device 100 can notify the charging device 100 to use the rated output voltage provided by the charging device as the charging voltage, and the charging circuit 104 charges the charging load with the charging voltage. Optionally, when the rated voltage of the charging load is greater than the rated output voltage provided by the charging device, the charging prompt information may be used to inform the user that it will take more time to charge the charging load if the charging device is selected.
应当理解的,由于充电设备提供的额定输出电压小于充电负载的额定电压,此时使用充电设备为充电复杂进行充电时,可能需要耗费较多时间,因此在充电电路以充电设备提供的额定输出电压为充电负载充电之前向充电负载发送充电提示信息,有助于充电负载用户根据实际情况确定是否继续充电,如此一来可以提高用户体验。It should be understood that since the rated output voltage provided by the charging device is lower than the rated voltage of the charging load, it may take a long time to charge the charging complex using the charging device at this time, so the rated output voltage provided by the charging device in the charging circuit Sending a charging prompt message to the charging load before charging the charging load helps the user of the charging load determine whether to continue charging according to the actual situation, thus improving user experience.
本发明实施例中,充电设备100包括充电端口101、通信模块102以及微控制单元103,充电端口101用于电性连接充电负载且包括电源端和数据端,电源端用于提供充电电源,数据端用于传输数据信号;通信模块102分别与数据端和微控制单元电性连接,数据端还用于接收表征充电负载额定充电电压的电平信号;通信模块102用于根据电平信号生成编码信息,并将编码信息发送给微控制单元103;微控制单元103与数据端电性连接以根据所述编码信息与所述充电负载执行数据通信,实现了充电设备与充电负载之间的通信,有利于对充电负载进行充电管理,确保充电负载充电的安全性。In the embodiment of the present invention, the charging device 100 includes a charging port 101, a communication module 102, and a micro-control unit 103. The charging port 101 is used to electrically connect a charging load and includes a power terminal and a data terminal. The power terminal is used to provide charging power, data The terminal is used to transmit data signals; the communication module 102 is electrically connected to the data terminal and the micro control unit respectively, and the data terminal is also used to receive the level signal representing the rated charging voltage of the charging load; the communication module 102 is used to generate codes according to the level signal information, and send the coded information to the micro control unit 103; the micro control unit 103 is electrically connected to the data terminal to perform data communication with the charging load according to the coded information, realizing the communication between the charging device and the charging load, It is beneficial to charge management of the charging load and ensure the safety of charging the charging load.
参考图3,为本发明实施例提供的一种充电通信方法,图3所示的充电通信方法可以应用在图1所示的充电设备中,该充电通信方法可以由充电设备执行。图3所示的充电通信方法可包括以下步骤:Referring to FIG. 3 , it is a charging communication method provided by an embodiment of the present invention. The charging communication method shown in FIG. 3 can be applied to the charging device shown in FIG. 1 , and the charging communication method can be executed by the charging device. The charging communication method shown in FIG. 3 may include the following steps:
步骤S401、当充电设备通过充电端口与充电负载电性连接时,充电设备通过充电端口的数据端接收表征充电负载的额定电压的电平信号。Step S401, when the charging device is electrically connected to the charging load through the charging port, the charging device receives a level signal representing the rated voltage of the charging load through the data terminal of the charging port.
在一个实施例中,电平信号是用于表征充电负载的额定电压的信号,或者说电平信号与充电负载的额定电压之间有对应关系,电平信号是充电负载的额定电压以一定规则缩小后的电压值,充电负载之所以向充电设备发送用于表征充电负载的额定电压的电平信号,而不是直接向充电设备发送额定电压,是由于充电设备的充电端口中的数据端只能传输较小的电压,不能传输较大电压。充电负载可以预先设置电平信号与额定电压的对应关系,例如假设充电负载的额定电压为5V,可以设置与额定电压对应的电平信号为3V或者2V或者1V。对于具体的额定电压与电平信号之间的对应关系本发明实施例中不做限定。In one embodiment, the level signal is a signal used to characterize the rated voltage of the charging load, or there is a corresponding relationship between the level signal and the rated voltage of the charging load, and the level signal is the rated voltage of the charging load according to a certain rule The reason why the charging load sends a level signal representing the rated voltage of the charging load to the charging device instead of directly sending the rated voltage to the charging device is that the data terminal in the charging port of the charging device can only Smaller voltages are transmitted, but larger voltages cannot be transmitted. The charging load can preset the corresponding relationship between the level signal and the rated voltage. For example, assuming that the rated voltage of the charging load is 5V, the level signal corresponding to the rated voltage can be set to 3V, 2V or 1V. The specific corresponding relationship between the rated voltage and the level signal is not limited in this embodiment of the present invention.
在一个实施例中,充电设备接收到电平信号可以是充电负载在检测到与充电设备之间的电性连接的情况下接收到的。充电负载与充电设备之间的电性连接已建立是指:充电设备接入交流电,并且充电负载的充电端口通过数据线与充电设备的充电端口的数据端进行连接。In an embodiment, the level signal received by the charging device may be received by the charging load when an electrical connection with the charging device is detected. The established electrical connection between the charging load and the charging device means that the charging device is connected to AC power, and the charging port of the charging load is connected to the data terminal of the charging port of the charging device through a data cable.
在一个实施例中,充电端口中的数据端主要用于数据传输,数据端可包括第一数据引脚和第二数据引脚,第一数据引脚可以表示为DP,第二数据引脚可以表示为DM,上述充电设备通过充电端口的数据端接收充电负载发送的电平信号实质上是通过数据端的第一数据引脚接收充电负载发送的电平信号,也可以是通过数据端的第二引脚接收。通常情况下,如果检测到高速电平信号,则可通过第一数据引脚接收,如果检测到低速电平信号,则可以通过第二数据引脚接收。在一个实施例中,充电端口中的电源端可以包括电源引脚和接地引脚,电源引脚用于为充电负载提供充电电压,接地引脚用于接地。In one embodiment, the data terminal in the charging port is mainly used for data transmission, the data terminal may include a first data pin and a second data pin, the first data pin may be denoted as DP, and the second data pin may be Denoted as DM, the above-mentioned charging device receives the level signal sent by the charging load through the data terminal of the charging port. In essence, it receives the level signal sent by the charging load through the first data pin of the data terminal, or it can be through the second pin of the data terminal. feet to receive. Normally, if a high-speed level signal is detected, it can be received through the first data pin, and if a low-speed level signal is detected, it can be received through the second data pin. In one embodiment, the power terminal of the charging port may include a power pin and a ground pin, the power pin is used to provide a charging voltage for the charging load, and the ground pin is used for grounding.
在一个实施例中,数据端包括的第一数据引脚和第二数据引脚之间通过一电阻进行电性连接,如此可以使得充电负载与充电设备连接时,充电负载检测连接到充电设备的专用充电端口,或者说可是使得充电负载检测到已连接的设备为充电设备。In one embodiment, the first data pin and the second data pin included in the data terminal are electrically connected through a resistor, so that when the charging load is connected to the charging device, the charging load detects the voltage connected to the charging device. A dedicated charging port, or in other words, allows the charging load to detect that the connected device is a charging device.
在一个实施例中,充电设备接收充电负载发送的电平信号的方式可以为:在连接建立之后,充电设备可以通过数据端向充电负载发送充电参数请求,该充电参数请求用于指示充电负载向充电设备发送充电负载的额定电压,在其他实施例中充电参数请求还可以用于指示充电负载向充电设备发送充电负载的额定电流;接收到充电设备发送的充电参数请求后,充电负载获取充电负载的额定电压,并根据额定电压确定用于表征该额定电压的电平信号,将该电平信号发送给充电设备的数据端。In an embodiment, the way for the charging device to receive the level signal sent by the charging load can be as follows: after the connection is established, the charging device can send a charging parameter request to the charging load through the data terminal, and the charging parameter request is used to instruct the charging load to The charging device sends the rated voltage of the charging load. In other embodiments, the charging parameter request can also be used to instruct the charging load to send the rated current of the charging load to the charging device; after receiving the charging parameter request sent by the charging device, the charging load obtains the charging load The rated voltage, and determine the level signal used to characterize the rated voltage according to the rated voltage, and send the level signal to the data terminal of the charging device.
步骤S402、充电设备根据电平信号生成编码信息。Step S402, the charging device generates coded information according to the level signal.
在一个实施例中,充电设备根据电平信号生成编码信息的方式可以为:充个电设备将电平信号与参考电压进行比较,得到比较结果,然后对比较结果进行编码处理,从而得到编码信息。在一个实施例中,参考电压用于表征充电设备提供的额定输出电压,也就是说参考电压与充电设备提供的额定输出电压是相互对应的关系,需要说明的是,为了使得充电负载准确的对充电负载进行充电管理,此处设置参考电压与充电设备提供的额定输出电压之间相互对应的关系的规则与上述设置电平信号与充电负载的额定电压的规则需要保持相同。比如,如果设置终端测的电平信号与充电负载的额定电压的对应关系的规则可以是:额定电压5V对应的电平信号为1V,那么设置充电设备侧的参考电压与充电设备提供的额定输出电压的对应关系的规则也为:充电设备提供的额定输出电压为5V对应的参考电压也为1V。In an embodiment, the way for the charging device to generate coded information according to the level signal may be as follows: the charging device compares the level signal with a reference voltage to obtain the comparison result, and then encodes the comparison result to obtain the coded information . In one embodiment, the reference voltage is used to characterize the rated output voltage provided by the charging device, that is to say, the reference voltage and the rated output voltage provided by the charging device are in a corresponding relationship. It should be noted that, in order to make the charging load accurately The charging load performs charging management. Here, the rules for setting the relationship between the reference voltage and the rated output voltage provided by the charging device need to be the same as the above-mentioned rules for setting the level signal and the rated voltage of the charging load. For example, if the rule for setting the corresponding relationship between the level signal measured by the terminal and the rated voltage of the charging load can be: the level signal corresponding to the rated voltage of 5V is 1V, then set the reference voltage on the charging device side and the rated output provided by the charging device The rule of the voltage correspondence is also: the reference voltage corresponding to the rated output voltage provided by the charging device is 5V is also 1V.
应当理解的,将电平信号与参考电压进行比较可以得知充电负载的额定电压与充电设备可提供电压之间的大小关系。It should be understood that by comparing the level signal with the reference voltage, the magnitude relationship between the rated voltage of the charging load and the voltage that can be provided by the charging device can be known.
具体地,充电设备可包括射极跟随器、电压比较器和编码器,其中,射极跟随器的主要特点是输入电阻高,传递信号源信号效率高,输出电阻低,带负载能力强,电压放大倍数小于1接近于1,且输出电压与输入电压相位相同,具有跟随特性,在实际应用中广泛作为输出级或者中间隔离级别。射极跟随器作为中间隔离级时能够将前级和后级隔离,实现了缓冲、隔离前后级的相互干扰,从而避免输出电压受到负载的影响。电压比较器可以对输入其的两个电压进行大小比较,比较结果用高低电平表示,具体地,本发明实施例中如果充电负载的额定电压大于参考电压,则可以输出高电平或者低电平,如果充电负载的额定电压小于充电设备的参考电压,则可以输出低电平或者高电平。编码器可以将模拟信息编码处理为数字信息。Specifically, the charging device may include an emitter follower, a voltage comparator, and an encoder. Among them, the main characteristics of the emitter follower are high input resistance, high efficiency of transmitting signal source signals, low output resistance, strong load capacity, and high voltage The magnification is less than 1 and close to 1, and the output voltage is in the same phase as the input voltage, and has following characteristics. It is widely used as an output stage or an intermediate isolation level in practical applications. When the emitter follower is used as an intermediate isolation stage, it can isolate the front stage and the rear stage, and realize buffering and isolation of mutual interference between the front and rear stages, thereby preventing the output voltage from being affected by the load. The voltage comparator can compare the two voltages input to it, and the comparison result is represented by a high or low level. Specifically, if the rated voltage of the charging load is greater than the reference voltage in the embodiment of the present invention, it can output a high level or a low level. Level, if the rated voltage of the charging load is less than the reference voltage of the charging device, it can output low level or high level. Encoders encode analog information into digital information.
在一个实施例中,充电设备根据电平信号生成编码信息的方式可以是:充电设备通过射极跟随器获取数据端接收到的电平信号,并将该电平信号传输给电压比较器;充电设备通过电压比较器将电平信号与参考电压进行比较,得到比较结果,并将该比较结果传输给编码器;充电设备通过编码器对接收到的比较结果进行编码处理,得到编码信息。应当理解的,电压比较器输出的比较结果是模拟电平信息,充电设备与充电负载可以传输的信息是数字信息,通过编码器对比较结果进行编码处理将原来的模拟电平信息变成了数据信息,也即编码信息,如此可以使得充电设备与充电负载之间可以通信。In an embodiment, the charging device can generate coded information according to the level signal as follows: the charging device obtains the level signal received by the data terminal through an emitter follower, and transmits the level signal to the voltage comparator; The device compares the level signal with the reference voltage through the voltage comparator to obtain the comparison result, and transmits the comparison result to the encoder; the charging device encodes the received comparison result through the encoder to obtain the encoded information. It should be understood that the comparison result output by the voltage comparator is analog level information, and the information that can be transmitted between the charging device and the charging load is digital information, and the original analog level information is converted into data by encoding the comparison result through the encoder. Information, that is, coded information, can enable communication between the charging device and the charging load.
步骤S403、充电设备通过数据端根据编码信息与充电负载执行数据通信。Step S403, the charging device performs data communication with the charging load through the data terminal according to the coded information.
在一个实施例中,充电设备通过数据端根据编码信息与充电负载执行数据通信,包括:充电设备根据编码信息生成充电提示信息,并将充电提示信息通过数据端发送给充电负载,充电提示信息充电负载该充电负载的额定电压与充电设备提供的额定输出电压的大小关系,以便于充电负载根据大小关系对充电负载进行充电管理。In one embodiment, the charging device performs data communication with the charging load through the data terminal according to the coded information, including: the charging device generates charging prompt information according to the coded information, and sends the charging prompt information to the charging load through the data terminal, and the charging prompt information charges Load the magnitude relationship between the rated voltage of the charging load and the rated output voltage provided by the charging equipment, so that the charging load can charge and manage the charging load according to the magnitude relationship.
在一个实施例中,充电提示信息用于提示充电负载充电设备提供的额定输出电压与充电负载的额定电压之间的大小关系,以便于充电负载根据该大小关系执行下一步的充电控制。充电负载可以将接收到的充电提示信息显示在用户界面,以便于用户根据大小关系输入是否继续充电的指示操作,进一步的,充电负载可以根据用户输入的指示操作确定是否向充电设备发送充电响应信息。如果充电负载接收到用户确认充电操作,则充电负载可向充电设备发送充电响应信息以使得充电设备为充电负载充电;如果充电负载接收到用户取消充电操作,则充电负载可不向充电设备发送充电响应信息。In one embodiment, the charging prompt information is used to remind the charging load of the magnitude relationship between the rated output voltage provided by the charging device and the rated voltage of the charging load, so that the charging load can perform the next step of charging control according to the magnitude relationship. The charging load can display the received charging prompt information on the user interface, so that the user can input the indication operation whether to continue charging according to the size relationship. Further, the charging load can determine whether to send charging response information to the charging device according to the indication operation input by the user. . If the charging load receives the user's confirmation of the charging operation, the charging load can send a charging response message to the charging device so that the charging device can charge the charging load; if the charging load receives the user's cancellation of the charging operation, the charging load can not send a charging response to the charging device information.
在一个实施例中,充电设备还包括充电电路,当充电设备接收到充电负载针对充电提示信息发送的充电响应信息时,充电设备根据充电响应信息确定与充电负载的额定电压相匹配的充电电压;通过充电电路以充电电压为充电负载充电。In one embodiment, the charging device further includes a charging circuit. When the charging device receives charging response information sent by the charging load in response to the charging prompt information, the charging device determines a charging voltage that matches the rated voltage of the charging load according to the charging response information; Charge the charging load with the charging voltage through the charging circuit.
在一个实施例中,如果充电负载根据充电提示信息明确充电负载的额定电压小于充电设备提供的额定输出电压,充电负载可以在用户界面显示该充电提示信息以便于用户根据该充电提示信息输入指示操作,如果充电负载接收到用户输入的确定充电操作,充电负载根据确认充电操作生成充电响应信息,并将充电响应信息发送给充电设备;充电设备接收到充电响应信息之后,可通知充电设备中降压模块,将充电电路提供的电压降低到与充电负载的额定电压相匹配,然后通过充电电路以与充电负载相匹配的电压为充电负载进行充电。可选的,如果充电负载的额定电压小于充电设备提供的额定输出电压,此时充电提示信息用于提示用于如果使用该充电设备为充电负载进行充电可能会存在安全隐患。In one embodiment, if the charging load determines that the rated voltage of the charging load is lower than the rated output voltage provided by the charging device according to the charging prompt information, the charging load can display the charging prompt information on the user interface so that the user can input instructions according to the charging prompt information. , if the charging load receives the determined charging operation input by the user, the charging load generates charging response information according to the confirmed charging operation, and sends the charging response information to the charging device; after the charging device receives the charging response information, it can notify the charging device to step down The module reduces the voltage provided by the charging circuit to match the rated voltage of the charging load, and then charges the charging load with a voltage that matches the charging load through the charging circuit. Optionally, if the rated voltage of the charging load is lower than the rated output voltage provided by the charging device, the charging prompt information is used to indicate that there may be safety hazards if the charging device is used to charge the charging load.
应当理解的,由于通过较高电压的充电设备为较低充电负载进行充电存在安全隐患,充电设备在通过降压处理控制充电电路以与充电负载相匹配的电压为充电负载进行充电之前,向充电负载发送充电提示信息,有助于充电负载用户根据实际情况判断是否需要使用该充电设备继续充电,换句话说,如果用户还有其他可用充电设备,则可以选择更合适的充电设备为充电负载进行充电,如此一来,便于对充电负载进行充电管理,确保了充电负载的充电安全。It should be understood that because there is a safety hazard in charging a lower charging load through a charging device with a higher voltage, the charging device will charge the charging load with a voltage that matches the charging load before the charging device controls the charging circuit to charge the charging load with a voltage that matches the charging load. The load sends charging prompt information to help the charging load user judge whether to use the charging device to continue charging according to the actual situation. In other words, if the user has other available charging devices, he can choose a more suitable charging device for the charging load. Charging, in this way, it is convenient to charge and manage the charging load, ensuring the charging safety of the charging load.
在一个实施例中,如果充电负载根据充电提示信息明确充电负载的额定电压大于充电设备提供的额定输出电压,充电负载可以在用户界面显示该充电提示信息以便于用户根据该充电提示信息输入指示操作,如果充电负载接收到用户输入的确定充电操作,充电负载根据确认充电的操作生成充电响应信息,并将充电响应信息发送给充电设备。充电设备接收到充电响应信息之后,可通知充电设备以充电设备提供的额定输出电压作为充电电压,充电电路以充电电压为充电负载进行充电。可选的,当充电负载的额定电压大于充电设备提供的额定输出电压时,充电提示信息可用于告知用户如果选择该充电设备为充电负载进行充电需要花费较多时间。In one embodiment, if the charging load determines that the rated voltage of the charging load is greater than the rated output voltage provided by the charging device according to the charging prompt information, the charging load can display the charging prompt information on the user interface so that the user can input instructions according to the charging prompt information. , if the charging load receives a confirmation charging operation input by the user, the charging load generates charging response information according to the charging confirmation operation, and sends the charging response information to the charging device. After receiving the charging response information, the charging device can notify the charging device to use the rated output voltage provided by the charging device as the charging voltage, and the charging circuit uses the charging voltage to charge the charging load. Optionally, when the rated voltage of the charging load is greater than the rated output voltage provided by the charging device, the charging prompt information may be used to inform the user that it will take more time to charge the charging load if the charging device is selected.
举例来说,假设充电负载的额定电压是5V,充电设备可提供的最大电压为9V,充电设备与充电负载之间的连接已建立时,充电设备向充电负载发送充电参数获取请求,然后充电负载向充电设备发送电平信号,充电设备将电平信号与参考电压进行比较,得到比较结果;根据比较结果生成充电提示信息,并发送给充电负载,充电负载可以从充电提示信息中得知额定电压与充电设备提供的额定输出电压之间的大小关系,并将大小关系展示给用户。如果用户想要继续使用该充电设备为充电负载进行充电,用户输入确认充电操作,进而充电负载通知充电设备将9V降低到5V以为充电负载充电。For example, suppose the rated voltage of the charging load is 5V, and the maximum voltage that the charging device can provide is 9V. When the connection between the charging device and the charging load is established, the charging device sends a charging parameter acquisition request to the charging load, and then the charging load Send a level signal to the charging device, and the charging device compares the level signal with the reference voltage to obtain the comparison result; generates a charging prompt message based on the comparison result and sends it to the charging load, and the charging load can know the rated voltage from the charging prompt message The relationship between the magnitude and the rated output voltage provided by the charging device, and display the magnitude relationship to the user. If the user wants to continue using the charging device to charge the charging load, the user inputs to confirm the charging operation, and then the charging load notifies the charging device to reduce the 9V to 5V to charge the charging load.
本发明实施例中,在充电设备通过充电端口与充电负载电性连接的情况下,充电设备接收到充电负载发送的电平信号,并可根据电平信号生成编码信息,进一步的充电设备通过数据端根据编码信息与充电负载执行数据通信,以便于对充电负载进行充电管理,确保充电负载充电的安全性。In the embodiment of the present invention, when the charging device is electrically connected to the charging load through the charging port, the charging device receives the level signal sent by the charging load, and can generate coded information according to the level signal, and further the charging device passes the data The terminal performs data communication with the charging load according to the coded information, so as to manage the charging load and ensure the safety of charging the charging load.
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,的程序可存储于一计算机可读取存储介质中,该程序在执行时,可包括如上述各方法的实施例的流程。其中,的存储介质可为磁碟、光盘、只读存储记忆体(Read-Only Memory,ROM)或随机存储记忆体(Random Access Memory,RAM)等。Those of ordinary skill in the art can understand that all or part of the processes in the methods of the above embodiments can be implemented through computer programs to instruct related hardware, and the programs can be stored in a computer-readable storage medium. , may include the flow of the embodiments of the above-mentioned methods. Wherein, the storage medium may be a magnetic disk, an optical disk, a read-only memory (Read-Only Memory, ROM) or a random access memory (Random Access Memory, RAM), and the like.
以上所揭露的仅为本发明一种较佳实施例而已,当然不能以此来限定本发明之权利范围,本领域普通技术人员可以理解实现上述实施例的全部或部分流程,并依本发明权利要求所作的等同变化,仍属于发明所涵盖的范围。What is disclosed above is only a preferred embodiment of the present invention, and of course it cannot limit the scope of rights of the present invention. Those of ordinary skill in the art can understand all or part of the process for realizing the above embodiments, and according to the rights of the present invention The equivalent changes required still belong to the scope covered by the invention.
Claims (10)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201811629979.3A CN110212596B (en) | 2018-12-28 | 2018-12-28 | Charging equipment and charging communication method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201811629979.3A CN110212596B (en) | 2018-12-28 | 2018-12-28 | Charging equipment and charging communication method |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN110212596A true CN110212596A (en) | 2019-09-06 |
| CN110212596B CN110212596B (en) | 2024-11-29 |
Family
ID=67780040
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201811629979.3A Active CN110212596B (en) | 2018-12-28 | 2018-12-28 | Charging equipment and charging communication method |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN110212596B (en) |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN110867068A (en) * | 2019-11-21 | 2020-03-06 | 广东乐芯智能科技有限公司 | Contact charging control method for wearable equipment |
| CN113320430A (en) * | 2021-07-01 | 2021-08-31 | 买买提艾力·阿布都热西提 | Electric vehicle charger, charging pile and charging management system |
Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2000041345A (en) * | 1998-07-21 | 2000-02-08 | Tamagawa Seiki Co Ltd | How to monitor encoder battery voltage |
| CN1313701A (en) * | 2000-03-08 | 2001-09-19 | 日本电气株式会社 | Method and system for connecting mobile telecommunication device with PC computer |
| CN105144544A (en) * | 2013-04-17 | 2015-12-09 | 英迪股份有限公司 | Wireless power transmission apparatus and method therefor |
| CN107517555A (en) * | 2017-09-11 | 2017-12-26 | 深圳传音制造有限公司 | Housing and mobile terminal |
-
2018
- 2018-12-28 CN CN201811629979.3A patent/CN110212596B/en active Active
Patent Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2000041345A (en) * | 1998-07-21 | 2000-02-08 | Tamagawa Seiki Co Ltd | How to monitor encoder battery voltage |
| CN1313701A (en) * | 2000-03-08 | 2001-09-19 | 日本电气株式会社 | Method and system for connecting mobile telecommunication device with PC computer |
| CN105144544A (en) * | 2013-04-17 | 2015-12-09 | 英迪股份有限公司 | Wireless power transmission apparatus and method therefor |
| CN107517555A (en) * | 2017-09-11 | 2017-12-26 | 深圳传音制造有限公司 | Housing and mobile terminal |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN110867068A (en) * | 2019-11-21 | 2020-03-06 | 广东乐芯智能科技有限公司 | Contact charging control method for wearable equipment |
| CN113320430A (en) * | 2021-07-01 | 2021-08-31 | 买买提艾力·阿布都热西提 | Electric vehicle charger, charging pile and charging management system |
Also Published As
| Publication number | Publication date |
|---|---|
| CN110212596B (en) | 2024-11-29 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US10670668B2 (en) | Electronic device | |
| TWI640145B (en) | Adapter, portable electronic device and charging control method thereof | |
| US9448611B2 (en) | Interface expending method and device for tablet computer | |
| JP5717005B2 (en) | Method and terminal for selecting an internal circuit according to the status of a USB interface | |
| CN106972736B (en) | Power supply adapting device, control method and device | |
| US10439420B2 (en) | Charging method, charging adapter and charging system | |
| US10931125B2 (en) | Detection circuit and method for starting charging | |
| US10181734B2 (en) | Charging control method and charging system, power delivery unit, and power receiver control circuit using the method | |
| CN107707000B (en) | OTG power supply and wireless charging compatible circuit, related method and terminal equipment | |
| US9547573B2 (en) | Serial communication over communication control pin | |
| CN109254210B (en) | Electronic equipment port type detection method and device, detection circuit and electronic equipment | |
| US20120249119A1 (en) | Input-output circuit | |
| CN110768332B (en) | Charging cartridge, charging control method thereof, and readable storage medium | |
| US20120254478A1 (en) | Input-output circuit | |
| KR20160030261A (en) | Apparatus and method to change current limit | |
| CN106649015A (en) | Testing device and testing method of USB interface | |
| CN105068959A (en) | A charging method and device for a terminal and a terminal with a data exchange function | |
| CN106300501A (en) | Adapter identification method and intelligent mobile terminal | |
| CN104701937A (en) | Charging method, terminal equipment and adapter | |
| CN105071484B (en) | A kind of charging method and device of the terminal with data exchanging function | |
| CN106329654A (en) | Electronic device and charging method thereof | |
| US11316308B2 (en) | Adapter, multi-device detection system and detection method thereof | |
| CN110212596B (en) | Charging equipment and charging communication method | |
| CN201260086Y (en) | Mobile terminal and charging detection device thereof | |
| CN107425570B (en) | Charging method, system and device for terminal equipment |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant |