Power supply voltage switching circuit and its control method, electronic equipment
By combining a voltage regulation module and a constant current buck module, the resistor value is automatically adjusted to output multiple voltages, solving the problems of high power supply costs and inconvenient switching caused by the differences in power supply voltage requirements of different electronic devices, and realizing flexible and efficient power supply voltage switching.
Patent Information
- Application Number
- CN202510116434.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-01-24
- Publication Date
- 2025-10-28
- Estimated Expiration
- 2045-01-24
AI Technical Summary
Different types of electronic devices have different power supply voltage requirements, which means that the power supply equipment needs to be changed during testing, increasing power supply costs and making switching inconvenient.
The voltage regulation module outputs various target power supply voltages with different values, and the constant current step-down module and controller automatically adjust the resistance value to achieve voltage switching.
It reduces power supply costs, facilitates switching target power supply voltage, and improves the flexibility and efficiency of the power supply system.
Smart Images

Figure CN120016423B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of power supply technology, and in particular to a power supply voltage switching circuit and its control method, and electronic equipment. Background Technology
[0002] Precision electronic equipment requires a reliable and efficient power supply system to achieve optimal performance. With the rapid development of electronic technology, the variety of electronic products is also increasing. All electronic products undergo testing before leaving the factory to ensure they can start and function properly.
[0003] Currently, different types of electronic devices have different power supply voltage requirements. For electronic devices with specific power supply voltage requirements, a dedicated target power supply voltage needs to be configured. When testing electronic devices with different power supply voltage requirements, it is necessary to redetermine the power supply voltage requirements of the device under test and then configure a new target power supply voltage. Since different electronic devices require different power supply voltages, testing manufacturers often need to equip themselves with a variety of power supply devices. This increases power supply costs, and switching power supply voltages by changing power supply devices is inconvenient. Summary of the Invention
[0004] This application aims to at least solve one of the technical problems existing in the prior art. To this end, a power supply voltage switching circuit and its control method, as well as electronic equipment, can output multiple target power supply voltages with different voltage values through a voltage regulation module, facilitating the switching of target power supply voltages and reducing power supply costs.
[0005] In a first aspect, embodiments of this application provide a power supply voltage switching circuit, including:
[0006] A constant current step-down module, wherein the input terminal of the constant current step-down module is electrically connected to the power input terminal;
[0007] A voltage regulation module, wherein the input terminal of the voltage regulation module is connected to the output terminal of the constant current buck module; the voltage regulation module includes: a first access control unit, a second access control unit, and a third access control unit connected in sequence; a first resistor unit connected between the two ends of the first access control unit, a second resistor unit connected between the two ends of the second access control unit, and a third resistor unit connected between the two ends of the third access control unit;
[0008] The controller is electrically connected to the voltage regulation module;
[0009] The controller is configured to: when the target resistance value determined based on the constant circuit current and the target power supply voltage is less than or equal to the resistance adjustment threshold, determine a first resistance adjustment signal, a second resistance adjustment signal, and a third resistance adjustment signal based on the coefficient information of each bit of the target resistance value; simultaneously control the on / off state of the first access control unit, the second access control unit, and the third access control unit, and determine the first resistance value of the first resistance unit, the second resistance value of the second resistance unit, and the third resistance value of the third resistance unit, so that the target output terminal outputs the target power supply voltage; wherein the sum of the first resistance value, the second resistance value, and the third resistance value is equal to the target resistance value.
[0010] Secondly, embodiments of this application provide a control method for a power supply voltage switching circuit, applied to a controller of a power supply voltage switching circuit as described in any of the embodiments of the first aspect; the power supply voltage switching circuit further includes: a constant current step-down module and a voltage regulation module electrically connected to the controller; the voltage regulation module includes: a first access control unit, a second access control unit, and a third access control unit connected in sequence; a first resistor unit connected between the two ends of the first access control unit, a second resistor unit connected between the two ends of the second access control unit, and a third resistor unit connected between the two ends of the third access control unit;
[0011] The method includes:
[0012] When the target resistance value determined based on the constant circuit current and the target power supply voltage is less than or equal to the resistance adjustment threshold, the first resistance adjustment signal, the second resistance adjustment signal, and the third resistance adjustment signal are determined based on the coefficient information of each bit of the target resistance value.
[0013] Simultaneously, the on / off state of the first access control unit is controlled according to the first resistor adjustment signal, and the first resistance value of the first resistor unit is determined; the on / off state of the second access control unit is controlled according to the second resistor adjustment signal, and the second resistance value of the second resistor unit is determined; the on / off state of the third access control unit is controlled according to the third resistor adjustment signal, and the third resistance value of the third resistor unit is determined, so that the target output terminal outputs the target power supply voltage; wherein, the sum of the first resistance value, the second resistance value and the third resistance value is equal to the target resistance value.
[0014] Thirdly, embodiments of this application provide an electronic device including a power supply voltage switching circuit as described in any of the embodiments of the first aspect.
[0015] This application embodiment includes: a power supply voltage switching circuit comprising: a constant current buck module, a voltage regulation module, and a controller; wherein, the input terminal of the constant current buck module is electrically connected to the power input terminal; the input terminal of the voltage regulation module is connected to the output terminal of the constant current buck module; the voltage regulation module includes: a first access control unit, a second access control unit, and a third access control unit connected in sequence; a first resistor unit connected between the two ends of the first access control unit, a second resistor unit connected between the two ends of the second access control unit, and a third resistor unit connected between the two ends of the third access control unit; the controller is electrically connected to the voltage regulation module; when the power supply voltage switching circuit is working, the controller, when the target resistance value determined according to the constant circuit current and the target power supply voltage is less than or equal to the resistance regulation threshold, determines the voltage regulation threshold based on the coefficient information of each digit of the target resistance value. After determining the first, second, and third resistance adjustment signals, the on / off states of the first, second, and third access control units are simultaneously controlled, and the first resistance value, second resistance value, and third resistance value of the first resistance unit, the second resistance value, and the third resistance value of the third resistance unit are determined, so that the target output terminal outputs the target power supply voltage; wherein, the sum of the first, second, and third resistance values is equal to the target resistance value. In this embodiment, the target resistance value is obtained by adjusting the first, second, and third resistance units in the voltage adjustment module. Based on the voltage divider effect of the voltage adjustment module with the resistance value being the target resistance value, the target power supply voltage is output. Based on a constant circuit current, by automatically and conveniently adjusting different target resistance values, different target power supply voltage values are output, facilitating the switching of target power supply voltages and reducing power supply costs. In other words, this embodiment can output multiple target power supply voltages with different voltage values through the voltage adjustment module, facilitating the switching of target power supply voltages and reducing power supply costs. Attached Figure Description
[0016] Figure 1 This is a schematic diagram of the power supply voltage switching circuit provided in one embodiment of this application;
[0017] Figure 2 This is a schematic diagram of the specific structure of a power supply voltage switching circuit provided in one embodiment of this application;
[0018] Figure 3 This is a schematic diagram of the specific structure of a voltage regulation module provided in one embodiment of this application;
[0019] Figure 4 This is a schematic diagram of the specific structure of the filtering module, sampling module, detection module, and MOS protection module provided in one embodiment of this application;
[0020] Figure 5 This is a schematic diagram of the specific structure of a MOS step-down module provided in one embodiment of this application;
[0021] Figure 6 This is a flowchart illustrating the steps of a control method for a power supply voltage switching circuit provided in one embodiment of this application;
[0022] Figure 7 This is a detailed schematic diagram of a first preset branch state table, a second preset branch state table, and a third preset branch state table provided in one embodiment of this application. Detailed Implementation
[0023] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments.
[0024] It should be noted that although a logical order is shown in the flowcharts in this application, in some cases, the steps shown or described may be performed in a different order than that shown in the flowcharts. In the description of this application, "several" means one or more, and "more" means two or more. The terms "first" and "second" are used only to distinguish technical features and should not be construed as indicating or implying relative importance, or implicitly indicating the number of technical features indicated, or implicitly indicating the order in which the technical features are indicated.
[0025] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs. The terminology used herein is for the purpose of describing embodiments of this application only and is not intended to limit this application.
[0026] This application provides a power supply voltage switching circuit and its control method, as well as an electronic device, relating to the field of power supply technology. The power supply voltage switching circuit includes: a constant current buck module, a voltage regulation module, and a controller; the input terminal of the constant current buck module is electrically connected to a power input terminal; the input terminal of the voltage regulation module is connected to the output terminal of the constant current buck module; the voltage regulation module includes: a first access control unit, a second access control unit, and a third access control unit connected in sequence; a first resistor unit connected between the two ends of the first access control unit, a second resistor unit connected between the two ends of the second access control unit, and a third resistor unit connected between the two ends of the third access control unit; the controller is electrically connected to the voltage regulation module; this application can output multiple target power supply voltages with different voltage values through the voltage regulation module, facilitating the switching of target power supply voltages and reducing power supply costs.
[0027] like Figure 1As shown, the power supply voltage switching circuit 1000 includes: a constant current step-down module 200, a voltage regulation module 100, and a controller 300; wherein, the input terminal of the constant current step-down module 200 is electrically connected to the power input terminal Vin; the input terminal of the voltage regulation module 100 is connected to the output terminal of the constant current step-down module 200; the voltage regulation module 100 includes: a first access control unit 110, a second access control unit 120, and a third access control unit 130 connected in sequence; a first resistor unit 140 connected between the two ends of the first access control unit 110, a second resistor unit 150 connected between the two ends of the second access control unit 120, and a third resistor unit 160 connected between the two ends of the third access control unit 130; the controller 300 is electrically connected to the voltage regulation module 100.
[0028] Specifically, the power input terminal Vin is used to input the initial voltage; it provides power to the constant current buck module 200 and the MOS buck module 900 so that they can operate normally. This application does not impose specific limitations on the magnitude of the initial voltage.
[0029] Specifically, the constant current buck module 200 is designed to operate over a wide input voltage range, has voltage regulation capabilities, and provides a constant circuit current.
[0030] Specifically, such as Figure 3 As shown, Figure 3 This is a schematic diagram of the specific structure of a voltage regulation module 100 provided in one embodiment of this application.
[0031] Specifically, the first access control unit 110 includes: a first access switch K1, a second access switch K2, and a third access switch K3; the first end of the first access switch K1 is connected to the output end of the constant current step-down module 200, and the second end of the first access switch K1 is connected to the second end of the first resistor unit 140; the second access switch K2 is connected between the first end of the first access switch K1 and the first end of the first resistor unit 140; and the third access switch K3 is connected between the second end of the first access switch K1 and the second end of the first resistor unit 140.
[0032] Specifically, the second access control unit 120 includes: a fourth access switch K4, a fifth access switch K5, and a sixth access switch K6; the first end of the fourth access switch K4 is connected to the second end of the first access switch K1; the second end of the fourth access switch K4 is connected to the second end of the second resistor unit 150; the fifth access switch K5 is connected between the first end of the fourth access switch K4 and the first end of the second resistor unit 150; and the sixth access switch K6 is connected between the second end of the fourth access switch K4 and the second end of the second resistor unit 150.
[0033] Specifically, the third access control unit 130 includes: a seventh access switch K7, an eighth access switch K8, and a ninth access switch K9; the first end of the seventh access switch K7 is connected to the second end of the fourth access switch K4; the second end of the seventh access switch K7 is connected to the second end of the third resistor unit 160; the eighth access switch K8 is connected between the first end of the seventh access switch K7 and the first end of the third resistor unit 160; and the ninth access switch K9 is connected between the second end of the seventh access switch K7 and the second end of the third resistor unit 160.
[0034] Specifically, the first resistor unit 140 includes: multiple first resistor branches A connected in parallel, each first resistor branch A (numbered sequentially as A1, A2...) having a different total resistance; and each first resistor branch A is connected in series with a first selection switch Ka (numbered sequentially as Ka1, Ka2...).
[0035] Specifically, the second resistor unit 150 includes: multiple second resistor branches B connected in parallel (numbered B1, B2, etc. in sequence), each second resistor branch B having a different total resistance; and a second selector switch Kb (numbered Kb1, Kb2, etc. in sequence) connected in series with each second resistor branch B.
[0036] Specifically, the third resistor unit 160 includes: multiple third resistor branches C connected in parallel (numbered C1, C2, ... in sequence), each third resistor branch C having a different total resistance; and a third selector switch Kc (numbered Kc1, Kc2, ... in sequence) connected in series with each third resistor branch C.
[0037] The voltage adjustment module 100 can automatically and conveniently adjust different target resistance values.
[0038] The controller 300 is used to: when the target resistance value determined based on the constant circuit current and the target power supply voltage is less than or equal to the resistance adjustment threshold, determine the first resistance adjustment signal, the second resistance adjustment signal, and the third resistance adjustment signal based on the coefficient information of each bit of the target resistance value; simultaneously control the on / off state of the first access control unit 110, the second access control unit 120, and the third access control unit 130, and determine the first resistance value of the first resistance unit 140, the second resistance value of the second resistance unit 150, and the third resistance value of the third resistance unit 160, so that the target output terminal Vout outputs the target power supply voltage; wherein the sum of the first resistance value, the second resistance value, and the third resistance value is equal to the target resistance value. In this embodiment, the target resistance value is obtained by adjusting the first resistance unit 140, the second resistance unit 150, and the third resistance unit 160 in the voltage adjustment module 100; based on the voltage division effect of the voltage adjustment module 100 with a resistance value equal to the target resistance value, the target power supply voltage is output; based on the constant circuit current, by automatically and conveniently adjusting different target resistance values, different target power supply voltages are output, facilitating the switching of the target power supply voltage and reducing power supply costs. Therefore, the controller 300 in this embodiment of the application can output multiple target power supply voltages with different voltage values through the voltage regulation module 100, which facilitates switching of target power supply voltage and reduces power supply costs.
[0039] like Figure 2 As shown, according to some embodiments of this application, the power supply voltage switching circuit 1000 further includes: an output interface module 400 and a filtering module 500.
[0040] The filter module 500 is connected between the output terminal of the voltage regulation module 100 and the input terminal of the output interface module 400. Specifically, as shown... Figure 4 As shown, the filter module 500 includes multiple filter capacitors connected in parallel; the first terminal of each filter capacitor is grounded, and the second terminal of each filter capacitor is electrically connected to the output terminal of the voltage regulation module 100. The filter module 500 is used to effectively improve power quality and reduce ripple and noise.
[0041] The output interface module 400 has its input terminal electrically connected to the target output terminal Vout. The output terminal of the output interface module 400 is used to connect to the device under test (DUT) and input the target power supply voltage to the DUT. The target output terminal Vout is used to output the target power supply voltage.
[0042] like Figure 2As shown, according to some embodiments of this application, the power supply voltage switching circuit 1000 further includes: a sampling module 600, a detection module 700, a MOS protection module 800, and a MOS step-down module 900. Specifically, the sampling module 600 is connected between the output terminal of the filter module 500 and the input terminal of the output interface module 400; the sampling module 600 is used to acquire a sampling signal; the input terminal of the detection module 700 is connected to the output terminal of the sampling module 600; the output terminal of the detection module 700 is connected to the controller 300; the detection module 700 is used to detect the voltage and current values of the sampling signal; the MOS protection module 800 is electrically connected to the controller 300 and to the sampling module 600; the input terminal of the MOS step-down module 900 is electrically connected to the power input terminal Vin; the output terminal of the MOS step-down module 900 is electrically connected to the MOS protection module 800.
[0043] Specifically, the MOS protection module 800 is used to provide overcurrent protection in the event of a fault in the circuit that causes excessive current or a short circuit, preventing damage to the devices due to overcurrent. The MOS step-down module 900 is used to supply power to the MOS protection module 800.
[0044] Specifically, during the operation of the power supply voltage switching circuit 1000, when a fault occurs in the circuit causing excessive current, the detection module 700 detects the overcurrent sampling signal; thereby feeding the overcurrent sampling signal back to the controller 300, the controller 300 controls the MOS protection module 800 to work, and realizes overcurrent protection.
[0045] Specifically, such as Figure 4 As shown, the detection module 700 includes a first chip U1, which is an INA226. The INA226 is a high-precision current, voltage, and power monitoring chip. The pin numbers of the INA226 chip are as follows: Figure 4 As shown, the functions of each pin of the INA226 chip and its surrounding circuitry will not be described in detail here. The sampling module 600 includes: a sampling chip and a sampling capacitor C7 connected in parallel with the sampling chip; the second terminal (SEN+) of the sampling chip is connected to the ninth pin of the INA226 chip, and the third terminal (SEN-) of the sampling chip is connected to the tenth pin of the INA226 chip; the second terminal of the sampling chip is connected to the output terminal of the filter module 500 and one end of the MOS protection module 800; the first terminal of the sampling chip is connected to the input terminal of the output interface module 400 and the other end of the MOS protection module 800. The MOS protection module 800 consists of: a first switch, a second switch, a third switch, a fourth switch, a fifth switch, five resistors (R19, R18, R17, R26, R27), a first diode, a second diode, a third diode, and a fourth diode; for specific connection relationships, refer to... Figure 4Both VSYS terminals of the MOS protection module 800 are connected to the VSYS terminal of the MOS step-down module 900; both VSYS_SEL terminals of the MOS protection module 800 are connected to the controller 300. For example... Figure 5 As shown, the MOS buck module 900 includes: a seventh chip U7, model MP2456, which is a monolithic buck switch-mode converter. The pin numbers of the MP2456 chip are as follows... Figure 5 As shown, the functions of each pin of MP2456 and its surrounding circuitry will not be described in detail here.
[0046] like Figure 2 As shown, according to some embodiments of this application, the power supply voltage switching circuit 1000 further includes: an alarm module D electrically connected to the controller 300; used to control an alarm operation in response to a generated alarm prompt signal when the target resistance value is greater than the resistance adjustment threshold, so as to prompt the technician that the target resistance value exceeds the resistance adjustment threshold that the voltage adjustment module 100 can adjust.
[0047] like Figure 2 As shown, the power supply voltage switching circuit 1000 also includes: a temperature detection module F, a data storage module G, and a display module E, all electrically connected to the controller 300. Specifically, the data storage module G is implemented using a BL24C256A memory chip and is used to store data received by the controller 300. The temperature detection module F is implemented using a TMP112AIDRLR chip and is used to detect the temperature in the circuit, so as to promptly detect abnormal circuit temperatures in the event of a fault or excessive current heat generation, thereby improving the safety of the power supply voltage switching circuit 1000.
[0048] Those skilled in the art will understand that the system structure shown in the figures does not constitute a limitation on the embodiments of this application, and may include more or fewer components than shown, or combine certain components, or have different component arrangements.
[0049] It will be understood by those skilled in the art that the system architecture and application scenarios described in the embodiments of this application are for the purpose of more clearly illustrating the technical solutions of the embodiments of this application, and do not constitute a limitation on the technical solutions provided in the embodiments of this application. It is known by those skilled in the art that with the evolution of system architecture and the emergence of new application scenarios, the technical solutions provided in the embodiments of this application are also applicable to similar technical problems.
[0050] Based on the above system structure, various embodiments of the control method for the power supply voltage switching circuit of this application are presented below.
[0051] like Figure 6As shown, the control method of this power supply voltage switching circuit can be applied to, for example... Figure 1 The controller of the power supply voltage switching circuit shown includes: a constant current step-down module and a voltage regulation module electrically connected to the controller; the voltage regulation module includes: a first access control unit, a second access control unit, and a third access control unit connected in sequence; a first resistor unit connected between the two ends of the first access control unit, a second resistor unit connected between the two ends of the second access control unit, and a third resistor unit connected between the two ends of the third access control unit; the control method of the power supply voltage switching circuit may include, but is not limited to, steps S110 to S120.
[0052] Step S110: When the target resistance value determined based on the constant circuit current and the target power supply voltage is less than or equal to the resistance adjustment threshold, determine the first resistance adjustment signal, the second resistance adjustment signal, and the third resistance adjustment signal based on the coefficient information of each bit of the target resistance value.
[0053] Step S120: Simultaneously control the on / off state of the first access control unit according to the first resistor adjustment signal and determine the first resistance value of the first resistor unit; control the on / off state of the second access control unit according to the second resistor adjustment signal and determine the second resistance value of the second resistor unit; control the on / off state of the third access control unit according to the third resistor adjustment signal and determine the third resistance value of the third resistor unit, so that the target output terminal outputs the target power supply voltage; wherein, the sum of the first resistance value, the second resistance value and the third resistance value is equal to the target resistance value.
[0054] It should be noted that the resistance adjustment threshold is determined by the sum of the maximum adjustable resistances of the first, second, and third resistance units in the voltage regulation module. The structures of the first, second, and third resistance units in the voltage regulation module can be set according to actual needs. This application does not impose specific restrictions on the first, second, and third resistance units; therefore, there are no specific restrictions on the maximum adjustable resistances either. It is understood that the resistance adjustment threshold can be tested and recorded after configuring the voltage regulation module.
[0055] Further explanation of step S110, determining the target resistance value based on the constant circuit current and the target power supply voltage, includes: acquiring the target power supply voltage input by the technician via a host computer and a pre-recorded resistance adjustment threshold; responding to the voltage output signal, dividing the target power supply voltage by the constant circuit current according to Ohm's law to obtain the target resistance value; comparing the target resistance value with the resistance adjustment threshold to obtain a comparison result; and performing further resistance adjustment processing or alarm processing based on the comparison result. When the calculated target resistance value is less than or equal to the resistance adjustment threshold, the first resistance adjustment signal, the second resistance adjustment signal, and the third resistance adjustment signal are determined based on the coefficient information of each digit of the target resistance value.
[0056] It is understood that the target resistance value that can be adjusted in the embodiments of this application is a positive integer. When the calculated target resistance value is not an integer, it is rounded to obtain an integer target resistance value.
[0057] According to some embodiments of this application, the power supply voltage switching circuit further includes an alarm module electrically connected to the controller; in step S110, after determining the target resistance value based on the constant circuit current and the target power supply voltage, the control method further includes: when the target resistance value is greater than the resistance adjustment threshold, generating an alarm signal and feeding it back to the host computer; controlling the alarm module to work according to the alarm signal. This allows for timely notification to technicians that the power supply voltage switching circuit cannot output the currently set target power supply voltage, and that the setting is incorrect and needs to be modified.
[0058] Through steps S110 to S120, when the power supply voltage switching circuit is operating, the controller first determines, based on the constant circuit current and target power supply voltage, that when the target resistance value is less than or equal to the resistance adjustment threshold, a first resistance adjustment signal, a second resistance adjustment signal, and a third resistance adjustment signal are determined according to the coefficient information of each bit of the target resistance value. Then, simultaneously, the on / off state of the first access control unit is controlled according to the first resistance adjustment signal, and the first resistance value of the first resistance unit is determined; the on / off state of the second access control unit is controlled according to the second resistance adjustment signal, and the second resistance value of the second resistance unit is determined; and the third resistance adjustment signal is determined according to the third resistance adjustment signal. The signal controls the on / off state of the third access control unit and determines the third resistance value of the third resistor unit to enable the target output terminal to output the target power supply voltage. The sum of the first, second, and third resistance values equals the target resistance value. In this embodiment, the target resistance value is obtained by adjusting the first, second, and third resistor units in the voltage regulation module. Based on the voltage divider effect of the voltage regulation module with the resistance value being the target resistance value, the target power supply voltage is output. Based on a constant circuit current, different target resistance values are automatically and conveniently adjusted to output target power supply voltages with different values, facilitating target power supply voltage switching and reducing power supply costs. In other words, this embodiment can output multiple target power supply voltages with different values through the voltage regulation module, facilitating target power supply voltage switching and reducing power supply costs.
[0059] According to some embodiments of this application, the coefficient information for each bit includes: high-order coefficient, middle-order coefficient, and low-order coefficient. Further explanation of step S110, wherein determining the first resistance adjustment signal, the second resistance adjustment signal, and the third resistance adjustment signal based on the coefficient information for each bit of the target resistance value, includes, but is not limited to, steps S210 to S240.
[0060] Step S210: Perform data splitting on the target resistance value, obtaining the low-order coefficient, middle-order coefficient, and high-order coefficient in ascending order.
[0061] Step S220: When the high-order coefficient is not zero, determine that the first access control signal is 1, determine the first gating signal according to the high-order coefficient and the first preset branch status table, and generate the first resistance adjustment signal according to the first access control signal and the first gating signal.
[0062] Step S230: When the median coefficient is not zero, determine the second access control signal as 1, determine the second gating signal according to the median coefficient and the second preset branch status table, and generate the second resistance adjustment signal according to the second access control signal and the second gating signal.
[0063] Step S240: When the low-order coefficient is not zero, determine that the third access control signal is 1, determine the third gating signal according to the low-order coefficient and the third preset branch status table, and generate the third resistance adjustment signal according to the third access control signal and the third gating signal.
[0064] Further explaining step S210, specifically, the coefficient information for each digit includes: high-order coefficient, median coefficient, and low-order coefficient. Specifically, the low-order coefficient refers to the units digit of the target resistance value, the median coefficient refers to the tens digit of the target resistance value, and the high-order coefficient refers to the thousands and hundreds digits of the target resistance value. An example illustrating the data splitting process in step S210 is as follows.
[0065] Example 1: When the target resistance is 9 ohms, the lower coefficient is 9, the middle coefficient is 0, and the higher coefficient is 0.
[0066] Example 2: When the target resistance is 10 ohms, the low-order coefficient is 0, the middle-order coefficient is 1, and the high-order coefficient is 0.
[0067] Example 3: When the target resistance value is 999 ohms, the low coefficient is 9, the middle coefficient is 9, and the high coefficient is 9.
[0068] Example 4: When the target resistance value is 1199 ohms, the low coefficient is 9, the middle coefficient is 9, and the high coefficient is 11.
[0069] Further explaining step S220, specifically, the first gating signal is determined based on the high-order coefficient and the first preset branch state table as follows: The corresponding position to be modified is determined based on the high-order coefficient; a first initial control signal consisting entirely of zeros is obtained from the first preset branch state table; the 0s at the position to be modified in the first initial control signal are changed to 1s to obtain the first gating signal. The data lengths of the first initial control signal and the first gating signal are the same as the number of first resistor branches in the first resistor unit. For example, if there are 15 first resistor branches in the first resistor unit, then the first initial control signal is: 0000000000000000. The first gating signal corresponds to the on / off state of the first gating switch in the first resistor branch.
[0070] Further explaining step S230, specifically, the second gating signal is determined based on the high-order coefficient and the second preset branch state table as follows: The corresponding position to be modified is determined based on the mid-order coefficient; a second initial control signal consisting entirely of zeros is obtained from the second preset branch state table; the 0s at the positions to be modified in the second initial control signal are changed to 1s to obtain the second gating signal. The data lengths of the second initial control signal and the second gating signal are the same as the number of second resistor branches in the second resistor unit. For example, if there are 9 second resistor branches in the second resistor unit, then the second initial control signal is: 000000000. The second gating signal corresponds to controlling the on / off state of the first gating switch in the second resistor branch.
[0071] Further explaining step S240, specifically, the third gating signal is determined based on the high-order coefficient and the third preset branch state table as follows: The corresponding position to be modified is determined based on the low-order coefficient; a third initial control signal with all zeros is obtained from the third preset branch state table; the 0s at the position to be modified in the all-zero third initial control signal are changed to 1s to obtain the third gating signal. The data lengths of the third initial control signal and the third gating signal are the same as the number of third resistor branches in the third resistor unit. For example, if there are 9 third resistor branches in the third resistor unit, then the third initial control signal is: 000000000. The third gating signal corresponds to controlling the on / off state of the first gating switch in the third resistor branch.
[0072] Based on Example 4, an example is given to illustrate steps S220 to S240.
[0073] like Figure 7 As shown, Example 5:
[0074] First, the first preset branch status table, the second preset branch status table, and the third preset branch status table are obtained, specifically as follows: Figure 7 As shown; the first initial control signal is determined to be: 000000000000000; the second initial control signal is: 000000000; the third initial control signal is: 000000000. When the target resistance value is 1199 ohms, the low-order coefficient is determined to be 9, the middle-order coefficient is 9, and the high-order coefficient is 11.
[0075] Secondly, when the high-order coefficient is 11, the first access control signal is determined to be 1. The 0 in the position to be modified (the 11th bit) of the first initial control signal, which is all zero, is modified to 1, and the first strobe signal is obtained as: 000000000010000. Thus, the first resistance adjustment signal is generated according to the first access control signal and the first strobe signal.
[0076] At the same time, when the center coefficient is 9, the second access control signal is determined to be 1, and the 0 in the position to be modified (the 9th bit) of the all-zero second initial control signal is modified to 1, so that the second strobe signal is: 000000001; thereby generating the second resistance adjustment signal according to the second access control signal and the second strobe signal.
[0077] At the same time, when the low-order coefficient is 9, the third access control signal is determined to be 1. The 0 in the position to be modified (the 9th bit) of the all-zero third initial control signal is modified to 1, and the third strobe signal is obtained as: 000000001; thus, the third resistance adjustment signal is generated according to the third access control signal and the second strobe signal.
[0078] According to some embodiments of this application, step S110 is further described, wherein the first resistance adjustment signal, the second resistance adjustment signal, and the third resistance adjustment signal are determined based on the coefficient information of each bit of the target resistance value, and steps S250 to S270 are included, but are not limited to.
[0079] Step S250: When the high-order coefficient is zero, determine that the first access control signal is 0, and generate the first resistance adjustment signal according to the first access control signal.
[0080] Step S260: When the intermediate coefficient is zero, determine that the second access control signal is 0, and generate the second resistance adjustment signal according to the second access control signal.
[0081] Step S270: When the low-order coefficient is zero, the third access control signal is determined to be 0, and the third resistance adjustment signal is generated according to the third access control signal.
[0082] Specifically, it can be understood that when the high-order coefficient is zero, the first access control signal only includes the first resistor adjustment signal; when the middle-order coefficient is zero, the second access control signal only includes the second resistor adjustment signal; and when the low-order coefficient is zero, the third access control signal only includes the third resistor adjustment signal.
[0083] Based on Example 2, let's take another example and explain the process of determining the first resistance adjustment signal, the second resistance adjustment signal, and the third resistance adjustment signal in conjunction with steps S220 to S270.
[0084] Example 6:
[0085] First, the first preset branch status table, the second preset branch status table, and the third preset branch status table are obtained, specifically as follows: Figure 7As shown; the first initial control signal is determined to be: 000000000000000; the second initial control signal is: 000000000; and the third initial control signal is: 000000000. Based on Example 2, when the target resistance value is 10 ohms, the low-order coefficient is 0, the middle-order coefficient is 1, and the high-order coefficient is 0. It should be noted that in the first preset branch state table, the total resistance of the first resistance branch increases by 100 ohms sequentially according to the numbering order. The number of first resistance branches in the first resistance unit can be set to multiple, and this application does not limit this. In the second preset branch state table, the total resistance of the second resistance branch increases by 10 ohms sequentially according to the numbering order. The number of second resistance branches in the second resistance unit is at most 9. In the third preset branch state table, the total resistance of the third resistance branch increases by 1 ohm sequentially according to the numbering order. The number of third resistance branches in the third resistance unit is at most 9.
[0086] Secondly, when the high-order coefficient is 0, the first access control signal is determined to be 0, and the first resistance adjustment signal is generated based on the first access control signal.
[0087] Simultaneously, when the center coefficient is 1, the second access control signal is determined to be 1, and the 0 in the position to be modified (the first bit) of the all-zero second initial control signal is modified to 1, resulting in the second strobe signal: 100000000; thereby generating the second resistance adjustment signal based on the second access control signal and the second strobe signal.
[0088] At the same time, when the low-order coefficient is 0, the first access control signal is determined to be 0, and the first resistance adjustment signal is generated based on the first access control signal.
[0089] Through steps S210 to S270, the first resistance adjustment signal, the second resistance adjustment signal, and the third resistance adjustment signal are determined to simultaneously control the on / off states of the first access control unit, the second access control unit, and the third access control unit, respectively, and to determine the first resistance value of the first resistance unit, the second resistance value of the second resistance unit, and the third resistance value of the third resistance unit. This ensures that the voltage regulation module has a target resistance value, thereby outputting the target power supply voltage. This facilitates switching to the target power supply voltage and reduces power supply costs.
[0090] According to some embodiments of this application, the first strobe signal includes a high-level signal and a low-level signal, and the first strobe signal is used to indicate the on / off state of each first strobe switch in the first resistor unit.
[0091] Further explanation of step S120, wherein controlling the on / off state of the first access control unit according to the first resistor adjustment signal and determining the first resistance value of the first resistor unit includes, but is not limited to, steps S310 to S330.
[0092] Step S310: Obtain the first access control signal from the first resistor adjustment signal.
[0093] Step S320: When the first access control signal is 0, control the first access switch to close and control the second access switch and the third access switch to open, so that the first resistor unit is not connected.
[0094] Step S330: When the first access control signal is 1, control the first access switch to open, and control the second access switch and the third access switch to close, so that the first resistor unit is connected; obtain the first gating signal; respond to the high level signal of the first gating signal to control the corresponding first gating switch in the first resistor unit to close; respond to the low level signal of the first gating signal to control the corresponding first gating switch in the first resistor unit to open, and determine the first resistance value of the first resistor unit.
[0095] It is understood that controlling the on / off state of the second access control unit and determining the second resistance value of the second resistance unit based on the second resistance adjustment signal includes: obtaining the second access control signal from the second resistance adjustment signal; when the second access control signal is 0, controlling the fourth access switch to close and controlling the fifth and sixth access switches to open, so that the second resistance unit is not connected; when the second access control signal is 1, controlling the fourth access switch to open and controlling the fifth and sixth access switches to close, so that the second resistance unit is connected; obtaining the second gating signal; responding to the high-level signal of the second gating signal, controlling the corresponding second gating switch in the second resistance unit to close; responding to the low-level signal of the second gating signal, controlling the corresponding second gating switch in the second resistance unit to open, and determining the second resistance value of the second resistance unit.
[0096] It is understandable that controlling the on / off state of the third access control unit and determining the third resistance value of the third resistance unit based on the third resistance adjustment signal includes: obtaining the third access control signal from the third resistance adjustment signal; when the third access control signal is 0, controlling the seventh access switch to close and controlling the eighth and ninth access switches to open, so that the third resistance unit is not connected; when the third access control signal is 1, controlling the seventh access switch to open and controlling the eighth and ninth access switches to close, so that the third resistance unit is connected; obtaining the third gating signal; responding to the high-level signal of the third gating signal, controlling the corresponding third gating switch in the third resistance unit to close; responding to the low-level signal of the third gating signal, controlling the corresponding third gating switch in the third resistance unit to open, and determining the third resistance value of the third resistance unit.
[0097] Through steps S310 to S330, the first access switch can be closed and the second and third access switches can be opened and closed based on the first access control signal, thereby determining whether to access the first resistor unit; and the corresponding open and closed state in the first resistor unit can be flexibly selected, thereby determining the first resistance value of the first resistor unit, laying the foundation for obtaining the target resistance value.
[0098] Combination Figure 3 , Figure 7 Example 5 illustrates the specific process of adjusting the voltage regulation module to obtain the target resistance value.
[0099] Example 6:
[0100] Based on Example 5: In the obtained first resistance adjustment signal, the first access control signal is 1, and the first strobe signal is 000000000010000. Based on the first access control signal of 1, the first access switch is opened, and the second and third access switches are closed to allow the first resistor unit to be connected; based on the first strobe signal (000000000010000), Figure 3 The first selector switch Ka11 corresponding to the first resistor branch numbered A11 in the first resistor unit is closed, and the first selector switches corresponding to the other first resistor branches are opened, thus determining that the first resistance value of the first resistor unit is equal to the total resistance of the branch numbered A11: 11k ohms.
[0101] Synchronously, based on Example 5: In the obtained second resistance adjustment signal, the second access control signal is 1, and the second strobe signal is 000000001; based on the second access control signal of 1, the fourth access switch is opened, and the fifth and sixth access switches are closed to allow the second resistance unit to be connected; based on the second strobe signal (000000001), the second access control signal is adjusted to 1. Figure 3 When the second selector switch Kb9 corresponding to the second resistor branch numbered B9 in the second resistor unit is closed, the second selector switches corresponding to the other second resistor branches are opened, and the second resistance value of the second resistor unit is determined to be equal to the total resistance of the branch numbered B9: 90 ohms.
[0102] Synchronously, based on Example 5: In the obtained third resistor adjustment signal, the third access control signal is 1, and the third strobe signal is 000000001; based on the third access control signal of 1, the seventh access switch is opened, and the eighth and ninth access switches are closed to allow the third resistor unit to be connected; based on the third strobe signal (000000001), the... Figure 3When the third selector switch Kc9 corresponding to the second resistor branch numbered C9 in the third resistor unit is closed, the third selector switches corresponding to the other third resistor branches are opened, and the third resistance value of the third resistor unit is determined to be equal to the total resistance of the third resistor branch numbered C9: 9 ohms.
[0103] Based on the above operations, the first resistor branch numbered A11, the second resistor branch numbered B9, and the third resistor branch numbered C9 are connected in series to obtain a target resistance value of 1199 ohms; thus, the target power supply voltage is output.
[0104] Thirdly, embodiments of this application provide an electronic device, including a power supply voltage switching circuit as described in any of the embodiments of the first aspect; capable of outputting multiple target power supply voltages with different voltage values through a voltage regulation module, facilitating switching of target power supply voltages and reducing power supply costs.
[0105] The above provides a detailed description of the preferred embodiments of this application. However, this application is not limited to the above-described embodiments. Those skilled in the art can make various equivalent modifications or substitutions without departing from the spirit of this application. All such equivalent modifications or substitutions are included within the scope defined by this application.
Claims
1. A power supply voltage switching circuit, characterized in that, include: A constant current step-down module, wherein the input terminal of the constant current step-down module is electrically connected to the power input terminal; A voltage regulation module, wherein the input terminal of the voltage regulation module is connected to the output terminal of the constant current buck module; the voltage regulation module includes: a first access control unit, a second access control unit, and a third access control unit connected in sequence; a first resistor unit connected between the two ends of the first access control unit, a second resistor unit connected between the two ends of the second access control unit, and a third resistor unit connected between the two ends of the third access control unit; The controller is electrically connected to the voltage regulation module; The controller is configured to: when the target resistance value determined based on the constant circuit current and the target power supply voltage is less than or equal to the resistance adjustment threshold, determine the first resistance adjustment signal, the second resistance adjustment signal, and the third resistance adjustment signal based on the coefficient information of each bit of the target resistance value, and simultaneously control the on / off state of the first access control unit, the second access control unit, and the third access control unit, determine the first resistance value of the first resistance unit, the second resistance value of the second resistance unit, and the third resistance value of the third resistance unit, so that the target output terminal outputs the target power supply voltage; wherein the sum of the first resistance value, the second resistance value, and the third resistance value is equal to the target resistance value.
2. The power supply voltage switching circuit according to claim 1, characterized in that, The first access control unit includes: a first access switch, a second access switch, and a third access switch; the first terminal of the first access switch is connected to the output terminal of the constant current step-down module, and the second terminal of the first access switch is connected to the second terminal of the first resistor unit; the second access switch is connected between the first terminal of the first access switch and the first terminal of the first resistor unit; the third access switch is connected between the second terminal of the first access switch and the second terminal of the first resistor unit; the first resistor unit includes: multiple parallel first resistor branches, each first resistor branch having a different total resistance; and a first selector switch is connected in series in each first resistor branch.
3. The power supply voltage switching circuit according to claim 1, characterized in that, The power supply voltage switching circuit also includes: An output interface module is provided, wherein the input terminal of the output interface module is electrically connected to the target output terminal; the output terminal of the output interface module is used to connect to the device under test and input the target power supply voltage to the device under test; and the target output terminal is used to output the target power supply voltage.
4. The power supply voltage switching circuit according to claim 3, characterized in that, The power supply voltage switching circuit also includes: A filtering module is connected between the output terminal of the voltage regulation module and the input terminal of the output interface module; the filtering module includes: multiple filtering capacitors connected in parallel; the first terminal of each filtering capacitor is grounded, and the second terminal of each filtering capacitor is electrically connected to the output terminal of the voltage regulation module.
5. A control method for a power supply voltage switching circuit, characterized in that, A controller applied to the power supply voltage switching circuit as described in any one of claims 1 to 4; The power supply voltage switching circuit further includes: a constant current step-down module and a voltage regulation module electrically connected to the controller; the voltage regulation module includes: a first access control unit, a second access control unit, and a third access control unit connected in sequence; a first resistor unit connected between the two ends of the first access control unit, a second resistor unit connected between the two ends of the second access control unit, and a third resistor unit connected between the two ends of the third access control unit; The method includes: When the target resistance value determined based on the constant circuit current and the target power supply voltage is less than or equal to the resistance adjustment threshold, the first resistance adjustment signal, the second resistance adjustment signal, and the third resistance adjustment signal are determined based on the coefficient information of each bit of the target resistance value. Simultaneously, the on / off state of the first access control unit is controlled according to the first resistor adjustment signal, and the first resistance value of the first resistor unit is determined; the on / off state of the second access control unit is controlled according to the second resistor adjustment signal, and the second resistance value of the second resistor unit is determined; the on / off state of the third access control unit is controlled according to the third resistor adjustment signal, and the third resistance value of the third resistor unit is determined, so that the target output terminal outputs the target power supply voltage; wherein, the sum of the first resistance value, the second resistance value and the third resistance value is equal to the target resistance value.
6. The control method for the power supply voltage switching circuit according to claim 5, characterized in that, The coefficient information for each bit position includes: high-order coefficient, median coefficient, and low-order coefficient; determining the first resistance adjustment signal, the second resistance adjustment signal, and the third resistance adjustment signal based on the coefficient information for each bit position of the target resistance value includes: The target resistance value is split into data, and the low-order coefficient, the middle-order coefficient, and the high-order coefficient are obtained in ascending order. When the high-order coefficient is not zero, the first access control signal is determined to be 1, the first gating signal is determined according to the high-order coefficient and the first preset branch status table, and the first resistance adjustment signal is generated according to the first access control signal and the first gating signal. When the median coefficient is not zero, the second access control signal is determined to be 1. The second gating signal is determined according to the median coefficient and the second preset branch status table. The second resistance adjustment signal is generated according to the second access control signal and the second gating signal. When the low-order coefficient is not zero, the third access control signal is determined to be 1. The third selection signal is determined according to the low-order coefficient and the third preset branch status table. The third resistance adjustment signal is generated according to the third access control signal and the third selection signal.
7. The control method for the power supply voltage switching circuit according to claim 6, characterized in that, The step of determining the first resistance adjustment signal, the second resistance adjustment signal, and the third resistance adjustment signal based on the coefficient information of each bit of the target resistance value further includes: When the high-order coefficient is zero, the first access control signal is determined to be 0, and the first resistance adjustment signal is generated according to the first access control signal. When the median coefficient is zero, the second access control signal is determined to be 0, and the second resistance adjustment signal is generated according to the second access control signal. When the low-order coefficient is zero, the third access control signal is determined to be 0, and the third resistance adjustment signal is generated according to the third access control signal.
8. The control method for the power supply voltage switching circuit according to claim 7, characterized in that, The first access control unit includes: a first access switch, a second access switch, and a third access switch; a first terminal of the first access switch is connected to the output terminal of the constant current step-down module, and a second terminal of the first access switch is connected to the second terminal of the first resistor unit; the second access switch is connected between the first terminal of the first access switch and the first terminal of the first resistor unit; the third access switch is connected between the second terminal of the first access switch and the second terminal of the first resistor unit; the first resistor unit includes: multiple parallel first resistor branches, each first resistor branch having a different total resistance; each first resistor branch is connected in series with a first selector switch; The first gating signal includes a high-level signal and a low-level signal, and the first gating signal is used to indicate the on / off state of each of the first gating switches in the first resistor unit; The step of controlling the on / off state of the first access control unit according to the first resistor adjustment signal and determining the first resistance value of the first resistor unit includes: Obtain the first access control signal from the first resistance adjustment signal; When the first access control signal is 0, the first access switch is closed and the second and third access switches are opened, so that the first resistor unit is not connected. When the first access control signal is 1, the first access switch is opened, and the second access switch and the third access switch are closed to allow the first resistor unit to be connected; a first gating signal is obtained; in response to the high level signal of the first gating signal, the corresponding first gating switch in the first resistor unit is closed; in response to the low level signal of the first gating signal, the corresponding first gating switch in the first resistor unit is opened, and the first resistance value of the first resistor unit is determined.
9. The control method for the power supply voltage switching circuit according to claim 8, characterized in that, The power supply voltage switching circuit also includes an alarm module electrically connected to the controller; After determining the target resistance value based on the constant circuit current and the target power supply voltage, the control method further includes: When the target resistance value is greater than the resistance adjustment threshold, an alarm signal is generated and fed back to the host computer. The alarm module is controlled to operate based on the alarm prompt signal.
10. An electronic device, characterized in that, Includes the power supply voltage switching circuit as described in any one of claims 1 to 4.
Citation Information
Patent Citations
Power supply circuit, terminal equipment and voltage control method
CN114089802A
Load switching protection circuit
CN211606089U