This idea is very bold and creative, but unfortunately it doesn't work. The reasons are:
1. The vehicle's power supply is charged after the car engine drives the generator to produce electricity, and then used to electrolyze water. After several repetitions, a lot of energy will definitely be lost. which is not economically reasonable. It is best to use the motor directly.
2. If the hydrogen is produced by electrolysis and supplied to the engine, then you need to add a hydrogen energy engine, which will significantly increase the cost, and it is not worth it because the hydrogen produced is very small.
3. Electrolyzed water still consumes a lot of energy today. The power supply capacity of your car is limited and cannot meet the needs.
To talk about something else, current hydrogen energy vehicles mainly useent of by-product hydrogen from other plants. If it is specially prepared, it has no economic value. It is also necessary to develop new high-efficiency catalysts and then use energy sources that we cannot use directly at present (such as solar energy in uninhabited deserts, oceans and other areas). 'other places) to electrolyze water. Only then can it be practical.
The idea of a perpetual motion machine. Good imagination. However, according to the law of conservation of energy, under ideal conditions, 100% of the hydrogen and oxygen electrolyzed by the battery are given to the motor, and 100% of the electricity generated by the motor is used to charge the battery. can only be transferred in this way, and the motor has no excess energy.