Address configuration method and device, charge pump circuit, charge pump, equipment and medium
By determining the overvoltage protection terminal status configuration address information of the charge pump, the problem of complexity of charge pump address information configuration is solved, the charge pump circuit structure is simplified, and its scalability and reliability are improved.
Patent Information
- Application Number
- CN202310287025.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-03-22
- Publication Date
- 2024-09-24
AI Technical Summary
The circuit structure of the existing charge pump is complex during the address information configuration process, resulting in insufficient scalability of the charge pump function.
By determining the status of the overvoltage protection terminal, configuring the address information according to the status, and using the overvoltage protection terminal to configure the address information, the use of additional circuits is avoided, the complexity of the charge pump circuit is reduced, and the occupation of the charge pump terminals is reduced.
The charge pump circuit structure is simplified and the functional scalability and operational reliability of the charge pump are improved.
Smart Images

Figure CN118694166A
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of charging technology, and in particular to an address configuration method, device, charge pump circuit, charge pump, equipment and medium. Background Art
[0002] At present, the processor and the charge pump in the electronic device are coupled through an integrated circuit bus (Inter-Integrated Circuit, IIC), and the processor selects the corresponding charge pump to charge the battery according to the address information of the charge pump. However, in the process of configuring the address information of the charge pump, the circuit structure required for configuring the address information is complex. Summary of the invention
[0003] In order to overcome the problems existing in the related art, the present disclosure provides an address configuration method, device, charge pump circuit, charge pump, equipment and medium.
[0004] According to a first aspect of an embodiment of the present disclosure, there is provided an address configuration method, which is applied to a charge pump, wherein the charge pump includes an overvoltage protection terminal, and the method includes:
[0005] Determining a state of the overvoltage protection terminal;
[0006] The address information is configured according to the state of the overvoltage protection terminal.
[0007] In some embodiments of the present disclosure, the charge pump also includes an overvoltage protection status register connected to the overvoltage protection end, and the value of the overvoltage protection status register is used to characterize the state of the overvoltage protection end; wherein, when the value of the overvoltage protection status register is a first value, it characterizes that the overvoltage protection end is in a state of being coupled to the overvoltage protection transistor; when the value of the overvoltage protection status register is a second value, it characterizes that the overvoltage protection end is in a grounded state.
[0008] In some embodiments of the present disclosure, configuring the address information according to the state of the overvoltage protection terminal includes:
[0009] When the overvoltage protection terminal is in a state of being coupled to the overvoltage protection transistor, configuring the address information as first address information;
[0010] When the overvoltage protection terminal is in a grounded state, the address information is configured as second address information.
[0011] In some embodiments of the present disclosure, after determining the state of the overvoltage protection terminal, the address configuration method further includes:
[0012] When the overvoltage protection terminal is in a state of being coupled to the overvoltage protection transistor, enabling the overvoltage protection function;
[0013] When the overvoltage protection terminal is in a grounded state, the overvoltage protection function is turned off.
[0014] In some embodiments of the present disclosure, after configuring the address information according to the state of the overvoltage protection terminal, the address configuration method further includes:
[0015] When receiving address query information, comparing the address query information with the address information;
[0016] When the address query information matches the address information, a response signal is returned.
[0017] In some embodiments of the present disclosure, the address query information is sent by the processor to the charge pump via an integrated circuit bus.
[0018] According to a second aspect of an embodiment of the present disclosure, there is provided an address configuration device, which is applied to a charge pump, wherein the charge pump includes an overvoltage protection terminal, and the device includes:
[0019] A determination module, configured to determine a state of the overvoltage protection terminal;
[0020] The configuration module is configured to configure the address information according to the state of the overvoltage protection terminal.
[0021] In some embodiments of the present disclosure, the device further comprises:
[0022] An enabling module, configured to enable the overvoltage protection function when the overvoltage protection terminal is in a state of being coupled to the overvoltage protection transistor;
[0023] The shutdown module is configured to shut down the overvoltage protection function when the overvoltage protection terminal is in a grounded state.
[0024] In some embodiments of the present disclosure, the device further comprises:
[0025] a comparison module, configured to compare the address query information with the address information when the address query information is received;
[0026] The reply module is configured to reply a response signal when the address query information matches the address information.
[0027] According to a third aspect of an embodiment of the present disclosure, a charge pump is provided, the charge pump comprising:
[0028] Controller;
[0029] a storage unit for storing instructions executable by the controller;
[0030] Wherein, the controller is configured to execute the method as described above.
[0031] According to a fourth aspect of an embodiment of the present disclosure, a charge pump circuit is provided, the charge pump circuit comprising:
[0032] A first charge pump, the first charge pump comprising a first controller and an overvoltage protection terminal coupled to the first controller;
[0033] an overvoltage protection transistor, wherein a first terminal of the overvoltage protection transistor is coupled to a power supply terminal of the first charge pump, a second terminal of the overvoltage protection transistor is used to couple to a power supply, and a gate of the overvoltage protection transistor is coupled to an overvoltage protection terminal of the first charge pump;
[0034] The first controller is configured to:
[0035] Determining a state of an overvoltage protection terminal of the first charge pump;
[0036] The address information of the first charge pump is configured according to the state of the overvoltage protection terminal of the first charge pump.
[0037] In some embodiments of the present disclosure, the charge pump circuit further includes:
[0038] A second charge pump, the second charge pump comprising a second controller and an overvoltage protection terminal coupled to the second controller, the overvoltage protection terminal of the second charge pump being coupled to a common terminal;
[0039] The second controller is configured to:
[0040] Determining a state of an overvoltage protection terminal of the second charge pump;
[0041] The address information of the second charge pump is configured according to the state of the overvoltage protection terminal of the second charge pump.
[0042] According to a fifth aspect of an embodiment of the present disclosure, an electronic device is provided, the electronic device comprising:
[0043] processor; and,
[0044] As for the charge pump circuit as described above, the processor and the charge pump circuit are coupled via an integrated circuit bus.
[0045] According to a sixth aspect of an embodiment of the present disclosure, a non-temporary computer-readable storage medium is provided, which enables the terminal to execute the method as described above when instructions in the storage medium are executed by a processor of a terminal.
[0046] The technical solution provided by the embodiments of the present disclosure may have the following beneficial effects:
[0047] When the charge pump needs to configure the address information, the state of the overvoltage protection terminal is determined to determine the coupling mode of the overvoltage protection terminal. According to the state of the overvoltage protection terminal, the address information is configured to correspond the address information to the charge pump. Since the address information can be configured only through the overvoltage protection terminal, no additional circuit is required to configure the address information, thereby reducing the complexity of the charge pump circuit. At the same time, by multiplexing the overvoltage protection terminal to configure the address information, the occupancy of the charge pump terminal is reduced, thereby improving the scalability of the charge pump function.
[0048] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS
[0049] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the present disclosure.
[0050] Figure 1-1 It is a schematic diagram of the structure of a charge pump circuit;
[0051] Figure 1-2 It is a schematic diagram of the structure of another charge pump circuit;
[0052] Figure 2-1 is a schematic structural diagram of a charge pump circuit according to an exemplary embodiment;
[0053] Figure 2-2 is a structural schematic diagram of a charge pump circuit according to another exemplary embodiment;
[0054] Figure 3 is a flowchart of an address configuration method according to an exemplary embodiment;
[0055] Figure 4 is a flowchart of an address configuration method according to an exemplary embodiment;
[0056] Figure 5 is a flowchart of an address configuration method according to an exemplary embodiment;
[0057] Figure 6 is a block diagram of an address configuration device according to an exemplary embodiment;
[0058] Figure 7 is a block diagram of an electronic device according to an exemplary embodiment.
[0059] In the figure:
[0060] 10-first charge pump; 20-second charge pump; Q-overvoltage protection transistor; R1-first resistor; R2-second resistor; USB-power supply; GND-common terminal; USB_SNS-status sensing terminal; USB_IN-power supply terminal; OVPGATE-overvoltage protection terminal; ADDRESS-address terminal; 100-determination module; 200-configuration module; 400-electronic device; 402-processing component; 404-memory; 406-power supply component; 408-multimedia component; 410-audio component; 412-input and output interface; 414-sensor component; 416-communication component; 420-processor. DETAILED DESCRIPTION
[0061] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present disclosure. Instead, they are merely examples of devices and methods consistent with some aspects of the present disclosure as detailed in the appended claims.
[0062] Currently, the processor and the charge pump in the electronic device are coupled via an integrated circuit bus, and the processor selects a corresponding charge pump to charge the battery according to address information of the charge pump.
[0063] In related technologies, such as Figure 1-1As shown, the charge pump can be a first charge pump 10, and the first charge pump 10 is coupled to a battery. The charge pump circuit includes a first charge pump 10, an overvoltage protection transistor Q and a first resistor R1. The power supply USB is coupled to the state sensing terminal USB_SNS of the first charge pump 10, and is coupled to the power supply terminal USB_IN of the first charge pump 10 through the overvoltage protection transistor Q. The overvoltage protection terminal OVPGATE of the first charge pump 10 is coupled to the gate of the overvoltage protection transistor Q. The address terminal ADDRESS of the first charge pump 10 is coupled to the common terminal GND through the first resistor R1. When the first charge pump 10 needs to configure the address information, the resistance value of the first resistor R1 is detected through the address terminal ADDRESS. When the resistance value of the first resistor R1 is less than the preset resistance value, the first charge pump 10 configures the address information as the first address information. When the resistance value of the first resistor R1 is greater than or equal to the preset resistance value, the first charge pump 10 configures the address information as the second address information. When the first charge pump 10 is required to operate, the processor in the electronic device selects the first charge pump 10 according to the address information to control the first charge pump 10. When the first charge pump 10 is operating, the state sensing terminal USB_SNS receives the power supply signal of the power supply USB, and turns on the overvoltage protection transistor Q through the overvoltage protection terminal OVPGATE. The power supply USB is input to the power supply terminal USB_IN of the first charge pump 10 through the overvoltage protection transistor Q, and the first charge pump 10 charges the battery. The corresponding relationship between the resistance value of the first resistor R1 and the address information is shown in Table 1:
[0064] Table 1:
[0065] The resistance of the first resistor R1 Address information of the first charge pump 10 Less than the preset resistance First address information Greater than or equal to the preset resistance Second address information
[0066] like Figure 1-2As shown, the charge pump can also be a second charge pump 20. The charge pump circuit also includes a second charge pump 20. The second charge pump 20 is coupled in parallel with the first charge pump 10, and the charge pump circuit also includes a second resistor R2. The power supply USB is coupled to the power supply terminal USB_IN and the state sensing terminal USB_SNS of the second charge pump 20 through the overvoltage protection transistor Q. Since the overvoltage protection terminal OVPGATE of the first charge pump 10 can turn off the overvoltage protection transistor Q when the first charge pump 10 and the second charge pump 20 are overvoltage, the overvoltage protection terminal OVPGATE of the second charge pump 20 is coupled to the common terminal GND. The address terminal ADDRESS of the second charge pump 20 is coupled to the common terminal GND through the second resistor R2. When the second charge pump 20 needs to configure the address information, the resistance value of the second resistor R2 is detected through the address terminal ADDRESS. When the resistance value of the second resistor R2 is less than the preset resistance value, the second charge pump 20 configures the address information as the first address information. When the resistance of the second resistor R2 is greater than or equal to the preset resistance, the second charge pump 20 configures the address information as the second address information. That is, the first charge pump 10 and the second charge pump 20 adopt the same address information configuration method. In order to avoid a conflict between the address information of the first charge pump 10 and the second charge pump 20, it is necessary to configure the address information of the first charge pump 10 and the second charge pump 20 as different address information. Therefore, when the resistance of the first resistor R1 is less than the preset resistance, the resistance of the second resistor R2 is greater than or equal to the preset resistance. When the resistance of the first resistor R1 is greater than or equal to the preset resistance, the resistance of the second resistor R2 is less than the preset resistance. The corresponding relationship between the resistance of the second resistor R2 and the address information is shown in Table 2:
[0067] Table 2:
[0068] The resistance of the second resistor R2 Address information of the second charge pump 20 Less than the preset resistance First address information Greater than or equal to the preset resistance Second address information
[0069] Although the first charge pump 10 can configure address information through the first resistor R1 and the second charge pump 20 can configure address information through the second resistor R2, the first resistor R1 and the second resistor R2 increase the complexity of the charge pump circuit and occupy the address terminals ADDRESS of the first charge pump 10 and the second charge pump 20.
[0070] In order to solve the above technical problems, the present disclosure provides an address configuration method, when the charge pump needs to configure the address information, the state of the overvoltage protection terminal is determined. According to the state of the overvoltage protection terminal, the address information is configured. Since the first resistor and the second resistor are not required to configure the address information, the complexity of the charge pump circuit is reduced. At the same time, since the address terminal of the charge pump is not required to configure the address information, the occupancy of the charge pump terminal is reduced, thereby improving the scalability of the charge pump function.
[0071] For ease of understanding, the charge pump circuit of the present disclosure is first described. Figure 2-1 As shown, the charge pump may be a first charge pump 10. The charge pump circuit includes a first charge pump 10 and an overvoltage protection transistor Q. The power supply USB is coupled to the state sensing terminal USB_SNS of the first charge pump 10, and is coupled to the power supply terminal USB_IN of the first charge pump 10 through the overvoltage protection transistor Q. The overvoltage protection terminal OVPGATE of the first charge pump 10 is coupled to the gate of the overvoltage protection transistor Q.
[0072] In this embodiment, the overvoltage protection terminal is coupled to the gate of the overvoltage protection transistor. When the first charge pump charges the battery and an overvoltage problem occurs, the overvoltage protection transistor is turned off to avoid damage to the battery. Since the first charge pump can automatically cut off the power supply when an overvoltage problem occurs when the battery is charged, damage to the battery is avoided, thereby improving the reliability of the operation of the first charge pump.
[0073] In one embodiment, if Figure 2-2 As shown, the charge pump may also be a second charge pump 20. The charge pump circuit further includes a second charge pump 20. The second charge pump 20 is coupled in parallel with the first charge pump 10. The power supply USB is coupled to the power supply terminal USB_IN and the state sensing terminal USB_SNS of the second charge pump 20 through the overvoltage protection transistor Q, that is, the power supply terminal USB_IN and the state sensing terminal USB_SNS of the second charge pump 20 are coupled to the power supply terminal USB_IN of the first charge pump 10. The overvoltage protection terminal OVPGATE of the second charge pump 20 is coupled to the common terminal GND.
[0074] In this embodiment, the second charge pump is coupled in parallel with the first charge pump. When the first charge pump and the second charge pump have an overvoltage problem when charging the battery, the first charge pump can turn off the overvoltage protection transistor to cut off the power supply of the first charge pump and the second charge pump at the same time. Since the second charge pump is not required to control the overvoltage protection transistor, the overvoltage protection terminal of the second charge pump is grounded to avoid interference with the output of the overvoltage protection terminal of the first charge pump.
[0075] The present disclosure provides an address configuration method, which is applied to a charge pump. The charge pump includes an overvoltage protection terminal, such as Figure 3 As shown, the method includes:
[0076] S100: Determine the state of the overvoltage protection terminal.
[0077] S200: Configure address information according to the state of the overvoltage protection terminal.
[0078] In this embodiment, when the charge pump needs to configure the address information, the state of the overvoltage protection terminal is determined to determine the coupling mode of the overvoltage protection terminal. According to the state of the overvoltage protection terminal, the address information is configured to correspond the address information to the charge pump. Since the address information can be configured only through the overvoltage protection terminal, no additional circuit is required to configure the address information, thereby reducing the complexity of the charge pump circuit. At the same time, by multiplexing the overvoltage protection terminal to configure the address information, the occupancy of the charge pump terminal is reduced, thereby improving the scalability of the charge pump function.
[0079] It can be understood that when the charge pump is the first charge pump or the second charge pump, the first charge pump and the second charge pump can configure their own address information according to the states of their respective overvoltage protection terminals.
[0080] In one embodiment, the charge pump further includes an overvoltage protection status register connected to the overvoltage protection terminal, and the value of the overvoltage protection status register is used to characterize the state of the overvoltage protection terminal. When the value of the overvoltage protection status register is a first value, it characterizes that the overvoltage protection terminal is in a state of being coupled to the overvoltage protection transistor. When the value of the overvoltage protection status register is a second value, it characterizes that the overvoltage protection terminal is in a grounded state.
[0081] In this embodiment, when the overvoltage protection terminal of the charge pump is coupled to the overvoltage protection transistor, the value of the overvoltage protection status register is the first value. When the overvoltage protection terminal of the charge pump is grounded, the value of the overvoltage protection status register is the second value. By determining the state of the overvoltage protection terminal according to the value of the overvoltage protection status register, the reliability of the charge pump address configuration is improved.
[0082] Exemplarily, the first value and the second value may be determined according to the number of bits of the overvoltage protection status register. For example, when the number of bits of the overvoltage protection status register is 1, the first value may be 1, and the second value may be 0. When the number of bits of the overvoltage protection status register is 2, the first value may be 0, 1, 2, or 3, and the second value may be a value different from the first value among 0, 1, 2, and 3.
[0083] It can be understood that, in addition to determining the state of the overvoltage protection terminal by determining the value of the overvoltage protection state register, the state of the overvoltage protection terminal can also be determined by detecting the potential of the overvoltage protection terminal.
[0084] In one embodiment, the configuration of the address information according to the state of the overvoltage protection terminal in step S200 can be determined in the following manner:
[0085] When the overvoltage protection terminal is in a state of being coupled to the overvoltage protection transistor, the address information is configured as first address information.
[0086] When the overvoltage protection terminal is in a grounded state, the address information is configured as the second address information.
[0087] In this embodiment, in order to avoid the first charge pump being configured with the second address information, or the first charge pump being configured with the second address information and the second charge pump being configured with the first address information, the address information of the charge pump does not match the address query information of the processor and cannot operate normally. By determining the coupling mode of the charge pump according to the state of the overvoltage protection terminal, the charge pump is determined to be the first charge pump or the second charge pump. After the charge pump is determined according to the state of the overvoltage protection terminal, the address information is configured so that the charge pump matches the address information. By configuring the address information according to the state of the overvoltage protection terminal, the misconfiguration caused by inaccurate resistance value detection is avoided, thereby improving the reliability of the address information configuration. At the same time, by reusing the overvoltage protection terminal to configure the address information, the occupancy of the charge pump terminal is reduced, thereby improving the scalability of the charge pump function.
[0088] Exemplarily, the first address information and the second address information are two different address information. For the processor of the electronic device, the charge pump whose address information is the first address information is determined to be the first charge pump, and the charge pump whose address information is the second address information is determined to be the second charge pump. When selecting a charge pump through the integrated circuit bus, different charge pumps are selected using different address information. For the same charge pump, due to different wiring methods, the charge pump may be the first charge pump or the second charge pump. By determining whether the charge pump is the first charge pump or the second charge pump according to the state of the overvoltage protection terminal of the charge pump, the corresponding address information is configured. The correspondence between the state of the overvoltage protection terminal and the address information is shown in Table 3:
[0089] Table 3:
[0090] Overvoltage protection terminal status Charge pump address information The state of the overvoltage protection transistor is coupled First address information Grounding status Second address information
[0091] Exemplarily, in the process of configuring the address information according to the state of the overvoltage protection terminal in step S200, a preset configuration relationship is first determined, and the preset configuration relationship is used to characterize the correspondence between the state of the overvoltage protection terminal and the address information. The address information is determined based on the state of the overvoltage protection terminal and the preset configuration relationship.
[0092] After determining the state of the overvoltage protection terminal in step S100, the address configuration method provided in an embodiment of the present disclosure further includes the following steps:
[0093] When the overvoltage protection terminal is in a state of being coupled to the overvoltage protection transistor, the overvoltage protection function is enabled.
[0094] When the overvoltage protection terminal is grounded, the overvoltage protection function is turned off.
[0095] In this embodiment, since the overvoltage protection terminal is in a state of coupling with the overvoltage protection transistor, the charge pump needs to turn off the overvoltage protection transistor through the overvoltage protection terminal when the battery is overcharged, and enable the overvoltage protection function. Since the overvoltage protection terminal is in a grounded state, if the overvoltage protection terminal sends a gate control signal, it will cause damage to the charge pump circuit, and the overvoltage protection function will be turned off. By enabling / disabling the overvoltage protection function under different coupling modes of the overvoltage protection terminal, the reliability of the charge pump operation is improved.
[0096] Exemplarily, the corresponding relationship between the state of the overvoltage protection terminal and the overvoltage protection function is shown in Table 4:
[0097] Table 4:
[0098] Overvoltage protection terminal status Overvoltage protection function The state of the overvoltage protection transistor is coupled Enable Grounding status closure
[0099] After determining the state of the overvoltage protection terminal in step S100, the address configuration method provided in an embodiment of the present disclosure further includes the following steps:
[0100] When the overvoltage protection terminal is in a state of being coupled to the overvoltage protection transistor, the overvoltage protection function is enabled.
[0101] When the overvoltage protection terminal is grounded, the overvoltage protection function is turned off.
[0102] like Figure 4 As shown, after the address information is configured according to the state of the overvoltage protection terminal in step S200, the address configuration method provided in an embodiment of the present disclosure further includes the following steps:
[0103] S300: When address query information is received, compare the address query information with the address information.
[0104] S310: When the address query information matches the address information, a response signal is returned.
[0105] S320: When the address query information does not match the address information, no response signal is sent.
[0106] In this embodiment, when the processor of the electronic device needs to control the operation of the charge pump, the processor sends address query information to the charge pump through the integrated circuit bus. When the charge pump receives the address query information, it compares the address query information with the configured address information to determine whether they match. When the address query information matches the address information, the charge pump replies with a response signal to the processor to inform the processor that it is the selected charge pump. When the address query information does not match the address information, the charge pump does not reply with a response signal to the processor to avoid the processor's misselection. By replying / not replying to the response signal based on whether the address query information matches the address information to allow the processor to make a selection, the reliability of the charge pump operation is improved.
[0107] It is understandable that when the address query information does not match the address information, an error signal may be returned to inform the processor that the charge pump is not selected.
[0108] After the reply response signal in step S310, the address configuration method provided by an embodiment of the present disclosure further includes the following steps:
[0109] When a charging instruction is received, the system operates according to the charging instruction.
[0110] In this embodiment, after the charge pump replies a response signal to the processor, the processor can determine that the charge pump is the charge pump that needs to be operated, and send a charging instruction to the charge pump. When receiving the charging instruction, the charge pump operates according to the charging instruction to charge the battery. By charging the battery according to the charging instruction, the erroneous operation of the charge pump is avoided, thereby improving the reliability of the charge pump operation.
[0111] Before determining the state of the overvoltage protection terminal in step S100, the address configuration method provided in an embodiment of the present disclosure further includes the following steps:
[0112] The corresponding relationship between the state of the overvoltage protection terminal and the first address information and the second address information is set as a preset configuration relationship.
[0113] In this embodiment, the correspondence between the state of the overvoltage protection terminal and the address information is pre-set, so that during the address configuration process, the address information of the charge pump is matched with the address query information sent by the processor in the electronic device. By setting the correspondence, errors in the configuration of the address information of the charge pump are avoided, thereby improving the reliability of the address information configuration.
[0114] The present disclosure provides an address configuration method, such as Figure 5 As shown, the method includes:
[0115] S400: Set a corresponding relationship between the state of the overvoltage protection terminal and the first address information and the second address information.
[0116] S410. Obtain the value of the overvoltage protection status register.
[0117] S420: When the value of the overvoltage protection status register is the first value, determine that the overvoltage protection terminal is in a state of being coupled to the overvoltage protection transistor.
[0118] S430: Configure the address information as first address information.
[0119] S440, enable the overvoltage protection function, and execute step S480.
[0120] S450: When the value of the overvoltage protection status register is the second value, determine that the overvoltage protection terminal is in a grounding state.
[0121] S460: Configure the address information as second address information.
[0122] S470, turn off the overvoltage protection function.
[0123] S480: When address query information is received, compare the address query information with the address information.
[0124] S490: When the address query information matches the address information, a response signal is returned.
[0125] S500: When a charging instruction is received, the system operates according to the charging instruction, and this configuration ends.
[0126] S510: When the address query information does not match the address information, no response signal is sent.
[0127] In this embodiment, the corresponding relationship between the state of the overvoltage protection terminal and the first address information and the second address information is set so that the address information of the charge pump matches the address query information sent by the processor in the electronic device during the address configuration process. The value of the overvoltage protection state register is obtained, and the state of the overvoltage protection terminal is determined according to the value of the overvoltage protection state register. When the overvoltage protection terminal is in a state of coupling with the overvoltage protection transistor, the address information is configured as the first address information, and the charge pump is configured as the first charge pump. The overvoltage protection function is enabled to turn off the overvoltage protection transistor to prevent damage to the battery when the battery is overcharged. When the overvoltage protection terminal is in a grounded state, the address information is configured as the second address information, and the charge pump is configured as the second charge pump. The overvoltage protection function is turned off to prevent the charge pump circuit from being damaged by issuing a control signal. When the address query information is received, the address query information is compared with the address information to determine whether it is the charge pump selected by the processor. When the address query information matches the address information, the charge pump is the charge pump selected by the processor, and a response signal is replied to inform the processor. When a charging instruction sent by the processor is received, the battery is charged according to the charging instruction. When the address query information does not match the address information, the charge pump is not the charge pump selected by the processor and does not reply with an acknowledgement signal. Since the address information can be configured only through the overvoltage protection terminal, no additional circuit is required to configure the address information, thereby reducing the complexity of the charge pump circuit. At the same time, by reusing the overvoltage protection terminal to configure the address information, the occupancy of the charge pump terminal is reduced, thereby improving the scalability of the charge pump function.
[0128] In an exemplary embodiment, an address configuration device is provided, which is applied to a charge pump, wherein the charge pump includes an overvoltage protection terminal, and the address configuration device is used to implement the above method. Figure 6As shown, the control device may include a determination module 100 and a configuration module 200, wherein, in the process of implementing the above method,
[0129] The determination module 100 is configured to determine the state of the overvoltage protection terminal.
[0130] The configuration module 200 is configured to configure the address information according to the state of the overvoltage protection terminal.
[0131] In an exemplary embodiment, an address configuration device is provided, in which a determination module 100 is configured to:
[0132] Determines the value of the overvoltage protection status register.
[0133] When the value of the overvoltage protection state register is the first value, it is determined that the overvoltage protection terminal is in a state of being coupled to the overvoltage protection transistor.
[0134] When the value of the overvoltage protection status register is the second value, it is determined that the overvoltage protection terminal is in a grounding state.
[0135] In an exemplary embodiment, an address configuration device is provided, in which a configuration module 200 is configured to:
[0136] When the overvoltage protection terminal is in a state of being coupled to the overvoltage protection transistor, the address information is configured as first address information.
[0137] When the overvoltage protection terminal is in a grounded state, the address information is configured as the second address information.
[0138] In an exemplary embodiment, an address configuration device is provided, the device further comprising:
[0139] The enabling module is configured to enable the overvoltage protection function when the overvoltage protection terminal is in a state of being coupled to the overvoltage protection transistor.
[0140] The shutdown module is configured to shut down the overvoltage protection function when the overvoltage protection terminal is in a grounded state.
[0141] In an exemplary embodiment, an address configuration device is provided, the device further comprising:
[0142] The comparison module is configured to compare the address query information with the address information when the address query information is received.
[0143] The reply module is configured to reply a response signal when the address query information matches the address information.
[0144] In an exemplary embodiment, an address configuration device is provided, the device further comprising:
[0145] The running module is configured to run according to the running instruction when receiving the running instruction.
[0146] In an exemplary embodiment, a charge pump circuit is provided, the charge pump circuit comprising a first charge pump and an overvoltage protection transistor. The first charge pump comprises a first controller and an overvoltage protection terminal coupled to the first controller. The first terminal of the overvoltage protection transistor is coupled to the power supply terminal of the first charge pump, the second terminal is used to couple to the power supply, and the gate is coupled to the overvoltage protection terminal of the first charge pump. The first controller is configured to: determine the state of the overvoltage protection terminal of the first charge pump. According to the state of the overvoltage protection terminal of the first charge pump, the address information of the first charge pump is configured.
[0147] In an exemplary embodiment, a charge pump circuit is provided, the charge pump circuit further comprising a second charge pump. The second charge pump comprises a second controller and an overvoltage protection terminal coupled to the second controller, the overvoltage protection terminal of the second charge pump being coupled to a common terminal. The second controller is configured to: determine a state of the overvoltage protection terminal of the second charge pump. According to the state of the overvoltage protection terminal of the second charge pump, address information of the second charge pump is configured.
[0148] In an exemplary embodiment, a charge pump is provided, the charge pump comprising a controller and a storage unit for storing instructions executable by the controller, wherein the controller is configured to execute the method as described above.
[0149] In an exemplary embodiment, an electronic device is provided, and the electronic device is, for example, a mobile phone, a laptop computer, a tablet computer, a wearable device, etc.
[0150] refer to Figure 7 As shown, electronic device 400 may include one or more of the following components: a charge pump circuit, a processing component 402, a memory 404, a power component 406, a multimedia component 408, an audio component 410, an input / output (I / O) interface 412, a sensor component 414, and a communication component 416.
[0151] The processing component 402 generally controls the overall operation of the electronic device 400, such as operations associated with display, phone calls, data communications, camera operations, and recording operations. The processing component 402 may include one or more processors 420 to execute instructions, and the processor 420 is coupled to the charge pump circuit via an integrated circuit bus. In addition, the processing component 402 may include one or more modules to facilitate interaction between the processing component 402 and other components. For example, the processing component 402 may include a multimedia module to facilitate interaction between the multimedia component 408 and the processing component 402.
[0152] The memory 404 is configured to store various types of data to support operations on the electronic device 400. Examples of such data include instructions for any application or method operating on the electronic device 400, contact data, phone book data, messages, pictures, videos, etc. The memory 404 can be implemented by any type of volatile or non-volatile storage terminal or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk.
[0153] The power supply component 406 provides power to the various components of the electronic device 400. The power supply component 406 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to the electronic device 400.
[0154] The multimedia component 408 includes a screen that provides an output interface between the electronic device 400 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundaries of the touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 408 includes a front camera module and / or a rear camera module. When the electronic device 400 is in an operating mode, such as a shooting mode or a video mode, the front camera module and / or the rear camera module may receive external multimedia data. Each front camera module and the rear camera module may be a fixed optical lens system or have a focal length and optical zoom capability.
[0155] The audio component 410 is configured to output and / or input audio signals. For example, the audio component 410 includes a microphone (MIC), and when the electronic device 400 is in an operating mode, such as a call mode, a recording mode, and a voice recognition mode, the microphone is configured to receive an external audio signal. The received audio signal can be further stored in the memory 404 or sent via the communication component 416. In some embodiments, the audio component 410 also includes a speaker for outputting audio signals.
[0156] I / O interface 412 provides an interface between processing component 402 and peripheral interface modules, such as keyboards, click wheels, buttons, etc. These buttons may include but are not limited to: a home button, a volume button, a start button, and a lock button.
[0157] The sensor assembly 414 includes one or more sensors for providing various aspects of status assessment for the electronic device 400. For example, the sensor assembly 414 can detect the open / closed state of the electronic device 400, the relative positioning of components, such as the display and keypad of the electronic device 400, and the sensor assembly 414 can also detect the position change of the electronic device 400 or a component of the electronic device 400, the presence or absence of user contact with the electronic device 400, the orientation or acceleration / deceleration of the electronic device 400, and the temperature change of the electronic device 400. The sensor assembly 414 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. The sensor assembly 414 may also include an optical sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 414 may also include an accelerometer, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
[0158] The communication component 416 is configured to facilitate wired or wireless communication between the electronic device 400 and other terminals. The electronic device 400 can access a wireless network based on a communication standard, such as WiFi, 2G, 3G, 4G, 5G, or a combination thereof. In an exemplary embodiment, the communication component 416 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 416 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.
[0159] In an exemplary embodiment, the electronic device 400 may be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing terminals (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors or other electronic components to perform the above-described methods.
[0160] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a storage unit including instructions, and the above instructions can be executed by a controller of a charge pump to complete the above method. For example, the non-transitory computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a tape, a floppy disk, and an optical data storage terminal. When the instructions in the storage medium are executed by the controller of the terminal, the terminal is enabled to perform the method shown in the above embodiment.
[0161] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the invention disclosed herein. The present disclosure is intended to cover any variations, uses or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or customary techniques in the art that are not disclosed in the present disclosure. The description and examples are to be considered exemplary only, and the true scope and spirit of the present disclosure are indicated by the claims.
[0162] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the invention disclosed herein. The present disclosure is intended to cover any variations, uses or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or customary techniques in the art that are not disclosed in the present disclosure. The description and examples are to be considered exemplary only, and the true scope and spirit of the present disclosure are indicated by the following claims.
[0163] It should be understood that the present disclosure is not limited to the exact structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.
Claims
1. An address configuration method, applied to a charge pump, wherein the charge pump includes an overvoltage protection terminal, characterized in that: The address configuration method comprises: Determining a state of the overvoltage protection terminal; The address information is configured according to the state of the overvoltage protection terminal.
2. The address configuration method according to claim 1, characterized in that: The charge pump also includes an overvoltage protection status register connected to the overvoltage protection end, and the value of the overvoltage protection status register is used to characterize the state of the overvoltage protection end; wherein, when the value of the overvoltage protection status register is a first value, it characterizes that the overvoltage protection end is in a state of being coupled to the overvoltage protection transistor; and when the value of the overvoltage protection status register is a second value, it characterizes that the overvoltage protection end is in a grounded state.
3. The address configuration method according to claim 1, characterized in that: The configuring the address information according to the state of the overvoltage protection terminal includes: When the overvoltage protection terminal is in a state of being coupled to the overvoltage protection transistor, configuring the address information as first address information; When the overvoltage protection terminal is in a grounded state, the address information is configured as second address information.
4. The address configuration method according to claim 1, characterized in that: After determining the state of the overvoltage protection terminal, the address configuration method further includes: When the overvoltage protection terminal is in a state of being coupled to the overvoltage protection transistor, enabling the overvoltage protection function; When the overvoltage protection terminal is in a grounded state, the overvoltage protection function is turned off.
5. The address configuration method according to any one of claims 1 to 4, characterized in that: After configuring the address information according to the state of the overvoltage protection terminal, the address configuration method further includes: When receiving address query information, comparing the address query information with the address information; When the address query information matches the address information, a response signal is returned.
6. The address configuration method according to claim 5, characterized in that: The address query information is sent by the processor to the charge pump via an integrated circuit bus.
7. An address configuration device, applied to a charge pump, the charge pump comprising an overvoltage protection terminal, characterized in that: The device comprises: A determination module, configured to determine a state of the overvoltage protection terminal; The configuration module is configured to configure the address information according to the state of the overvoltage protection terminal.
8. The address configuration device according to claim 7, characterized in that: The device also includes: An enabling module, configured to enable the overvoltage protection function when the overvoltage protection terminal is in a state of being coupled to the overvoltage protection transistor; The shut-down module is configured to shut down the overvoltage protection function when the overvoltage protection terminal is in a grounded state.
9. The address configuration device according to claim 7, characterized in that: The device also includes: a comparison module, configured to compare the address query information with the address information when the address query information is received; The reply module is configured to reply a response signal when the address query information matches the address information.
10. A charge pump circuit, characterized in that: The charge pump circuit comprises: A first charge pump, the first charge pump comprising a first controller and an overvoltage protection terminal coupled to the first controller; an overvoltage protection transistor, wherein a first terminal of the overvoltage protection transistor is coupled to a power supply terminal of the first charge pump, a second terminal of the overvoltage protection transistor is used to couple to a power supply, and a gate of the overvoltage protection transistor is coupled to an overvoltage protection terminal of the first charge pump; The first controller is configured to: Determining a state of an overvoltage protection terminal of the first charge pump; The address information of the first charge pump is configured according to the state of the overvoltage protection terminal of the first charge pump.
11. The charge pump circuit according to claim 10, characterized in that: The charge pump circuit further includes: A second charge pump, the second charge pump comprising a second controller and an overvoltage protection terminal coupled to the second controller, the overvoltage protection terminal of the second charge pump being coupled to a common terminal; The second controller is configured to: Determining a state of an overvoltage protection terminal of the second charge pump; The address information of the second charge pump is configured according to the state of the overvoltage protection terminal of the second charge pump.
12. A charge pump, characterized in that: The charge pump comprises: Controller; a storage unit for storing instructions executable by the controller; Wherein, the controller is configured to execute the method according to any one of claims 1 to 6.
13. An electronic device, characterized in that: The electronic device comprises: processor; and, According to the charge pump circuit of claim 10 or 11, the processor is coupled to the charge pump circuit via an integrated circuit bus.
14. A non-transitory computer-readable storage medium, characterized in that: When the instructions in the storage medium are executed by a controller of a terminal, the terminal is enabled to execute the method according to any one of claims 1 to 6.
