Disclosure of Invention
The present invention provides an intelligent socket, a charging control method and a computer readable storage medium, which control the charging duration and the charging amount of a shared charging socket in an intelligent charging manner to solve the problem of the control accuracy of the charging duration and the charging amount in the existing charging manner.
The technical scheme adopted by the invention for solving the technical problem is as follows:
in a first aspect, the present invention provides a smart jack, comprising: the system comprises a relay, a relay control unit, an SOC controller, a wireless communication module for receiving order information or control instructions sent by a cloud server and a sampling module for collecting power supply voltage and load current when the electric vehicle is charged;
the wireless communication module, the sampling module and the relay control unit are respectively connected with the SOC controller; the relay is connected with the relay control unit;
and the SOC controller sends a corresponding driving instruction to the relay control unit according to the order information, the power supply voltage and the load current, or sends a corresponding driving instruction to the relay control unit according to the control instruction, so that the on-off state of the relay is controlled through the relay control unit.
In one embodiment, the sampling module comprises: a voltage sampling unit and a current sampling unit;
when the electric vehicle is charged, one end of the voltage sampling unit is connected with a charging unit of the electric vehicle so as to collect power supply voltage when the electric vehicle is charged; the other end of the voltage sampling unit is connected with the SOC controller so as to send the collected power supply voltage to the SOC controller;
one end of the current sampling unit is connected with a charging unit of the electric vehicle so as to collect load current when the electric vehicle is charged; the other end of the current sampling unit is connected with the SOC controller so as to send the collected load current to the SOC controller.
In one embodiment, the SOC controller includes a meter, the SOC controller is connected with the voltage sampling unit through the meter, and the SOC controller is connected with the current sampling unit through the meter; the meter is used for metering the power supply voltage in the voltage sampling unit and the load current in the current sampling unit.
In one embodiment, the relay control unit includes: and the relay driving chip is connected with the relay so as to control the on-off state of the relay.
In a second aspect, the present invention provides a charging control method for a smart socket according to the first aspect, wherein the charging control method includes the following steps:
receiving the reserved closing time and the reserved opening time sent by the cloud server, and calculating the allowable charging time according to the reserved closing time and the reserved opening time;
acquiring the allowable charging electric quantity according to the allowable charging time;
monitoring the current charging quantity or the current charging duration of the electric vehicle, and entering a corresponding charging mode according to the current charging quantity or the current charging duration;
and controlling a relay to be powered off according to the charging mode.
In one embodiment, the monitoring the current charging amount or the current charging duration of the electric vehicle, and entering a corresponding charging mode according to the current charging amount or the current charging duration specifically includes:
acquiring charging parameters and current charging time when the electric vehicle is charged;
calculating the current charging electric quantity according to the charging parameters and the current charging time;
and entering a quantitative charging mode according to the current charging quantity or entering a timing charging mode according to the current charging duration.
In an embodiment, the obtaining of the charging parameter and the current charging duration when the electric vehicle is charged specifically includes:
acquiring the current charging time according to the reserved closing time and the current system time;
sampling the power supply voltage by a voltage sampling unit at a preset sampling frequency to obtain a power supply voltage sampling value, and sampling the load current by a current sampling unit at the preset sampling frequency to obtain a load current sampling value;
calculating active power of the electric vehicle during charging according to the power supply voltage sampling value and the load current sampling value;
and calculating the current charging electric quantity according to the active power and the current charging time.
In an embodiment, the controlling the relay to power off according to the charging mode specifically includes:
when the electric vehicle enters the quantitative charging mode, monitoring the current charging electric quantity of the electric vehicle, and judging whether the current charging electric quantity reaches the allowable charging electric quantity;
and when the current charging capacity reaches the allowable charging capacity, controlling the relay to be powered off through a relay control unit.
In one embodiment, the controlling the relay to be powered off according to the charging mode further includes:
when the timing charging mode is entered, monitoring the current charging time of the electric vehicle, and judging whether the current charging time reaches the allowable charging time;
and when the current charging time reaches the allowable charging time, controlling the relay to be powered off through a relay control unit.
In a third aspect, the present invention provides a computer-readable storage medium, wherein the computer-readable storage medium stores a charging control program for implementing the charging control method according to the second aspect when the charging control program is controlled by a processor to run.
The invention adopts the technical scheme and has the following effects:
according to the invention, the on-off state of the relay is controlled by collecting the power supply voltage and the load current of the electric vehicle during charging and combining the order information or the control instruction sent by the cloud server, so that the charging duration and the charging electric quantity of the electric vehicle are accurately controlled.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention clearer and clearer, the present invention is further described in detail below with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
The existing shared intelligent socket generally refers to a built-in wifi module, functional operation is performed through a client of an intelligent terminal, the socket can only send out a specific instruction through operation of a user on the client, and the socket does not have analysis and judgment functions, so that the intelligent degree is low, the control function is single, and the user experience is poor; moreover, some shared intelligent sockets have great disadvantages in charging management, and are the same charging standard for low-power electric vehicles and high-power electric vehicles, so that the cost of high power is higher, and the benefits of operators cannot be guaranteed.
The inventor provides an intelligent socket, a charging control method and a computer readable storage medium, which can determine corresponding charging time and charging amount according to a user order, collect charging voltage of an electric vehicle through a voltage sampling circuit when the electric vehicle is charged, collect load current of the electric vehicle through a current sampling circuit, determine active power when the electric vehicle is charged, select a corresponding charging scheme according to the active power of the electric vehicle, control the charging time and the charging amount of a shared charging socket in an intelligent charging mode, and improve the control accuracy of the charging time and the charging amount of the electric vehicle.
Exemplary devices
As shown in fig. 1, an embodiment of the present invention provides a smart socket, where the smart socket may be a dedicated charging socket for an electric vehicle, or a dedicated charging socket for a smart device such as a mobile phone and a tablet.
Taking a shared intelligent socket dedicated for charging an electric vehicle as an example, the intelligent socket comprises: a wireless communication module 100, a sampling module (not labeled), a relay 600, a relay control unit 500, and an SOC controller 200; wherein the wireless communication module 100, the sampling module and the relay control unit 500 are respectively connected with the SOC controller 200; the relay 600 is connected to the relay control unit 500.
The wireless communication module 100 is configured to receive order information or a control instruction sent by a cloud server, where the order information includes: reserved closing time (i.e., closing time of the relay 600) and reserved tripping time (i.e., opening time of the relay 600); the sampling module is used for collecting power supply voltage and load current when the electric vehicle is charged; the SOC controller 200 performs analysis and calculation according to the order information, the power supply voltage, and the load current to obtain a current charging amount or a current charging duration of the electric vehicle, and sends a corresponding driving instruction to the relay control unit 500 according to the current charging amount or the current charging duration to control the on-off state of the relay 600 through the relay control unit 500; or, the SOC controller 200 sends a corresponding driving instruction to the relay control unit 500 according to the control instruction, so as to control the on-off state of the relay 600 through the relay control unit 500.
Further, among the components of the smart socket, the wireless communication module 100 includes: a WiFi module, an NB-IOT module, a 4G/5G module and the like; the wireless communication module 100 is mainly used for receiving order information and a control instruction sent by a cloud server, and sending the order information and the control instruction to the SOC controller 200 in a wired transmission manner; wherein the order information comprises: reserved closing time (i.e., closing time of the relay 600) and reserved tripping time (i.e., opening time of the relay 600); the control instructions include: and a closing instruction and an opening instruction, wherein the on-off state of the intelligent socket relay 600 can be directly controlled through the closing instruction and the opening instruction.
The SOC controller 200 is a processor of the smart socket, and collects a supply voltage and a load current of the electric vehicle during charging through the sampling module, and then calculates an electric parameter and electric quantity information of the electric vehicle during charging according to the supply voltage and the load current; finally, according to the order information, the electric parameter and the electric quantity information, a relay control instruction is sent to the relay control unit 500; thereby controlling the on-off state of the relay 600 under the control of the relay control unit 500.
Specifically, in this embodiment, when a user needs to charge an electric vehicle, the order information may be set through the mobile terminal APP; after the user sets the order information, the mobile terminal sends the order information to the cloud server, and the order information is forwarded to the corresponding intelligent socket by the cloud server; the intelligent socket can receive order information sent by the cloud server through the wireless communication module, and further obtain closing time and opening time used for controlling the on-off state of the relay 600 in the order information.
Of course, in another implementation manner of this embodiment, a user may also set the control instruction through a mobile terminal APP, where the control instruction includes: a close command and an open command; the SOC controller 200 directly controls the state of the smart jack relay 600 through the close command and the open command.
The wireless communication module receives the order information, and then the relay 600 is subjected to timing switching-on operation according to the reserved switching-on time in the order, and the relay 600 is subjected to timing switching-off operation according to the reserved switching-off time in the order; the intelligent charging mode is realized, the manual switching-on operation of a user on the mobile terminal APP is avoided, and convenience is brought to the user.
Further, among the components of the smart socket, the sampling module includes: a voltage sampling unit 300; when the electric vehicle is charged, the voltage sampling unit 300 is configured to collect a power supply voltage in a charging loop of the electric vehicle; one end of the voltage sampling unit 300 is connected with a charging unit of the electric vehicle through a port or an interface so as to collect power supply voltage when the electric vehicle is charged; the other end of the voltage sampling unit 300 is connected to the SOC controller 200 to transmit the collected power supply voltage to the SOC controller 200.
Further, among the components of the smart jack, the sampling module further includes: a current sampling unit 400; when the electric vehicle is charged, the current sampling unit 400 is configured to collect a load current in a charging loop of the electric vehicle; one end of the current sampling unit 400 is connected with a charging unit of the electric vehicle through a port or an interface so as to collect load current when the electric vehicle is charged; the other end of the current sampling unit 400 is connected to the SOC controller 200 to transmit the collected load current to the SOC controller 200.
Further, among the components of the smart socket, the SOC controller 200 includes a meter (not shown) for counting the supply voltage collected by the voltage sampling unit 300 and counting the load current collected by the current sampling unit 400; the SOC controller 200 is connected to the voltage sampling unit 300 through the meter, and the SOC controller 200 is connected to the current sampling unit 400 through the meter.
Further, among the components of the smart socket, the smart socket further includes: a power supply unit 700; the power supply unit 700 is connected to the SOC controller 200 to output a first preset voltage to the SOC controller 200, where the first preset voltage may be a 3.3V voltage, and the first preset voltage may be output to provide a voltage required for normal operation for the SOC controller 200. The relay control unit 500 includes: and a relay driving chip (not shown) connected to the relay 600, for controlling an on/off state of the relay 600. The power supply unit 700 is connected to the relay driver chip to output a second preset voltage to the relay driver chip, where the second preset voltage may be 12V voltage, and the second preset voltage may be output to provide a voltage required for normal operation of the relay driver chip.
Further, among the components of the smart socket, the relay driving chip includes: BL8023D type driver chip.
Further, among the components of the smart socket, the smart socket further includes: a charging interface (not shown) and a housing (not shown); the charging interface is fixedly connected with the shell; the wireless communication module 100, the sampling module, the relay 600, the relay control unit 500, and the SOC controller 200 are all disposed in the housing.
According to the embodiment, the on-off state of the relay is controlled by collecting the power supply voltage and the load current of the electric vehicle during charging and combining the order information or the control instruction sent by the cloud server, so that the charging time and the charging electric quantity of the electric vehicle are accurately controlled.
Exemplary method
As shown in fig. 2, based on the above smart socket, an embodiment of the present invention further provides a charging control method, where the charging control method includes the following steps:
and S100, receiving the reserved closing time and the reserved opening time sent by the cloud server, and calculating the allowable charging time according to the reserved closing time and the reserved opening time.
In this embodiment, the charging control method is applied to a smart socket, which may be a shared smart socket or a household smart socket; the shared intelligent socket can be a special charging socket of an electric vehicle, and can also be a special charging socket of intelligent equipment such as a mobile phone and a tablet.
Taking a dedicated shared smart socket for charging an electric vehicle as an example, the smart socket includes: the system comprises a wireless communication module, an SOC controller, a voltage sampling unit, a current sampling unit, a relay control unit, a relay, a power supply unit and a memory; the wireless communication module, the voltage sampling unit, the current sampling unit, the relay control unit, the power supply unit and the memory are respectively connected with the SOC controller, and the relay is connected with the relay control unit.
Among the components of the intelligent socket, the wireless communication module can be a WiFi module, an NB-IOT module, a 4G module and the like, and is mainly used for receiving reserved closing time, reserved opening time and control instructions sent by a cloud server and sending data (reserved closing time, reserved opening time and control instructions) to the SOC controller in a wired transmission mode; the SOC controller is a processor of the intelligent socket, collects data through a voltage sampling unit and a current sampling unit, calculates charging parameters and electric quantity information in the charging process of the electric vehicle, and sends corresponding control instructions to a relay control unit according to the received data and the electric quantity information; thereby controlling the on-off state of the relay under the control of the relay control unit; the power supply unit may provide an operating voltage for the SOC controller and the relay control unit.
Specifically, in this embodiment, when the user needs to charge the electric vehicle, order information may be set through the mobile terminal APP, where the order information includes: the method comprises the following steps of reserving closing time (namely closing time of a relay) and reserving tripping time (namely opening time of the relay); after a user sets order information, the mobile terminal sends the order information to a cloud server; after the cloud server receives the order information, the appointed closing time and the appointed tripping time in the order information are sent to the corresponding intelligent socket; the intelligent socket can receive the reserved closing time and the reserved tripping time sent by the cloud server through the wireless communication module.
Specifically, before the smart socket receives the cloud server data, the smart socket needs to be connected with the cloud server through a wireless communication module; when the cloud server sends data, the intelligent socket receives the reserved closing time and the reserved opening time sent by the cloud server through the wireless communication module, determines the charging starting time based on the reserved closing time, and determines the charging ending time based on the reserved opening time; then, the allowable charging time length can be calculated according to the charging starting time and the charging ending time; the allowable charging time is a time from the reserved closing time to the reserved tripping time, for example, if the reserved closing time is 10:00 and the reserved tripping time is 11:00, the allowable charging time is one hour.
The method comprises the steps that a wireless communication module receives reserved switching-on time and reserved switching-off time which are sent by a cloud server in a connecting mode, and carries out timed switching-on operation on a relay according to the reserved switching-on time and timed switching-off operation on the relay according to the reserved switching-off time; the intelligent charging mode is realized, the manual switching-on operation of a user on the mobile terminal APP is avoided, and convenience is brought to the user.
As shown in fig. 2, in an implementation manner of the embodiment of the present invention, the charging control method further includes the following steps:
and step S200, acquiring the allowable charging electric quantity according to the allowable charging time length.
In this embodiment, after the allowable charging duration is determined, the smart socket obtains the allowable charging electric quantity according to the allowable charging duration; the allowable charging capacity is the product of the allowable charging time and a preset power, wherein the preset power can be set in the cloud server by an operator.
In this embodiment, the allowable charging capacity is calculated by:
Wallow=Ppre*Tallow;
wherein, WallowTo allow for a charge capacity;
Ppreis a preset power;
Tallowto allow for a charging period.
The invention obtains the allowable charging electric quantity according to the allowable charging time length, and can automatically switch the charging mode (timing mode or quantitative mode) according to the power of the charging electric vehicle, thereby realizing an intelligent charging mode.
As shown in fig. 2, in an implementation manner of the embodiment of the present invention, the charging control method further includes the following steps:
step S300, monitoring the current charging quantity or the current charging duration of the electric vehicle, and entering a corresponding charging mode according to the current charging quantity or the current charging duration.
In this embodiment, after the electric vehicle is detected to be charged, the current charging capacity or the current charging duration of the electric vehicle needs to be monitored in real time, and the current charging capacity or the current charging duration is determined; when monitoring the current charging capacity of the electric vehicle, acquiring a charging parameter of the electric vehicle during charging, and then calculating the current charging capacity according to the charging parameter and the current charging duration; after the current charging time of the electric vehicle is determined, judging whether the current charging time is less than the allowable charging time, and if the current charging time is less than the allowable charging time, entering a timing charging mode; after the current charging capacity of the electric vehicle is determined, judging whether the current charging capacity is smaller than the allowable charging capacity, and if the current charging capacity is smaller than the allowable charging capacity, entering a quantitative charging mode.
It can be understood that, in this embodiment, the quantitative charging mode is mainly effective when the high-power electric vehicle is charged, and the allowed charging electric quantity is taken as a charging standard, and when the charging electric quantity of the high-power electric vehicle reaches the allowed charging electric quantity, the relay is controlled to open the switch, so as to stop charging; the timing charging mode is mainly effective when the low-power electric vehicle is charged, the allowable charging time (namely the time from the reserved closing time to the reserved tripping time) is taken as a charging standard, and when the charging time of the low-power electric vehicle reaches the allowable charging time, the relay is controlled to open so as to stop charging.
That is, in an implementation manner of this embodiment, the step S200 specifically includes the following steps:
step S310, acquiring charging parameters and current charging time when the electric vehicle is charged;
step S320, calculating the current charging electric quantity according to the charging parameters and the current charging time;
and step S330, entering a quantitative charging mode according to the current charging quantity, or entering a timing charging mode according to the current charging duration.
In this embodiment, when the current charging duration when the electric vehicle is charged is obtained, the current charging duration can be obtained according to the scheduled closing time and the current system time; when the charging parameters of the electric vehicle during charging are obtained, a preset sampling frequency needs to be obtained, for example, the preset sampling frequency is 7.2 KHz; under the preset sampling frequency, the intelligent socket samples through a voltage sampling unit and a current sampling unit to obtain a current power supply voltage sampling value and a current load current sampling value of the electric vehicle; then, calculating an effective value P of active power when the electric vehicle is charged according to the current power supply voltage sampling value and the current load current sampling valueRMSThe calculation period is 1 s; then, accumulating the calculated active power effective value to obtain the current charging electric quantity; the calculation mode of the effective value of the load active power is as follows:
wherein u (n) is the voltage sampling value of the nth sampling point;
i (n) is the current voltage sampling value of the nth sampling point;
n is the number of sampling points in the period;
Kpis a power scaling factor.
After the active power of the electric vehicle during charging is obtained through calculation, the current charging electric quantity of the electric vehicle can be calculated according to the active power; the calculation mode of the current charging capacity is as follows:
W=PRMS*t;
wherein W is the charging capacity;
PRMSthe effective value of active power;
and t is the duration (i.e., the current charging period).
It can be understood that, in the embodiment, the charging amount of the electric vehicle in the calculation period is determined and calculated through the collected power supply voltage and the collected load current, and then the current charging amount of the electric vehicle is obtained by accumulating the calculated charging amount, so as to determine whether the current user order can be ended according to the current charging duration or the current charging amount.
That is, in an implementation manner of this embodiment, the step S201 specifically includes the following steps:
step S311, acquiring the current charging time according to the reserved closing time and the current system time; step S312, sampling the power supply voltage by the voltage sampling unit at a preset sampling frequency to obtain a power supply voltage sampling value, and sampling the load current by the current sampling unit at the preset sampling frequency to obtain a load current sampling value;
step 313, calculating active power of the electric vehicle during charging according to the power supply voltage sampling value and the load current sampling value;
and step S314, calculating the current charging electric quantity according to the active power and the current charging time.
According to the invention, by accurately measuring the power supply voltage, the load current and the active power in the charging loop, the load electricity consumption can be calculated according to the active power and the time, and then whether the current order can be ended is judged according to the current electricity consumption and the current charging time.
As shown in fig. 2, in an implementation manner of the embodiment of the present invention, the charging control method further includes the following steps:
and step S400, controlling a relay to be powered off according to the charging mode.
In this embodiment, after entering different charging modes, the smart jack monitors the charging state of the electric vehicle according to the selected charging mode, and controls the relay to power off according to the charging state.
Specifically, in the quantitative charging mode, the intelligent socket takes the allowed charging capacity as the allowed charging capacity, and if the current load power consumption exceeds the allowed charging capacity, the relay is controlled to trip to end the order; the current charging capacity of the electric vehicle is monitored, whether the current charging capacity reaches the allowable charging capacity is judged, and if the current charging capacity reaches the allowable charging capacity, the intelligent socket controls the relay to cut off the power supply through the relay control unit so as to finish the order.
That is, in an implementation manner of this embodiment, when entering the quantitative charging mode, the step S400 specifically includes the following steps:
step S411, when entering the quantitative charging mode, monitoring the current charging capacity of the electric vehicle, and judging whether the current charging capacity reaches the allowable charging capacity;
and step S412, when the current charging capacity reaches the allowable charging capacity, controlling the relay to be powered off through a relay control unit.
In the embodiment, in the timing charging mode, the smart socket converts the scheduled trip time into the allowable charging time, then counts down the allowable charging time, and controls the relay to trip to end the order when the allowable charging time is 0.
In the timing mode, monitoring the current charging time of the electric vehicle, judging whether the current charging time reaches the allowable charging time, and if not, continuing to monitor the charging state of the electric vehicle; and if the current charging time reaches the allowable charging time, controlling the relay to be powered off through the relay control unit so as to finish the order.
That is, in an implementation manner of this embodiment, when entering the timer charging mode, the step S400 specifically includes the following steps:
step S421, when entering the timing charging mode, monitoring the current charging time of the electric vehicle, and judging whether the current charging time reaches the allowable charging time;
and step S422, when the current charging time reaches the allowable charging time, controlling the relay to be powered off through a relay control unit.
As shown in fig. 3, in another implementation manner of this embodiment, the current charging duration and the current charging amount of the electric vehicle may be monitored simultaneously, and then the order is ended according to the monitored current charging amount or the current charging duration.
The specific steps are as follows:
step S31, obtaining order information;
step S32, judging that the allowable charging time is less than or equal to 0; if yes, go to step S36; if not, go to step S33;
step S33, the allowable charging time is reduced by 1S;
step S34, calculating the load power consumption;
step S35, judging that the current electric quantity is more than or equal to the allowable charging electric quantity; if yes, go to step S36; if not, go to step S32;
and step S36, finishing the order and tripping the relay.
It can be understood that, in the simultaneous monitoring mode, it is not necessary to distinguish whether the electric vehicle being charged is a low-power electric vehicle or a high-power electric vehicle, and only the current charging time and the current charging capacity of the electric vehicle need to be acquired, and the current order can be ended under the condition that the current charging time or the current charging capacity meets the order ending condition.
In another implementation manner of this embodiment, in addition to controlling the smart socket to charge through the order information, the relay of the smart socket may be controlled to close or trip through a control instruction; wherein the control instructions include: a close command and an open command.
That is, in another implementation manner of the embodiment of the present invention, the charging control method further includes the following steps:
and S500, receiving a control instruction sent by the cloud server through a wireless communication module, and controlling the on-off state of the relay based on the control instruction.
Specifically, a control instruction can be sent to the cloud server through the mobile terminal APP, for example, a control instruction is sent to the cloud server through a closing button or a tripping button in the APP; after receiving the control instruction, the cloud server forwards the control instruction to the intelligent socket; the intelligent socket can receive the control instruction sent by the cloud server through the wireless communication module, and then the on-off state of the relay is controlled based on the control instruction, so that the switching-on or the tripping of the intelligent socket is controlled.
The invention can accurately measure the power supply voltage, the load current and the active power in the charging loop, and calculate the load electricity consumption according to the active power and the time; after the electric quantity used by the load is determined, the allowable charging electric quantity of the current order is calculated according to the scheduled trip time and the preset basic power value in the order information, and the scheduled trip time in the order information is converted into allowable charging time, so that the intelligent socket can carry out trip operation on the relay according to the allowable charging electric quantity and the allowable charging time.
And, the invention can carry out time charging scheme and electric quantity charging scheme at the same time, can charge for the electric vehicle of different powers, if the charging power of the electric vehicle is smaller than the threshold value presumed, charge according to the charging scheme of the time, if the charging power of the electric vehicle exceeds the threshold value presumed, charge according to the charging scheme of the electric quantity, realize the intellectualization of the intelligent socket through the form of the automatic switch charging scheme.
In one embodiment, there is provided a computer-readable storage medium storing a charging control program for implementing the charging control method as described above when the charging control program is controlled to be executed by a processor; as described above.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, databases, or other media used in embodiments provided herein may include non-volatile and/or volatile memory. Non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory.
In summary, the present invention provides an intelligent socket, a charging control method and a computer-readable storage medium, wherein the intelligent socket includes: the system comprises a relay, a relay control unit, an SOC controller, a wireless communication module and a sampling module; the wireless communication module, the sampling module and the relay control unit are respectively connected with the SOC controller; the relay is connected with the relay control unit; the SOC controller sends a corresponding driving instruction to the relay control unit according to the order information, the power supply voltage and the load current, or sends a corresponding driving instruction to the relay control unit according to the control instruction, so that the on-off state of the relay is controlled through the relay control unit. According to the invention, the on-off state of the relay is controlled by collecting the power supply voltage and the load current of the electric vehicle during charging and combining the order information or the control instruction sent by the cloud server, so that the charging duration and the charging electric quantity of the electric vehicle are accurately controlled.
It is to be understood that the invention is not limited to the examples described above, but that modifications and variations may be effected thereto by those of ordinary skill in the art in light of the foregoing description, and that all such modifications and variations are intended to be within the scope of the invention as defined by the appended claims.