A battery electric vehicle (EV) charging system comprising:
- a plurality of input charging ports connectable to receive electrical power from one or more energy sources, wherein the plurality of input ports comprise different types of input ports, wherein the plurality of input ports comprise at least one DC input charging port configured to receive power from another EV or another EV charging system;
- a plurality of output discharging ports connectable to deliver electrical power to one or more loads, wherein the one or more loads comprise an EV, wherein the plurality of output ports comprise different types of output ports, wherein the plurality of output discharging ports comprise at least one DC output charging port configured to charge the EV and at least one AC output charging port configured to charge the EV;
- a plurality of battery packs to receive input electrical power from the plurality of input charging ports and provide output electrical power to the plurality of output discharging ports;
- a main control system board connected between the plurality of battery packs and the plurality of inputs, and between the plurality of battery packs and the plurality of outputs, wherein the main control system board controls the plurality of input ports and the plurality of output ports, wherein the main control system monitors input electric power from the plurality of input ports to the battery packs and output electric power from the plurality of output ports to the one or more loads, the main control system board configured to selectively connect each battery pack to any number of the plurality of input ports or any number of the plurality of output ports, each input port to any number of battery packs, and each output port to any number of battery packs, wherein the main control system board is configured to provide a higher voltage for EV charging to the at least one DC output charging port;
- a main battery control board for controlling connections between each battery pack and any number of the plurality of input ports or any number of the plurality of output ports, wherein the main control system board controls the main battery control board to separately control charging of the battery packs and discharging of the battery packs;
- a switching matrix connected between the plurality of battery packs and the plurality of input charging ports, and between the plurality of battery packs and the plurality of output discharging ports, the switching matrix comprising one or more input switch banks, and one or more output switch banks, one or more charging switch banks, one or more discharging switch banks, and an inter-battery switch bank, wherein the one or more input switch banks control which of the plurality of input charging ports provide the input electrical power to the plurality of battery packs, wherein the one or more output switch banks control which of the plurality of output discharging ports the plurality of battery packs provide the output electrical power to, wherein the one or more charging switch banks control which of the plurality of battery packs are charged from the plurality of input charging ports, wherein the one or more discharging switch banks control which of the plurality of battery discharge to the plurality of output discharging ports, wherein the inter-battery switch bank enables the plurality of battery packs to be connected in series to increase charge voltage or any of the plurality of battery packs to be connected to any other of the plurality of battery packs to charge the other of the plurality of battery packs;
- a battery management system board that monitors the battery status of the battery packs, battery modules, battery cells and communicates the data to the main battery control board which controls discharging of the battery packs for charging the loads based on remaining charge in the battery packs and status of the battery packs, battery modules, and battery cells;
- wherein the main control system board and the main battery control board control the switching matrix.