An energy storage power supply, comprising:
- a shell, wherein the shell is provided with a lighting chamber, and the lighting chamber is provided with a first light outlet;
- and
- a lighting device, wherein the lighting device comprises a light-emitting component and a condensing lens;
- the lighting device is arranged in the lighting chamber;
- a light-emitting surface of the light-emitting component is arranged in a manner of facing the condensing lens and the first light outlet;
- and the condensing lens is configured to condense light emitted by the light-emitting component to form a light beam;
- wherein the energy storage power supply further comprises a driving circuit of the energy storage power supply;
- the driving circuit of the energy storage power supply comprises:
- a charging control circuit, configured to be electrically connected to an external power supply and a battery to receive an external voltage to charge the battery;
- a first direct current output circuit, electrically connected to the battery and configured to receive a voltage of the battery and output a first direct current voltage;
- an alternating current output circuit, electrically connected to the battery and configured to receive the voltage of the battery and output an alternating current supply voltage;
- and a main control circuit, electrically connected to the battery, the charging control circuit, the first direct current output circuit, and the alternating current output circuit and configured to:
- control operations of the charging control circuit, the first direct current output circuit, and the alternating current output circuit and detect at least one of the first direct current output circuit and the alternating current output circuit to obtain a load condition of at least one of the first direct current output circuit and the alternating current output circuit, wherein when a duration at which at least one of the first direct current output circuit and the alternating current output circuit is in an unloaded state exceeds a preset time value, the main control circuit controls at least one of the first direct current output circuit and the alternating current output circuit to be turned off;
- the main control circuit is configured to detect the first direct current output circuit and the alternating current output circuit to obtain a load condition of the first direct current output circuit and a load condition of the alternating current output circuit;
- the preset time value comprises a first preset time value;
- when a duration at which the alternating current output circuit is in an unloaded state exceeds the first preset time value, the main control circuit controls the alternating current output circuit to be turned off;
- the preset time value comprises a second preset time value;
- and when a duration at which the first direct current output circuit is in an unloaded state exceeds the second preset time value, the main control circuit controls the first direct current output circuit to be turned off;
- wherein the driving circuit of the energy storage power supply further comprises a second direct current output circuit;
- the second direct current output circuit is electrically connected to the battery and configured to:
- receive the voltage of the battery and output a second direct current voltage;
- the first direct current voltage is different from the second direct current voltage;
- the main control circuit is further configured to:
- control an operation of the second direct current output circuit and detect the second direct current output circuit to obtain a load condition of the second direct current output circuit;
- and when a duration at the second direct current output circuit in an unloaded state exceeds a third preset time value, the main control circuit controls the second direct current output circuit to be turned off;
- the alternating current output circuit is configured to:
- receive the voltage of the battery and convert the voltage of the battery into the alternating current output voltage;
- the first direct current output circuit is configured to:
- receive the voltage of the battery and convert the voltage of the battery into the first direct current voltage;
- the second direct current output circuit is configured to receive the voltage of the battery and convert the voltage of the battery into the second direct current voltage;
- the alternating current output circuit comprises an alternating current conversion module and an alternating current output port;
- the alternating current conversion module is configured to:
- receive the voltage of the battery and output the alternating current supply voltage;
- the alternating current output port is configured to output the alternating current supply voltage;
- the alternating current supply voltage is 110 V or 220 V;
- the first direct current output circuit comprises a first direct current conversion module and a first direct current output port;
- the first direct current conversion module is configured to convert the voltage of the battery into the first direct current voltage;
- the first direct current output port is configured to output the first direct current voltage;
- the first direct current voltage is 5 V;
- the second direct current output circuit comprises a second direct current conversion module and a second direct current output port;
- the second direct current conversion module is configured to convert the voltage of the battery into the second direct current voltage;
- the second direct current output port is configured to output the second direct current voltage;
- and the second direct current voltage is 12 V;
- wherein the driving circuit of the energy storage power supply comprises a first sampling circuit;
- the first sampling circuit is electrically connected to the main control circuit and the alternating current output circuit;
- the main control circuit detects the alternating current output circuit through the first sampling circuit and obtains a first sampled signal;
- the main control circuit obtains output power of the alternating current output circuit according to the first sampled signal;
- when the output power of the alternating current output circuit is less than a first preset power value, the alternating current output circuit is in the unloaded state;
- when the duration of the unloaded state exceeds the first preset time value, the alternating current output circuit is controlled to be turned off;
- the driving circuit of the energy storage power supply comprises a second sampling circuit;
- the second sampling circuit is electrically connected to the main control circuit and the first direct current output circuit;
- the main control circuit detects the first direct current output circuit through the second sampling circuit and obtains a second sampled signal;
- the main control circuit obtains output power of the first direct current output circuit according to the second sampled signal;
- when the output power of the first direct current output circuit is less than a second preset power value, the first direct current output circuit is in the unloaded state;
- when the duration of the unloaded state exceeds the second preset time value, the first direct current output circuit is controlled to be turned off;
- the driving circuit of the energy storage power supply comprises a third sampling circuit;
- the third sampling circuit is electrically connected to the main control circuit and the second direct current output circuit;
- the main control circuit detects the second direct current output circuit through the third sampling circuit and obtains a third sampled signal;
- the main control circuit obtains output power of the second direct current output circuit according to the third sampled signal;
- when the output power of the second direct current output circuit is less than a third preset power value, the second direct current output circuit is in the unloaded state;
- and when the duration of the unloaded state exceeds the third preset time value, the second direct current output circuit is controlled to be turned off,
- wherein a quantity of the first direct current output port is multiple;
- a quantity of the second sampling circuit corresponds to the quantity of first direct current output port;
- each of the second sampling circuits is connected between the corresponding first direct current output port and the main control circuit;
- the main control circuit is configured to detect the load conditions of the plurality of first direct current output ports through the plurality of second sampling circuits;
- when any one of the first direct current output ports is in a loaded state, the main control circuit controls the first direct current output circuit to operate normally;
- and when all the first direct current output ports are in the unloaded state, the main control circuit controls the first direct current output circuit to be turned off;
- wherein the first direct current output circuit further comprises a first switch;
- the first switch comprises a first control end, a first conducting end, and a first ground end;
- the main control circuit is electrically connected to the first control end;
- the first direct current conversion module and the first direct current output ports are all electrically connected to the first conducting end;
- the first ground end is electrically connected to a ground;
- the first switch is configured to control conversion of the first direct current conversion module and outputs of the first direct current output ports;
- the second sampling circuit comprises a plurality of second sampling resistor groups;
- the main control circuit detects the first direct current output circuit and obtains the second sampled signal through the second sampling resistor groups;
- the main control circuit is configured to control, according to the detected second sampled signal, the first switch to be turned on or turned off;
- the second direct current output circuit comprises a second switch;
- the second switch comprises a second control end, a second conducting end, and a second ground end;
- the main control circuit is electrically connected to the second control end;
- the second direct current conversion module and the second direct current output port are both electrically connected to the second conducting end;
- the second ground end is electrically connected to the ground;
- the second switch is configured to control conversion of the second direct current conversion module and an output of the second direct current output port;
- the third sampling circuit comprises a third sampling resistor group;
- the main control circuit detects the second direct current output circuit and obtains the third sampled signal through the third sampling resistor group;
- the main control circuit is configured to control, according to the detected third sampled signal, the second switch to be turned on or turned off,
- the alternating current output circuit further comprises a third switch;
- the third switch comprises a first control end, a third conducting end, and a third ground end;
- the main control circuit is electrically connected to the third control end;
- the alternating current conversion module and the alternating current output port are both electrically connected to the third conducting end;
- the third ground end is electrically connected to the ground;
- the third switch is configured to control conversion of the alternating current conversion module and an output of the alternating current output port;
- the first sampling circuit comprises a first sampling resistor group;
- the main control circuit detects the alternating current output circuit and obtains the first sampled signal through the first sampling resistor group;
- and the main control circuit is configured to control, according to the detected first sampled signal, the third switch to be turned on or turned off.