Adjustable current source and method of adjusting the same
By adjusting the output current of the current source module through parallel connection of micro current sources and control signals, the problem of increased costs caused by differences in current demand in mobile terminals is solved, realizing the diversified applicability of the current source and the miniaturization and thinning of the terminal.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- SUZHOU HUNTERSUN ELECTRONICS CO LTD
- Filing Date
- 2022-12-28
- Publication Date
- 2026-06-16
AI Technical Summary
The different current requirements of different modules in mobile terminals vary greatly, which leads to the need to set up multiple current source modules of different levels, increasing costs and hindering miniaturization and thinning.
Multiple parallel-connected micro-current sources and control signals are used. The output current of the current source module is adjusted by generating adjustment signals. The switching state of the micro-current sources is controlled by the digital core to achieve current regulation.
The reduced number of power supply settings enhances applicability, supports large current output spans, and contributes to the miniaturization and thinning of mobile terminals.
Smart Images

Figure CN115933794B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to current sources, particularly adjustable current sources and their adjustment methods. Background Technology
[0002] In recent decades, science and technology have developed rapidly worldwide, especially mobile communication technology, which has made significant progress in the last decade or so. In the 1G era, mobile communication terminals could only provide simple voice call functionality. 2G mobile communication terminals, in addition to voice calls, also added some basic data communication functions. Starting with 3G, mobile communication terminals began to provide broadband wireless data communication capabilities. With the advent of the 4G and 5G eras, the broadband wireless data communication functions of mobile communication terminals have become increasingly powerful, data communication speeds have become increasingly faster, and correspondingly, the functions of mobile communication terminals have become increasingly diverse.
[0003] To meet the diverse functionalities of modern mobile terminals, an increasing number of modules are incorporated. These modules integrate chips and electronic components with different functions to perform specific tasks. Examples of such modules include Global Positioning System (GPS) modules, Near Field Communication (NFC) modules, WiFi modules, Bluetooth modules, camera modules, and fingerprint modules. These modules enable mobile terminals to perform various functions, such as location tracking and photography. The operating current of these modules varies significantly. For instance, fingerprint and GPS modules require relatively low operating current, typically tens of microamps, while camera and WiFi modules usually require hundreds of microamps. Due to the large difference in current requirements between different modules, they are typically powered by different levels of current source modules to provide stable operating current.
[0004] Compared to the past, mobile terminals are becoming increasingly feature-rich and thinner. This solution, which uses different current source modules for power supply, requires multiple current source modules of different levels, which increases the cost of mobile terminals. On the other hand, in order to set up multiple current source modules of different levels, multiple current source chips of different levels need to be embedded in the mobile terminal, which is not conducive to the miniaturization and thinning of mobile terminals. Summary of the Invention
[0005] To address the shortcomings of existing technologies, this invention provides an adjustable current source and its adjustment method.
[0006] A current source module includes multiple micro-current sources connected in parallel and a control signal connected to the micro-current sources. The control signal is used to generate an adjustment signal to the micro-current sources according to a received instruction, so as to adjust the output current of the current source module.
[0007] Optionally, the control signal is generated by a digital core; the plurality of parallel-connected microcurrent sources include a first microcurrent source and a second microcurrent source; the processor is further configured to determine the power-consuming module to be activated in the current step based on the current task, calculate the required total power consumption current based on the power-consuming module to be activated, and generate the instruction code based on the total power consumption current; the microcurrent source includes a first switching element, a second switching element, a first driving element, and a second driving element, the first switching element and the second switching element are both connected to the second driving element, the first driving element and the second driving element are connected in series to the power supply terminal, and the output terminal of the second driving element serves as the output terminal of the microcurrent source; the first switching element and the... The second switching element has opposite switching states; the output current of the micro-current source is adjusted by adjusting the output current of the first driving element and the second driving element; the first switching element, the second switching element, the first driving element, and the second driving element are PMOS transistors; the output current of the micro-current source is related to the width-to-length ratio of the first driving element and the width-to-length ratio of the second driving element; the micro-current source also includes a first enable signal terminal and a second enable signal terminal, the first switching element and the second switching element are respectively connected to the first enable signal terminal and the second enable signal terminal, the first enable signal terminal is used to output a first enable signal, and the second enable signal terminal is used to output a second enable signal;
[0008] When the first enable signal is at a high potential and the second enable signal is at a low potential, the microcurrent source is in the on state and generates an output current that matches the instruction code; the microcurrent source includes a normally open microcurrent source.
[0009] A power supply module includes a processor and a current source module as described above, wherein the processor is used to generate corresponding instruction codes according to a task.
[0010] A current source module adjustment method is characterized by the following steps: connecting multiple parallel-connected micro-current sources to a control signal of the micro-current sources; the control signal is used to generate an adjustment signal to the micro-current sources according to the received instruction encoding, so as to adjust the output current of the current source module.
[0011] Furthermore, the control signal is generated by a digital core; the multiple parallel-connected microcurrent sources include a first microcurrent source and a second microcurrent source; the power-consuming module to be activated in the current step is determined according to the current task, the required total power consumption current is calculated according to the power-consuming module to be activated, and the instruction code is generated according to the total power consumption current.
[0012] An adjustment method for an adjustable current source includes the following steps: generating a corresponding instruction code according to a task; receiving the instruction code and generating an output current corresponding to the instruction code.
[0013] Optionally, the method includes the following steps: outputting the output current to multiple power-consuming modules, wherein the power-consuming current of the power-consuming modules is equal to the output current. Step S200 includes connecting multiple micro-current sources in parallel. An adjustment signal is output to the micro-current sources according to the received instruction encoding to adjust the output current of the adjustable current sources.
[0014] The beneficial effects of this invention are: different modules are powered by the same current source module, reducing the number of power supplies required and facilitating the miniaturization and thinning of mobile terminals; multiple micro-current sources are connected in parallel, including a first micro-current source and a second micro-current source. This allows the current source to achieve a wide output range, making it more versatile. Attached Figure Description
[0015] Figure 1 This is a schematic diagram of the structure of the mobile communication system involved in this invention;
[0016] Figure 2 This is a schematic diagram of the structure of a mobile communication terminal;
[0017] Figure 3 This is a structural diagram of the functional modules within a mobile communication terminal;
[0018] Figure 4 This is a schematic diagram of instruction encoding;
[0019] Figure 5 This is a schematic diagram of the current source module provided by the present invention;
[0020] Figure 6 This is a schematic diagram of the adjustable current source.
[0021] Figure 7 This is a diagram of the external package of a microcurrent source;
[0022] Figure 8 This is a schematic diagram of the internal structure of a microcurrent source;
[0023] Figure 9 It is the circuit diagram of the digital core;
[0024] Figure 10 This is a simulation diagram of a 3.5V power supply;
[0025] Figure 11 This is a simulation diagram of a 5V power supply;
[0026] Figure 12 This is a flowchart of the current source adjustment method. Detailed Implementation
[0027] To make the above-mentioned objects, features, and advantages of the present invention more apparent and understandable, the specific embodiments of the present invention will be described in detail below with reference to the accompanying drawings, so that the above and other objects, features, and advantages of the present invention will become clearer. In all the drawings, the same reference numerals indicate the same parts. The drawings are not intentionally drawn to scale; the focus is on illustrating the main points of the invention.
[0028] The terms and words used in the following description and claims are not limited to their literal meaning, but are intended solely by the inventors to provide a clear and consistent understanding of the invention. Therefore, it will be apparent to those skilled in the art that the following description, which provides various embodiments of the invention, is for illustrative purposes only and not for limiting the invention as defined by the appended claims and their equivalents.
[0029] It should be understood that the singular forms “a,” “an,” and “the” include plural objects unless the context explicitly indicates otherwise. Thus, for example, referring to a “module” includes referring to one or more such modules. The advantages and features of the invention, as well as methods of implementing the invention, can be more readily understood by referring to the detailed description of the embodiments below and the accompanying drawings. However, the invention may be embodied in many different forms and should not be construed as limited to the embodiments set forth herein; rather, these embodiments are provided so that the invention will be thorough and complete, and will fully convey the concept of the invention to those skilled in the art, and this disclosure will be limited only by the appended claims.
[0030] Example 1
[0031] See Figure 1 First, a brief introduction will be given to the application system involved in the current source of this invention, particularly, for example, a mobile communication system. Figure 1 As shown, the mobile communication system according to this embodiment is equipped with a wireless mobile terminal 100, a base station 200, and a cloud 300.
[0032] Mobile terminal 100 can interact with base station 200 via its built-in wireless communication module (not shown in the figure), and send the interactive data to cloud 300 through base station 200. Cloud 300 may include various servers, such as communication server 301 and data server 302. When mobile terminal 100 needs to communicate with other mobile terminals, it can access communication server 301 through base station 200 to establish a link with other mobile communication terminals. If mobile terminal 100 needs to access the network, it can access data server 302 through base station 200 to establish a connection with the network it wants to access.
[0033] In this invention, the mobile terminal 100 can be any device, as long as it performs radio communication with the base station 200. For example, the mobile terminal 100 can be a mobile phone terminal, a tablet terminal, or a laptop, etc. See also Figure 2 The mobile terminal 100 includes one or more processors 130, a memory 120, a module 110, and a battery 140. The processor 130 is configured to execute instructions, such as those stored in the memory 120, or to interact with the module 110, receiving signals from the module 110 or sending corresponding instructions to the module 110. The memory 120 may include a computer-readable storage medium, which can be any available physical medium accessible to a computing device to implement the instructions stored thereon. The computer-readable storage medium may include, but is not limited to, random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory, CD-ROM, digital versatile disc (DVD) or other optical disc storage, magnetic tape, magnetic tape, disk storage devices or other magnetic storage devices, or any other medium that can be used to store desired information and is accessible to a computing device.
[0034] Instructions and data can be stored in memory 120 and configured to be executed on processor 130. Mobile terminal 100 has an operating system, and these instructions, data, modules, etc. are run in coordination by the operating system. This coordination is carried out step by step according to the received instructions, that is, the current instruction and the next instruction are executed sequentially in time.
[0035] like Figure 3As shown, module 110 may include modules with various functions, such as a current source module 111 for providing power to other modules according to instructions from processor 130; a fingerprint module 112 for fingerprint recognition for operations such as power-on, authentication, and payment; and a Bluetooth module 113 for supporting short-range wireless communication (generally within 10m), enabling communication with devices including mobile phones and personal digital assistants (PDAs). This allows for wireless information exchange between numerous devices such as assistants (PDAs), wireless headsets, laptops, and related peripherals, enabling convenient, fast, flexible, secure, low-cost, and low-power data and voice communication. The GPS module 114 provides the mobile terminal with a relatively accurate location signal. The sensor module 115 may include sensors such as gravity sensors and infrared sensors, which can be used to detect the state of the mobile terminal, for example, whether the mobile terminal is upright or horizontal. The display module 116 is generally the display screen of the mobile terminal, typically an LCD screen or a light-emitting diode screen. The camera module 117 is used to acquire external images; for example, it may include a front-facing or rear-facing camera mounted on the mobile terminal. The audio module 118 includes a speaker for voice calls or external playback. The vibration module 119 generates vibrations. In addition to the above modules, the mobile terminal can add or remove modules with different functions according to different needs. For example, a WiFi module for wireless communication can be added to the existing modules, or the vibration module can be removed from the existing modules. The above modules are merely illustrative examples, and this invention is not intended to limit specific modules.
[0036] In the aforementioned modules, the current source module 111 is the power supply module, and the other modules are power-consuming modules. These power-consuming modules are all connected to the current source module 111; for example, each power-consuming module can be connected to the output current bus of the current source module 111. These power-consuming modules can be further subdivided into low-power modules and high-power modules. Low-power modules have low current consumption, typically tens of microamps, and may include fingerprint module 112, Bluetooth module 113, GPS module 114, sensor module 115, etc. Correspondingly, high-power modules have high current consumption, typically hundreds of microamps, and may include display module 116, camera module 117, audio module 118, vibration module 119, etc.
[0037] The current source module 111 is connected to the battery 140, converting the electrical energy from the battery 140 into a stable output current. This stable output current drives the various power-consuming modules. During this process, the magnitude of the output current from the power source module 111 is controlled by the processor 130. Specifically, the current source module 111 receives instruction codes from the processor 130 and outputs different current values on the current bus according to these instruction codes. The instruction codes are generated step-by-step by the processor 130 based on the task to be completed, executing corresponding program instructions. For example, if a task can be divided into 8 steps, the processor 130 will issue 8 instruction codes, and the current source module 111 will generate the same or different bus current outputs based on these 8 instruction codes. The instruction codes use 0 / 1 codes, where 0 represents a low level and 1 represents a high level, and can have multiple bits, such as 3 bits, 5 bits, or 8 bits. Figure 4 An example of 3-bit instruction encoding is shown, where Figure 4 In the diagram, diagram A represents an instruction code of 010, and diagram B represents an instruction code of 100.
[0038] Next, combine Figures 5 to 9 The current source module 111 of the present invention will be further described below. For example... Figure 5 As shown, the current source module 111 has a power supply terminal avdd, a ground terminal avss, a data terminal dac_cod, and a current output bus. The power supply terminal avdd is connected to the battery 140. The current source module 111 is connected to the processor 130 through the data terminal dac_code to receive the instruction code sent by the processor 130. The current output bus is used to output the current Iout.
[0039] The current source module 111 includes a digital core 20 and an adjustable current source 30, with the digital core 20 connected to the adjustable current source 30. The digital core 20 can be an integrated device with simple digital processing capabilities, such as a microcontroller, or it can be composed of discrete components. Through these discrete components, the digital core 20 can perform a series of logical operations and outputs. The digital core 20 outputs an adjustment signal according to the received instruction encoding to adjust the output current of the adjustable current source 30.
[0040] Specifically, the processor 130 can determine the power-consuming modules to be activated in the current step based on different tasks, and calculate the required total current based on the power-consuming modules to be activated. For example, if the power-consuming modules to be activated are the Bluetooth module and the display module, where the Bluetooth module requires 10μA and the display module requires 490μA, the processor 130 will calculate the required total current as 500μA. Taking a 3-bit instruction code as an example, the processor 130 will then generate an instruction code 100 representing 500μA. This instruction code 100 will then be sent to the digital core 20. After receiving this instruction code, the digital core 20 will perform further logical operations to obtain a set of adjustment signals. Through this set of adjustment signals, the output current of the adjustable current source 30 will be adjusted to 500μA to meet the current requirement of the current step. The above current values are only illustrative examples, and the actual current may vary depending on different modules and circuits.
[0041] There are several ways for the processor 130 to generate the instruction code representing the required current. For example, the lookup table method described in this invention can be used. That is, a truth table that corresponds to the instruction code and the current is pre-stored in the storage device. After obtaining the required current, the corresponding instruction code can be quickly found by looking up the truth table. The form of the truth table can be shown in Table 1 below (taking a 3-bit code as an example).
[0042] Table 1
[0043]
[0044]
[0045] Figure 6 This is a schematic diagram of the adjustable current source 30. The adjustable current source 30 consists of multiple micro-current sources with fixed outputs, which are connected in parallel. Figure 6 The diagram illustrates a microcurrent source consisting of eight microcurrent sources connected in parallel, designated as microcurrent source 111-1, microcurrent source 111-2, ..., microcurrent source 111-8. The output terminals of these microcurrent sources are all connected to a current output bus. Further, these microcurrent sources can be subdivided into a first microcurrent source and a second microcurrent source. The first microcurrent source is a low-current source with a relatively low output current value, typically below tens of microamps, while the second microcurrent source is a high-current source with an output current of several hundred microamps or more. For example... Figure 6 Microcurrent sources 111-1 to 111-4 are the first microcurrent sources, with an output current range of 5 microamps to 55 microamps; microcurrent sources 111-5 to 111-8 are the second microcurrent sources, with an output current range of 490 microamps to 1000 microamps.
[0046] Both the first and second microcurrent sources are controlled by the digital core 20. When a lower current output is required, the digital core 20 activates the corresponding first microcurrent source and shuts down the other microcurrent sources. Conversely, when a higher current is required, the second microcurrent source is activated. This adjustable current source 30, composed of the first and second microcurrent sources, allows for a wider output range, from a few microamps to several thousand microamps, significantly improving the applicability of the current source. Figure 6 For example, when the system needs to output a current of 15 microamps, the digital core 20 will turn on the first microcurrent source 111-1 and the first microcurrent source 111-2; when the system needs to output a current of 1055 microamps, the digital core 20 will turn on the first microcurrent source 111-3 and the second microcurrent source 111-7.
[0047] It should be noted that Figure 6 This invention merely provides an example of a microcurrent source scheme consisting of four first microcurrent sources and four second microcurrent sources connected in parallel. The number of first and second microcurrent sources can be arbitrary, for example, three first microcurrent sources and seven second microcurrent sources. The specific output values of each first and second microcurrent source can also be adjusted; for example, the maximum output value of the second microcurrent source could be 2000 microamps. This invention does not limit the specific number or output value of the first and second microcurrent sources.
[0048] The following is combined with Figure 7 and Figure 8 The specific internal structure of the microcurrent source is described. Figure 7 The external main pins of the microcurrent source are shown. The microcurrent source has a pair of enable signal terminals: a first enable signal terminal en and a second enable signal terminal enb. The microcurrent source is only in working state and outputs current when the first enable signal terminal en is at a high potential and the second enable signal terminal enb is at a low potential. The output current of the microcurrent source can be adjusted by regulating the voltage values of the first current regulation terminal vbp and the second current regulation terminal vcp. The first current regulation terminal vbp and the second current regulation terminal vcp can be provided by a digital to analog converter (DAC), which varies with the power supply voltage to ensure a stable output of the microcurrent source.
[0049] Figure 8 The circuit structure diagram of the microcurrent source is given, which includes a first switching element M1, a second switching element M2, a first driving element M3 and a second driving element M4. The first switching element M1 and the second switching element M2 are both connected to the second driving element M4. The first driving element M3 and the second driving element M4 are connected in series. The first driving element M3 is also connected to the power supply terminal avdd. The output terminal of the second driving element M4 serves as the output terminal of the microcurrent source.
[0050] Specifically, the first terminal of the first switching element M1 is connected to the first enable signal terminal en, the second terminal of the first switching element M1 is connected to the power supply terminal avdd, and the third terminal of the first switching element M1 is connected to the second terminal of the second switch M2. The first terminal of the second switching element M2 is connected to the second enable signal terminal enb, and the third terminal of the second switching element M2 is connected to the second current adjustment terminal vcp. The first terminal of the first driving element M3 is connected to the first current adjustment terminal vbp, the second terminal of the first driving element M3 is connected to the power supply terminal avdd, and the third terminal of the first driving element M3 is connected to the second terminal of the second driving element M4. The first terminal of the second driving element M4 is connected to the second terminal of the second switching element M2, and the third terminal (i.e., the output terminal) of the second driving element M4 serves as the output terminal of the micro-current source. By adjusting the voltage of the first current adjustment terminal vbp and the second current adjustment terminal vcp, the output current of the first driving element M3 and the second driving element M4 can be adjusted, thereby enabling the micro-current source to obtain the desired output current.
[0051] Furthermore, the first switching element M1 and the second switching element M2 have opposite switching states; that is, when the first switching element M1 is on, the second switching element M2 is off; and when the second switching element M2 is on, the first switching element M1 is on. The first switching element M1, the second switching element M2, the first driving element M3, and the second driving element M4 can be semiconductor devices, including any MOS transistor, a bipolar transistor, a Bi-CMOS transistor, or a combination thereof; however, the unique advantages of MOS transistors in terms of power consumption are self-evident.
[0052] Taking a MOS transistor as an example, with the first switching element M1, the second switching element M2, the first driving element M3, and the second driving element M4, the first terminal, the second terminal, and the third terminal are the gate, the source, and the drain, respectively. The following section will further introduce the micro-current source using a PMOS transistor as an example.
[0053] The gates of PMOS transistors M1 and M2 are connected to the first enable signal terminals en and enb, respectively. The gate of PMOS transistor M3 is connected to the first current adjustment terminal vbp. The gate of PMOS transistor M4 is connected to the source of M2. The drain current of PMOS transistor M4 is the output current of the microcurrent source. By adjusting the width-to-length ratio of PMOS transistors M3 and M4, microcurrent sources with different output sizes can be obtained.
[0054] When the first enable signal output from the first enable signal terminal en is at a high potential, PMOS transistor M1 is in the cutoff region, which is a high-impedance state. At the same time, the second enable signal output from the second enable signal terminal enb is at a low potential. Adjusting the signal input to the second current adjustment terminal vcp makes PMOS transistor M2 enter the variable resistance region. Since the voltage input from the first current adjustment terminal vbp is to the gate of PMOS transistor M3, the first adjustment signal output from the first current adjustment terminal vbp serves as the gate control voltage of PMOS transistor M3. Adjusting the signal input to the first current adjustment terminal vbp makes PMOS transistor M3 enter the variable resistance region. The power supply signal output from the power supply terminal avdd flows from the source of PMOS transistor M3 to the drain of PMOS transistor M3, therefore the signal at the drain of PMOS transistor M3 is at a high potential. Analyzing the branch composed of PMOS transistors M1 and M2 reveals that, since PMOS transistor M1 is in a high-impedance state and PMOS transistor M2 is in the variable resistance region, the second adjustment signal flows into the source of PMOS transistor M2. Since the source of PMOS transistor M2 is connected to the gate of PMOS transistor M4, the second adjustment signal output from the second current adjustment terminal Vvcp indirectly serves as the gate control voltage of PMOS transistor M4. PMOS transistor M4 is in the variable resistance region, and the signal output from the drain of PMOS transistor M3 flows into the source of PMOS transistor M4 and out from the drain of PMOS transistor M4, thereby turning on the current source.
[0055] When the enable signal enb is high, transistor M2 is in the cutoff region and is in a high-impedance state. When en is low, M1 is in the variable resistance region. At this time, the high-impedance state of transistor M2 pulls avdd down to the source, which makes the gate of M4 at a high potential of avdd, causing the micro-current source to turn off.
[0056] Furthermore, although the above embodiment is an example of a PMOS semiconductor switching circuit, it can also be a semiconductor integrated circuit that performs switching on / off, or it can be an analog switching circuit and switching element, etc. For example, an analog switching circuit can be used instead of the above. Figure 8 Semiconductor switching circuit. 1. The digital core 20 can be an integrated device with simple digital processing capabilities, such as a microcontroller. The digital core 20 can also be composed of discrete components. Through these discrete components, the digital core 20 can complete a series of logical operations and outputs. Figure 9This is a partial circuit diagram of the digital core 20 constructed with discrete components in this invention. Theoretically, it should have 8 digital logic operation circuits, with one circuit for each current source. The input to the digital core 20 is the instruction code sent by the processor 140. The instruction code is an intermittent signal, using binary 1 and 0 to represent positive and negative voltages respectively. Therefore, at any given time, it will display either 1 or 0. The digital core 20 performs different logical operations on the series of input digital signals, controlling the on / off state of the micro-current sources through the results of the digital logic operations. For example, in addition to storing Table 1, the system can also store Table 2, which is a correspondence table between micro-current sources and instruction codes. The on / off state of each micro-current source in Table 2 is realized through logical operations. Thus, the micro-current source to be turned on / off can be selected through a truth table.
[0057] Table 2
[0058]
[0059]
[0060] Table 2 shows the correspondence between the micro-current sources and the instruction codes, describing the on / off state of each current source under different codes. 0 and 1 represent 0 voltage and the power supply voltage in the actual circuit, respectively. I represents on (in), and O represents off (out).
[0061] Figure 5 The dac_code<0:2> shown represents the three-bit instruction code of the input. This invention first separates the three-bit instruction code of the input into three signals; the first signal d... <0> Input to the first inverter, then through the second inverter and the third inverter to generate a pair of opposite signals t. <0> and t_b <0> The second inverter and the third inverter are respectively connected to the first enable signal terminal en and the second enable signal terminal enb, that is, signal t <0> and signal t_b <0> The first and second enable signals serve as the control signals for switching the microcurrent source on and off. Similarly, the other two signals d... <1> and d <2> These signals are connected to NAND and NOR gates respectively to obtain more forms of enable signals. This invention also performs other logical operations on the input signals; the related principles are similar to those described above and will not be repeated here.
[0062] Furthermore, this invention also includes a normally open microcurrent source, with its en interface connected to the power supply voltage (avdd) and its enb interface connected to ground (avss), so that it is not controlled by the enable signal. This not only reduces the design of logic operations, but also reduces the design of the current source.
[0063] The following example, using an 8-step current source control with 3-bit instruction encoding, further illustrates the working process of the current source of this invention. The first step is 000, and the last step is 111. Taking a mobile terminal as an example, each step can drive different modules. For instance, the first step puts the mobile terminal into standby mode (corresponding to instruction encoding 000), the second step activates the fingerprint recognition module (corresponding to instruction encoding 001), the third step activates the GPS module (corresponding to instruction encoding 010), and so on. The eighth step activates the fingerprint module 112, Bluetooth module 113, sensor module 115, display module 116, and audio module 118 (corresponding to instruction encoding 111). The instruction encoding is provided as high and low levels for the en and enb interfaces through the digital core 20. In the above process, the adjustable current source 30 of this invention outputs a current of 10 microamps in the first step and reaches 2005 microamps in the eighth step, achieving a large range of current output depending on the different steps.
[0064] This invention does not limit the order in which the specific instruction codes are executed. As long as the corresponding instruction codes are generated based on the specific task, they can be executed. For example, besides executing according to 000-111, 111 can be executed directly after 000, followed by 010, and so on. For example, for a mobile terminal, the first step is to put the mobile terminal into standby mode (corresponding to instruction code 000), the second step can be to activate the fingerprint module 112, Bluetooth module 113, sensor module 115, display module 116, and audio module 118 (corresponding to instruction code 111), and the third step is to activate the GPS module (corresponding to instruction code 010).
[0065] In one embodiment, simulation of the solution provided by the present invention yields... Figure 10 and Figure 11 The comparison chart of the simulation results and the target results of the current source shown shows that the current source of the present invention has good output characteristics regardless of whether the power supply voltage is 5V or 3.5V, and the maximum error rate is less than 2%.
[0066] In this embodiment, different modules are powered by the same current source module, reducing the number of power supplies required and facilitating the miniaturization and thinning of mobile terminals. Multiple micro-current sources are connected in parallel, including a first micro-current source and a second micro-current source. This allows the current source to achieve a wide output range, making it more versatile.
[0067] Example 2
[0068] Correspondingly, such as Figure 12 As shown, the present invention also provides a method for adjusting the adjustable current source 30, comprising the following steps:
[0069] S100: Generates the corresponding instruction code based on the task.
[0070] S200: Receives instruction encoding and generates an output current corresponding to the instruction encoding.
[0071] S300: Outputs the output current to multiple power-consuming modules, where the power consumption current of each power-consuming module is equal to the output current.
[0072] In step S300, multiple power-consuming modules are connected to the same current output bus. This allows a single current source to power multiple different power-consuming modules, reducing the number of power supplies required.
[0073] To obtain various output currents, multiple micro-current sources are connected in parallel in step S200, including a first micro-current source and a second micro-current source. This allows the current sources to achieve a wide range of outputs, making them more versatile.
[0074] The received instruction code is used to output an adjustment signal to the micro-current source to adjust the output current of the adjustable current source 30. To obtain the correct instruction code, step S100 includes determining the power-consuming module to be activated in the current step based on the current task, calculating the required total power consumption current based on the power-consuming module to be activated, and generating an instruction code based on the total power consumption current. The instruction code uses 0 / 1 codes.
[0075] Through the detailed description of the above embodiments, it can be seen that in this invention, different modules are powered by the same current source module, reducing the number of power supplies and facilitating the miniaturization and thinning of mobile terminals. Multiple micro-current sources are connected in parallel, including a first micro-current source and a second micro-current source. This allows the current source to achieve a wide output range, making it more versatile. The total power consumption required is calculated based on the power-consuming module to be activated, and instruction codes are generated based on the total power consumption. The instruction codes are executed step by step, enabling timely activation or deactivation of power-consuming modules according to the tasks to be processed. This significantly reduces power consumption without affecting the mobile terminal's processing tasks.
[0076] While the technology has been described and illustrated with respect to one or more embodiments, changes and / or modifications may be made to the illustrated examples without departing from the spirit and scope of the appended claims. In particular, with respect to the various functions performed by the aforementioned components or structures (components, devices, circuits, systems, etc.), the terminology used to describe such components (including references to “apparatus”) is intended to correspond to any component or structure performing the specified function of the described component (e.g., functionally equivalent), even if structurally not equivalent to the disclosed structure performing the function of the illustrated embodiments described herein, unless otherwise specified. Furthermore, while a particular feature may have been disclosed with respect to one of several embodiments, such feature may be combined with one or more other features in other embodiments as may be desired and advantageous for any given or particular application. Moreover, with regard to the use of the terms “comprising,” “including,” “having,” “containing,” “comprising,” or variations thereof in the detailed description or claims, such terms are intended to be inclusive in a manner similar to the term “comprising.”
[0077] Many specific details have been set forth in the foregoing description to provide a thorough understanding of the present invention. However, the above description is merely a preferred embodiment of the present invention, and the present invention can be implemented in many other ways different from those described herein. Therefore, the present invention is not limited to the specific embodiments disclosed above. Furthermore, any person skilled in the art can make many possible variations and modifications to the technical solutions of the present invention, or modify them into equivalent embodiments, using the methods and techniques disclosed above, without departing from the scope of the present invention. Any simple modifications, equivalent changes, and modifications made to the above embodiments based on the technical essence of the present invention, without departing from the content of the present invention, shall still fall within the protection scope of the present invention.
Claims
1. A current source module, characterized in that, The current source module has a power port connected to a power source. The current source module includes multiple micro current sources connected in parallel and a control signal connected to the micro current sources. The control signal is used to generate an adjustment signal to the micro current sources according to the received instruction encoding, so as to adjust the output current of the current source module. The microcurrent source includes a first switching element, a second switching element, a first driving element, and a second driving element. It also includes a first enable signal terminal and a second enable signal terminal. The first enable signal terminal outputs a first enable signal, and the second enable signal terminal outputs a second enable signal. A first terminal of the first switching element is connected to the first enable signal terminal, and a first terminal of the second switching element is connected to the second enable signal terminal. A second terminal of the first switching element is connected to a power supply port, and a third terminal of the first switching element is connected to the second terminal of the second switching element. The second terminal of the second switching element is connected to the first terminal of the second driving element, and the output terminal of the second driving element serves as the output terminal of the microcurrent source. The microcurrent source includes a first current regulating terminal and a second current regulating terminal, and the voltages of the first current regulating terminal and the second current regulating terminal change with the voltage of the power supply. The first end of the first driving element is connected to the first current regulating terminal, the second end of the first driving element is connected to the power supply port, the third end of the first driving element is connected to the second end of the second driving element, and the third end of the second switching element is connected to the second current regulating terminal.
2. The current source module according to claim 1, characterized in that, The control signal is generated by a digital core.
3. The current source module according to claim 1, characterized in that, The processor is also used to determine the power-consuming module to be activated in the current step based on the current task, calculate the total power consumption required based on the power-consuming module to be activated, and generate the instruction code based on the total power consumption.
4. The current source module according to claim 1, characterized in that, The first switching element and the second switching element have opposite switching states.
5. The current source module according to claim 4, characterized in that, The control signal adjusts the output current of the micro-current source by adjusting the output current of the first driving element and the second driving element.
6. The current source module according to claim 5, characterized in that, The first switching element, the second switching element, the first driving element, and the second driving element are PMOS transistors.
7. The current source module according to claim 6, characterized in that, The output current of the microcurrent source is related to the width-to-length ratio of the first driving element and the width-to-length ratio of the second driving element.
8. The current source module according to claim 7, characterized in that, in, When the first enable signal is at a high potential and the second enable signal is at a low potential, the microcurrent source is in the on state, generating an output current that matches the instruction code.
9. The current source module according to claim 1, characterized in that, The enable signal terminal of at least one microcurrent source is connected to the power supply port and the ground terminal respectively.
10. The current source module according to claim 6, characterized in that, The first switching element is PMOS transistor M1, the second switching element is PMOS transistor M2, the first driving element is PMOS transistor M3, and the second driving element is PMOS transistor M4. The gates of PMOS transistors M1 and M2 are connected to the first enable signal terminal en and the second enable signal terminal enb, respectively. The gate of PMOS transistor M3 is connected to the first current adjustment terminal. The gate of PMOS transistor M4 is connected to the source of PMOS transistor M2. The drain current of PMOS transistor M4 is the output current of the micro-current source.
11. A power supply module, characterized in that, It includes a processor and a current source module as described in any one of claims 1 to 10 above, wherein the processor is used to generate corresponding instruction codes according to a task.
12. A method for adjusting a current source module as described in any one of claims 1 to 10, characterized in that, Includes the following steps: Connect multiple parallel-connected microcurrent sources to the control signal of the microcurrent sources; The control signal is used to generate an adjustment signal to the micro-current source according to the received instruction encoding, so as to adjust the output current of the current source module.
13. The adjustment method according to claim 12, characterized in that, The control signal is generated by a digital core.
14. The adjustment method according to claim 13, characterized in that, The plurality of microcurrent sources connected in parallel include a first microcurrent source and a second microcurrent source.
15. The adjustment method according to claim 14, characterized in that, Based on the current task, determine the power-consuming module to be activated in the current step, calculate the total power consumption current required based on the power-consuming module to be activated, and generate the instruction code based on the total power consumption current.
16. A method for adjusting a current source module as described in any one of claims 1 to 10, characterized in that, Includes the following steps: Generate corresponding instruction codes based on the task; Receive the instruction code and generate an output current corresponding to the instruction code.
17. The adjustment method according to claim 16, characterized in that, Includes the following steps: The output current is output to multiple power-consuming modules, wherein the power-consuming current of the power-consuming modules is equal to the output current.
18. The adjustment method according to claim 17, characterized in that, To obtain a variety of different output currents, multiple micro-current sources are connected in parallel.
19. The adjustment method according to claim 18, characterized in that, The received instruction is encoded and an adjustment signal is output to the micro-current source to adjust the output current of the adjustable current source.