System for generating a charging voltage for charging a battery of a vehicle comprising at least two current collectors, having: a plurality of electrically conductive contact plates, and a control unit, wherein the contact plates are arranged in a distributed manner in a predetermined contact region of a common plane, wherein the contact plates are designed to form a region of a parking area of a parking space for a vehicle, wherein each contact plate is arranged so as not to be in contact with adjacent contact plates, wherein each contact plate is connected to an associated, electrically conductive connection line which is coupled to the control unit such that an electrical line connection is established from the control unit to each contact plate via the respectively associated connection line, wherein the control unit is designed to switch between a charging state and an idle state, wherein the control unit is designed, in the idle state, to detect a direct or indirect electrical connection contact between a first contact plate of the plurality of contact plates and another second contact plate of the plurality of contact plates, wherein the control unit is designed to switch into the charging state when the electrical connection contact is detected, and wherein the control unit is designed, in the charging state, to apply an electrical voltage potential to the first and second contact plates (22, 24) via the connection line to the first contact plate and the connection line to the second contact plate, respectively, such that an electrical voltage difference between the first and second contact plates (22, 24) is produced as the charging voltage, wherein the control unit is designed, in the idle state, to measure an electrical voltage between each combination of two of the plurality of contact plates, characterized in that the control unit is designed, in the idle state, to detect an indirect electrical connection contact between the first and second contact plates (22, 24) if an electrical external voltage applied by the current collectors of the vehicle is built up between the first and second contact plates (22, 24) and, in the idle state, to detect a direct electrical connection contact between the first and second contact plates if the electrical resistance between the first and second contact plates in the idle state is less than a predetermined reference resistance. a plurality of electrically conductive contact plates, and a control unit, wherein the contact plates are arranged in a distributed manner in a predetermined contact region of a common plane, wherein the contact plates are designed to form a region of a parking area of a parking space for a vehicle, wherein each contact plate is arranged so as not to be in contact with adjacent contact plates, wherein each contact plate is connected to an associated, electrically conductive connection line which is coupled to the control unit such that an electrical line connection is established from the control unit to each contact plate via the respectively associated connection line, wherein the control unit is designed to switch between a charging state and an idle state, wherein the control unit is designed, in the idle state, to detect a direct or indirect electrical connection contact between a first contact plate of the plurality of contact plates and another second contact plate of the plurality of contact plates, wherein the control unit is designed to switch into the charging state when the electrical connection contact is detected, and wherein the control unit is designed, in the charging state, to apply an electrical voltage potential to the first and second contact plates (22, 24) via the connection line to the first contact plate and the connection line to the second contact plate, respectively, such that an electrical voltage difference between the first and second contact plates (22, 24) is produced as the charging voltage, wherein the control unit is designed, in the idle state, to measure an electrical voltage between each combination of two of the plurality of contact plates, characterized in that the control unit is designed, in the idle state, to detect an indirect electrical connection contact between the first and second contact plates (22, 24) if an electrical external voltage applied by the current collectors of the vehicle is built up between the first and second contact plates (22, 24) and, in the idle state, to detect a direct electrical connection contact between the first and second contact plates if the electrical resistance between the first and second contact plates in the idle state is less than a predetermined reference resistance.