Detection of weak signals based on chaos theory