Disclosure of Invention
The present invention provides a dc socket and a dc socket control method to solve the problems of impact and arc discharge during the plugging and unplugging process of the dc socket.
In order to achieve the above purpose, the technical solutions adopted in the embodiments of the present application are as follows:
in a first aspect, an embodiment of the present application provides a dc outlet, including: the device comprises a direct current input interface, an input soft start circuit, a main control switch, a direct current output interface, an input voltage sampling circuit, an input soft start voltage sampling circuit and a controller;
the direct current input interface is electrically connected with the input end of the input soft start circuit; the output end of the input soft start circuit is electrically connected with the direct current output interface through the main control switch;
the input end of the input voltage sampling circuit is electrically connected with an input voltage sampling point to collect input voltage, and the input voltage sampling point is positioned between the direct current input interface and the input end of the input soft start circuit;
the input end of the input soft start voltage sampling circuit is electrically connected with an input soft start voltage sampling point so as to collect input soft start voltage, and the input soft start voltage sampling point is positioned between the output end of the input soft start circuit and the main control switch;
the output end of the input voltage sampling circuit and the output end of the input soft start voltage sampling circuit are electrically connected with the input end of the controller, so that the controller judges whether the direct current input interface meets a first preset soft start condition according to the input voltage and the input soft start voltage;
the first output end of the controller is electrically connected with the control end of the input soft start circuit, so that the direct current input interface is controlled by the input soft start circuit to complete soft start under the condition that the direct current input interface meets the first preset soft start condition.
Optionally, the input soft start circuit includes: the circuit comprises a first resistor, a first switch and a first capacitor; a first end of the first switch is electrically connected with the direct current input interface, a second end of the first switch is electrically connected with the main control switch, the first resistor is connected in parallel to two sides of the first switch, one end of the first capacitor is electrically connected with the second end of the first switch, and the other end of the first capacitor is grounded;
the input end of the input soft start circuit is a first end of the first switch, the output end of the input soft start circuit is a second end of the first switch, sampling points of the input soft start voltage are two ends of the first capacitor, and the control end of the input soft start circuit is a control end of the first switch.
Optionally, the dc outlet further includes: the output soft start circuit and the output soft start voltage sampling circuit;
the input end of the output soft start circuit is electrically connected with the main control switch, the output end of the output soft start circuit is electrically connected with the direct current output interface, and the input end of the output soft start voltage sampling circuit is electrically connected with the output soft start voltage sampling point of the output soft start circuit so as to collect output soft start voltage;
the output end of the output soft start voltage sampling circuit is electrically connected with the controller, so that the controller judges whether the direct current output interface meets a second preset soft start condition or not according to the input soft start voltage and the output soft start voltage;
the second output end of the controller is also electrically connected with the control end of the output soft start circuit, so that the direct current output interface is controlled by the output soft start circuit to complete soft start under the condition that the direct current output interface meets the second preset soft start condition.
Optionally, the output soft start circuit includes: the second resistor, the second switch and the second capacitor; a first end of the second switch is electrically connected with the main control switch, a second end of the second switch is electrically connected with the direct current output interface, the second resistor is connected in parallel to two sides of the second switch, one end of the second capacitor is electrically connected with a second end of the second switch, and the other end of the second capacitor is grounded;
the input end of the output soft start circuit is the first end of the second switch, the output end of the output soft start circuit is the second end of the second switch, the sampling points of the output soft start voltage are two ends of the second capacitor, and the control end of the output soft start circuit is the control end of the second switch.
Optionally, the dc outlet further includes: the input end of the current sampling circuit is electrically connected with a current sampling point, and the current sampling point is positioned between the output end of the input soft start circuit and the main control switch so as to collect output current;
the input end of the position detection circuit is electrically connected with the detection end of the direct current output interface so as to detect the position information of the direct current output interface;
the output ends of the current sampling circuit and the position detection circuit are electrically connected with the input end of the controller, so that the controller can obtain the output current and the position information;
and a third output end of the controller is electrically connected with a control end of the main control switch so as to obtain the initial state of the main control switch, and the main control switch is controlled not to be locked according to the initial state of the main control switch, the output current and the position information.
Optionally, the dc outlet further includes: an input lock-up circuit; the input end of the input locking circuit is electrically connected with the fourth output end of the controller, so that the controller outputs an input locking signal to the input locking circuit under the condition that the output current is judged to meet a preset input locking condition;
the output end of the input locking circuit is electrically connected with the control end of the direct current input interface so as to control the locking enabling of the direct current input interface according to the input locking signal.
Optionally, the dc outlet further includes: an output lock circuit; the input end of the output locking circuit is electrically connected with the fifth output end of the controller, so that the controller outputs an output locking signal to the output locking circuit under the condition that the output current is judged to meet a preset output locking condition;
the output end of the output locking circuit is electrically connected with the control end of the direct current output interface so as to control the locking enabling of the direct current output interface according to the output locking signal.
In a second aspect, an embodiment of the present application further provides a dc outlet control method, which is applied to a controller in any one of the above dc outlets, where the method includes:
acquiring the input voltage sampled by the input voltage sampling circuit and the input soft start voltage sampled by the input soft start voltage sampling circuit;
judging whether the direct current input interface meets a first preset soft start condition or not according to the input voltage and the input soft start voltage;
and if the direct current input interface meets the first preset soft start condition, controlling the direct current input interface to complete soft start through the input soft start circuit.
Optionally, the method further includes:
acquiring output soft start voltage sampled by an output soft start voltage sampling circuit;
judging whether the direct current output interface meets a second preset soft start condition or not according to the input soft start voltage and the output soft start voltage;
and if the direct current output interface meets the second preset soft start condition, controlling the direct current output interface to complete soft start through an output soft start circuit.
Optionally, if the dc outlet further includes: a current sampling circuit and a position detection circuit; the method further comprises the following steps:
acquiring the initial state of the main control switch, the output current sampled by the current sampling circuit and the position information of the direct current output interface sampled by the position detection circuit;
and controlling the main control switch to be locked and not enabled according to the initial state of the main control switch, the output current and the position information.
Optionally, if the dc outlet further includes: an input lock-up circuit; the method further comprises the following steps:
judging whether the output current meets a preset input locking condition or not;
and if the input locking condition is met, outputting an input locking signal to the input locking circuit, so that the input locking circuit controls the locking enabling of the direct current input interface according to the input locking signal.
Optionally, if the dc outlet further includes: an output lock circuit; the method further comprises the following steps:
judging whether the output current meets a preset output locking condition or not;
if the output locking condition is met, an output locking signal is output to the output locking circuit, so that the output locking circuit controls the direct current output interface to be locked and enabled according to the output locking signal.
In a third aspect, an embodiment of the present application further provides a dc outlet control device, where the device includes:
the first voltage acquisition module is used for acquiring the input voltage sampled by the input voltage sampling circuit and the input soft start voltage sampled by the input soft start voltage sampling circuit;
the first judgment module is used for judging whether the direct current input interface meets a first preset soft start condition or not according to the input voltage and the input soft start voltage;
and the first control module is used for controlling the direct current input interface to complete soft start through the input soft start circuit if the direct current input interface meets the first preset soft start condition.
Optionally, the apparatus further comprises:
the second voltage acquisition module is used for acquiring the output soft start voltage sampled by the output soft start voltage sampling circuit;
the second judging module is used for judging whether the direct current output interface meets a second preset soft start condition or not according to the input soft start voltage and the output soft start voltage;
and the second control module is used for controlling the direct current output interface to complete soft start through the output soft start circuit if the direct current output interface meets the second preset soft start condition.
Optionally, if the dc outlet further includes: a current sampling circuit and a position detection circuit; the device further comprises:
the locking information acquisition module is used for acquiring the initial state of the main control switch, the output current sampled by the current sampling circuit and the position information of the direct current output interface sampled by the position detection circuit;
and the locking control module is used for controlling the locking of the main control switch to be disabled according to the initial state of the main control switch, the output current and the position information.
Optionally, if the dc outlet further includes: an input lock-up circuit; the device further comprises:
the third judgment module is used for judging whether the output current meets a preset input locking condition or not;
and the third control module is used for outputting an input locking signal to the input locking circuit if the input locking condition is met, so that the input locking circuit controls the locking enabling of the direct current input interface according to the input locking signal.
Optionally, if the dc outlet further includes: an output lock circuit; the device further comprises:
the fourth judging module is used for judging whether the output current meets a preset output locking condition or not;
and the fourth control module is used for outputting an output locking signal to the output locking circuit if the output locking condition is met, so that the output locking circuit controls the locking enabling of the direct current output interface according to the output locking signal.
In a fourth aspect, an embodiment of the present application further provides a controller, including: the controller comprises a processor, a storage medium and a bus, wherein the storage medium stores program instructions executable by the processor, when the controller runs, the processor and the storage medium communicate through the bus, and the processor executes the program instructions to execute the steps of the direct current socket control method.
In a fifth aspect, an embodiment of the present application further provides a storage medium, where the storage medium stores program instructions, and the program instructions are executed by a processor to perform any of the steps of the dc outlet control method described above.
The beneficial effect of this application is:
the application provides a direct current socket and a direct current socket control method, wherein, the direct current socket includes: the direct current input interface, the input soft start circuit, the master switch, the direct current output interface, the input voltage sampling circuit, the input soft start voltage sampling circuit and the controller collect input voltage through the input voltage sampling circuit and collect input soft start voltage through the input soft start circuit sampling circuit; judging whether the direct current input interface meets a first preset soft start condition or not according to the input voltage and the input soft start voltage; and if the direct current input interface meets the first preset soft start condition, controlling the direct current input interface to complete soft start through the input soft start circuit. Through the scheme that this application provided, can judge whether the direct current input interface satisfies first soft start condition of predetermineeing according to input voltage and input soft start voltage to control direct current input interface and accomplish soft start when satisfying the condition, avoid direct current input interface to strike and draw the arc problem in pulling out the in-process of inserting, make the direct current socket safer in the use.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention.
Thus, the following detailed description of the embodiments of the present application, presented in the accompanying drawings, is not intended to limit the scope of the claimed application, but is merely representative of selected embodiments of the application. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
In the description of the present application, it should be noted that if the terms "upper", "lower", etc. are used for indicating the orientation or positional relationship based on the orientation or positional relationship shown in the drawings or the orientation or positional relationship which is usually arranged when the product of the application is used, the description is only for convenience of describing the application and simplifying the description, but the indication or suggestion that the referred device or element must have a specific orientation, be constructed in a specific orientation and operation, and thus, cannot be understood as the limitation of the application.
Furthermore, the terms "first," "second," and the like in the description and in the claims, as well as in the drawings, are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the invention described herein are capable of operation in sequences other than those illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
It should be noted that the features of the embodiments of the present application may be combined with each other without conflict.
Fig. 1 is a schematic structural diagram of a first dc socket according to an embodiment of the present disclosure; as shown in fig. 1, the dc outlet includes: the controller comprises a direct current input interface 100, an input soft start circuit 200, a main control switch 300, a direct current output interface 400, an input voltage sampling circuit 501, an input soft start voltage sampling circuit 502 and the controller 10.
The direct current input interface 100 is electrically connected with the input end of the input soft start circuit 200; the output end of the input soft start circuit 200 is electrically connected with the direct current output interface 400 through the main control switch 300; the input end of the input voltage sampling circuit 501 is electrically connected to an input voltage sampling point to collect an input voltage, and the input voltage sampling point is located between the dc input interface 100 and the input end of the input soft start circuit 200.
The input end of the input soft start voltage sampling circuit 502 is electrically connected to the input soft start voltage sampling point to collect the input soft start voltage, and the input soft start voltage sampling point is located between the output end of the input soft start circuit 200 and the main control switch.
The output end of the input voltage sampling circuit 501 and the output end of the input soft-start voltage sampling circuit 502 are both electrically connected to the input end of the controller 10, so that the controller 10 determines whether the dc input interface 100 meets the first preset soft-start condition according to the input voltage and the input soft-start voltage.
A first output terminal of the controller 10 is electrically connected to a control terminal of the input soft-start circuit 200, so that the input soft-start circuit 200 controls the dc input interface 100 to complete soft-start when the dc input interface 100 is determined to meet the first preset soft-start condition.
It should be noted that the controller 10 provided in the embodiment of the present application may be a microprocessor, a micro control unit, or a single chip, or may also be other processing components having data processing and control functions, which is not limited in the embodiment of the present application.
Specifically, the dc input interface 100 is an interface electrically connected to a dc power supply in a dc socket to input the dc power supply; the dc output interface 400 is an interface in the dc outlet that is electrically connected to the electrical load to supply power to the electrical load. The input end of the input soft start circuit 200 is electrically connected to the dc input interface 100 to control the voltage in the dc socket to slowly increase to the voltage of the dc power supply. The main switch 300 is disposed between the input soft start circuit 200 and the dc output interface 400, so as to control whether the dc power supply can supply power to the electrical load when the dc input interface 100 is connected to the dc power supply and the dc output interface 400 is connected to the electrical load. When the main switch 300 is turned off, the dc input interface 100 is disconnected from the dc output interface 400, and even if the dc input interface 100 is connected to a dc power supply and the dc output interface 400 is connected to an electric load, the dc power supply cannot supply power to the electric load.
The input end of the input voltage sampling circuit 501 is electrically connected between the dc input interface 100 and the input end of the input soft start circuit 200 to collect the input voltage Uin of the dc socket, and the output end of the input voltage sampling circuit 501 is electrically connected to the input end of the controller 10 to send the collected input voltage Uin to the controller 10.
The input end of the input soft start voltage sampling circuit 502 is electrically connected between the output end of the input soft start circuit 200 and the main control switch 300 to collect the input soft start voltage Uss _ in of the input soft start circuit 200, the output end of the input soft start voltage sampling circuit 502 is electrically connected with the input end of the controller 10, and the collected input soft start voltage Uss _ in is sent to the controller 10.
The controller 10 may calculate a first voltage difference Uin-Uss _ in between the input voltage Uin and the input soft-start voltage Uss _ in, and determine whether the first voltage difference Uin-Uss _ in is smaller than a preset input soft-start deviation Uset _ sin. If the first voltage difference Uin-Uss _ in is smaller than the input soft start deviation Uset _ ssin, the controller 10 may determine that the dc input interface 100 meets a first preset soft start condition, and the controller 10 controls the dc input interface 100 to complete soft start through the input soft start circuit 200, so that the dc input interface 100 is conducted with the main switch 300.
In an alternative embodiment, if the first voltage difference Uin-Uss _ in is greater than or equal to the input soft start offset Uset _ ssin, the controller 10 may determine that the dc input interface 100 does not satisfy the first preset soft start condition. When the dc input interface 100 does not satisfy the first predetermined soft start condition, the controller 10 starts timing, and if the timing time exceeds the predetermined time, the controller 10 may determine that the dc input interface 100 fails to soft start. If the soft start of the dc input interface 100 fails, it indicates that the dc socket is abnormal, and the dc socket needs to be replaced.
The embodiment of the application provides a direct current socket, through the input voltage sampling circuit input voltage of gathering the direct current input interface, through the soft start voltage sampling circuit input soft start voltage of gathering the soft start circuit of input, the controller judges whether the direct current input interface satisfies first soft start condition of predetermineeing according to input voltage and the soft start voltage of input, with under the circumstances that confirms that the direct current input interface satisfies first soft start condition of predetermineeing, accomplish soft start through the soft start circuit control direct current input interface of input. Through the direct current socket that this application embodiment provided, can judge whether the direct current input interface satisfies first soft start condition of predetermineeing according to input voltage and input soft start voltage to control direct current input interface and accomplish soft start when satisfying the condition, avoid direct current input interface to appear strikeing and draw the arc problem at pulling out the in-process of inserting, make direct current socket safer in the use.
On the basis of the foregoing embodiments, an embodiment of the present application further provides a dc socket, fig. 2 is a schematic structural diagram of a second dc socket provided in the embodiment of the present application, and as shown in fig. 2, the input soft start circuit 200 includes: a first resistor R1, a first switch S1, and a first capacitor C1; a first end of the first switch S1 is electrically connected to the dc input interface 100, a second end of the first switch S1 is electrically connected to the main control switch 300, a first resistor R1 is connected in parallel to two sides of the first switch S1, one end of the first capacitor C1 is electrically connected to the second end of the first switch S1, and the other end of the first capacitor C1 is grounded.
The input end of the input soft-start circuit 200 is a first end of a first switch S1, the output end of the input soft-start circuit 200 is a second end of a first switch S1, the sampling points of the input soft-start voltage are two ends of a first capacitor C1, and the control end of the input soft-start circuit 200 is a control end of a first switch S1.
In the dc outlet provided in this embodiment, the input soft-start circuit 200 may be composed of a first resistor R1, a first switch S1, and a first capacitor C1. The initial state of the first switch S1 is off, when the dc input interface 100 is electrically connected to the dc power supply and the main control switch 300 is turned on, the dc power supply charges the first capacitor C1 slowly through the first resistor R1, the voltage across the first capacitor C1 rises slowly, and the input soft-start voltage sampling circuit 502 collects the input soft-start voltage Uss _ in across the first capacitor C1.
When the controller 10 calculates that the first voltage difference Uin-Uss _ in is smaller than the input soft start deviation Uset _ ssin, the controller 10 may determine that the dc input interface 100 satisfies the first preset soft start condition, and the controller 10 controls the first switch S1 to be closed, so that the dc input interface 100 is successfully soft started.
The direct current socket that this application embodiment provided, input soft start circuit includes: the controller judges whether the direct current input interface meets a first preset soft start condition according to the input voltage and the input soft start voltage, and controls the direct current input interface to complete soft start through the input soft start circuit under the condition that the direct current input interface meets the first preset soft start condition. Through the direct current socket that this application embodiment provided, accomplish soft start through the soft start circuit control direct current input interface of input, avoid direct current input interface to appear strikeing and draw the arc problem pulling out the in-process of inserting, make direct current socket under the safer prerequisite in the use, still through first resistance, first switch to and first electric capacity constitute the soft start circuit of input, make the simple structure of the soft start circuit of input, can reduce direct current socket's cost.
On the basis of the foregoing embodiments, an embodiment of the present application further provides a dc outlet, and fig. 3 is a schematic structural diagram of a third dc outlet provided in the embodiment of the present application, and as shown in fig. 3, the dc outlet further includes: an output soft start circuit 600, and an output soft start voltage sampling circuit 700.
The input end of the output soft start circuit 600 is electrically connected with the main control switch 300, the output end of the output soft start circuit 600 is electrically connected with the direct current output interface 400, and the input end of the output soft start voltage sampling circuit 700 is electrically connected with the output soft start voltage sampling point of the output soft start circuit 600 so as to collect the output soft start voltage.
The output end of the output soft start voltage sampling circuit 700 is electrically connected to the controller 10, so that the controller 10 determines whether the dc output interface 400 meets the second preset soft start condition according to the input soft start voltage and the output soft start voltage.
The second output terminal of the controller 10 is further electrically connected to the control terminal of the output soft start circuit 600, so that the output soft start circuit 600 controls the dc output interface 400 to complete soft start when it is determined that the dc output interface 400 meets the second preset soft start condition.
Specifically, the output end of the output soft start circuit 600 is electrically connected to the dc output interface 400 to control the voltage at the two ends of the electrical load to slowly rise and the voltage at the two ends of the electrical load will not change suddenly during the plugging/unplugging process.
The input end of the output soft start voltage sampling circuit 700 is electrically connected between the output end of the input soft start circuit 600 and the dc output interface 400 to collect the output soft start voltage us _ out of the output soft start circuit 600, the output end of the output soft start voltage sampling circuit 700 is electrically connected to the input end of the controller 10, and the collected output soft start voltage us _ out is sent to the controller 10.
The controller 10 may calculate a second voltage difference us _ in-us _ out between the input soft-start voltage us _ in and the output soft-start voltage us _ out, and determine whether the second voltage difference us _ in-us _ out is smaller than a predetermined output soft-start deviation Uset _ ssout. If the second voltage difference Uss _ in-Uss _ out is smaller than the output soft start deviation Uset _ ssout, the controller 10 may determine that the dc output interface 400 meets the second predetermined soft start condition, and the controller 10 controls the dc output interface 400 to complete soft start through the output soft start circuit 600, so that the dc output interface 400 is conducted with the main control switch.
In an alternative embodiment, if the second voltage difference us _ in-us _ out is greater than or equal to the output soft start deviation Uset _ ssout, the controller 10 may determine that the dc output interface 400 does not satisfy the second predetermined soft start condition. When the dc output interface 400 does not satisfy the second predetermined soft start condition, the controller 10 may start timing, and if the timing time exceeds the predetermined time, the controller 10 may determine that the dc output interface 400 fails in soft start. If the soft start of the dc output interface 400 fails, it indicates that the dc socket is abnormal, and the dc socket needs to be replaced.
The direct current socket provided by the embodiment of the application, the output soft start voltage of the output soft start circuit is collected through the output soft start voltage sampling circuit, the controller judges whether the direct current output interface meets the second preset soft start condition according to the input soft start voltage and the output soft start voltage, so that under the condition that the direct current output interface meets the second preset soft start condition, the direct current output interface is controlled through the output soft start circuit to complete soft start, through the direct current socket provided by the embodiment of the application, whether the direct current output interface meets the second preset soft start condition can be judged according to the input soft start voltage and the output soft start voltage, and the direct current output interface is controlled to complete soft start when the conditions are met, the problems of impact and arc discharge of the direct current output interface in the plugging and unplugging process are avoided, and the direct current socket is safer in the use process.
On the basis of the foregoing embodiments, an embodiment of the present application further provides a dc socket, fig. 4 is a schematic structural diagram of a fourth dc socket provided in the embodiment of the present application, and as shown in fig. 4, the output soft start circuit 600 includes: a second resistor R2, a second switch S2, and a second capacitor C2; a first end of the second switch S2 is electrically connected to the main control switch 300, a second end of the second switch S2 is electrically connected to the dc output interface 400, a second resistor R2 is connected in parallel to two sides of the second switch S2, one end of the second capacitor C2 is electrically connected to the second end of the second switch S2, and the other end of the second capacitor C2 is grounded.
The input end of the output soft start circuit 600 is a first end of the second switch S2, the output end of the output soft start circuit 600 is a second end of the second switch S2, sampling points of the output soft start voltage are two ends of the second capacitor C2, and the control end of the output soft start circuit 600 is a control end of the second switch S2.
In the dc outlet provided in this embodiment, the output soft-start circuit 600 may be composed of a second resistor R2, a second switch S2, and a second capacitor C2. The initial state of the second switch S2 is off, when the main control switch 300 is turned on and the dc output interface is connected to the electrical load, the dc power supply charges the second capacitor C2 slowly through the second resistor R2, the voltage across the second capacitor C2 rises slowly, and the output soft-start voltage sampling circuit 700 collects the output soft-start voltage Uss _ out across the second capacitor C2.
When the controller 10 calculates that the second voltage difference us _ in-us _ out is smaller than the output soft start deviation Uset _ ssout, the controller 10 may determine that the dc output interface 400 satisfies the second predetermined soft start condition, and the controller 10 controls the second switch S2 to be closed, so that the dc output interface 400 is successfully soft started.
The dc socket that this application embodiment provided, output soft start circuit includes: the second resistor, the second switch and the second capacitor are used for collecting output soft start voltages at two ends of the second capacitor through the output soft start voltage sampling circuit, so that the controller judges whether the direct current output interface meets a second preset soft start condition or not according to the input soft start voltage and the output soft start voltage, and under the condition that the direct current output interface meets the second preset soft start condition, the direct current output interface is controlled through the output soft start circuit to complete soft start. Through the direct current socket that this application embodiment provided, accomplish the soft start through output soft start circuit control direct current output interface, avoid direct current output interface to appear strikeing and draw the arc problem pulling out the in-process of inserting, make direct current socket under the safer prerequisite in the use, still through second resistance, second switch to and the output soft start circuit that the second electric capacity constitutes, make output soft start circuit's simple structure, can reduce direct current socket's cost.
On the basis of any one of the above embodiments, an embodiment of the present application further provides a dc outlet, fig. 5 is a schematic structural diagram of a fifth dc outlet provided in the embodiment of the present application, and as shown in fig. 5, the dc outlet further includes: the current sampling circuit 800 and the position detection circuit 900, the input end of the current sampling circuit 800 is electrically connected with a current sampling point, and the current sampling point is located between the output end of the input soft start circuit 200 and the main control switch 300 to collect the output current.
The input end of the position detection circuit 900 is electrically connected to the detection end of the dc output interface 400 to detect the position information of the dc output interface 400; the outputs of the current sampling circuit 800 and the position detection circuit 900 are electrically connected to the input of the controller 10, so that the controller 10 can obtain the output current and the position information.
The third output terminal of the controller 10 is electrically connected to the control terminal of the main control switch 300 to obtain the initial state, the output current and the position information of the main control switch 300, and control the main control switch 300 to be locked and disabled.
Specifically, a current sensing device is electrically connected between the output end of the input soft start circuit 200 and the main control switch 300, the current sensing device serves as a current sampling point, and the current sampling circuit 800 is electrically connected to the current sensing device to collect an output current Iout flowing through the current sensing device.
For example, the current sensing device may be a current sensor, such as a hall current sensor, or may be a shunt, such as a resistor, which is not limited in this application.
The position information of the dc output interface 400 is a connection state between the dc output interface 400 and the electrical load, and the connection state includes: connected, or disconnected. The master switch 300 being locked out indicates that the state of the master switch 300 may be switched, for example: when the initial state of the main control switch 300 is off, the controller 10 may control the main control switch 300 to be on; when the initial state of the main control switch 300 is closed, the controller 10 may control the main control switch 300 to be turned off; the main control switch 300 lock enable indicates that the state of the main control switch 300 may not be switched.
The working principle of the embodiment of the application is as follows:
a third output terminal of the controller 10 is electrically connected to the control terminal of the main control switch 300, the current sampling circuit 800 sends the collected output current Iout to the controller 10, and the position detection circuit 900 sends the detected position information of the dc output interface 400 to the controller 10.
When the controller 10 detects that the initial state of the main control switch 300 is closed and the controller 10 detects that the output current Iout is smaller than the preset locking current Iset, the controller 10 may control the main control switch 300 to be turned off, that is, the dc power supply stops supplying power to the power load, and the dc output interface 400 does not generate impact and arcing problems during plugging and unplugging.
When the controller 10 detects that the initial state of the main control switch 300 is open, in order to avoid the problem of impact or arc discharge at the dc output interface 400 when the main control switch 300 is closed, the position information of the dc output interface 400 must be detected as: the connection state of the dc output interface 400 and the electrical load is connection, and the controller 10 can control the main switch 300 to be turned on.
When the output current Iout is detected to be greater than or equal to the locking current Iset or the direct current output interface 400 is not electrically connected with the electric load, the locking of the main control switch 300 is enabled, and the state of the main control switch 300 cannot be switched.
The direct current socket that this application embodiment provided gathers the output current between the output of input soft start circuit and the master switch through current sampling circuit, detects the positional information of direct current output interface through position detection circuit for the controller judges whether direct current output interface connects the power consumption load according to positional information, and according to output current with control master switch locking under the condition of power consumption load is connected to direct current output interface electricity and can not enable. Through the direct current socket that this application embodiment provided, can avoid direct current output interface's that the circular telegram arouses when direct current output interface is not connected with the power consumption load impact and draw the arc problem, the impact and the arc problem that the disconnection master switch arouses when the electric current of avoiding direct current output interface is greater than or equal to locking current make direct current socket safer in the use.
On the basis of any one of the foregoing embodiments, an embodiment of the present application further provides a dc outlet, fig. 6 is a schematic structural diagram of a sixth dc outlet provided in the embodiment of the present application, and as shown in fig. 6, the dc outlet further includes: an input lock circuit 20; the input end of the input locking circuit 20 is electrically connected to the fourth output end of the controller 10, so that the controller 10 outputs an input locking signal to the input locking circuit 20 when the output current is determined to meet the preset input locking condition;
the output terminal of the input lock circuit 20 is electrically connected to the control terminal of the dc input interface 100 to control the lock enable of the dc input interface 100 according to the input lock signal.
Specifically, the input locking circuit 20 is an electrically-driven mechanical structure, the preset input locking condition is that the output current Iout is greater than or equal to the locking current Iset, if the output current meets the preset input locking condition, that is, the output current Iout is greater than or equal to the locking current Iset, the current in the dc socket is too large, in order to avoid the problem of impact or arc discharge caused by pulling and inserting the dc input interface 100 at this time, the controller 10 sends an input locking signal to the input locking circuit 20, so that the mechanical structure of the input locking circuit 30 is locked, and the dc input interface 100 cannot be pulled and inserted.
On the basis of any of the above embodiments, an embodiment of the present application further provides a dc outlet, as shown in fig. 6, the dc outlet further includes: an output lock circuit 30; the input end of the output locking circuit 30 is electrically connected to the fifth output end of the controller 10, so that the controller 10 outputs an output locking signal to the output locking circuit when the output current is judged to meet the preset output locking condition;
the output end of the output locking circuit 30 is electrically connected to the control end of the dc output interface 400, so as to control the locking enable of the dc output interface 400 according to the output locking signal.
Specifically, the output locking circuit 30 is a mechanical structure driven by electricity, the preset output locking condition is that the output current Iout is greater than or equal to the locking current Iset, if the output current meets the preset output locking condition, that is, the output current Iout is greater than or equal to the locking current Iset, the current in the dc socket is too large, in order to avoid the problem of impact or arc discharge caused by plugging and unplugging the dc output interface 400 at this time, the controller 10 sends an output locking signal to the output locking circuit 30, so that the mechanical structure of the output locking circuit 30 is locked, and the dc output interface 400 cannot be plugged and unplugged.
According to the direct current socket provided by the embodiment of the application, the controller judges that the input locking signal is output to the input locking circuit to enable the direct current input interface to be locked and enabled under the condition that the output current meets the preset input locking condition, and the controller judges that the output locking signal is output to the output locking circuit to enable the direct current output interface to be locked and enabled under the condition that the output current meets the preset output locking condition. Through the direct current socket that this application embodiment provided, can carry out the locking to direct current input interface and direct current output interface when output current satisfies the locking condition, avoid directly pulling out direct current input interface and direct current output interface and insert and arouse impact and draw the arc problem, make direct current socket safer in the use.
On the basis of the foregoing embodiments, an embodiment of the present application further provides a dc outlet control method, and fig. 7 is a flowchart illustrating the first dc outlet control method provided in the embodiment of the present application, and as shown in fig. 7, the method may include:
s101: and acquiring the input voltage sampled by the input voltage sampling circuit and the input soft start voltage sampled by the input soft start voltage sampling circuit.
Specifically, the input end of the controller 10 is electrically connected to the output end of the input voltage sampling circuit 501 and the output end of the input soft-start voltage sampling circuit 502 respectively, so as to obtain the input voltage Uin sampled by the input voltage sampling circuit 501 and the input soft-start voltage Uss _ in sampled by the input soft-start voltage sampling circuit 502.
S102: and judging whether the direct current input interface meets a first preset soft start condition or not according to the input voltage and the input soft start voltage.
Specifically, the controller 10 may calculate a first voltage difference Uin-Uss _ in between the input voltage Uin and the input soft-start voltage Uss _ in, and determine whether the first voltage difference Uin-Uss _ in is smaller than the input soft-start deviation Uset _ sin.
S103: and if the direct current input interface meets the first preset soft start condition, controlling the direct current input interface to complete soft start through the input soft start circuit.
Specifically, if the first voltage difference Uin-Uss _ in is smaller than the input soft start deviation Uset _ ssin, the controller 10 may determine that the dc input interface 100 meets the first preset soft start condition, and the controller 10 controls the dc input interface 100 to complete soft start through the input soft start circuit 200, so that the dc input interface 100 is conducted with the main switch 300.
If the first voltage difference Uin-Uss _ in is greater than or equal to the input soft start offset Uset _ ssin, the controller 10 may determine that the dc input interface 100 does not satisfy the first predetermined soft start condition. When the dc input interface 100 does not satisfy the first predetermined soft start condition, the controller 10 starts timing, and if the timing time exceeds the predetermined time, the controller 10 may determine that the dc input interface 100 fails to soft start. If the soft start of the dc input interface 100 fails, it indicates that the dc socket is abnormal, and the dc socket needs to be replaced.
According to the direct current socket control method provided by the embodiment of the application, whether the direct current input interface meets the first preset soft start condition or not is judged by acquiring the input voltage sampled by the input voltage sampling circuit and the input soft start voltage sampled by the input soft start voltage sampling circuit, and if the direct current input interface meets the first preset soft start condition, the soft start is completed through the input soft start circuit hole direct current input interface. By the control method provided by the embodiment of the application, the direct current input interface can be controlled to complete soft start, the problems of impact and arc discharge of the direct current input interface in the plugging and unplugging process are avoided, and the direct current socket is safer in the using process.
On the basis of the foregoing embodiments, an embodiment of the present application further provides a dc outlet control method, and fig. 8 is a flowchart illustrating a second dc outlet control method provided in the embodiment of the present application, and as shown in fig. 8, the method may further include:
s201: and acquiring the output soft start voltage sampled by the output soft start voltage sampling circuit.
Specifically, the input end of the controller 10 is further electrically connected to the output soft-start voltage sampling circuit 700 to obtain the output soft-start voltage us _ out sampled by the output soft-start voltage sampling circuit.
S202: and judging whether the direct current output interface meets a second preset soft start condition or not according to the input soft start voltage and the output soft start voltage.
Specifically, the controller 10 may calculate a second voltage difference us _ in-us _ out between the input soft-start voltage us _ in and the output soft-start voltage us _ out, and determine whether the second voltage difference us _ in-us _ out is smaller than a predetermined output soft-start deviation Uset _ ssout.
S203: and if the direct current output interface meets the second preset soft start condition, controlling the direct current output interface to complete soft start through the output soft start circuit.
Specifically, if the second voltage difference Uss _ in-Uss _ out is smaller than the output soft start offset Uset _ ssout, the controller 10 may determine that the dc output interface 400 meets the second preset soft start condition, and the controller 10 controls the dc output interface 400 to complete soft start through the output soft start circuit 600, so that the dc output interface 400 is conducted with the main control switch.
If the second voltage difference Uss _ in-Uss _ out is greater than or equal to the output soft start deviation Uset _ ssout, the controller 10 may determine that the dc output interface 400 does not satisfy the second predetermined soft start condition. When the dc output interface 400 does not satisfy the second predetermined soft start condition, the controller 10 may start timing, and if the timing time exceeds the predetermined time, the controller 10 may determine that the dc output interface 400 fails in soft start. If the soft start of the dc output interface 400 fails, it indicates that the dc socket is abnormal, and the dc socket needs to be replaced.
According to the direct current socket control method provided by the embodiment of the application, the output soft start voltage sampled by the output soft start voltage sampling circuit is obtained, whether the direct current output interface meets the second preset soft start condition or not is judged according to the input soft start voltage and the output soft start voltage, and if the direct current output interface meets the second preset soft start condition, the direct current output interface is controlled by the output soft start circuit to complete soft start. By the control method provided by the embodiment of the application, the direct current output interface can be controlled to complete soft start, the problems of impact and arc discharge of the direct current output interface in the plugging and unplugging process are avoided, and the direct current socket is safer in the using process.
On the basis of the foregoing embodiments, an embodiment of the present application further provides a dc outlet control method, and fig. 9 is a flowchart illustrating a third dc outlet control method provided in the embodiment of the present application, as shown in fig. 9, if the dc outlet further includes: a current sampling circuit and a position detection circuit; the method may further comprise:
s301: and acquiring the initial state of the main control switch, the output current sampled by the current sampling circuit and the position information of the direct current output interface sampled by the position detection circuit.
Specifically, the third output terminal of the controller 10 is electrically connected to the control terminal of the main control switch 300 to obtain the initial state of the main control switch 300, and the initial state of the main control switch 300 is on or off; the input end of the controller 10 is further electrically connected to the output end of the current sampling circuit 800 and the output end of the position detection circuit 900, respectively, so as to obtain the output current Iout sampled by the current sampling circuit 800 and the position information of the dc output interface adopted by the position detection circuit, where the position information of the dc output interface is used to indicate the connection state between the dc output interface and the power consumption load, where the connection state is: connected, or disconnected.
S302: and controlling the locking of the main control switch to be disabled according to the initial state, the output current and the position information of the main control switch.
Specifically, the locking of the main control switch 300 does not enable the state of the main control switch 300 to be switched, for example, when the initial state of the main control switch 300 is off, the controller 10 may control the main control switch 300 to be closed; when the initial state of the main control switch 300 is closed, the controller 10 may control the main control switch 300 to be turned off; the main control switch 300 lock enable indicates that the state of the main control switch 300 may not be switched.
When the controller 10 detects that the initial state of the main control switch 300 is closed and the controller 10 determines that the output current Iout is smaller than the locking current Iset, the controller 10 may control the main control switch 300 to be disabled, that is, the state of the main control switch 300 may be switched from closed to open, and the dc output interface 400 does not generate impact and arcing problems during plugging and unplugging.
When the controller 10 detects that the initial state of the main control switch 300 is open, in order to avoid the problem of impact or arc discharge at the dc output interface 400 when the main control switch 300 is closed, the position information of the dc output interface 400 must be detected as: the connection state of the dc output interface 400 and the electrical load is connection, and at this time, the controller 10 may control the main control switch 300 to be locked and disabled, that is, the state of the main control switch 300 may be switched from off to on.
In an alternative embodiment, if it is detected that the output current Iout is greater than or equal to the locking current Iset, or the dc output interface 400 is not electrically connected to the electrical load, the controller 10 controls the main control switch 300 to be locked and enabled, and the state of the main control switch 300 may not be switched.
According to the direct current socket control method provided by the embodiment of the application, the initial state of the main control switch, the output current sampled by the current sampling circuit and the position information of the direct current output interface sampled by the position detection circuit are obtained, and the main control switch is controlled to be locked and not enabled according to the initial state, the output current and the position information of the main control switch. By the control method provided by the embodiment of the application, whether the state of the main control switch is changed or not can be controlled according to the initial state, the output current and the position information of the main control switch, the problems of impact and arc discharge of a direct current output interface caused by random change of the state of the main control switch are avoided, and the direct current socket is safer in the use process.
On the basis of the foregoing embodiments, an embodiment of the present application further provides a dc outlet control method, and fig. 10 is a flowchart illustrating a fourth dc outlet control method provided in the embodiment of the present application, as shown in fig. 10, if the dc outlet further includes: an input lock-up circuit; the method may further comprise:
s401: and judging whether the output current meets a preset input locking condition or not.
Specifically, the preset input locking condition is as follows: the output current Iout is greater than or equal to the locking current Iset, and in order to avoid the problem of impact or arc discharge caused by plugging and unplugging the dc input interface 100 when the output current Iout is greater than or equal to the locking current Iset, the controller 10 needs to determine whether the output current is greater than or equal to the locking current Iset.
S402: and if the input locking condition is met, outputting an input locking signal to the input locking circuit, so that the input locking circuit controls the direct-current input interface to be locked and enabled according to the input locking signal.
Specifically, if the output current Iout is greater than or equal to the lock-up current Iset, the output current Iout satisfies the preset input lock-up condition, the controller 10 outputs an input lock-up signal to the input lock-up circuit 20, and the input lock-up circuit 20 enables the lock-up of the dc input interface 100 according to the input lock-up signal, so that the dc input interface 100 cannot be plugged or unplugged. For example, the input locking circuit 20 may be an electrically-driven mechanical structure that locks the dc input interface 100 when the input locking circuit 20 receives the input locking signal.
According to the direct current socket control method provided by the embodiment of the application, whether the output current meets the preset input locking condition or not is judged, and if the output current meets the input locking condition, the input locking signal is output to the input locking circuit, so that the input locking circuit controls the direct current input interface to be locked and enabled according to the input locking signal. Through the control method provided by the embodiment of the application, when the output current in the direct current socket is large, the direct current input interface can be locked and enabled, the problem of impact or arc discharge caused when the output current is large when the direct current input interface is plugged is avoided, and the direct current socket is safer in the using process.
On the basis of the foregoing embodiments, an embodiment of the present application further provides a dc outlet control method, and fig. 11 is a flowchart illustrating a fifth dc outlet control method provided in the embodiment of the present application, as shown in fig. 11, if the dc outlet further includes: an output lock circuit; the method may further comprise:
s501: and judging whether the output current meets a preset output locking condition or not.
Specifically, the preset output lock-up condition is as follows: the output current Iout is greater than or equal to the locking current Iset, and in order to avoid the problem of impact or arc discharge caused by plugging and unplugging the dc output interface 400 when the output current Iout is greater than or equal to the locking current Iset, the controller 10 needs to determine whether the output current is greater than or equal to the locking current Iset.
S502: if the output locking condition is met, an output locking signal is output to the output locking circuit, so that the output locking circuit controls the direct current output interface to be locked and enabled according to the output locking signal.
Specifically, if the output current Iout is greater than or equal to the lock-up current Iset, the output current Iout satisfies the preset output lock-up condition, the controller 10 outputs an output lock-up signal to the output lock-up circuit 20, and the output lock-up circuit 30 locks up and enables the dc output interface 400 according to the output lock-up signal, so that the dc output interface 400 cannot be plugged or unplugged. For example, the output locking circuit 30 may be an electrically-driven mechanical structure, which locks the dc output interface 400 after the output locking circuit 30 receives the output locking signal.
According to the direct current socket control method provided by the embodiment of the application, whether the output current meets the preset output locking condition or not is judged, and if the output locking condition is met, the output locking signal is output to the output locking circuit, so that the output locking circuit controls the direct current output interface to be locked and enabled according to the output locking signal. Through the control method provided by the embodiment of the application, when the output current in the direct current socket is large, the direct current output interface can be locked and enabled, the problem of impact or arc discharge caused when the output current is large when the direct current output interface is plugged is avoided, and the direct current socket is safer in the using process.
On the basis of the foregoing embodiments, an embodiment of the present application further provides a dc outlet control device, and fig. 12 is a schematic structural diagram of the dc outlet control device provided in the embodiment of the present application, and as shown in fig. 12, the device includes:
a first voltage obtaining module 1000, configured to obtain an input voltage sampled by the input voltage sampling circuit and an input soft start voltage sampled by the input soft start voltage sampling circuit;
the first judging module 2000 is configured to judge whether the dc input interface meets a first preset soft start condition according to the input voltage and the input soft start voltage;
the first control module 3000 is configured to control the dc input interface to complete soft start through the input soft start circuit if the dc input interface meets the first preset soft start condition.
Optionally, the apparatus further comprises:
the second voltage acquisition module is used for acquiring the output soft start voltage sampled by the output soft start voltage sampling circuit;
the second judgment module is used for judging whether the direct current output interface meets a second preset soft start condition or not according to the input soft start voltage and the output soft start voltage;
and the second control module is used for controlling the direct current output interface to complete soft start through the output soft start circuit if the direct current output interface meets a second preset soft start condition.
Optionally, if the dc jack further includes: a current sampling circuit and a position detection circuit; the device also includes:
the locking information acquisition module is used for acquiring the initial state of the master switch, the output current sampled by the current sampling circuit and the position information of the direct current output interface sampled by the position detection circuit;
and the locking control module is used for controlling the locking of the main control switch to be disabled according to the initial state, the output current and the position information of the main control switch.
Optionally, if the dc jack further includes: an input lock-up circuit; the device also includes:
the third judgment module is used for judging whether the output current meets a preset input locking condition or not;
and the third control module is used for outputting an input locking signal to the input locking circuit if the input locking condition is met, so that the input locking circuit controls the locking enable of the direct-current input interface according to the input locking signal.
Optionally, if the dc jack further includes: an output lock circuit; the device also includes:
the fourth judging module is used for judging whether the output current meets a preset output locking condition or not;
and the fourth control module is used for outputting an output locking signal to the output locking circuit if the output locking condition is met, so that the output locking circuit controls the locking enabling of the direct current output interface according to the output locking signal.
The above-mentioned apparatus is used for executing the method provided by the foregoing embodiment, and the implementation principle and technical effect are similar, which are not described herein again.
These above modules may be one or more integrated circuits configured to implement the above methods, such as: one or more Application Specific Integrated Circuits (ASICs), or one or more microprocessors (DSPs), or one or more Field Programmable Gate Arrays (FPGAs), among others. For another example, when one of the above modules is implemented in the form of a Processing element scheduler code, the Processing element may be a general-purpose processor, such as a Central Processing Unit (CPU) or other processor capable of calling program code. For another example, these modules may be integrated together and implemented in the form of a system-on-a-chip (SOC).
Fig. 13 is a schematic diagram of a controller provided in an embodiment of the present application, and as shown in fig. 13, the controller 10 includes: a processor 11, a storage medium 12 and a bus, the storage medium 12 storing program instructions executable by the processor 11, the processor 11 communicating with the storage medium 12 via the bus when the controller 10 is running, the processor 11 executing the program instructions to perform the above-mentioned method embodiments. The specific implementation and technical effects are similar, and are not described herein again.
Optionally, the present invention further provides a storage medium, on which program instructions are stored, and when the program instructions are executed by a processor, the program instructions are used to execute the above method embodiments.
In the embodiments provided in the present invention, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention 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 in a form of hardware plus a software functional unit.
The integrated unit implemented in the form of a software functional unit may be stored in a computer readable storage medium. The software functional unit is stored in a storage medium and includes several instructions to enable a computer device (which may be a personal computer, a server, or a network device) or a processor (processor) to execute some steps of the methods according to the embodiments of the present invention. And the aforementioned storage medium includes: a U disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention, and shall be covered by the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.