CN112714941B - Capacitance selection method and device and computer storage medium - Google Patents

Capacitance selection method and device and computer storage medium Download PDF

Info

Publication number
CN112714941B
CN112714941B CN201880097750.1A CN201880097750A CN112714941B CN 112714941 B CN112714941 B CN 112714941B CN 201880097750 A CN201880097750 A CN 201880097750A CN 112714941 B CN112714941 B CN 112714941B
Authority
CN
China
Prior art keywords
input
capacitance
power switch
capacitor
voltage value
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201880097750.1A
Other languages
Chinese (zh)
Other versions
CN112714941A (en
Inventor
陈社彪
张俊
张加亮
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Publication of CN112714941A publication Critical patent/CN112714941A/en
Application granted granted Critical
Publication of CN112714941B publication Critical patent/CN112714941B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H01ELECTRIC ELEMENTS
    • H01JELECTRIC DISCHARGE TUBES OR DISCHARGE LAMPS
    • H01J37/00Discharge tubes with provision for introducing objects or material to be exposed to the discharge, e.g. for the purpose of examination or processing thereof
    • H01J37/02Details
    • H01J37/24Circuit arrangements not adapted to a particular application of the tube and not otherwise provided for

Landscapes

  • Chemical & Material Sciences (AREA)
  • Analytical Chemistry (AREA)
  • Charge And Discharge Circuits For Batteries Or The Like (AREA)
  • Direct Current Feeding And Distribution (AREA)

Abstract

The embodiment of the application discloses a capacitance selection method, a capacitance selection device and a computer storage medium, wherein the method comprises the following steps: acquiring an input voltage value, and determining the working state of a first power switch according to the input voltage value; the working state of the first power switch comprises an on state and an off state; selecting at least one input capacitance from at least two input capacitances based on an operating state of the first power switch; and controlling the power supply equipment to be in a working state based on the selected at least one input capacitor.

Description

Capacitance selection method and device and computer storage medium
Technical Field
The present application relates to the field of charging technologies, and in particular, to a method and an apparatus for selecting a capacitor, and a computer storage medium.
Background
With the rapid development of electronic information technology, the variety of electronic products is increasing, and the usage rate is also increasing, for example, smart phones, palm computers, notebook computers, personal Digital Assistants (PDAs), and the like. The dependence on these products is higher and higher, and the use frequency and time are longer and longer, so that the products are often charged to meet the use requirements at any time and for a long time.
In order to meet the wide range requirement of input alternating voltage, the existing adapter usually uses an input filter Bulk capacitor with a relatively large capacitance value and a relatively high voltage withstanding value. Thus, based on the wide range requirement of the input alternating voltage, the volume of the Bulk capacitor selected in practice is very large, so that the size of the adapter is also large, and the adapter is inconvenient to carry.
Disclosure of Invention
In view of this, embodiments of the present application are expected to provide a method and an apparatus for selecting a capacitor, and a computer storage medium, which can meet different requirements of power grid systems based on different combinations of small capacitors, so as to reduce the size of a power supply device, and enable the power supply device to be portable.
The technical scheme of the embodiment of the application can be realized as follows:
in a first aspect, an embodiment of the present application provides a capacitance selection method, where the method includes:
acquiring an input voltage value, and determining the working state of a first power switch according to the input voltage value; the working state of the first power switch comprises an on state and an off state;
selecting at least one input capacitance from at least two input capacitances based on an operating state of the first power switch;
and controlling the power supply equipment to be in a working state based on the selected at least one input capacitor.
In the foregoing scheme, before the obtaining the input voltage value, the method further includes:
performing voltage detection on the input voltage based on the control means; wherein the control part has a voltage detection function.
In the above scheme, the determining the operating state of the first power switch according to the input voltage value includes:
obtaining a control instruction through the control component according to the input voltage value;
and controlling the first power switch based on the control instruction, and determining the working state of the first power switch.
In the foregoing solution, the determining the operating state of the first power switch according to the input voltage value includes:
when the input voltage value is in a first preset voltage range, a first control instruction is obtained through the control component;
and controlling the first power switch based on a first control instruction, and determining that the first power switch is in a turn-off state.
In the foregoing solution, the selecting at least one input capacitor from the at least two input capacitors based on the operating state of the first power switch includes:
selecting the first input capacitance from a first input capacitance and a second input capacitance when the first power switch is in an off state; the withstand voltage value of the first input capacitor is higher than that of the second input capacitor;
correspondingly, the controlling the power supply device to be in the working state based on the selected at least one input capacitor comprises the following steps:
and controlling the power supply equipment to be in a working state based on the first input capacitor.
In the foregoing solution, the determining the operating state of the first power switch according to the input voltage value includes:
when the input voltage value is in a second preset voltage range, a second control instruction is obtained through the control component;
and controlling the first power switch based on a second control instruction, and determining that the first power switch is in a conducting state.
In the foregoing solution, the selecting at least one input capacitor from the at least two input capacitors based on the operating state of the first power switch includes:
selecting the first input capacitance and the second input capacitance from a first input capacitance and a second input capacitance when the first power switch is in a conducting state; wherein the withstand voltage value of the first input capacitor is higher than that of the second input capacitor;
correspondingly, the controlling the power supply device to be in the working state based on the selected at least one input capacitor comprises the following steps:
and controlling the power supply equipment to be in a working state based on the first input capacitor and the second input capacitor.
In a second aspect, an embodiment of the present application provides a capacitance selection apparatus, which includes an obtaining unit, a selecting unit, and a control unit,
the acquisition unit is configured to acquire an input voltage value and determine the working state of the first power switch according to the input voltage value; the working state of the first power switch comprises an on state and an off state;
the selection unit is configured to select at least one input capacitor from at least two input capacitors based on the working state of the first power switch;
the control unit is configured to control the power supply equipment to be in a working state based on the selected at least one input capacitor.
In the above aspect, the capacitance selection apparatus further includes a detection unit configured to perform voltage detection on the input voltage based on the control part; wherein the control part has a voltage detection function.
In the above scheme, the obtaining unit is further configured to obtain a control instruction through the control component according to the input voltage value;
the control unit is further configured to control the first power switch based on the control instruction, and determine the working state of the first power switch.
In the above solution, the obtaining unit is configured to obtain, by the control component, a first control instruction when the input voltage value is in a first preset voltage range;
the control unit is configured to control the first power switch based on a first control instruction, and determine that the first power switch is in an off state.
In the above scheme, the at least two input capacitances include a first input capacitance and a second input capacitance, and the selection unit is configured to select the first input capacitance from the first input capacitance and the second input capacitance when the first power switch is in an off state; wherein the withstand voltage value of the first input capacitor is higher than that of the second input capacitor;
correspondingly, the control unit is configured to control the power supply device to be in an operating state based on the first input capacitor.
In the above scheme, the obtaining unit is configured to obtain a second control instruction through the control component when the input voltage value is in a second preset voltage range;
the control unit is configured to control the first power switch based on a second control instruction, and determine that the first power switch is in a conducting state.
In the above scheme, the at least two input capacitances include a first input capacitance and a second input capacitance, and the selection unit is configured to select the first input capacitance and the second input capacitance from the first input capacitance and the second input capacitance when the first power switch is in a conducting state; the withstand voltage value of the first input capacitor is higher than that of the second input capacitor;
correspondingly, the control unit is configured to control the power supply device to be in an operating state based on the first input capacitor and the second input capacitor.
In a third aspect, an embodiment of the present application provides a capacitance selection apparatus, where the capacitance selection apparatus includes: a memory and a processor;
the memory for storing a computer program operable on the processor;
the processor, when running the computer program, is configured to perform the steps of the method according to any of the first aspects.
In a fourth aspect, embodiments of the present application provide a computer storage medium storing a capacitance selection program, which when executed by at least one processor implements the steps of the method according to any one of the first aspect.
In a fifth aspect, the present embodiments provide a power supply apparatus, which includes at least the capacitance selection device according to any one of the second aspect or the capacitance selection device according to the third aspect.
The embodiment of the application provides a capacitance selection method, a capacitance selection device and a computer storage medium, wherein the working state of a first power switch is determined by acquiring an input voltage value and according to the input voltage value; the working state of the first power switch comprises an on state and an off state; selecting at least one input capacitance from at least two input capacitances based on an operating state of the first power switch; therefore, the input capacitor is selected according to the input voltage value, different power grid system requirements can be met based on different small capacitor combinations, and the phenomenon that the volume of power supply equipment is overlarge due to the overlarge volume of the input capacitor is effectively avoided; controlling the power supply equipment to be in a working state based on the selected at least one input capacitor; the normal work of the power supply equipment can be ensured due to the selected at least one input capacitor, so that the size of the power supply equipment is reduced, and the power supply equipment is convenient to carry.
Drawings
Fig. 1 is a schematic diagram of a hardware circuit of a power supply device according to a related art;
fig. 2 is a schematic hardware circuit diagram of a power supply device according to an embodiment of the present disclosure;
fig. 3 is a comparison diagram of the external dimensions of an input capacitor according to an embodiment of the present disclosure;
fig. 4 is a schematic flowchart of a capacitance selection method according to an embodiment of the present disclosure;
fig. 5 is a schematic structural diagram of a capacitor selection device according to an embodiment of the present disclosure;
fig. 6 is a schematic structural diagram of another capacitance selection device according to an embodiment of the present disclosure;
fig. 7 is a schematic diagram of a specific hardware structure of a capacitance selection apparatus according to an embodiment of the present disclosure;
fig. 8 is a schematic structural diagram of a power supply device according to an embodiment of the present application.
Detailed Description
So that the manner in which the features and elements of the present embodiments can be understood in detail, a more particular description of the embodiments, briefly summarized above, may be had by reference to embodiments, some of which are illustrated in the appended drawings.
With the increasing application functions of mobile terminals (such as smart phones, notebook computers, tablet computers, personal digital assistants, wearable devices, etc.), the mobile terminals are more and more popular with consumers, but the mobile terminals consume large power, and often need a power supply device (such as an adapter) to charge the mobile terminals, so as to meet the use requirements at any time and for a long time. Thus, in order to facilitate carrying around, it is necessary to reduce the volume of the power supply device as much as possible.
It should be noted that, in order to be compatible with a low-voltage power grid system (rated voltage is 110 Vac) and a common power grid system (rated voltage is 220 Vac), the power supply device generally selects a Bulk input capacitor with a relatively large capacitance value and a relatively high withstand voltage value. Referring to fig. 1, a hardware circuit diagram of a power supply device 100 provided in the related art is shown; as shown in fig. 1, the power supply device 100 includes a rectifier bridge D1, a first capacitor C1, a transformer T1, a first resistor R1, a second capacitor C2, a first diode D2, a first power switch Q1, a voltage-to-voltage controller M1, a third capacitor C3, a second resistor R2, a second power switch Q2, a fourth capacitor C4, a fifth capacitor C5, a third resistor R3, a fourth resistor R4, a third power switch Q3, a second diode D3, a synchronous rectification controller M2, a sixth capacitor C6, a Negative Temperature Coefficient (NTC) thermistor NTC, a charging protocol controller M3, and a charging interface M4; after the input voltage source U1 is connected to the power supply device 100, the rectifier bridge D1 performs voltage rectification, and the first capacitor C1 performs filtering, and the first resistor R1, the second capacitor C2, and the first diode D2 are connected to the primary side of the transformer T1, and are mainly used for voltage clamping; then, an input voltage source is converted from alternating voltage to direct voltage through the cooperation of a first power switch Q1, a voltage controller M1 and a third capacitor C3 with the transformer T1, and secondary voltage output by the secondary side of the transformer T1 is synchronously rectified through a second resistor R2, a second power switch Q2, a fourth capacitor C4, a fifth capacitor C5, a third resistor R3, a fourth resistor R4, a third power switch Q3, a second diode D3 and a synchronous rectification controller M2 to obtain output voltage required by power supply, wherein the positive pole of the output voltage is connected with a VBUS pin in a charging interface M4, and the negative pole of the output voltage is connected with an RTN pin in the charging interface M4; the synchronous rectification controller M2 is correspondingly connected with the charging protocol controller M3 through an SCL pin, an SDA pin and a VCC pin, the charging protocol controller M3 is further respectively connected with an ID pin, a D + pin and a D-pin in the charging interface M4, a charging protocol chip M31 is arranged in the charging protocol controller M3, and the charging control of the power supply equipment 100 on the mobile terminal is mainly realized through the ID pin, the D + pin and the D-pin by the charging protocol chip M31. Assuming that the power supply device 100 shown in fig. 1 takes a 65W adapter as an example, the first capacitor C1 is an input filter capacitor, and an electrolytic capacitor with a withstand voltage of 400V and a capacitance of 120uF is usually selected, and the electrolytic capacitor can be compatible with a low-voltage power grid system (rated voltage of 110 Vac) and a common power grid system (rated voltage of 220 Vac), so that the power supply device 100 can normally operate.
As can be appreciated, for electrolytic capacitors, the higher the capacitance value, the larger the volume; the higher the pressure resistance, the larger the volume. However, the power supply device only needs to use a capacitor with a large capacitance value under the condition of low power grid voltage; taking a 65W adapter as an example, when the grid voltage is 220Vac, only an input capacitor of 22uF is needed to enable the adapter to work normally, but the withstand voltage value of the input capacitor is relatively high (for example, 400V); when the grid voltage is 110Vac, an input capacitor of about 120uF is required at this time, so that the adapter can operate normally, and the withstand voltage of the input capacitor is low (e.g., 160V). Based on this, refer to fig. 2, which illustrates a hardware circuit schematic diagram of a power supply apparatus 200 provided in an embodiment of the present application; in comparison with the power supply apparatus 100 shown in fig. 1, the power supply apparatus 200 shown in fig. 2 includes an eighth capacitor C8, a fifth resistor R5, a sixth resistor R6, a fourth power switch Q4, and a control unit M5, in addition to replacing the first capacitor C1 with the seventh capacitor C7; the eighth capacitor C8 is connected with the fourth power switch Q4, the fourth power switch Q4 is connected with the control component M5, the eighth capacitor is connected with the control component M5 through the fifth resistor R5, and the input voltage provided by the input voltage source U1 is rectified by the rectifier bridge D1 and then connected with the control component M5 through the sixth resistor R6; the control component M5 can control whether the fourth power switch Q4 is in the on state or in the off state, that is, whether the eighth capacitor M8 is in the working state. Assuming that the power supply apparatus 200 shown in fig. 2 still uses a 65W adapter as an example, the seventh capacitor C7 is an electrolytic capacitor with a withstand voltage of 400V and a capacitance of 22uF, and the eighth capacitor C8 is an electrolytic capacitor with a withstand voltage of 160V and a capacitance of 100 uF. Through the small capacitor combination formed by the seventh capacitor C7 and the eighth capacitor C8, the control component M5 controls the small capacitor combination, and the low-voltage power grid system (rated voltage is 110 Vac) and the common power grid system (rated voltage is 220 Vac) can be compatible, so that the power supply device 200 can normally operate.
Referring to fig. 3, a schematic diagram illustrating an apparent size comparison of an input capacitance selection scheme provided in an embodiment of the present application is shown; taking the 65W adapter as an example, the first scheme is a small capacitor combination scheme selected in the embodiment of the present application, and the small capacitor combination scheme includes two small capacitors of 400V/22uF and 160V/100 uF; the second scheme is a single capacitance scheme selected by the related technical scheme, and the single capacitance scheme comprises a single capacitance of 400V/120 uF; as can be seen from fig. 3, although the second solution is a single capacitor, both the capacitance value and the withstand voltage value of the single capacitor are relatively large, so that the size of the capacitor of the single capacitor is far larger than that of the capacitor of the small capacitor combination of the first solution, and the adapter obtained by the second solution is relatively large in size and inconvenient to carry.
Therefore, although the related technical scheme can be compatible with different power grid system requirements through a larger input capacitor, the power supply equipment has a large volume and is inconvenient to carry; in the embodiment of the application, a large input capacitor is replaced by using a small capacitor combination, and meanwhile, by combining the capacitor selection method provided by the embodiment of the application, different power grid system requirements can be compatible, the size of the power supply equipment is reduced, and the purpose of convenient carrying of the power supply equipment is achieved. Embodiments of the present application will be described in detail below with reference to the accompanying drawings.
Referring to fig. 4, which shows a schematic flowchart of a capacitance selection method provided in an embodiment of the present application, the method may include:
s401: acquiring an input voltage value, and determining the working state of a first power switch according to the input voltage value; the working state of the first power switch comprises an on state and an off state;
s402: selecting at least one input capacitance from at least two input capacitances based on an operating state of the first power switch;
s403: and controlling the power supply equipment to be in an operating state based on the selected at least one input capacitor.
It should be noted that the method is applied to the power supply device; the power supply equipment is power supply conversion equipment for getting power from a mains supply input end, and the mains supply input end can be a 110Vac alternating-current voltage input end or a 220Vac alternating-current voltage input end; the power supply device includes, but is not limited to, an adapter, an AC/DC power converter, and the like, and the embodiments of the present application are not particularly limited.
It should be further noted that the operating state of the first power switch is determined by obtaining an input voltage value and according to the input voltage value; the working state of the first power switch comprises an on state and an off state; selecting at least one input capacitance from at least two input capacitances based on an operating state of the first power switch; therefore, the input capacitor is selected according to the input voltage value, different power grid system requirements can be met based on different small capacitor combinations, and the phenomenon that the volume of power supply equipment is overlarge due to the overlarge volume of the input capacitor is effectively avoided; controlling the power supply equipment to be in a working state based on the selected at least one input capacitor; the normal work of the power supply equipment can be ensured due to the selected at least one input capacitor, so that the size of the power supply equipment is reduced, and the power supply equipment is convenient to carry.
In some embodiments, prior to said obtaining the input voltage value, the method further comprises:
performing voltage detection on the input voltage based on the control part; wherein the control part has a voltage detection function.
It should be noted that, because the voltage detection unit is integrated in the control component, the control component has a voltage detection function; besides the voltage detection unit can be integrated inside the control component, the voltage detection unit can also be placed separately. The voltage detection unit is used for detecting the voltage of the input voltage, and may include a detection measurement unit, a resistance sampling measurement unit, a pyroelectric measurement unit, and the like. For example, taking the power supply apparatus 200 shown in fig. 2 as an example, the voltage detection unit is integrated inside the control unit M5, so that the control unit M5 can detect the magnitude of the input voltage value.
In some embodiments, the determining the operating state of the first power switch according to the input voltage value includes:
obtaining a control instruction through the control component according to the input voltage value;
and controlling the first power switch based on the control instruction, and determining the working state of the first power switch.
After the input voltage value is detected, control commands, such as a first control command and a second control command, are generated by the control unit according to the input voltage value; and controlling the first power switch through the control instruction so as to determine whether the first power switch is in an off state or an on state.
Optionally, the determining the operating state of the first power switch according to the input voltage value includes:
when the input voltage value is in a first preset voltage range, a first control instruction is obtained through the control component;
and controlling the first power switch based on a first control instruction, and determining that the first power switch is in a turn-off state.
Optionally, the determining the operating state of the first power switch according to the input voltage value includes:
when the input voltage value is in a second preset voltage range, a second control instruction is obtained through the control component;
and controlling the first power switch based on a second control instruction, and determining that the first power switch is in a conducting state.
It should be noted that the first preset voltage range represents a voltage range corresponding to the first power grid system, for example, the first power grid system has a rated voltage of 220Vac, and the corresponding first preset voltage range may be 154Vac to 240Vac; the first preset voltage range represents a voltage range corresponding to the second power grid system, for example, the second power grid system has a rated voltage of 110Vac, and the corresponding second preset voltage range may be 100Vac to 154Vac; the embodiments of the present application are not particularly limited.
For example, still taking the power supply apparatus 200 shown in fig. 2 as an example, the first power switch corresponds to the fourth power switch Q4 shown in fig. 2, and it is assumed that the first predetermined voltage range is 154Vac to 240Vac, and the second predetermined voltage range is 100Vac to 154Vac; after the input voltage value is detected by the control component M5, if the detected input voltage value is 220Vac, that is, the input voltage value is in the first preset voltage range, the control component M5 may obtain a first control instruction, and then control the fourth power switch Q4 according to the first control instruction, to determine that the fourth power switch Q4 is in the off state; if the detected input voltage value is 110Vac, that is, the input voltage value is in a second preset voltage range, a second control instruction can be obtained through the control component M5, and then the fourth power switch Q4 is controlled according to the second control instruction, so that the fourth power switch Q4 is determined to be in a conducting state; because the fourth power switch Q4 is connected with the eighth capacitor C8, by controlling the working state of the fourth power switch Q4, a corresponding small capacitor combination can be selected from the seventh capacitor C7 and the eighth capacitor C8 according to the input voltage value, so that different power grid system requirements can be met based on different small capacitor combinations, and the phenomenon that the volume of the power supply equipment is too large due to the too large volume of the input capacitor is effectively avoided.
In some embodiments, the selecting at least one input capacitance from the at least two input capacitances based on the operating state of the first power switch comprises:
selecting the first input capacitance from a first input capacitance and a second input capacitance when the first power switch is in an off state; wherein the withstand voltage value of the first input capacitor is higher than that of the second input capacitor;
correspondingly, the controlling the power supply device to be in the working state based on the selected at least one input capacitor comprises:
and controlling the power supply equipment to be in a working state based on the first input capacitor.
It should be noted that, it is assumed that the at least two input capacitors include a first input capacitor and a second input capacitor, and a withstand voltage value of the first input capacitor is higher than that of the second input capacitor; therefore, when the detected input voltage value is in a first preset voltage range, the first power switch is in a turn-off state, and at the moment, because the second input capacitor is in a broken circuit state, only the first input capacitor is selected; according to the first power grid system, the power supply equipment can be in a working state according to the first input capacitor.
In some embodiments, the selecting at least one input capacitance from the at least two input capacitances based on the operating state of the first power switch comprises:
selecting the first input capacitance and the second input capacitance from a first input capacitance and a second input capacitance when the first power switch is in a conducting state; wherein the withstand voltage value of the first input capacitor is higher than that of the second input capacitor;
correspondingly, the controlling the power supply device to be in the working state based on the selected at least one input capacitor comprises the following steps:
and controlling the power supply equipment to be in a working state based on the first input capacitor and the second input capacitor.
It should be noted that, it is assumed that the at least two input capacitors include a first input capacitor and a second input capacitor, and a withstand voltage value of the first input capacitor is higher than a withstand voltage value of the second input capacitor; therefore, when the detected input voltage value is in a second preset voltage range, the first power switch is in a conducting state, and at the moment, the first input capacitor and the second input capacitor are selected as the second input capacitor is in a working state; for the second power grid system, the power supply equipment can be in a working state according to the capacitance combination of the first input capacitor and the second input capacitor.
For example, still taking the power supply apparatus 200 shown in fig. 2 as an example, here, the first input capacitor corresponds to the seventh capacitor C7 shown in fig. 2, the second input capacitor corresponds to the eighth capacitor C8 shown in fig. 2, and the first power switch corresponds to the fourth power switch Q4 shown in fig. 2; if the input voltage value detected by the control component M5 is 220Vac, that is, the input voltage value is in the first preset voltage range, the fourth power switch Q4 is in an off state, so that the eighth capacitor C8 is in an open circuit state, and only the seventh capacitor C7 is in a working state, that is, only the seventh capacitor C7 is selected; for the first power grid system, the power supply device 200 can be in a working state according to the seventh capacitor C7; if the input voltage value detected by the control component M5 is 110Vac, that is, the input voltage value is in the second preset voltage range, the fourth power switch Q4 is in a conducting state, so that the eighth capacitor C8 is also in a working state, at this time, the seventh capacitor C7 and the eighth capacitor C8 are both in a working state, that is, the seventh capacitor C7 and the eighth capacitor C8 are selected; for the second power grid system, the power supply device 200 may also be in the working state according to the capacitance combination of the seventh capacitance C7 and the eighth capacitance C8; therefore, different power grid system requirements are met based on different small capacitor combinations, the size of the power supply equipment can be reduced, and the purpose of carrying the power supply equipment is achieved.
The embodiment provides a capacitance selection method, which includes the steps of obtaining an input voltage value, and determining a working state of a first power switch according to the input voltage value; the working state of the first power switch comprises an on state and an off state; selecting at least one input capacitance from at least two input capacitances based on an operating state of the first power switch; controlling the power supply equipment to be in a working state based on the selected at least one input capacitor; the power supply device can adapt to different power grid system requirements based on different small capacitor combinations, so that the size of the power supply device is reduced, and the power supply device can be conveniently carried.
Based on the same inventive concept of the foregoing embodiment, referring to fig. 5, which shows a schematic structural diagram of a capacitance selection apparatus 50 provided in an embodiment of the present application, the capacitance selection apparatus 50 may include an obtaining unit 501, a selecting unit 502 and a control unit 503, wherein,
the obtaining unit 501 is configured to obtain an input voltage value, and determine an operating state of the first power switch according to the input voltage value; the working state of the first power switch comprises an on state and an off state;
the selecting unit 502 is configured to select at least one input capacitor from at least two input capacitors based on an operating state of the first power switch;
the control unit 503 is configured to control the power supply device to be in an operating state based on the selected at least one input capacitor.
In the above solution, referring to fig. 6, the capacitance selection apparatus 50 further includes a detection unit 504 configured to perform voltage detection on the input voltage based on the control component; wherein the control part has a voltage detection function.
In the above scheme, the obtaining unit 501 is further configured to obtain a control instruction through the control component according to the input voltage value;
the control unit 503 is further configured to control the first power switch based on the control instruction, and determine an operating state of the first power switch.
In the above solution, the obtaining unit 501 is configured to obtain a first control instruction through the control component when the input voltage value is in a first preset voltage range;
the control unit 503 is configured to control the first power switch based on a first control instruction, and determine that the first power switch is in an off state.
In the above solution, the at least two input capacitances include a first input capacitance and a second input capacitance, and the selecting unit 502 is configured to select the first input capacitance from the first input capacitance and the second input capacitance when the first power switch is in an off state; wherein the withstand voltage value of the first input capacitor is higher than that of the second input capacitor;
accordingly, the control unit 503 is configured to control the power supply device to be in an operating state based on the first input capacitance.
In the above solution, the obtaining unit 501 is configured to obtain a second control instruction through the control component when the input voltage value is in a second preset voltage range;
the control unit 503 is configured to control the first power switch based on a second control instruction, and determine that the first power switch is in a conducting state.
In the above solution, the at least two input capacitors include a first input capacitor and a second input capacitor, and the selecting unit 502 is configured to select the first input capacitor and the second input capacitor from the first input capacitor and the second input capacitor when the first power switch is in a conducting state; wherein the withstand voltage value of the first input capacitor is higher than that of the second input capacitor;
accordingly, the control unit 503 is configured to control the power supply device to be in an operating state based on the first input capacitance and the second input capacitance.
It is understood that in this embodiment, a "unit" may be a part of a circuit, a part of a processor, a part of a program or software, etc., and may also be a module, or may also be non-modular.
In addition, each constituent unit in the present embodiment may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware or a form of a software functional module.
Based on the understanding that the technical solution of the present embodiment essentially or a part contributing to the prior art, or all or part of the technical solution may be embodied in the form of a software product stored in a storage medium, and include several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) or a processor (processor) to execute all or part of the steps of the method of the present embodiment. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
Accordingly, an embodiment of the present application provides a computer storage medium, where a capacitance selection program is stored, and the capacitance selection program, when executed by at least one processor, implements the steps of the method for selecting capacitance in the foregoing technical solution shown in fig. 4.
Based on the above-mentioned composition of the capacitance selection apparatus 50 and the computer storage medium, referring to fig. 7, a specific hardware structure of the capacitance selection apparatus 50 provided in the embodiment of the present application is shown, which may include: a network interface 701, a memory 702, and a processor 703; the various components are coupled together by a bus system 704. It is understood that the bus system 704 is used to enable communications among the components. The bus system 704 includes a power bus, a control bus, and a status signal bus in addition to a data bus. For clarity of illustration, however, the various buses are labeled in fig. 7 as the bus system 704. The network interface 701 is configured to receive and transmit signals in a process of receiving and transmitting information with other external network elements;
a memory 702 for storing a computer program capable of running on the processor 703;
a processor 703 for executing, when running the computer program, the following:
acquiring an input voltage value, and determining the working state of a first power switch according to the input voltage value; the working state of the first power switch comprises an on state and an off state;
selecting at least one input capacitance from at least two input capacitances based on an operating state of the first power switch;
and controlling the power supply equipment to be in an operating state based on the selected at least one input capacitor.
It will be appreciated that the memory 702 in the subject embodiment can be either volatile memory or nonvolatile memory, or can include both volatile and nonvolatile memory. The non-volatile Memory may be a Read-Only Memory (ROM), a Programmable ROM (PROM), an Erasable PROM (EPROM), an Electrically Erasable PROM (EEPROM), or a flash Memory. The volatile Memory may be a Random Access Memory (RAM) which serves as an external cache. By way of illustration and not limitation, many forms of RAM are available, such as Static random access memory (Static RAM, SRAM), dynamic Random Access Memory (DRAM), synchronous Dynamic random access memory (Synchronous DRAM, SDRAM), double Data Rate Synchronous Dynamic random access memory (ddr Data Rate SDRAM, ddr SDRAM), enhanced Synchronous SDRAM (ESDRAM), synchlink DRAM (SLDRAM), and Direct Rambus RAM (DRRAM). The memory 702 of the systems and methods described herein is intended to comprise, without being limited to, these and any other suitable types of memory.
The processor 703 may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the method may be implemented by hardware integrated logic circuits in the processor 703 or by instructions in the form of software. The Processor 703 may be a general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic device, or discrete hardware components. The various methods, steps, and logic blocks disclosed in the embodiments of the present application may be implemented or performed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of the method disclosed in connection with the embodiments of the present application may be directly implemented by a hardware decoding processor, or implemented by a combination of hardware and software modules in the decoding processor. The software module may be located in ram, flash memory, rom, prom, or eprom, registers, etc. storage media as is well known in the art. The storage medium is located in the memory 702, and the processor 703 reads the information in the memory 702 and performs the steps of the above method in combination with the hardware thereof.
It is to be understood that the embodiments described herein may be implemented in hardware, software, firmware, middleware, microcode, or any combination thereof. For a hardware implementation, the Processing units may be implemented within one or more Application Specific Integrated Circuits (ASICs), digital Signal Processors (DSPs), digital Signal Processing Devices (DSPDs), programmable Logic Devices (PLDs), field Programmable Gate Arrays (FPGAs), general purpose processors, controllers, micro-controllers, microprocessors, other electronic units configured to perform the functions described herein, or a combination thereof.
For a software implementation, the techniques described herein may be implemented with modules (e.g., procedures, functions, and so on) that perform the functions described herein. The software codes may be stored in a memory and executed by a processor. The memory may be implemented within the processor or external to the processor.
Optionally, as another embodiment, the processor 703 is further configured to, when running the computer program, perform the steps of the method for selecting a capacitance in the foregoing technical solution shown in fig. 4.
Referring to fig. 8, a power supply apparatus 80 provided in an embodiment of the present application is shown, where the power supply apparatus 80 at least includes any one of the capacitance selection devices 50 mentioned in the foregoing embodiments.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one.. Said.", it is not intended to exclude that an additional identical element is present in a process, method, article or apparatus that comprises the same element.
The above-mentioned serial numbers of the embodiments of the present application are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present application may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, or a network device) to execute the method according to the embodiments of the present application.
While the present embodiments have been described with reference to the accompanying drawings, it is to be understood that the present embodiments are not limited to those precise embodiments, which are intended to be illustrative rather than restrictive, and that various changes and modifications may be effected therein by one skilled in the art without departing from the scope of the appended claims.
Industrial applicability
In the embodiment of the application, the working state of the first power switch is determined by acquiring an input voltage value and according to the input voltage value; the working state of the first power switch comprises an on state and an off state; selecting at least one input capacitance from at least two input capacitances based on an operating state of the first power switch; therefore, the input capacitor is selected according to the input voltage value, different power grid system requirements can be met based on different small capacitor combinations, and the phenomenon that the volume of power supply equipment is overlarge due to the overlarge volume of the input capacitor is effectively avoided; controlling the power supply equipment to be in a working state based on the selected at least one input capacitor; the normal operation of the power supply equipment can be ensured by the selected at least one input capacitor, so that the size of the power supply equipment is reduced, and the power supply equipment is convenient to carry.

Claims (15)

1. A capacitance selection method, wherein the method comprises:
acquiring an input voltage value, and determining the working state of a first power switch according to the input voltage value; the working state of the first power switch comprises an on state and an off state;
selecting at least one input capacitance from at least two input capacitances based on an operating state of the first power switch;
controlling the power supply equipment to be in a working state based on the selected at least one input capacitor;
prior to the obtaining the input voltage value, the method further comprises:
performing voltage detection on the input voltage based on the control means;
a voltage detection unit is integrated in the control component and is used for detecting the voltage of the input voltage through resistance sampling;
the power supply equipment is compatible with two power grid systems with rated voltages.
2. The method of claim 1, wherein said determining an operating state of a first power switch from said input voltage value comprises:
obtaining a control instruction through the control component according to the input voltage value;
and controlling the first power switch based on the control instruction, and determining the working state of the first power switch.
3. The method of claim 2, wherein the determining an operating state of a first power switch from the input voltage value comprises:
when the input voltage value is in a first preset voltage range, a first control instruction is obtained through the control component;
and controlling the first power switch based on a first control instruction, and determining that the first power switch is in a turn-off state.
4. The method of claim 3, wherein the at least two input capacitances comprise a first input capacitance and a second input capacitance, and wherein selecting at least one input capacitance from the at least two input capacitances based on the operating state of the first power switch comprises:
selecting the first input capacitance from a first input capacitance and a second input capacitance when the first power switch is in an off state; wherein the withstand voltage value of the first input capacitor is higher than that of the second input capacitor;
correspondingly, the controlling the power supply device to be in the working state based on the selected at least one input capacitor comprises the following steps:
and controlling the power supply equipment to be in a working state based on the first input capacitor.
5. The method of claim 2, wherein said determining an operating state of a first power switch from said input voltage value comprises:
when the input voltage value is in a second preset voltage range, a second control instruction is obtained through the control component;
and controlling the first power switch based on a second control instruction, and determining that the first power switch is in a conducting state.
6. The method of claim 5, wherein the at least two input capacitances comprise a first input capacitance and a second input capacitance, and wherein selecting at least one input capacitance from the at least two input capacitances based on the operating state of the first power switch comprises:
selecting a first input capacitance and a second input capacitance from a first input capacitance and a second input capacitance when the first power switch is in a conducting state; wherein the withstand voltage value of the first input capacitor is higher than that of the second input capacitor;
correspondingly, the controlling the power supply device to be in the working state based on the selected at least one input capacitor comprises the following steps:
and controlling the power supply equipment to be in a working state based on the first input capacitor and the second input capacitor.
7. A capacitance selection device, wherein the capacitance selection device comprises an acquisition unit, a selection unit, a control unit and a detection unit,
the acquisition unit is configured to acquire an input voltage value and determine the working state of the first power switch according to the input voltage value; the working state of the first power switch comprises an on state and an off state;
the selection unit is configured to select at least one input capacitor from at least two input capacitors based on the working state of the first power switch;
the control unit is configured to control the power supply equipment to be in an operating state based on the selected at least one input capacitor;
the detection unit is configured to perform voltage detection on the input voltage based on the control component; a voltage detection unit is integrated in the control component and is configured to perform voltage detection on input voltage through resistance sampling;
the power supply equipment is compatible with two power grid systems with rated voltages.
8. The capacitance selection device according to claim 7, wherein the obtaining unit is further configured to obtain a control instruction through the control unit according to the input voltage value;
the control unit is further configured to control the first power switch based on the control instruction, and determine the working state of the first power switch.
9. The capacitance selection device according to claim 8, wherein the obtaining unit is configured to obtain a first control instruction through the control unit when the input voltage value is in a first preset voltage range;
the control unit is configured to control the first power switch based on a first control instruction, and determine that the first power switch is in an off state.
10. The capacitance selection device of claim 9, wherein the at least two input capacitances comprise a first input capacitance and a second input capacitance, the selection unit configured to select the first input capacitance from the first input capacitance and the second input capacitance when the first power switch is in an off state; wherein the withstand voltage value of the first input capacitor is higher than that of the second input capacitor;
correspondingly, the control unit is configured to control the power supply device to be in an operating state based on the first input capacitor.
11. The capacitance selection device according to claim 8, wherein the obtaining unit is configured to obtain a second control instruction through the control unit when the input voltage value is in a second preset voltage range;
the control unit is configured to control the first power switch based on a second control instruction, and determine that the first power switch is in a conducting state.
12. The capacitance selection device of claim 11, wherein the at least two input capacitances comprise a first input capacitance and a second input capacitance, the selection unit configured to select the first input capacitance and the second input capacitance from the first input capacitance and the second input capacitance when the first power switch is in a conductive state; the withstand voltage value of the first input capacitor is higher than that of the second input capacitor;
correspondingly, the control unit is configured to control the power supply device to be in an operating state based on the first input capacitor and the second input capacitor.
13. A capacitance selection device, wherein the capacitance selection device comprises: a memory and a processor;
the memory for storing a computer program operable on the processor;
the processor, when executing the computer program, is adapted to perform the steps of the method of any of claims 1 to 6.
14. A computer storage medium, wherein the computer storage medium stores a capacitance selection program that, when executed by at least one processor, implements the steps of the method of any of claims 1 to 6.
15. A power supply apparatus, wherein the power supply apparatus comprises at least a capacitance selection device according to any one of claims 7 to 13.
CN201880097750.1A 2018-10-08 2018-10-08 Capacitance selection method and device and computer storage medium Active CN112714941B (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2018/109368 WO2020073174A1 (en) 2018-10-08 2018-10-08 Capacitor selection method and apparatus, and computer storage medium

Publications (2)

Publication Number Publication Date
CN112714941A CN112714941A (en) 2021-04-27
CN112714941B true CN112714941B (en) 2022-10-18

Family

ID=70164825

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201880097750.1A Active CN112714941B (en) 2018-10-08 2018-10-08 Capacitance selection method and device and computer storage medium

Country Status (2)

Country Link
CN (1) CN112714941B (en)
WO (1) WO2020073174A1 (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103442492A (en) * 2013-03-11 2013-12-11 矽力杰半导体技术(杭州)有限公司 Capacitance buck-type LED driver and capacitance buck-type LED driving method thereof
CN105097396A (en) * 2014-05-19 2015-11-25 北京北方微电子基地设备工艺研究中心有限责任公司 Impedance matching device and semiconductor processing equipment
US9602009B1 (en) * 2015-12-08 2017-03-21 Power Integrations, Inc. Low voltage, closed loop controlled energy storage circuit

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103442492A (en) * 2013-03-11 2013-12-11 矽力杰半导体技术(杭州)有限公司 Capacitance buck-type LED driver and capacitance buck-type LED driving method thereof
CN105097396A (en) * 2014-05-19 2015-11-25 北京北方微电子基地设备工艺研究中心有限责任公司 Impedance matching device and semiconductor processing equipment
US9602009B1 (en) * 2015-12-08 2017-03-21 Power Integrations, Inc. Low voltage, closed loop controlled energy storage circuit

Also Published As

Publication number Publication date
WO2020073174A1 (en) 2020-04-16
CN112714941A (en) 2021-04-27

Similar Documents

Publication Publication Date Title
US9727111B2 (en) Control device for current switching and electronic device
US9153984B2 (en) Charging device
US20160099608A1 (en) Power adapter with built-in battery and power storage and supply method thereof
EP2849023A1 (en) Electronic device and control method therefor
TWI482391B (en) Charging circuit for electronic device and related charging method
US9917512B2 (en) Power supply, electronic device including the same, and power supply method thereof
US9472967B2 (en) Power management system and method for a portable device
CN104599850A (en) Charging method and device
US10886738B2 (en) Electronic device and control method
JP2014056287A (en) Electronic apparatus and method of determining power source device by electronic apparatus
WO2019154368A1 (en) Charging apparatus, charging control apparatus, terminal device, and charging method
CN113206521B (en) Power control method, device, electronic equipment and storage medium
JP2017191606A (en) Access device
US9425685B2 (en) DC-DC voltage converter and conversion method
JP2021511001A (en) Charge control method, device and device to be charged
CN112714941B (en) Capacitance selection method and device and computer storage medium
CN112153784B (en) Control circuit and electronic device
CN109586356B (en) Charging control method, charging control device and computer storage medium
WO2012102933A2 (en) Detection of insufficient supplied power
WO2018045714A1 (en) Partner charging control method and system, and mobile device
CN113125856B (en) Resistance testing device, method and equipment
CN111628551A (en) Power supply circuit, power supply system and power supply method
US20150244200A1 (en) Method for performing wireless charging control of an electronic device with aid of frequency detection, and associated apparatus
CN111969685A (en) Handheld terminal, power supply circuit thereof, power supply control method thereof and readable storage medium
US20140189412A1 (en) Time sequence circuit for power supply unit

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant