An improved method of generating the self-balanced chaotic spread-spectrum code