The invention provides a transcranial
alternating current stimulation method and
system with an automatic adjustment function, and relates to the technical field of transcranial
alternating current stimulation, and the method comprises the steps: obtaining, compressing and sampling a multi-channel electroencephalogram
signal, carrying out the multi-channel reconstruction through the physiological priori and the related information of adjacent brain regions, extracting the feature parameters of target
brain waves, and carrying out the reconstruction of the target
brain waves. Based on the parameters, dual-stage transcranial
alternating current signals of prior stimulation and post stimulation are output; by introducing an adjacent matrix or a graph Laplacian operator in a
compressed sensing acquisition and reconstruction link, high-fidelity
recovery of cross-
brain region oscillation can be maintained under the conditions of low sampling rate and
noise; performing layered screening and dynamic
fine tuning on characteristic frequency bands of different brain regions by combining general and individualized prior; the target brain wave phase is locked in advance in the first stimulation stage, and the stimulation intensity of each
brain region is independently or cooperatively adjusted in the later stimulation stage, so that the requirement of
coupling regulation and control of multiple brain regions is met, and the closed-loop
intervention effect on nerve states such as
insomnia and
anxiety is improved.