In the frame of the basic quantum theory,from the one-dimensional infinite-height half-wall quantum potential well with time-dependent boundary conditions and from the three-dimensional finite-depth sphere-square potential well with time-dependent boundary conditions we constructed two kinds of new Hamiltonian operators separately which describe electric particle interacting with eletromagnetic field.In the adiabatic approximation are calculated the complex Berry phases of two kinds of new systems.