Device for controlling output power by adjusting temperature of adapter
By using MCU and thermistor NTC in the charger to detect the adapter temperature and adjust the output power according to the temperature, the problem of over-temperature fire risk of the adapter is solved, and a safe and reliable charging process is achieved.
Patent Information
- Application Number
- CN202322939071.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2023-10-30
- Publication Date
- 2024-11-26
- Estimated Expiration
- 2033-10-30
AI Technical Summary
The long-term high-power output of the adapter during charging leads to excessive temperature, causing problems of overtemperature protection and fire risk.
By setting up the MCU in the charger, using the thermistor NTC to detect the adapter temperature, and reducing the output power when the temperature is too high, calculate the adapter temperature by the voltage division of resistor R1 and NTC, adjust the current reference of the charger to reduce the adapter's Output power.
It realizes simple, safe and low-cost adapter temperature control, reduces heating heat energy output, and avoids the adapter overtemperature damage and fire risk.
Smart Images

Figure CN222072775U_ABST
Abstract
Description
Technical Field
[0001] The utility model relates to the technical field of adapters, and more specifically to a device for controlling output power by adjusting the temperature of an adapter. Background Art
[0002] The adapter converts AC mains power into low-voltage DC power, which can be understood as a voltage-stabilized power supply. The charger is a device specifically used to charge the battery directly. It contains a charging management chip that can realize constant current, constant voltage, and trickle charging of the battery. If the power adapter is used as a charger to charge the battery, it will not be fully charged or overcharging will damage the battery and related components. In the prior art, a combination of an adapter and a charger is often used to control the charging of the battery. Because the adapter outputs high power for a long time during the charging process, it will cause its own temperature to be too high, causing the adapter to overheat protection, and even causing damage to the adapter, posing a risk of fire. Utility Model Content
[0003] The technical problem to be solved by the utility model is that during the charging process, the adapter outputs high power for a long time, which will cause the temperature of the adapter to be too high, causing over-temperature protection, or even damage and cause the risk of fire. In view of the above-mentioned defects of the prior art, a device for controlling output power by adjusting the temperature of the adapter is provided, comprising:
[0004] An adapter, a charger, and a battery, wherein the battery is electrically connected to the charger, and the charger is electrically connected to the adapter. The charger is provided with an MCU, a resistor R1 is provided between the P1 pin and the P4 pin of the MCU, and a thermistor NTC is provided between the D+ pin and the D- pin of the adapter.
[0005] Preferably, the MCU is a single chip microcomputer with an ADC peripheral.
[0006] Preferably, the MCU is any one of XL32F001, HC89S003AF4, and HC89S001AJ4.
[0007] Preferably, the thermistor NTC is a negative temperature coefficient thermistor.
[0008] Preferably, the battery is a lithium battery.
[0009] Preferably, the adapter is a USB adapter.
[0010] Preferably, the lithium battery is a single battery or a battery pack.
[0011] Preferably, the charger and the adapter are electrically connected via a Type-c interface.
[0012] The implementation of the device for controlling output power by adjusting the temperature of the adapter of the utility model has the following beneficial effects: by setting the adapter, the charger, and the battery, the charger and the adapter are electrically connected, the charger is provided with an MCU, a resistor R1 is provided between the P1 pin and the P4 pin of the MCU, and a thermistor NTC is provided between the D+ pin and the D- pin of the adapter; the adapter temperature can be actively detected, and if the adapter temperature is too high, the output power is actively derating controlled, thereby reducing the output power of the adapter and reducing the heat output; the implementation is simple, safe and reliable, and the cost is low, and it can be generally applicable to adapter occasions. BRIEF DESCRIPTION OF THE DRAWINGS
[0013] In order to more clearly illustrate the embodiments of the utility model or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the utility model. For ordinary technicians in this field, other drawings can be obtained based on the structures shown in these drawings without paying creative work.
[0014] The present invention will be further described below with reference to the accompanying drawings and embodiments, in which:
[0015] Figure 1 It is a structural schematic diagram of a device for controlling output power by adjusting the temperature of an adapter according to the utility model. DETAILED DESCRIPTION
[0016] The following will be combined with the drawings in the embodiments of the utility model to clearly and completely describe the technical solutions in the embodiments of the utility model. Obviously, the described embodiments are only part of the embodiments of the utility model, not all of the embodiments. Based on the embodiments of the utility model, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the utility model.
[0017] It should be noted that if the embodiments of the present invention involve directional indications (such as up, down, left, right, front, back...), the directional indications are only used to explain the relative position relationship, movement status, etc. between the components under a certain specific posture (as shown in the accompanying drawings). If the specific posture changes, the directional indication will also change accordingly.
[0018] In addition, if there are descriptions involving "first", "second", etc. in the embodiments of the utility model, the descriptions of "first", "second", etc. are only used for descriptive purposes and cannot be understood as indicating or suggesting their relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include at least one of the features. In addition, the technical solutions between the various embodiments can be combined with each other, but they must be based on the ability of ordinary technicians in the field to implement them. When the combination of technical solutions is contradictory or cannot be implemented, it should be deemed that such a combination of technical solutions does not exist and is not within the scope of protection required by the utility model.
[0019] Figure 1 This is a schematic diagram of the structure of the device for controlling output power by adjusting the temperature of the adapter. Figure 1 In an embodiment of the present invention, a device for controlling output power by adjusting adapter temperature is provided, comprising:
[0020] An adapter, a charger, and a battery, wherein the battery is electrically connected to the charger, and the charger is electrically connected to the adapter. The charger is provided with an MCU, a resistor R1 is provided between the P1 pin and the P4 pin of the MCU, and a thermistor NTC is provided between the D+ pin and the D- pin of the adapter.
[0021] In some optional implementations of this embodiment, the MCU may be, but is not limited to, a single-chip microcomputer with an ADC peripheral, such as XL32F001, HC89S003AF4, HC89S001AJ4, etc. The XL32F001 series single-chip microcomputer uses a high-performance 32-bit -M0+ core, MCU with wide voltage operating range. Embedded with 24KbytesFlash and 3Kbytes SRAM memory, the highest operating frequency is 24MHz. Contains a variety of products with different package types. The chip integrates I2C, SPI, USART and other communication peripherals, 1 12-bit ADC, 2 16-bit timers, and 2 comparators.
[0022] The operating temperature range of the XL32F001 series microcontroller is -40℃~85℃, and the operating voltage range is 1.7V~5.5V. The chip provides sleep / stop low-power working mode to meet different low-power applications.
[0023] HC89S003AF4 / HC89S001AJ4 is an enhanced 8-bit microcontroller designed and developed using high-speed and low-power CMOS technology. It has 16K Bytes FLASH program memory, 256Bytes IRAM+768Bytes XRAM, up to 18 bidirectional I / O ports, 5 16-bit timers / counters, 3 groups of 12-bit complementary PWM with dead zone control, 1 8-bit PWM, 2 UARTs, 1 SPI, 1 IIC, 16 external interrupts, 16+2 12-bit ADC, 1 low-voltage detection module, four system working modes and multiple interrupt sources. To ensure the stability of the system, a capacitor must be connected between VDD and GND (the capacitance must be greater than or equal to 0.1μF). The burning file of HC89S003F4 can be burned directly, but the firmware version of the HC-PM51 burner needs to be upgraded to the latest version. The P2.7 pin is the reset pin by default when it leaves the factory, and the port mode is Schmitt input with pull-up. This port can be configured as a normal IO pin through the configuration code option. When performing IAP operation, no interrupt is responded. After ADCEN is set to 1 or the conversion channel is switched, it is recommended to delay 20us before starting the ADC conversion. If the external input impedance is large, this time needs to be extended. When the reference voltage of the ADC is VDD, the ADC conversion clock can be 8MHz, and only 15 ADC_CLKs are required for one conversion, so that the fastest ADC conversion speed can be obtained. The mode configuration of the four ports P2.7, P2.5, P2.4, and P2.3 is different from that of other ports. When using PWM3, you must first configure the clock division, period, duty cycle and other registers, and finally enable the PWM3 module. When UART2 is in full-duplex mode, it is necessary to configure the CPU frequency to be above 16MHz, the baud rate to be 9600 or below, and clear TI or RI as early as possible in the UART2 interrupt service function. In LVD interrupt, if you want to turn off the comparator or LVD interrupt, you should first disable the LVD / comparator, and then disable the LVD interrupt enable bit. When using the LVD comparator function, if the comparator output state (CMPSTA) is high (that is, the positive terminal voltage of the comparator is greater than the negative terminal voltage), the chip cannot enter the power-down / idle mode. The pad in the middle of the QFN20 package is connected to PIN5 (VDD). The HC89S003A / 001A microcontroller system clock has 4 clock sources to choose from: external high-frequency crystal clock (4MHz~20MHz), external low-frequency crystal clock (32.768KHz), internal high-frequency RC clock (32MHz) and internal low-frequency RC clock (44KHz).The selected system clock (if the internal high-frequency RC is selected, the clock after the RC32M_DIV[1:0] division) is recorded as osc_clk, with a frequency of Fosc and a period of Tosc. It is mainly used for peripheral modules. The osc_clk can be divided by any value between 1 and 255. The divided clock is recorded as the CPU clock, with a frequency of Fcpu and a period of Tcpu. After the chip is powered on and reset, the internal high-frequency RC is selected as the system clock by default, with Fosc of 4MHz and Fcpu of 2MHz. The frequencies of osc_clk and cpu_clk can be changed by configuring the relevant registers. The CPU can run at a maximum frequency of 16MHz. If the selected clock source frequency is higher than 16MHz, it needs to be divided so that the CPU clock frequency is equal to or lower than 16MHz.
[0024] In this embodiment, the MCU is selected as a single chip microcomputer HC89S003AF4 with ADC peripherals. The P1 pin of the MCU can be used for conversion between a digital IO port and an analog IO port.
[0025] Set the pull-up resistor R1, divide the voltage, calculate the resistance of the thermistor NTC through the voltage, and then calculate the adapter temperature. The adapter temperature is used to determine whether the charger needs to reduce the output.
[0026] In this embodiment, the thermistor NTC is a negative temperature coefficient thermistor. Negative temperature coefficient thermistor, also known as NTC thermistor, is a type of sensor resistor whose resistance value decreases as the temperature increases. It is widely used in various electronic components, such as temperature sensors, resettable fuses, and automatically adjustable heaters. The benefits of negative temperature coefficient thermistors are: First, suppressing surge current. Whether it is for electrical appliances or electronic products, if there is a significant change in current, it is very likely to cause damage to various original components, especially to the motherboard of electronic products. There will be serious damage, but these surge currents are prone to occur during use. In this case, it is necessary to consider the purpose of the NTC negative temperature coefficient thermistor. One of its main functions includes suppressing surge current, which can effectively protect electronic products and electrical appliances. Second, use it as a temperature sensor. When using various electrical appliances and electronic products, in order to avoid the harm caused by over-high or under-low temperatures, it is necessary to conduct a comprehensive test of its temperature. When the temperature exceeds the corresponding standard, it is necessary to use a reasonable method to adjust it, or stop using it. How can we adjust and detect its temperature? At this time, we need to use a temperature sensor, and the use of NTC negative temperature coefficient thermistors includes this item, so that its temperature can be detected more accurately. Third, temperature compensation. Because many electrical appliances have very high requirements for accuracy, but when powered on, they will generate a certain amount of heat, which will cause some resistors to have a larger resistance value, which will seriously affect its accuracy. In order to avoid this situation, or weaken this influence, NTC negative temperature coefficient thermistors will be used for temperature compensation, so that its accuracy can always be controlled within a reasonable range. Therefore, this is also one of the important uses of NTC negative temperature coefficient thermistors, and it is also a very important aspect.
[0027] Pull-up is to clamp the uncertain signal at a high level through a resistor, and the resistor also acts as a current limiter. Pull-up is the input current to the device; the strength is just the resistance value of the pull-up resistor.
[0028] On the wire connected to the pull-up resistor, if the external component is not enabled, the pull-up resistor will slightly pull the input voltage signal high. When the external component is not connected, the external looks like high impedance to the input terminal. At this time, the voltage at the input port can be pulled up to a high level through the pull-up resistor. If the external component is enabled, it will cancel the high level set by the pull-up resistor. In this way, the pull-up resistor can keep the pin at a certain logic level even when the external component is not connected. It should be noted that the resistance value of the pull-up resistor R1 should match the NTC calculation. Set the pull-up resistor R1, divide the voltage, calculate the resistance value of the thermistor NTC through the voltage, and then calculate the adapter temperature. Determine whether the charger needs to derating the output based on the adapter temperature.
[0029] In some optional implementations of this embodiment, the charger and the adapter are electrically connected via a Type-C interface. Alternatively, the charger and the adapter may be electrically connected via other interfaces such as VGA, HDMI, etc., according to actual needs.
[0030] In specific implementation, the battery is a lithium battery, which can be a single lithium battery or a lithium battery pack. The functions of lithium batteries are: inhibiting the polarization of the battery, reducing thermal effects, and increasing rate performance; significantly reducing the increase in dynamic internal resistance during the cycle process; improving the adhesion between the active material and the current collector, and reducing the manufacturing cost of the pole piece; improving the high and low temperature performance of lithium iron phosphate batteries, and improving the processing performance of lithium iron phosphate and lithium titanate materials.
[0031] In specific implementation, the adapter can be, but is not limited to, a USB adapter. A USB adapter is a commonly used interface converter that can convert a USB interface into other types of interfaces, such as VGA, HDMI, DVI, etc. It is usually used to connect monitors, projectors and other devices to computers without installing a driver. The D+ pin of the adapter is a USB internal signal pin.
[0032] If the P2 pin of the MCU in the charger can receive a signal, it means that the adapter has an NTC detection function.
[0033] In specific implementation, if the charger determines that there is no thermistor NTC between the D+ pin and the D- pin of the adapter, it identifies the current charging mode as illegal, and can further prohibit the charger output or agree to charge in a non-derating manner.
[0034] The working principle of the device for controlling output power by adjusting the temperature of the adapter of the utility model is:
[0035] The charger identifies whether the adapter has an NTC detection resistor. After the charger is connected to the adapter (taking the Type-c charging interface as an example, the NTC is connected to the D+ and D- in the adapter), the MCU in the charger sends a signal through the P1 pin and then receives the signal through the P2 pin. If the signal can be received, it means that the adapter has an NTC detection function.
[0036] When the charger recognizes that the adapter has an NTC detection resistor, the MCU in the charger sets the P2 pin to a low level (0V voltage), configures the P1 pin as an ADC mode port, reads the NTC voltage (R1 and NTC are connected in series to divide the voltage and calculate the NTC resistance value), and converts the NTC resistance value calculated by the ADC value and the R1 resistance value to temperature. The MCU changes the charger's current reference IREF according to the temperature, thereby changing the output power.
[0037] When the charger cannot recognize that the adapter has an NTC detection resistor, it can follow the customer's agreement without derating or identify it as illegal and prohibit charging.
[0038] The resistance value calculation formula of thermistor NTC:
[0039] The resistance value of thermistor NTC = (adc*R1) / (4096-adc), where adc is the AD value read out by the ADC mode port of the MCU, and 4096 is the resolution of the MCU ADC.
[0040] The temperature calculation formula of NTC thermistor is: Rt=R×EXP(B×(1 / T1-1 / T2)), where T1 and T2 refer to K degrees, i.e. Kelvin temperature. Rt is the resistance of the thermistor at temperature T1. R is the nominal resistance of the thermistor at room temperature T2. The value of a 100K thermistor at 25℃ is 100K (i.e. R=100K). T2=(273.15t25).
[0041] EXP is e raised to the power of n. B value is an important parameter of thermistor.
[0042] The relationship between temperature T1 and resistance Rt can be obtained by conversion:
[0043] T1 = 1 / (In(Rt / R) / B+1 / T2), the corresponding Celsius temperature t = T1-273.15, and the error correction of +0.5.
[0044] Alternatively, you can use a table lookup to find a resistance value for each temperature value.
[0045] The adapter temperature is adjusted by the MCU; when the adapter temperature changes, the charger current reference IREF changes; the change of the charger current reference IREF causes the adapter output power to change. The charger current reference can change the output current, and the current decreases, which leads to a decrease in the adapter output power.
[0046] The utility model has the beneficial effects of the above embodiments through the design: by setting the adapter, the charger, the battery, the charger and the adapter are electrically connected, the charger is provided with an MCU, a resistor R1 is provided between the P1 pin and the P4 pin of the MCU, and a thermistor NTC is provided between the D+ pin and the D- pin of the adapter; the adapter temperature can be actively detected, and if the adapter temperature is too high, the output power is actively derating, thereby reducing the output power of the adapter and reducing the heat output; the utility model is simple to implement, safe and reliable, low cost, and can be generally applicable to adapter occasions.
[0047] The present invention is described according to specific embodiments, but those skilled in the art should understand that various changes and equivalent substitutions can be made without departing from the scope of the present invention. In addition, in order to adapt to specific occasions of the present invention technology, many modifications can be made to the present invention without departing from its protection scope. Therefore, the present invention is not limited to the specific embodiments disclosed herein, but includes all embodiments that fall within the scope of protection of the claims.
Claims
1. A device for controlling output power by adjusting adapter temperature, characterized in that: include: An adapter, a charger, and a battery, wherein the battery is electrically connected to the charger, and the charger is electrically connected to the adapter. The charger is provided with an MCU, a resistor R1 is provided between the P1 pin and the P4 pin of the MCU, and a thermistor NTC is provided between the D+ pin and the D- pin of the adapter.
2. The device for controlling output power by adjusting adapter temperature according to claim 1, characterized in that: The MCU is a single chip microcomputer with an ADC peripheral.
3. The device for controlling output power by adjusting adapter temperature according to claim 2, characterized in that: The MCU is any one of XL32F001, HC89S003AF4, and HC89S001AJ4.
4. The device for controlling output power by adjusting adapter temperature according to claim 1, characterized in that: The thermistor NTC is a negative temperature coefficient thermistor.
5. The device for controlling output power by adjusting adapter temperature according to claim 1, characterized in that: The battery is a lithium battery.
6. The device for controlling output power by adjusting adapter temperature according to claim 1, characterized in that: The adapter is a USB adapter.
7. The device for controlling output power by adjusting adapter temperature according to claim 5, characterized in that: The lithium battery is a single battery or a battery pack.
8. The device for controlling output power by adjusting adapter temperature according to any one of claims 1 to 7, characterized in that: The charger and the adapter are electrically connected via a Type-c interface.
