技术领域Technical field
本发明涉及电器技术领域,更具体地,涉及一种优先级可选的多路电流自适应充电装置。The present invention relates to the field of electrical appliance technology, and more specifically, to a multi-channel current adaptive charging device with selectable priorities.
背景技术Background technique
现有技术中,移动电子设备越来越多,由于移动设备的储电量及长时间使用的需求,需要经常使用充电装置进行充电,而在实际使用过程中,往往存在对多个待充电目标或对一个充电目标及其备用电源同时充电,在此情况下,人们往往需要对优先使用的设备进行优先充电。In the existing technology, there are more and more mobile electronic devices. Due to the power storage capacity and long-term use requirements of mobile devices, charging devices need to be frequently used for charging. In actual use, there are often multiple targets to be charged or To charge a charging target and its backup power supply at the same time, in this case, people often need to give priority to the device that is used first.
如PDA(Personal Digital Assistant),又称为掌上电脑,可以帮助我们完成在移动中工作,学习,娱乐等。按使用来分类,分为工业级PDA和消费品PDA。工业级PDA主要应用在工业领域,常见的有条码扫描器、RFID读写器、POS机等都可以称作PDA;PDA需要电池以维持正常运作,PDA使用锂离子电池或是碱性电池等作为其电源,使用碱性电池作为电源的PDA很少,如ACER S10、PLAM M100、SONY PEG SL-10等,绝大部分的PDA电源采用锂离子电池。For example, PDA (Personal Digital Assistant), also known as handheld computer, can help us complete work, study, entertainment, etc. on the move. Classified by use, they are divided into industrial-grade PDAs and consumer-grade PDAs. Industrial-grade PDAs are mainly used in the industrial field. Common ones include barcode scanners, RFID readers, POS machines, etc., which can be called PDA; PDA requires batteries to maintain normal operation. PDA uses lithium-ion batteries or alkaline batteries. For its power supply, there are very few PDAs that use alkaline batteries as power sources, such as ACER S10, PLAM M100, SONY PEG SL-10, etc. Most PDA power supplies use lithium-ion batteries.
目前,物联网行业PDA主要使用三种座充设备,第一种:仅支持电池充电,该设备需要将PDA可拆卸的锂电池取出,然后将锂电池放置于充电底座的卡槽内进行充电,待充电完成后再重新安装到PDA内部进行使用,这样就导致用户体验很差;第二种仅支持PDA充电,该设备只有PDA充电卡槽,没有电池充电卡槽。当客户在使用PDA过程中想给备用电池充电这种方式是不可行的,锂电池必须装进PDA方可充电,这样就影响了PDA的使用效率。第三种:支持锂电池与PDA同时充电,为了达到锂电池与PDA同时大电流快速充电的目的,必须配备大功率充电适配器,这样就导致适配器体积变大、成本增加,当PDA与锂电池没有同时插入卡槽进行充电时,大功率充电器就显得尤为浪费,并且明显增加了用户成本。另外,该设备不能选择优先给PDA充电,而且锂电池与PDA的充电电流不能依据实际情况进行调整,整体方案不太合理。Currently, PDA in the Internet of Things industry mainly uses three types of dock charging equipment. The first type: only supports battery charging. This device requires taking out the PDA’s removable lithium battery, and then placing the lithium battery in the card slot of the charging base for charging. After charging is completed, it is reinstalled inside the PDA for use, which results in a poor user experience; the second type only supports PDA charging, and the device only has a PDA charging card slot and no battery charging card slot. When customers want to charge the backup battery while using the PDA, this method is not feasible. The lithium battery must be installed in the PDA before it can be charged, which affects the efficiency of the PDA. The third type: supports simultaneous charging of lithium batteries and PDA. In order to achieve the purpose of high-current and fast charging of lithium batteries and PDA at the same time, a high-power charging adapter must be equipped. This will lead to an increase in the size and cost of the adapter. When PDA and lithium batteries do not have When the card slot is inserted for charging at the same time, a high-power charger is particularly wasteful and significantly increases user costs. In addition, the device cannot choose to charge the PDA first, and the charging current of the lithium battery and the PDA cannot be adjusted according to the actual situation, making the overall solution unreasonable.
发明内容Contents of the invention
本发明提供一种克服上述问题或者至少部分地解决上述问题的优先级可选的多路电流自适应充电装置,解决了现有的多路充电电路中不能够根据实际使用情况进行充电优先级调整的问题。The present invention provides a priority-selectable multi-channel current adaptive charging device that overcomes the above problems or at least partially solves the above problems, and solves the problem that the existing multi-channel charging circuit cannot adjust the charging priority according to actual usage conditions. The problem.
根据本发明的一个方面,提供一种多路充电装置,包括MCU逻辑控制模块和优先级控制模块和多个充电电路;According to one aspect of the present invention, a multi-channel charging device is provided, including an MCU logic control module, a priority control module and multiple charging circuits;
所述充电电路用于对插入的充电目标进行充电;The charging circuit is used to charge the inserted charging target;
所述优先级控制模块用于设置各充电电路的优先级,并发送对应的优先级信号;The priority control module is used to set the priority of each charging circuit and send corresponding priority signals;
所述MCU逻辑控制模块用于检测各充电电路的插拔状态,并根据优先级分配各充电电路的充电电流。The MCU logic control module is used to detect the plug-in and pull-out status of each charging circuit, and allocate the charging current of each charging circuit according to the priority.
作为优选的,所述多个充电电路包括PDA充电电路和锂电池充电电路;Preferably, the plurality of charging circuits include PDA charging circuits and lithium battery charging circuits;
所述PDA充电电路连接有PDA充电控制模块,所述PDA充电控制模块用于控制PDA充电电路的开启或关闭,PDA充电电路的充电电流设置,以及PDA是否有效连接充电回路检测。The PDA charging circuit is connected to a PDA charging control module. The PDA charging control module is used to control the opening or closing of the PDA charging circuit, the charging current setting of the PDA charging circuit, and detect whether the PDA is effectively connected to the charging circuit.
所述锂电池充电电路包括锂电池充电控制模块,所述锂电池充电控制模块用于控制锂电池充电电路的开启或关闭,锂电池充电状态检测,以及锂电池充电电路的电流调整。。The lithium battery charging circuit includes a lithium battery charging control module. The lithium battery charging control module is used to control the opening or closing of the lithium battery charging circuit, detect the charging status of the lithium battery, and adjust the current of the lithium battery charging circuit. .
作为优选的,所述MCU逻辑控制模块通过pri_PDA、pri_BAT实时检测PDA充电电路与锂电池充电电路的充电优先级状态;通过BAT_EN信号开启或关闭锂电池充电电路;通过BAT_CH、BAT_ST信号检测锂电池是否处于充电中、已充满或未插入状态;通过PDA_control信号控制PDA充电通路的导通与断开;通过Pad_current信号检测PDA充电电流的大小。Preferably, the MCU logic control module detects the charging priority status of the PDA charging circuit and the lithium battery charging circuit in real time through pri_PDA and pri_BAT; turns on or off the lithium battery charging circuit through the BAT_EN signal; and detects whether the lithium battery is connected through the BAT_CH and BAT_ST signals. In the charging, full or unplugged state; control the on and off of the PDA charging path through the PDA_control signal; detect the size of the PDA charging current through the Pad_current signal.
作为优选的,所述MCU逻辑控制模块包括微控制器、第一红外传感器、第二红外传感器;所述微控制器为STM32F103C8T6微控制器,所述微控制器的BOOT0、BOOT1脚通过电阻下拉接地,所述微控制器的NRST脚经过电阻上拉接电源;Preferably, the MCU logic control module includes a microcontroller, a first infrared sensor, and a second infrared sensor; the microcontroller is an STM32F103C8T6 microcontroller, and the BOOT0 and BOOT1 pins of the microcontroller are pulled down to ground through resistors. , the NRST pin of the microcontroller is pulled up and connected to the power supply through a resistor;
所述微控制器的26脚与PDA的优先级控制信号pri_PDA连接;所述微控制器的27脚与锂电池的优先级控制信号pri_BAT连接;Pin 26 of the microcontroller is connected to the priority control signal pri_PDA of the PDA; pin 27 of the microcontroller is connected to the priority control signal pri_BAT of the lithium battery;
所述微控制器的32脚与第一红外传感器的4脚连接;所述微控制器的33脚与第二红外传感器脚连接;所述微控制器的25脚与第一红外传感器的2脚连接;所述微控制器的31脚与第二红外传感器的2脚连接。Pin 32 of the microcontroller is connected to pin 4 of the first infrared sensor; pin 33 of the microcontroller is connected to pins of the second infrared sensor; pin 25 of the microcontroller is connected to pin 2 of the first infrared sensor. Connection: Pin 31 of the microcontroller is connected to pin 2 of the second infrared sensor.
作为优选的,所述PDA充电控制模块包括自恢复保险丝、运算放大电路、P型MOS管、第一N型三极管、第二N型三极管、第三N型三极管,所述运算放大电路的同相输入端与PDA充电电路的负端连接,所述P型MOS管的漏极与PDA充电电路的PDA+信号连接,所述第一N型三极管的基极与MCU逻辑控制模块的PDA_control信号连接,所述第二N型三极管的基极与MCU逻辑控制模块的D+_ctr信号连接,所述第三N型三极管的基极与MCU逻辑控制模块的D_ctr信号连接,所述运算放大电路的放大输出端与MCU逻辑控制模块的Pad_current信号连接。Preferably, the PDA charging control module includes a self-restoring fuse, an operational amplifier circuit, a P-type MOS transistor, a first N-type transistor, a second N-type transistor, and a third N-type transistor. The non-inverting input of the operational amplifier circuit The terminal is connected to the negative terminal of the PDA charging circuit, the drain of the P-type MOS tube is connected to the PDA+ signal of the PDA charging circuit, the base of the first N-type transistor is connected to the PDA_control signal of the MCU logic control module, the The base of the second N-type transistor is connected to the D+_ctr signal of the MCU logic control module, the base of the third N-type transistor is connected to the D_ctr signal of the MCU logic control module, and the amplification output end of the operational amplifier circuit is connected to the D+_ctr signal of the MCU logic control module. Pad_current signal connection of MCU logic control module.
作为优选的,所述锂电池充电控制模块包括锂电池充电控制芯片、第四N型三极管、第五N型三极管、第六N型三极管和锂电池充电座;所述锂电池充电控制芯片为TP4056充电控制芯片,所述锂电池充电座为CBA-2503T-75锂电池充电座;Preferably, the lithium battery charging control module includes a lithium battery charging control chip, a fourth N-type transistor, a fifth N-type transistor, a sixth N-type transistor and a lithium battery charging base; the lithium battery charging control chip is TP4056 Charging control chip, the lithium battery charging stand is a CBA-2503T-75 lithium battery charging stand;
所述第四N型三极管的基极与MCU逻辑控制模块的30脚连接,所述第五N型三极管的基极与MCU逻辑控制模块的43脚连接,所述第六N型三极管的基极与MCU逻辑控制模块的45脚连接,所述锂电池充电控制芯片的7脚与MCU逻辑控制模块的29脚连接,所述锂电池充电控制芯片的6脚与MCU逻辑控制模块的28脚连接;所述锂电池充电控制芯片的5脚与锂电池充电座的3脚连接;所述锂电池充电控制芯片的1脚与锂电池充电座的2脚连接。The base of the fourth N-type triode is connected to pin 30 of the MCU logic control module, the base of the fifth N-type triode is connected to pin 43 of the MCU logic control module, and the base of the sixth N-type triode Connected to pin 45 of the MCU logic control module, pin 7 of the lithium battery charging control chip is connected to pin 29 of the MCU logic control module, pin 6 of the lithium battery charging control chip is connected to pin 28 of the MCU logic control module; Pin 5 of the lithium battery charging control chip is connected to pin 3 of the lithium battery charging stand; pin 1 of the lithium battery charging control chip is connected to pin 2 of the lithium battery charging stand.
作为优选的,还包括电源管理模块,所述电源管理模块包括第一连接器、第二连接器、LDO芯片,所述第一连接器、第二连接器的电源输入引脚相连;所述LDO芯片的输入端与第一连接器、第二连接器连接,输出端与MCU逻辑控制电路的电源信号连接。Preferably, it also includes a power management module, the power management module includes a first connector, a second connector, and an LDO chip, and the power input pins of the first connector and the second connector are connected; the LDO The input end of the chip is connected to the first connector and the second connector, and the output end is connected to the power signal of the MCU logic control circuit.
作为优选的,还包括底座,所述底座包括底座主体、底座前面板、底座后面板和底座盖板;Preferably, it also includes a base, which includes a base body, a base front panel, a base rear panel and a base cover;
所述底座主体上设有与各充电电路对应的充电卡槽;The main body of the base is provided with charging card slots corresponding to each charging circuit;
所述底座前面板设有分别用于显示底座电源管理模块的显示灯,以及显示充电状态的指示灯;The front panel of the base is provided with display lights for displaying the power management module of the base and indicator lights for displaying the charging status;
所述底座后面板上设有DC插口、Micro USB插口及优先级切换开关,所述优先级切换开关连接所述优先级控制模块。The back panel of the base is provided with a DC socket, a Micro USB socket and a priority switch, and the priority switch is connected to the priority control module.
本申请提出一种优先级可选的多路电流自适应充电装置,通过设置优先级并根据优先级高低,对实际使用过程中各待充电目标的充电电流进行自适应的调整,可以根据实际需求利用低功率适配器完成快速充电任务,最终实现节约成本,操作灵活,人性化设计的产品方案。This application proposes a priority-selectable multi-channel current adaptive charging device. By setting the priority and according to the priority level, the charging current of each target to be charged during actual use is adaptively adjusted according to actual needs. Use low-power adapters to complete fast charging tasks, and ultimately achieve cost-saving, flexible operation, and user-friendly design product solutions.
附图说明Description of drawings
图1为根据本发明实施例的多路充电装置结构示意图;Figure 1 is a schematic structural diagram of a multi-channel charging device according to an embodiment of the present invention;
图2为根据本发明实施例的多路充电装置结构框图;Figure 2 is a structural block diagram of a multi-channel charging device according to an embodiment of the present invention;
图3为根据本发明实施例的MCU逻辑控制模块电路图;Figure 3 is a circuit diagram of an MCU logic control module according to an embodiment of the present invention;
图4为根据本发明实施例的优先级控制信号电路图;Figure 4 is a priority control signal circuit diagram according to an embodiment of the present invention;
图5为根据本发明实施例的PDA红外传感器探测电路图;Figure 5 is a PDA infrared sensor detection circuit diagram according to an embodiment of the present invention;
图6为根据本发明实施例的电源输入接口电路图;Figure 6 is a circuit diagram of a power input interface according to an embodiment of the present invention;
图7为根据本发明实施例的是LDO电源转换电路图;Figure 7 is a diagram of an LDO power conversion circuit according to an embodiment of the present invention;
图8为根据本发明实施例的锂电池充电控制模块电路图;Figure 8 is a circuit diagram of a lithium battery charging control module according to an embodiment of the present invention;
图9为根据本发明实施例的PDA充电控制模块电路图。Figure 9 is a circuit diagram of a PDA charging control module according to an embodiment of the present invention.
具体实施方式Detailed ways
下面结合附图和实施例,对本发明的具体实施方式作进一步详细描述。以下实施例用于说明本发明,但不用来限制本发明的范围。Specific implementations of the present invention will be described in further detail below with reference to the accompanying drawings and examples. The following examples are used to illustrate the invention but are not intended to limit the scope of the invention.
如图1和图2所示,图中示出了一种多路充电装置,包括MCU逻辑控制模块和优先级控制模块和多个充电电路;As shown in Figures 1 and 2, the figure shows a multi-channel charging device, including an MCU logic control module, a priority control module and multiple charging circuits;
所述充电电路用于对插入的充电目标进行充电;The charging circuit is used to charge the inserted charging target;
所述优先级控制模块用于设置各充电电路的优先级,并发送对应的优先级信号;The priority control module is used to set the priority of each charging circuit and send corresponding priority signals;
所述MCU逻辑控制模块用于检测各充电电路的插拔状态,并根据优先级分配各充电电路的充电电流。The MCU logic control module is used to detect the plug-in and pull-out status of each charging circuit, and allocate the charging current of each charging circuit according to the priority.
作为优选的,所述多个充电电路包括PDA充电电路和锂电池充电电路;Preferably, the plurality of charging circuits include PDA charging circuits and lithium battery charging circuits;
所述PDA充电电路连接有PDA充电控制模块,所述PDA充电控制模块用于控制PDA充电电路的开启或关闭,PDA充电电路的充电电流设置,以及PDA是否有效连接充电回路检测。The PDA charging circuit is connected to a PDA charging control module. The PDA charging control module is used to control the opening or closing of the PDA charging circuit, the charging current setting of the PDA charging circuit, and detect whether the PDA is effectively connected to the charging circuit.
所述锂电池充电电路包括锂电池充电控制模块,所述锂电池充电控制模块用于控制锂电池充电电路的开启或关闭,锂电池充电状态检测,以及锂电池充电电路的电流调整。The lithium battery charging circuit includes a lithium battery charging control module. The lithium battery charging control module is used to control the opening or closing of the lithium battery charging circuit, detect the charging status of the lithium battery, and adjust the current of the lithium battery charging circuit.
本实施例中的多路充电装置还包括底座主体、底座前面板、底座后面板、底座盖板、锂电池充电控制模块、PDA充电控制模块、MCU逻辑控制模块、电源管理模块。还包括优先级控制模块,用于设置PDA和锂电池充电的优先级,并发送pri_PDA、pri_BAT优先级控制信号。The multi-channel charging device in this embodiment also includes a base body, a base front panel, a base rear panel, a base cover, a lithium battery charging control module, a PDA charging control module, an MCU logic control module, and a power management module. It also includes a priority control module, which is used to set the priority of PDA and lithium battery charging, and send pri_PDA and pri_BAT priority control signals.
所述底座主体与底座前面板、底座后面板、底座盖板均有连接;The base body is connected to the base front panel, the base rear panel, and the base cover;
所述电源管理模块与底座后面板、MCU逻辑控制模块、PDA充电控制模块、锂电池充电控制模块均有连接。The power management module is connected to the base rear panel, MCU logic control module, PDA charging control module, and lithium battery charging control module.
所述MCU逻辑控制模块与锂电池充电控制模块、PDA充电控制模块、底座后面板均有连接;The MCU logic control module is connected to the lithium battery charging control module, PDA charging control module, and the rear panel of the base;
所述底座主体与PDA充电控制模块连接;The base body is connected to the PDA charging control module;
本实施例的装置中的底座主体用于给PDA及锂电池提供充电卡槽,并在PDA卡槽底部中点的左右两侧各开一个孔位,用于PDA插拔红外探测使用。The main body of the base in the device of this embodiment is used to provide a charging card slot for the PDA and lithium battery, and a hole is opened on the left and right sides of the midpoint of the bottom of the PDA card slot for infrared detection of PDA plugging and unplugging.
所述底座前面板主要用于座充电源及锂电池充电状态指示,分别通过导光柱将座充电源指示灯、锂电池充电指示灯亮度显示到前面板上。其中座充电源指示灯采用一个单色灯,座充上电后电源指示灯显示红色,否则指示灯熄灭;电池充电状态指示灯采用一个双色灯,电池充电中显示红色,电池充满后显示绿色,拔掉电池后指示灯熄灭。The front panel of the base is mainly used to indicate the charging source of the base and the charging status of the lithium battery. The brightness of the charging source indicator light and the lithium battery charging indicator light are displayed on the front panel through the light guide column. The charging source indicator light of the cradle uses a single-color light. When the cradle is powered on, the power indicator light displays red, otherwise the indicator light goes out. The battery charging status indicator light uses a two-color light. It displays red when the battery is charging and green when the battery is full. The indicator light goes out after unplugging the battery.
所述底座后面板主要用于提供5V适配器电源DC插口、Micro USB插口以及优先级切换开关。后面板一侧开有两个孔位,分别对应PCB板上DC座子与Micro USB座子。另一侧安装两个优先级切换开关,分别用于PDA及锂电池充电优先级的选择,开关默认为低优先级状态,当按下开关后则切换为高优先级,若二者状态一致,则不论都处于高优先级还是低优先级,PDA与锂电池同时充电,否则,按照优先级顺序依次进行充电。The rear panel of the base is mainly used to provide a 5V adapter power DC socket, a Micro USB socket and a priority switch. There are two holes on one side of the rear panel, corresponding to the DC socket and the Micro USB socket on the PCB. Two priority switches are installed on the other side, which are used to select the charging priority of PDA and lithium battery respectively. The switch defaults to low priority state. When the switch is pressed, it switches to high priority. If the two states are consistent, Regardless of whether they are in high priority or low priority, the PDA and lithium battery are charged at the same time. Otherwise, they are charged in order of priority.
所述锂电池充电控制模块主要用于控制锂电池充电过程的开启或关闭;锂电池充电状态检测;锂电池充电电流的调整。The lithium battery charging control module is mainly used to control the opening or closing of the lithium battery charging process; detect the charging status of the lithium battery; and adjust the charging current of the lithium battery.
所述PDA充电控制模块主要用于控制PDA充电通路导通与关闭;控制PDA充电电流设置;PDA是否有效连接充电回路检测。The PDA charging control module is mainly used to control the on and off of the PDA charging path; control the PDA charging current setting; and detect whether the PDA is effectively connected to the charging circuit.
所述MCU逻辑控制模块主要用于PDA及锂电池优先级控制,锂电池充电指示灯控制,锂电池插拔状态检测,PDA插拔状态检测。The MCU logic control module is mainly used for PDA and lithium battery priority control, lithium battery charging indicator light control, lithium battery plug-in and pull-out status detection, and PDA plug-in and pull-out status detection.
本实施例的MCU逻辑控制模块实时检测PDA与锂电池的插拔状态,当检测到新插入待充电目标物时,都会重新决策充电方案。例如,检测到新插入待充电目标物时,MCU逻辑控制电路首先判断锂电池与PDA的优先级状态,当二者优先级状态不一致时,按照优先级顺序以各自的最大电流分别进行充电,若高优先级卡槽为空或者充满自动切换到低优先级待充电目标物;当二者优先级状态一致时,若二者都插入卡槽等待充电,则都以适中的充电电流合理分配适配器充电电流,若检测到只有一个待充电目标物时,则以该待充电目标物的最大充电电流进行充电。该方案在使用小功率适配器时,都能够自适应合理分配充电电流,既能够提高客户体验,又能够降低生产成本。The MCU logic control module in this embodiment detects the plug-in and pull-out status of the PDA and the lithium battery in real time. When a newly inserted object to be charged is detected, the charging plan will be re-determined. For example, when a newly inserted object to be charged is detected, the MCU logic control circuit first determines the priority status of the lithium battery and the PDA. When the priority status of the two is inconsistent, they are charged according to the priority order with their respective maximum currents. If When the high-priority card slot is empty or full, it automatically switches to the low-priority target to be charged; when the priority status of the two is the same, if both are inserted into the card slot and waiting to be charged, the moderate charging current will be used to reasonably distribute the adapter charging. Current, if only one target to be charged is detected, the maximum charging current of the target to be charged will be used for charging. This solution can adaptively and reasonably allocate charging current when using a low-power adapter, which can not only improve customer experience, but also reduce production costs.
具体地所述的产品外壳包含底座主体、底座前面板、底座后面板、底座盖板。底座主体有两个充电卡槽,一个用于PDA直立充电,另一个用于锂电池卧式充电。底座前面板有两个光指示孔,一个用于底座电源指示灯,当底座有5V电源接入时,该指示灯显示红色;另一个用于锂电池充电状态显示,当锂电池正在充电时显示红色,锂电池充满以后显示绿色,未插入电池时灯熄灭。底座后面板包含一个5V DC插口、一个5V Micro USB插口、一个PDA充电优先级选择开关、一个锂电池充电优先级选择开关,DC插口与Micro USB插口用于满足不同接口的电源适配器,PDA充电优先级选择开关默认为低优先级状态,当按下后切换成高优先级状态,同样,锂电池充电优先级选择开关默认为低优先级状态,当按下后切换成高优先级状态。Specifically, the product shell includes a base body, a base front panel, a base rear panel, and a base cover. The main body of the base has two charging card slots, one for upright charging of PDA and the other for horizontal charging of lithium batteries. There are two light indication holes on the front panel of the base. One is for the base power indicator. When the base has 5V power supply, the indicator light displays red; the other is for the lithium battery charging status display, which is displayed when the lithium battery is charging. Red, green when the lithium battery is fully charged, and off when the battery is not inserted. The rear panel of the base contains a 5V DC socket, a 5V Micro USB socket, a PDA charging priority selection switch, and a lithium battery charging priority selection switch. The DC socket and Micro USB socket are used to meet power adapters with different interfaces. PDA charging priority The level selection switch defaults to a low-priority state and switches to a high-priority state when pressed. Similarly, the lithium battery charging priority selection switch defaults to a low-priority state and switches to a high-priority state when pressed.
具体地所述的MCU逻辑控制模块主要包含微控制器U17,如图3所示,所述微控制器为STM32F103C8T6,还包括红色发光二极管D55,电阻R106、R107、R108、R1、R2,第一红外传感器U22、第二红外传感器U23,TVS管D61、D62、D63、D64。Specifically, the MCU logic control module mainly includes a microcontroller U17, as shown in Figure 3. The microcontroller is STM32F103C8T6, and also includes a red light-emitting diode D55, resistors R106, R107, R108, R1, and R2. The first Infrared sensor U22, second infrared sensor U23, TVS tubes D61, D62, D63, D64.
其中,所述微控制器的BOOT0、BOOT1脚通过R107、R108电阻下拉接地;所述微控制器的NRST脚经过R106电阻上拉接VCC3;所述微控制器31脚与锂电池充电控制模块的BAT_EN信号连接;所述微控制器30脚与锂电池充电控制模块的BAT_CH信号连接;所述微控制器29脚与锂电池充电控制模块的BAT_ST信号连接;所述微控制器2脚与PDA充电控制模块的PDA_control信号连接;所述微控制器17脚与PDA充电控制模块的Pad_current信号连接;所述微控制器12脚与PDA充电控制模块的D+_ctr信号连接;所述微控制器13脚与PDA充电控制模块的D-_ctr信号连接;所述微控制器10脚与电源管理模块的D+_mini信号连接;所述微控制器11脚与电源管理模块的D-_mini信号连接;Among them, the BOOT0 and BOOT1 pins of the microcontroller are pulled down to ground through the R107 and R108 resistors; the NRST pin of the microcontroller is pulled up and connected to VCC3 through the R106 resistor; and the 31 pin of the microcontroller is connected to the lithium battery charging control module. The BAT_EN signal is connected; the 30-pin of the microcontroller is connected to the BAT_CH signal of the lithium battery charging control module; the 29-pin of the microcontroller is connected to the BAT_ST signal of the lithium battery charging control module; the 2-pin of the microcontroller is connected to the PDA charging The PDA_control signal of the control module is connected; the 17-pin of the microcontroller is connected with the Pad_current signal of the PDA charging control module; the 12-pin of the microcontroller is connected with the D+_ctr signal of the PDA charging control module; the 13-pin of the microcontroller Connected to the D-_ctr signal of the PDA charging control module; pin 10 of the microcontroller is connected to the D+_mini signal of the power management module; pin 11 of the microcontroller is connected to the D-_mini signal of the power management module;
如图4所示,所述微控制器的26脚与PDA充电优先级控制信号pri_PDA连接;所述微控制器的27脚与锂电池充电优先级控制信号pri_BAT连接;As shown in Figure 4, pin 26 of the microcontroller is connected to the PDA charging priority control signal pri_PDA; pin 27 of the microcontroller is connected to the lithium battery charging priority control signal pri_BAT;
如图5所示,所述微控制器的32脚与第一红外传感器U22的4脚连接;所述微控制器的33脚与第二红外传感器U23的4脚连接;所述微控制器的25脚与第一红外传感器U22的2脚连接;所述微控制器的31脚与第二红外传感器U23的2脚连接;As shown in Figure 5, pin 32 of the microcontroller is connected to pin 4 of the first infrared sensor U22; pin 33 of the microcontroller is connected to pin 4 of the second infrared sensor U23; Pin 25 is connected to pin 2 of the first infrared sensor U22; pin 31 of the microcontroller is connected to pin 2 of the second infrared sensor U23;
底座上电后,电源指示灯显示红色。MCU通过第一红外传感器U22、第二红外传感器U23两个红外传感器实时检测PDA是否插入卡槽;MCU通过pri_PDA、pri_BAT实时检测PDA与锂电池的充电优先级状态,Pri(Primary Rate Interface,基群速率接口);MCU通过BAT_EN信号开启或关闭锂电池充电管理IC;MCU通过BAT_CH、BAT_ST信号检测锂电池是否处于充电中、已充满或未插入状态;MCU通过PDA_control信号控制PDA充电通路的导通与断开;MCU通过Pad_current信号检测PDA充电电流的大小;After the base is powered on, the power indicator light shows red. The MCU detects in real time whether the PDA is inserted into the card slot through the first infrared sensor U22 and the second infrared sensor U23; the MCU detects the charging priority status of the PDA and the lithium battery in real time through pri_PDA and pri_BAT, Pri (Primary Rate Interface, base group rate interface); the MCU turns on or off the lithium battery charging management IC through the BAT_EN signal; the MCU detects whether the lithium battery is charging, full or not inserted through the BAT_CH and BAT_ST signals; the MCU controls the on and off of the PDA charging path through the PDA_control signal Disconnected; MCU detects the PDA charging current through the Pad_current signal;
具体地所述的电源管理模块包含第一连接器CON1、第二连接器J12,TVS管D56、D60,电容C129、C130、C134、C135、C125、C126、C127、C128,电阻R120、R121、R122,LDO芯片U20。Specifically, the power management module includes a first connector CON1, a second connector J12, TVS tubes D56, D60, capacitors C129, C130, C134, C135, C125, C126, C127, C128, and resistors R120, R121, R122. , LDO chip U20.
其中,如图6所示,所述电源管理模块的第一连接器CON1、第二连接器J12电源输入引脚相连,都向锂电池充电控制模块及PDA充电控制模块提供VCC5电源;所述第一连接器CON1与第二连接器J12也向LDO芯片的1脚提供VCC5电源输入;Among them, as shown in Figure 6, the first connector CON1 and the second connector J12 of the power management module are connected to the power input pins, and both provide VCC5 power to the lithium battery charging control module and the PDA charging control module; the third connector The first connector CON1 and the second connector J12 also provide VCC5 power input to pin 1 of the LDO chip;
如图7所示,所述LDO芯片U20输入端与连接器CON1、J12连接,输出端与MCU的电源信号连接。As shown in Figure 7, the input terminal of the LDO chip U20 is connected to connectors CON1 and J12, and the output terminal is connected to the power signal of the MCU.
该方案有两种电源接入方式,一种是通过Micro USB接口CON1输入5V2A电源,另一种是通过DC接口J12输入5V2A电源;该5V电源一路用于PDA充电,第二路用于锂电池充电,第三路通过LDO芯片U20将5V转换成3.3V用于MCU工作电源。This solution has two power access methods, one is to input 5V2A power through Micro USB interface CON1, and the other is to input 5V2A power through DC interface J12; one channel of the 5V power supply is used for PDA charging, and the second channel is used for lithium battery For charging, the third channel converts 5V into 3.3V through LDO chip U20 for MCU working power supply.
具体地所述的锂电池充电控制模块包含双色发光二极管D52,N型三极管第四N型三极管Q4、第五N型三极管Q5、第六N型三极管Q6,锂电池充电芯片U18,电阻R109、R110、R111、R112、R113、R114,TVS管D53、D54,电容C123、C124,锂电池充电座J41。其中,Specifically, the lithium battery charging control module includes a two-color light-emitting diode D52, an N-type transistor, a fourth N-type transistor Q4, a fifth N-type transistor Q5, a sixth N-type transistor Q6, a lithium battery charging chip U18, and resistors R109 and R110. , R111, R112, R113, R114, TVS tubes D53, D54, capacitors C123, C124, lithium battery charging base J41. in,
如图8所示,所述第四极管Q4的基极与MCU的30脚连接,所述第五三极管Q5的基极与MCU的43脚连接;所述第六三极管Q6的基极与MCU的45脚连接;所述U18的7脚与MCU的29脚连接;所述U18的6脚与MCU的28脚连接;所述U18的6、7脚分别通过220欧电阻与双色发光二极管的负极连接;所述U18的5脚与锂电池充电座的3脚连接;所述U18的1脚与锂电池充电座的2脚连接;As shown in Figure 8, the base of the fourth transistor Q4 is connected to pin 30 of the MCU, the base of the fifth transistor Q5 is connected to pin 43 of the MCU; the base of the sixth transistor Q6 The base is connected to pin 45 of the MCU; pin 7 of the U18 is connected to pin 29 of the MCU; pin 6 of the U18 is connected to pin 28 of the MCU; pins 6 and 7 of the U18 are connected to the two-color The negative electrode of the light-emitting diode is connected; pin 5 of the U18 is connected to pin 3 of the lithium battery charging stand; pin 1 of the U18 is connected to pin 2 of the lithium battery charging stand;
MCU通过控制第四三极管Q4基极电平来间接控制U18芯片的使能与禁止,当U18芯片使能后可以给锂电池充电并检测电池状态,当U18芯片禁止后,停止向锂电池充电且无法检测锂电池状态。当锂电池开始充电,U18的7脚输出低电平,D52的红灯变亮且MCU的29脚采集下降沿充电信号并保存锂电池当前状态;当锂电池充满时,U18的7脚输出高电平,6脚输出低电平,此时,D52的绿灯亮红灯灭,且MCU的28脚可以采集到电池充满的下降沿脉冲,MCU内部将锂电池状态由充电中切换为已充满。MCU通过控制第五N型三极管Q5、第六N型三极管Q6基极电平间接控制U8向锂电池的充电电流,当第五N型三极管Q5基极为高电平、第六N型三极管Q6基极为低电平时,电池充电电流为1A;当第五N型三极管Q5基极为低电平、第六N型三极管Q6基极为高电平时,电池充电电流为500mA。The MCU indirectly controls the enablement and disabling of the U18 chip by controlling the base level of the fourth transistor Q4. When the U18 chip is enabled, it can charge the lithium battery and detect the battery status. When the U18 chip is disabled, it stops charging the lithium battery. Charging and unable to detect lithium battery status. When the lithium battery starts charging, pin 7 of U18 outputs low level, the red light of D52 turns on and pin 29 of the MCU collects the falling edge charging signal and saves the current status of the lithium battery; when the lithium battery is full, pin 7 of U18 outputs high level, pin 6 outputs low level. At this time, the green light of D52 is on and the red light is off, and pin 28 of the MCU can collect the falling edge pulse of the battery being fully charged. The MCU internally switches the lithium battery status from charging to fully charged. The MCU indirectly controls the charging current of U8 to the lithium battery by controlling the base level of the fifth N-type transistor Q5 and the sixth N-type transistor Q6. When the base level of the fifth N-type transistor Q5 is high and the base level of the sixth N-type transistor Q6 When the level is extremely low, the battery charging current is 1A; when the base of the fifth N-type transistor Q5 is extremely low and the base of the sixth N-type transistor Q6 is high, the battery charging current is 500mA.
具体地所述的PDA充电控制模块包含自恢复保险丝F2,运放U21,P型MOS管U19,第一N型三极管Q3、第二N型三极管Q7、第三N型三极管Q8,TVS管D57、D58、D59。其中,Specifically, the PDA charging control module includes a self-restoring fuse F2, an operational amplifier U21, a P-type MOS tube U19, a first N-type transistor Q3, a second N-type transistor Q7, a third N-type transistor Q8, a TVS tube D57, D58, D59. in,
如图9所示,所述运放的同相输入端与PDA的负端连接;所述P型MOS管的源极通过0欧电阻与VCC5电源连接;所述P型MOS管的漏极与PDA+信号连接;所述第一N型三极管Q3的基极与MCU的PDA_control信号连接;所述N型三极管的基极与MCU的PDA_control信号连接;所述运放U21的放大输出端与MCU的Pad_current信号连接。As shown in Figure 9, the non-inverting input terminal of the operational amplifier is connected to the negative terminal of the PDA; the source of the P-type MOS tube is connected to the VCC5 power supply through a 0 ohm resistor; the drain of the P-type MOS tube is connected to the PDA+ Signal connection; the base of the first N-type transistor Q3 is connected with the PDA_control signal of the MCU; the base of the N-type transistor is connected with the PDA_control signal of the MCU; the amplified output end of the operational amplifier U21 is connected with the Pad_current signal of the MCU connect.
当MCU控制模块通过红外传感器检测到PDA插入后,并且检测到PDA处于高优先级状态或者二者处于相同优先级,首先将PDA_control信号输出高电平,三极管Q3导通,此时P型MOS管U19栅极接地,源极与漏极导通,向PDA充电座触点J14提供5V充电电源。同时MCU通过判断PDA与锂电池的充电优先级状态,决策PDA充电电流,然后利用Q7、Q8基极电平来配置PDA充电电流。另外在U19导通瞬间检测Pad_current电压值,利用该电压值检测流过自恢复保险丝F2的电流值,通过该电流值判断PDA是否有效接入底座充电卡槽。另外,通过F2的电流值可以检测PDA是否充满,当PDA充满后,PDA_control信号输出低电平,关闭P型MOS管,切断PDA充电通路。When the MCU control module detects that the PDA is inserted through the infrared sensor, and detects that the PDA is in a high priority state or the two are in the same priority, it first outputs the PDA_control signal to a high level, and the transistor Q3 is turned on. At this time, the P-type MOS tube The gate of U19 is grounded, the source and drain are connected, and provides 5V charging power to the PDA charging base contact J14. At the same time, the MCU determines the PDA charging current by judging the charging priority status of the PDA and lithium battery, and then uses the base levels of Q7 and Q8 to configure the PDA charging current. In addition, the Pad_current voltage value is detected at the moment when U19 is turned on, and the voltage value is used to detect the current value flowing through the self-restoring fuse F2. This current value is used to determine whether the PDA is effectively connected to the base charging card slot. In addition, the current value of F2 can be used to detect whether the PDA is full. When the PDA is full, the PDA_control signal outputs a low level, turns off the P-type MOS tube, and cuts off the PDA charging path.
本申请提出一种优先级可选的多路电流自适应充电装置,通过设置优先级并根据优先级高低,对实际使用过程中各待充电目标的充电电流进行自适应的调整,可以根据实际需求利用低功率适配器完成快速充电任务,最终实现节约成本,操作灵活,人性化设计的产品方案。This application proposes a priority-selectable multi-channel current adaptive charging device. By setting the priority and according to the priority level, the charging current of each target to be charged during actual use is adaptively adjusted according to actual needs. Use low-power adapters to complete fast charging tasks, and ultimately achieve cost-saving, flexible operation, and user-friendly design product solutions.
最后,本申请的方法仅为较佳的实施方案,并非用于限定本发明的保护范围。凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。Finally, the methods of this application are only preferred embodiments and are not used to limit the scope of the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention shall be included in the protection scope of the present invention.
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201710374220.4ACN107086631B (en) | 2017-05-24 | 2017-05-24 | Multi-channel current self-adaptive charging device with selectable priority |
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201710374220.4ACN107086631B (en) | 2017-05-24 | 2017-05-24 | Multi-channel current self-adaptive charging device with selectable priority |
| Publication Number | Publication Date |
|---|---|
| CN107086631A CN107086631A (en) | 2017-08-22 |
| CN107086631Btrue CN107086631B (en) | 2023-12-05 |
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201710374220.4AActiveCN107086631B (en) | 2017-05-24 | 2017-05-24 | Multi-channel current self-adaptive charging device with selectable priority |
| Country | Link |
|---|---|
| CN (1) | CN107086631B (en) |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN111201690A (en)* | 2017-12-11 | 2020-05-26 | 深圳市柔宇科技有限公司 | Charging control method, electronic device, power adapter and charging control system |
| CN108181978B (en)* | 2017-12-29 | 2021-10-22 | 合肥联宝信息技术有限公司 | Power control method and device for electronic equipment |
| CN113629793A (en)* | 2020-05-09 | 2021-11-09 | 北京小米移动软件有限公司 | Wireless charging circuit, wireless charging method and device and electronic equipment |
| CN113162194B (en)* | 2021-05-11 | 2025-03-28 | 道县龙威盛科技有限公司 | A shared charging system and control method |
| CN114079320A (en)* | 2021-09-28 | 2022-02-22 | 宁波萨瑞通讯有限公司 | Method of high current multiplexing circuit |
| CN114123401A (en)* | 2021-11-22 | 2022-03-01 | 苏州臻迪智能科技有限公司 | Charging device and mobile device |
| CN116123947B (en)* | 2022-12-18 | 2025-07-15 | 陕西中天火箭技术股份有限公司 | Ground test system and test method for equipment on bullet |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN103248089A (en)* | 2013-04-11 | 2013-08-14 | 鸿富锦精密工业(深圳)有限公司 | Power management system and electronic devices thereof |
| CN203933057U (en)* | 2013-12-30 | 2014-11-05 | 天津博中电子有限公司 | A kind of portable multi-function portable power source |
| CN104319862A (en)* | 2014-09-16 | 2015-01-28 | 哈尔滨恒誉名翔科技有限公司 | A phase-shifted-full-bridge based smart charger |
| CN204190690U (en)* | 2014-09-30 | 2015-03-04 | 连云港众沃太阳能技术有限公司 | The energy management control circuit of multifunctional light photovoltaic generating system |
| CN204391858U (en)* | 2015-03-17 | 2015-06-10 | 上海天奕达电子科技有限公司 | A kind of charging circuit of handheld terminal |
| AU2015101407A4 (en)* | 2014-09-29 | 2015-12-10 | Chervon (Hk) Limited | Charging system and charging method thereof and battery pack |
| CN205160131U (en)* | 2015-11-17 | 2016-04-13 | 比亚迪股份有限公司 | Multiplexing charging circuit with multiple power sources and mobile terminal using it |
| CN106410990A (en)* | 2016-11-21 | 2017-02-15 | 努比亚技术有限公司 | Wireless charging device control device and method |
| CN207039219U (en)* | 2017-05-24 | 2018-02-23 | 西安富立叶微电子有限责任公司 | A kind of optional multichannel current automatic adaptation charging device of priority |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US8086281B2 (en)* | 2007-01-06 | 2011-12-27 | Apple Inc. | Apparatuses and methods that facilitate the transfer of power and information among electrical devices |
| US8823324B2 (en)* | 2008-06-26 | 2014-09-02 | Eveready Battery Company, Inc. | Staggered multi-battery battery charging |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN103248089A (en)* | 2013-04-11 | 2013-08-14 | 鸿富锦精密工业(深圳)有限公司 | Power management system and electronic devices thereof |
| CN203933057U (en)* | 2013-12-30 | 2014-11-05 | 天津博中电子有限公司 | A kind of portable multi-function portable power source |
| CN104319862A (en)* | 2014-09-16 | 2015-01-28 | 哈尔滨恒誉名翔科技有限公司 | A phase-shifted-full-bridge based smart charger |
| AU2015101407A4 (en)* | 2014-09-29 | 2015-12-10 | Chervon (Hk) Limited | Charging system and charging method thereof and battery pack |
| CN204190690U (en)* | 2014-09-30 | 2015-03-04 | 连云港众沃太阳能技术有限公司 | The energy management control circuit of multifunctional light photovoltaic generating system |
| CN204391858U (en)* | 2015-03-17 | 2015-06-10 | 上海天奕达电子科技有限公司 | A kind of charging circuit of handheld terminal |
| CN205160131U (en)* | 2015-11-17 | 2016-04-13 | 比亚迪股份有限公司 | Multiplexing charging circuit with multiple power sources and mobile terminal using it |
| CN106410990A (en)* | 2016-11-21 | 2017-02-15 | 努比亚技术有限公司 | Wireless charging device control device and method |
| CN207039219U (en)* | 2017-05-24 | 2018-02-23 | 西安富立叶微电子有限责任公司 | A kind of optional multichannel current automatic adaptation charging device of priority |
| Title |
|---|
| Ballan H.High Voltage Devices and Circuit in Standard CMOSTechnologies.《Netherland,Kluwer Academic Publisher》.2009,第52-75页.* |
| 无线传感器网络大棚监控的太阳能供电系统设计;潘洋;《数据通信》;第49-53页* |
| Publication number | Publication date |
|---|---|
| CN107086631A (en) | 2017-08-22 |
| Publication | Publication Date | Title |
|---|---|---|
| CN107086631B (en) | Multi-channel current self-adaptive charging device with selectable priority | |
| JP5388484B2 (en) | Apparatus and method for detecting power supply | |
| CN202772364U (en) | Connector and control chip | |
| CN105954644B (en) | Public first intellectual detection system of USBType-C interface and protection circuit | |
| CN108988431B (en) | Multi-protocol charging device and multi-protocol charging method | |
| US9559534B2 (en) | Data cable for fast charging | |
| US10203736B2 (en) | Detachable computing system having bi-directional power flow | |
| CN109802457A (en) | A kind of electronic equipment and its charging method | |
| CN111817373B (en) | Charging management device, one-to-many charging wire, quick charging system and management method | |
| CN105789991A (en) | Concentrator with combined power supply | |
| CN103618353A (en) | Battery monitoring circuit | |
| CN105098890B (en) | Charging data line and charger | |
| CN109921481A (en) | OTG device and power supply method for supplying power to communication objects during USB communication | |
| TWI554889B (en) | Electric system | |
| CN207833498U (en) | A kind of built-up circuit and device of mobile device | |
| CN108683236A (en) | A kind of mobile terminal OTG charging methods and device | |
| CN109861038B (en) | USB connection port capable of automatically switching connection mode and control method thereof | |
| CN104953631A (en) | Current control method and terminal device | |
| CN104167793B (en) | The charging system and charging method of a kind of handheld terminal | |
| CN205863955U (en) | A kind of USB fast charging device of main frame front interface | |
| CN207039219U (en) | A kind of optional multichannel current automatic adaptation charging device of priority | |
| CN204376473U (en) | Portable power source | |
| TW201814543A (en) | Apparatus and method for USB charge and communication | |
| CN214314637U (en) | A one-to-two fast-charging data cable with TYPE-C interface input | |
| CN207625314U (en) | A kind of double charging circuits compatible with DC USB |
| 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 | ||
| PE01 | Entry into force of the registration of the contract for pledge of patent right | Denomination of invention:A priority selectable multi-channel current adaptive charging device Granted publication date:20231205 Pledgee:Bank of China Limited Xi'an High tech Development Zone Sub branch Pledgor:CHINA CILICO MICROELECTRONICS Corp. Registration number:Y2025980009760 | |
| PE01 | Entry into force of the registration of the contract for pledge of patent right |