Skip to main page content
U.S. flag

An official website of the United States government

Dot gov

The .gov means it’s official.
Federal government websites often end in .gov or .mil. Before sharing sensitive information, make sure you’re on a federal government site.

Https

The site is secure.
The https:// ensures that you are connecting to the official website and that any information you provide is encrypted and transmitted securely.

Access keys NCBI Homepage MyNCBI Homepage Main Content Main Navigation
. 2024 May 8;15(1):3886.
doi: 10.1038/s41467-024-48133-3.

Controlling chaos using edge computing hardware

Affiliations

Controlling chaos using edge computing hardware

Robert M Kent et al. Nat Commun. .

Abstract

Machine learning provides a data-driven approach for creating a digital twin of a system - a digital model used to predict the system behavior. Having an accurate digital twin can drive many applications, such as controlling autonomous systems. Often, the size, weight, and power consumption of the digital twin or related controller must be minimized, ideally realized on embedded computing hardware that can operate without a cloud-computing connection. Here, we show that a nonlinear controller based on next-generation reservoir computing can tackle a difficult control problem: controlling a chaotic system to an arbitrary time-dependent state. The model is accurate, yet it is small enough to be evaluated on a field-programmable gate array typically found in embedded devices. Furthermore, the model only requires 25.0 ± 7.0 nJ per evaluation, well below other algorithms, even without systematic power optimization. Our work represents the first step in deploying efficient machine learning algorithms to the computing "edge."

PubMed Disclaimer

Conflict of interest statement

Daniel Gauthier is a co-founder of ResCon Technologies, LLC, which is commercializing the application of reservoir computing. The remaining authors declare no competing interests.

Figures

Fig. 1
Fig. 1. NG-RC based nonlinear controller realized on edge computing hardware.
(top) Learning phase. A field programmable gate array (FPGA) applies perturbations (red) to a chaotic circuit and the perturbed dynamics of the circuit (blue) are measured by a sensor (analog-to-digital converters). The temporal evolution of the perturbations and responses are transferred to a personal computer (left, purple) to learn the parameters of the NG-RC controller W. These parameters are programmed onto the FPGA as well as the firmware for the controller. (bottom) Control phase. The NG-RC controller implemented on the FPGA measures the dynamics of the chaotic circuit with a sensor (analog-to-digital converters) in real time and receives a desired trajectory V1,des for the V1 variable, and computes a suitable control signal (red) that drives the circuit to the desired trajectory.
Fig. 2
Fig. 2. Controlling a dynamical system using the NG-RC for one-step-ahead prediction.
Controlled attractors for a the first task controlling the system to the origin, b controlling back and forth between the two USSs (solid black), and c controlling to a random waveform. The unperturbed attractor (gray) before the control is switched on, the moment the control is switched on (purple ×), the transient for the system to reach the desired trajectory (dashed purple), and the controlled system (solid purple). d Temporal evolution of V1 (blue), and V2 (red) during the second task. When the control begins, the chaotic system follows the desired trajectory (solid black), which is under the blue curve. e The control perturbation before and after the control is switched on (orange). The control gain is set to K = 0.75 for all cases.
Fig. 3
Fig. 3. Performance of the one-step ahead NG-RC controller.
a RMSE of the control and b RMS of the control current when controlling the system to the phase-space origin (red circles), back-and-forth between two USSs (green triangles), to a random waveform (blue squares), and stabilized at either nonzero USS (purple diamonds) as a function of the control gain K.
Fig. 4
Fig. 4. Double scroll electronic circuit.
Rn=3.15 kΩ, C1=C2=10 nF, L=55 mH, RL=355 Ω, Rs=100 Ω, Rm=RL+Rs=355 Ω, Rd=7.86 kΩ, the dotted box encloses the nonlinear coupling g.
Fig. 5
Fig. 5. The information criteria of features calculated by SysIdentPy.
More negative means less information is contained in the features. The red circles are the features used in the model, and the black xs are excluded.

References

    1. Chowdhary, K. R. Natural language processing. in Fundamentals of Artificial Intelligence 603–649 (Springer, New Delhi, 2020).
    1. Martins, J. R. R. A. & Ning, A. Engineering design optimization. (Cambridge University Press, Cambridge, 2021).
    1. Qayyum A, Usama M, Qadir J, Al-Fuqaha A. Securing connected & autonomous vehicles: challenges posed by adversarial machine learning and the way forward. IEEE Commun. Surv. Tutor. 2020;22:998–1026. doi: 10.1109/COMST.2020.2975048. - DOI
    1. Ott E, Grebogi C, Yorke JA. Controlling chaos. Phys. Rev. Lett. 1990;64:1196–1199. doi: 10.1103/PhysRevLett.64.1196. - DOI - PubMed
    1. Pyragas K. Continuous control of chaos by self-controlling feedback. Phys. Lett. A. 1992;170:421–428. doi: 10.1016/0375-9601(92)90745-8. - DOI