<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE article PUBLIC "-//NLM//DTD Journal Publishing DTD v2.3 20070202//EN" "journalpublishing.dtd">
<article xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink" xml:lang="en" article-type="research-article">
<front>
<journal-meta>
<journal-id journal-id-type="nlm-ta">Sensors</journal-id>
<journal-title>Sensors</journal-title>
<issn pub-type="epub">1424-8220</issn>
<publisher>
<publisher-name>Molecular Diversity Preservation International (MDPI)</publisher-name></publisher></journal-meta>
<article-meta>
<article-id pub-id-type="doi">10.3390/s120607468</article-id>
<article-id pub-id-type="publisher-id">sensors-12-07468</article-id>
<article-categories>
<subj-group>
<subject>Article</subject></subj-group></article-categories>
<title-group>
<article-title>Bluetooth Based Chaos Synchronization Using Particle Swarm Optimization and Its Applications to Image Encryption</article-title></title-group>
<contrib-group>
<contrib contrib-type="author">
<name><surname>Yau</surname><given-names>Her-Terng</given-names></name><xref ref-type="corresp" rid="c1-sensors-12-07468"><sup>*</sup></xref></contrib>
<contrib contrib-type="author">
<name><surname>Hung</surname><given-names>Tzu-Hsiang</given-names></name></contrib>
<contrib contrib-type="author">
<name><surname>Hsieh</surname><given-names>Chia-Chun</given-names></name></contrib>
<aff id="af1-sensors-12-07468">Department of Electrical Engineering, National Chin-Yi University of Technology, Taichung 41170, Taiwan; E-Mails: <email>zi_xiang2008@hotmail.com</email> (T.-H.H.); <email>rxz3145@yahoo.com.tw</email> (C.-C.H.)</aff></contrib-group>
<author-notes>
<corresp id="c1-sensors-12-07468">
<label>*</label>Author to whom correspondence should be addressed; E-Mail: <email>htyau@ncut.edu.tw</email>; Tel.: +886-4-2392-4505 (ext. 7229).</corresp></author-notes>
<pub-date pub-type="collection">
<year>2012</year></pub-date>
<pub-date pub-type="epub">
<day>01</day>
<month>06</month>
<year>2012</year></pub-date>
<volume>12</volume>
<issue>6</issue>
<fpage>7468</fpage>
<lpage>7484</lpage>
<history>
<date date-type="received">
<day>18</day>
<month>04</month>
<year>2012</year></date>
<date date-type="rev-recd">
<day>25</day>
<month>05</month>
<year>2012</year></date>
<date date-type="accepted">
<day>31</day>
<month>05</month>
<year>2012</year></date></history>
<permissions>
<copyright-statement>© 2012 by the authors; licensee MDPI, Basel, Switzerland.</copyright-statement>
<copyright-year>2012</copyright-year>
<license>
<p>This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution license (http://creativecommons.org/licenses/by/3.0/).</p></license></permissions>
<abstract>
<p>This study used the complex dynamic characteristics of chaotic systems and Bluetooth to explore the topic of wireless chaotic communication secrecy and develop a communication security system. The PID controller for chaos synchronization control was applied, and the optimum parameters of this PID controller were obtained using a Particle Swarm Optimization (PSO) algorithm. Bluetooth was used to realize wireless transmissions, and a chaotic wireless communication security system was developed in the design concept of a chaotic communication security system. The experimental results show that this scheme can be used successfully in image encryption.</p></abstract>
<kwd-group>
<kwd>chaotic system</kwd>
<kwd>Bluetooth</kwd>
<kwd>communications security</kwd>
<kwd>Particle Swarm Optimization algorithm</kwd>
<kwd>PID controller</kwd></kwd-group></article-meta></front>
<body>
<sec sec-type="intro">
<label>1.</label>
<title>Introduction</title>
<p>The chaos phenomenon was first proposed by Lorenz using the simulation equation of the atmosphere, but it did not attract much attention from scientists until Feigenbaum proposed the general theory of chaos phenomenon. Chaos is a phenomenon that seems disorderly but contains rules. It is a complex dynamic non-periodic and nonlinear system that cannot be explained by single data, and should be analyzed using overall continuous data. It has a very extensive Fourier spectrum, and has a fractal in the phase plane. The key in its state response is the initial value of the system. If a system has different initial values, the response varies largely; this phenomenon is called the butterfly effect [<xref ref-type="bibr" rid="b1-sensors-12-07468">1</xref>–<xref ref-type="bibr" rid="b3-sensors-12-07468">3</xref>].</p>
<p>At present, many scientists have applied the chaotic system concept to image encryption. This work can be briefly introduced as follows: Gao <italic>et al.</italic> proposed an image encryption algorithm, which randomly shuffles the matrices of image pixel positions, and uses a hyper-chaotic system to mix the relation between plainimage and cipherimage [<xref ref-type="bibr" rid="b4-sensors-12-07468">4</xref>]. Guan <italic>et al.</italic> used a 2D cat map in random image pixel positions, and the output pixels of discrete Chen's system to cover the original pixel value [<xref ref-type="bibr" rid="b5-sensors-12-07468">5</xref>]. Lian proposed an image encryption algorithm based on a spatiotemporal chaos system. The spatiotemporal lattices were used to generate a random sequence, and this sequence was used to select cryptographic parameters in each segment [<xref ref-type="bibr" rid="b6-sensors-12-07468">6</xref>] Pareek <italic>et al.</italic> proposed an image encryption method based on chaotic Logistic maps, using one 80-bit external key and two chaotic Logistic maps. The initial conditions of the Logistic maps were obtained using the external key, and eight different operation types were used for the encryption of images [<xref ref-type="bibr" rid="b7-sensors-12-07468">7</xref>]. Chen <italic>et al.</italic> proposed a real-time secure image encryption algorithm extending the image encryption algorithm for two-dimensional chaotic maps to three-dimensional ones. This method used a three-dimensional cat map in random image pixel positions, and employed the relation between another chaotic map encryption and the original image for confusion [<xref ref-type="bibr" rid="b8-sensors-12-07468">8</xref>]. Although the above methods are all feasible, they are too complex and have high commercialization costs. This study used a simple method with the chaotic system to encrypt and decrypt images.</p>
<p>The chaotic synchronization system generally consists of a master chaotic system, a slave chaotic system, and a controller synchronizing the master and slave systems. The controller processes the signals of the master chaotic system, and transmits them to the slave chaotic system, so as to synchronize the trajectories of the two systems [<xref ref-type="bibr" rid="b9-sensors-12-07468">9</xref>–<xref ref-type="bibr" rid="b13-sensors-12-07468">13</xref>]. In this study, a PID controller was used to control the two systems, and the three parameters <italic>K<sub>p</sub>, K<sub>i</sub></italic> and <italic>K<sub>d</sub></italic> of the PID were selected using a Particle Swarm Optimization (PSO) algorithm. The optimum parameters were thus obtained. Finally, the LabVIEW software was used to integrate the cryptological concept with the chaotic synchronization system into a chaotic synchronous cryptographic system, which was applied to the wireless communication secrecy for image encryption.</p></sec>
<sec>
<label>2.</label>
<title>System Description and Formulation Problem</title>
<p>In order to observe the procedure of chaotic synchronization, the Master/Slave system of a single input single output (SISO) is used. The differential equations [<xref ref-type="bibr" rid="b14-sensors-12-07468">14</xref>,<xref ref-type="bibr" rid="b15-sensors-12-07468">15</xref>] are described below:</p>
<p>Master System:
<disp-formula id="FD1">
<label>(1)</label>
<mml:math id="mm1" display="block">
<mml:semantics id="sm1">
<mml:mrow>
<mml:mrow>
<mml:mo>{</mml:mo>
<mml:mrow>
<mml:mtable columnalign="left">
<mml:mtr columnalign="left">
<mml:mtd columnalign="left">
<mml:mrow>
<mml:msub>
<mml:mover accent="true">
<mml:mi>x</mml:mi>
<mml:mo>˙</mml:mo></mml:mover>
<mml:mi>m</mml:mi></mml:msub>
<mml:mo stretchy="false">(</mml:mo>
<mml:mi>t</mml:mi>
<mml:mo stretchy="false">)</mml:mo>
<mml:mo>=</mml:mo>
<mml:mi>f</mml:mi>
<mml:mo stretchy="false">(</mml:mo>
<mml:mi>t</mml:mi>
<mml:mo>,</mml:mo>
<mml:msub>
<mml:mi>x</mml:mi>
<mml:mi>m</mml:mi></mml:msub>
<mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mtd></mml:mtr>
<mml:mtr columnalign="left">
<mml:mtd columnalign="left">
<mml:mrow>
<mml:msub>
<mml:mi>y</mml:mi>
<mml:mi>m</mml:mi></mml:msub>
<mml:mo stretchy="false">(</mml:mo>
<mml:mi>t</mml:mi>
<mml:mo stretchy="false">)</mml:mo>
<mml:mo>=</mml:mo>
<mml:mi>C</mml:mi>
<mml:msub>
<mml:mi>x</mml:mi>
<mml:mi>m</mml:mi></mml:msub></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:mrow></mml:mrow></mml:mrow></mml:semantics></mml:math></disp-formula></p>
<p>Slave System:
<disp-formula id="FD2">
<label>(2)</label>
<mml:math id="mm2" display="block">
<mml:semantics id="sm2">
<mml:mrow>
<mml:mrow>
<mml:mo>{</mml:mo>
<mml:mrow>
<mml:mtable columnalign="left">
<mml:mtr columnalign="left">
<mml:mtd columnalign="left">
<mml:mrow>
<mml:msub>
<mml:mover accent="true">
<mml:mi>x</mml:mi>
<mml:mo>˙</mml:mo></mml:mover>
<mml:mi>s</mml:mi></mml:msub>
<mml:mo stretchy="false">(</mml:mo>
<mml:mi>t</mml:mi>
<mml:mo stretchy="false">)</mml:mo>
<mml:mo>=</mml:mo>
<mml:mi>f</mml:mi>
<mml:mo stretchy="false">(</mml:mo>
<mml:mi>t</mml:mi>
<mml:mo>,</mml:mo>
<mml:msub>
<mml:mi>x</mml:mi>
<mml:mi>s</mml:mi></mml:msub>
<mml:mo stretchy="false">)</mml:mo>
<mml:mo>+</mml:mo>
<mml:mi>B</mml:mi>
<mml:mi>u</mml:mi>
<mml:mo stretchy="false">(</mml:mo>
<mml:mi>t</mml:mi>
<mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mtd></mml:mtr>
<mml:mtr columnalign="left">
<mml:mtd columnalign="left">
<mml:mrow>
<mml:msub>
<mml:mi>y</mml:mi>
<mml:mi>s</mml:mi></mml:msub>
<mml:mo stretchy="false">(</mml:mo>
<mml:mi>t</mml:mi>
<mml:mo stretchy="false">)</mml:mo>
<mml:mo>=</mml:mo>
<mml:mi>C</mml:mi>
<mml:msub>
<mml:mi>x</mml:mi>
<mml:mi>s</mml:mi></mml:msub></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:mrow></mml:mrow></mml:mrow></mml:semantics></mml:math></disp-formula></p>
<p>Among which, <italic>x<sub>m</sub>(t)</italic>=[<italic>x<sub>m1</sub>,x<sub>m2</sub>,x<sub>m3</sub></italic>]∈<italic>R<sup>n</sup></italic> and <italic>x<sub>s</sub>(t)</italic>=[<italic>x<sub>s1</sub>,x<sub>s2</sub>,x<sub>s3</sub></italic>]∈<italic>R<sup>n</sup></italic> are the status values of Master System and Slave System, <italic>f:R</italic>×<italic>R<sup>n</sup></italic>→<italic>R<sup>n</sup></italic> is the nonlinear function, <italic>y<sub>m</sub>(t)</italic>∈<italic>R</italic> and <italic>y<sub>s</sub>(t)</italic>∈<italic>R</italic> are the outputs of Master System and Slave System, B∈R<sup>n×1</sup> and C∈R<sup>1×n</sup>, <italic>u</italic>∈R is the controller in the Slave system, the control objective is:
<disp-formula id="FD3">
<label>(3)</label>
<mml:math id="mm3" display="block">
<mml:semantics id="sm3">
<mml:mrow>
<mml:munder>
<mml:mrow>
<mml:mtext mathvariant="italic">lim</mml:mtext></mml:mrow>
<mml:mrow>
<mml:mi>t</mml:mi>
<mml:mo>→</mml:mo>
<mml:mo>∞</mml:mo></mml:mrow></mml:munder>
<mml:mrow>
<mml:mo>‖</mml:mo>
<mml:mrow>
<mml:msub>
<mml:mi>x</mml:mi>
<mml:mi>m</mml:mi></mml:msub>
<mml:mo stretchy="false">(</mml:mo>
<mml:mi>t</mml:mi>
<mml:mo stretchy="false">)</mml:mo>
<mml:mo>−</mml:mo>
<mml:msub>
<mml:mi>x</mml:mi>
<mml:mi>s</mml:mi></mml:msub>
<mml:mo stretchy="false">(</mml:mo>
<mml:mi>t</mml:mi>
<mml:mo stretchy="false">)</mml:mo></mml:mrow>
<mml:mo>‖</mml:mo></mml:mrow>
<mml:mo>→</mml:mo>
<mml:mn>0</mml:mn></mml:mrow></mml:semantics></mml:math></disp-formula></p>
<p>Since the initial value conditions of the master system and slave system are different, the synchronous controller is added, and the slave system is driven by the signals of the synchronous controller. Thus, the master system and the slave system have coincident response, that is synchronization. The state error of master and slave systems is defined as follows:
<disp-formula id="FD4">
<label>(4)</label>
<mml:math id="mm4" display="block">
<mml:semantics id="sm4">
<mml:mrow>
<mml:msub>
<mml:mi>e</mml:mi>
<mml:mn>1</mml:mn></mml:msub>
<mml:mo>=</mml:mo>
<mml:msub>
<mml:mi>x</mml:mi>
<mml:mrow>
<mml:mi>m</mml:mi>
<mml:mo>,</mml:mo>
<mml:mn>1</mml:mn></mml:mrow></mml:msub>
<mml:mo>−</mml:mo>
<mml:msub>
<mml:mi>x</mml:mi>
<mml:mrow>
<mml:mi>s</mml:mi>
<mml:mo>,</mml:mo>
<mml:mn>1</mml:mn></mml:mrow></mml:msub>
<mml:mo>,</mml:mo>
<mml:msub>
<mml:mi>e</mml:mi>
<mml:mn>2</mml:mn></mml:msub>
<mml:mo>=</mml:mo>
<mml:msub>
<mml:mi>x</mml:mi>
<mml:mrow>
<mml:mi>m</mml:mi>
<mml:mo>,</mml:mo>
<mml:mn>2</mml:mn></mml:mrow></mml:msub>
<mml:mo>−</mml:mo>
<mml:msub>
<mml:mi>x</mml:mi>
<mml:mrow>
<mml:mi>s</mml:mi>
<mml:mo>,</mml:mo>
<mml:mn>2</mml:mn></mml:mrow></mml:msub>
<mml:mo>,</mml:mo>
<mml:mo>⋯</mml:mo>
<mml:mo>,</mml:mo>
<mml:msub>
<mml:mi>e</mml:mi>
<mml:mi>n</mml:mi></mml:msub>
<mml:mo>=</mml:mo>
<mml:msub>
<mml:mi>x</mml:mi>
<mml:mrow>
<mml:mi>m</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>n</mml:mi></mml:mrow></mml:msub>
<mml:mo>−</mml:mo>
<mml:msub>
<mml:mi>x</mml:mi>
<mml:mrow>
<mml:mi>s</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>n</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:semantics></mml:math></disp-formula></p>
<p>The primary objective of this system is to propose a simple and effective PID controller, using a PSO algorithm to obtain the optimum PID parameter values to synchronize two identical chaotic systems with different initial conditions. The <italic>u</italic> in <xref rid="FD2" ref-type="disp-formula">Equation (2)</xref> is the PID controller ensuring the synchronization effect based on the PSO algorithm. In order to determine the u of PID controller, the output error signal <italic>y<sub>e</sub></italic> = <italic>y<sub>m</sub></italic> − <italic>y<sub>s</sub></italic> is defined first, and the PID controller and input <italic>y<sub>e</sub>(t)</italic> and output <italic>u(t)</italic> can be expressed in continuous form as the following equation:
<disp-formula id="FD5">
<label>(5)</label>
<mml:math id="mm5" display="block">
<mml:semantics id="sm5">
<mml:mrow>
<mml:mi>u</mml:mi>
<mml:mo stretchy="false">(</mml:mo>
<mml:mi>t</mml:mi>
<mml:mo stretchy="false">)</mml:mo>
<mml:mo>=</mml:mo>
<mml:msub>
<mml:mi>K</mml:mi>
<mml:mi>p</mml:mi></mml:msub>
<mml:mrow>
<mml:mo>[</mml:mo>
<mml:mrow>
<mml:msub>
<mml:mi>y</mml:mi>
<mml:mi>e</mml:mi></mml:msub>
<mml:mo stretchy="false">(</mml:mo>
<mml:mi>t</mml:mi>
<mml:mo stretchy="false">)</mml:mo>
<mml:mo>+</mml:mo>
<mml:mfrac>
<mml:mn>1</mml:mn>
<mml:mrow>
<mml:msub>
<mml:mi>T</mml:mi>
<mml:mi>i</mml:mi></mml:msub></mml:mrow></mml:mfrac>
<mml:mrow>
<mml:msubsup>
<mml:mo>∫</mml:mo>
<mml:mn>0</mml:mn>
<mml:mi>t</mml:mi></mml:msubsup>
<mml:mrow>
<mml:msub>
<mml:mi>y</mml:mi>
<mml:mi>e</mml:mi></mml:msub>
<mml:mo stretchy="false">(</mml:mo>
<mml:mi>t</mml:mi>
<mml:mo stretchy="false">)</mml:mo>
<mml:mi>d</mml:mi>
<mml:mi>t</mml:mi>
<mml:mo>+</mml:mo>
<mml:msub>
<mml:mi>T</mml:mi>
<mml:mi>d</mml:mi></mml:msub>
<mml:mfrac>
<mml:mi>d</mml:mi>
<mml:mrow>
<mml:mi>d</mml:mi>
<mml:mi>t</mml:mi></mml:mrow></mml:mfrac>
<mml:msub>
<mml:mi>y</mml:mi>
<mml:mi>e</mml:mi></mml:msub>
<mml:mo stretchy="false">(</mml:mo>
<mml:mi>t</mml:mi>
<mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mrow></mml:mrow>
<mml:mo>]</mml:mo></mml:mrow></mml:mrow></mml:semantics></mml:math></disp-formula>where <italic>K<sub>p</sub></italic> is the proportional gain, <italic>T<sub>i</sub></italic> is the constant of integral time, and <italic>T<sub>d</sub></italic> is the constant of derivative time.</p>
<p>As the PID controller is realized in digital control, the continuous PID controller is converted into a discrete PID. <xref rid="FD5" ref-type="disp-formula">Equation (5)</xref> can be changed to the following form [<xref ref-type="bibr" rid="b16-sensors-12-07468">16</xref>]:
<disp-formula id="FD6">
<label>(6)</label>
<mml:math id="mm6" display="block">
<mml:semantics id="sm6">
<mml:mrow>
<mml:mi>u</mml:mi>
<mml:mo stretchy="false">(</mml:mo>
<mml:mi>k</mml:mi>
<mml:mo stretchy="false">)</mml:mo>
<mml:mo>=</mml:mo>
<mml:msub>
<mml:mi>K</mml:mi>
<mml:mi>p</mml:mi></mml:msub>
<mml:mrow>
<mml:mo>[</mml:mo>
<mml:mrow>
<mml:msub>
<mml:mi>y</mml:mi>
<mml:mi>e</mml:mi></mml:msub>
<mml:mo stretchy="false">(</mml:mo>
<mml:mi>k</mml:mi>
<mml:mo stretchy="false">)</mml:mo>
<mml:mo>+</mml:mo>
<mml:mfrac>
<mml:mn>1</mml:mn>
<mml:mrow>
<mml:msub>
<mml:mi>T</mml:mi>
<mml:mi>i</mml:mi></mml:msub></mml:mrow></mml:mfrac>
<mml:mi>S</mml:mi>
<mml:mo stretchy="false">(</mml:mo>
<mml:mi>k</mml:mi>
<mml:mo stretchy="false">)</mml:mo>
<mml:mo>+</mml:mo>
<mml:mfrac>
<mml:mrow>
<mml:msub>
<mml:mi>T</mml:mi>
<mml:mi>d</mml:mi></mml:msub></mml:mrow>
<mml:mi>T</mml:mi></mml:mfrac>
<mml:mo stretchy="false">[</mml:mo>
<mml:msub>
<mml:mi>y</mml:mi>
<mml:mi>e</mml:mi></mml:msub>
<mml:mo stretchy="false">(</mml:mo>
<mml:mi>k</mml:mi>
<mml:mo stretchy="false">)</mml:mo>
<mml:mo>−</mml:mo>
<mml:msub>
<mml:mi>y</mml:mi>
<mml:mi>e</mml:mi></mml:msub>
<mml:mo stretchy="false">(</mml:mo>
<mml:mi>k</mml:mi>
<mml:mo>−</mml:mo>
<mml:mn>1</mml:mn>
<mml:mo stretchy="false">)</mml:mo>
<mml:mo stretchy="false">]</mml:mo></mml:mrow>
<mml:mo>]</mml:mo></mml:mrow></mml:mrow></mml:semantics></mml:math></disp-formula>where <italic>u(k)</italic> is the output of controller from k samples, <italic>S(k)</italic> is the sum of the deviations, <italic>T</italic> is the sampling time. <xref rid="FD6" ref-type="disp-formula">Equation (6)</xref> can be expressed as follows:
<disp-formula id="FD7">
<label>(7)</label>
<mml:math id="mm7" display="block">
<mml:semantics id="sm7">
<mml:mrow>
<mml:mi>u</mml:mi>
<mml:mo stretchy="false">(</mml:mo>
<mml:mi>k</mml:mi>
<mml:mo stretchy="false">)</mml:mo>
<mml:mo>=</mml:mo>
<mml:msub>
<mml:mi>K</mml:mi>
<mml:mi>p</mml:mi></mml:msub>
<mml:msub>
<mml:mi>y</mml:mi>
<mml:mi>e</mml:mi></mml:msub>
<mml:mo stretchy="false">(</mml:mo>
<mml:mi>k</mml:mi>
<mml:mo stretchy="false">)</mml:mo>
<mml:mo>+</mml:mo>
<mml:msub>
<mml:mi>K</mml:mi>
<mml:mi>i</mml:mi></mml:msub>
<mml:mi>S</mml:mi>
<mml:mo stretchy="false">(</mml:mo>
<mml:mi>k</mml:mi>
<mml:mo stretchy="false">)</mml:mo>
<mml:mo>+</mml:mo>
<mml:msub>
<mml:mi>K</mml:mi>
<mml:mi>d</mml:mi></mml:msub>
<mml:mo stretchy="false">[</mml:mo>
<mml:msub>
<mml:mi>y</mml:mi>
<mml:mi>e</mml:mi></mml:msub>
<mml:mo stretchy="false">(</mml:mo>
<mml:mi>k</mml:mi>
<mml:mo stretchy="false">)</mml:mo>
<mml:mo>−</mml:mo>
<mml:msub>
<mml:mi>y</mml:mi>
<mml:mi>e</mml:mi></mml:msub>
<mml:mo stretchy="false">(</mml:mo>
<mml:mi>k</mml:mi>
<mml:mo>−</mml:mo>
<mml:mn>1</mml:mn>
<mml:mo stretchy="false">)</mml:mo>
<mml:mo stretchy="false">]</mml:mo></mml:mrow></mml:semantics></mml:math></disp-formula>where 
<inline-formula>
<mml:math id="mm8" display="inline">
<mml:semantics id="sm8">
<mml:mrow>
<mml:msub>
<mml:mi>K</mml:mi>
<mml:mi>i</mml:mi></mml:msub>
<mml:mo>=</mml:mo>
<mml:msub>
<mml:mi>K</mml:mi>
<mml:mi>p</mml:mi></mml:msub>
<mml:mfrac>
<mml:mn>1</mml:mn>
<mml:mrow>
<mml:msub>
<mml:mi>T</mml:mi>
<mml:mi>i</mml:mi></mml:msub></mml:mrow></mml:mfrac></mml:mrow></mml:semantics></mml:math></inline-formula> is the integral gain, and 
<inline-formula>
<mml:math id="mm9" display="inline">
<mml:semantics id="sm9">
<mml:mrow>
<mml:msub>
<mml:mi>K</mml:mi>
<mml:mi>d</mml:mi></mml:msub>
<mml:mo>=</mml:mo>
<mml:msub>
<mml:mi>K</mml:mi>
<mml:mi>p</mml:mi></mml:msub>
<mml:mfrac>
<mml:mrow>
<mml:msub>
<mml:mi>T</mml:mi>
<mml:mi>d</mml:mi></mml:msub></mml:mrow>
<mml:mi>T</mml:mi></mml:mfrac></mml:mrow></mml:semantics></mml:math></inline-formula> is the derivative gain.</p>
<p>In general cases, the adjustment of PID controller involves selecting proper parameters <italic>K<sub>p</sub>, K<sub>i</sub>, K<sub>d</sub></italic> to ensure the system has better control performance, and the performance standard (objective function) can be defined according to the required specifications. There are two performance indexes: Integrated Squared Error (ISE) and Integrated Absolute Error (IAE). Their mathematical definitions are shown below:
<disp-formula id="FD8">
<label>(8)</label>
<mml:math id="mm10" display="block">
<mml:semantics id="sm10">
<mml:mrow>
<mml:mtext mathvariant="italic">ISE</mml:mtext>
<mml:mo>=</mml:mo>
<mml:mrow>
<mml:msubsup>
<mml:mo>∫</mml:mo>
<mml:mn>0</mml:mn>
<mml:mo>∞</mml:mo></mml:msubsup>
<mml:mrow>
<mml:msup>
<mml:mi>e</mml:mi>
<mml:mn>2</mml:mn></mml:msup>
<mml:mo stretchy="false">(</mml:mo>
<mml:mi>τ</mml:mi>
<mml:mo stretchy="false">)</mml:mo>
<mml:mi>d</mml:mi>
<mml:mi>τ</mml:mi></mml:mrow></mml:mrow></mml:mrow></mml:semantics></mml:math></disp-formula>
<disp-formula id="FD9">
<label>(9)</label>
<mml:math id="mm11" display="block">
<mml:semantics id="sm11">
<mml:mrow>
<mml:mtext mathvariant="italic">IAE</mml:mtext>
<mml:mo>=</mml:mo>
<mml:mrow>
<mml:msubsup>
<mml:mo>∫</mml:mo>
<mml:mn>0</mml:mn>
<mml:mo>∞</mml:mo></mml:msubsup>
<mml:mrow>
<mml:mrow>
<mml:mo>|</mml:mo>
<mml:mrow>
<mml:mi>e</mml:mi>
<mml:mo stretchy="false">(</mml:mo>
<mml:mi>τ</mml:mi>
<mml:mo stretchy="false">)</mml:mo></mml:mrow>
<mml:mo>|</mml:mo></mml:mrow>
<mml:mi>d</mml:mi>
<mml:mi>τ</mml:mi></mml:mrow></mml:mrow></mml:mrow></mml:semantics></mml:math></disp-formula></p>
<p>This paper uses IAE as the objective function (OF), so <xref rid="FD9" ref-type="disp-formula">Equation (9)</xref> is changed to the following equation:
<disp-formula id="FD10">
<label>(10)</label>
<mml:math id="mm12" display="block">
<mml:semantics id="sm12">
<mml:mrow>
<mml:mi>O</mml:mi>
<mml:mi>F</mml:mi>
<mml:mo>=</mml:mo>
<mml:mtext mathvariant="italic">IAE</mml:mtext>
<mml:mo>=</mml:mo>
<mml:mrow>
<mml:msubsup>
<mml:mo>∫</mml:mo>
<mml:mn>0</mml:mn>
<mml:mo>∞</mml:mo></mml:msubsup>
<mml:mrow>
<mml:mrow>
<mml:mo>|</mml:mo>
<mml:mrow>
<mml:mrow>
<mml:mo>‖</mml:mo>
<mml:mrow>
<mml:mi>E</mml:mi>
<mml:mo stretchy="false">(</mml:mo>
<mml:mi>τ</mml:mi>
<mml:mo stretchy="false">)</mml:mo></mml:mrow>
<mml:mo>‖</mml:mo></mml:mrow></mml:mrow>
<mml:mo>|</mml:mo></mml:mrow>
<mml:mi>d</mml:mi>
<mml:mi>τ</mml:mi></mml:mrow></mml:mrow></mml:mrow></mml:semantics></mml:math></disp-formula></p>
<p>According to PSO algorithm, an ideal gain parameter adjustment method for PID controller is determined to minimize the objective function.</p></sec>
<sec>
<label>3.</label>
<title>Solve Optimization Problem Using PSO Algorithm</title>
<p>As the PSO algorithm has memory and distributed search features [<xref ref-type="bibr" rid="b17-sensors-12-07468">17</xref>–<xref ref-type="bibr" rid="b19-sensors-12-07468">19</xref>], it has high accuracy in the optimization of complicated systems, so the PSO algorithm is used in our system to solve the parametric problem of the PID controller. The PID control system consists of a master chaotic system, a slave chaotic system, a PID controller, and the PSO algorithm. The corresponding block diagram is shown in <xref ref-type="fig" rid="f1-sensors-12-07468">Figure 1</xref>.</p>
<p>In <xref ref-type="fig" rid="f1-sensors-12-07468">Figure 1</xref>, <italic>y<sub>m</sub></italic> is the output of master chaotic system, <italic>y<sub>s</sub></italic> is the output of slave chaotic system, <italic>y(e)</italic> is the output error between the master chaotic system and the slave chaotic system, <italic>u(t)</italic> is the control output of PID controller defined as <xref rid="FD7" ref-type="disp-formula">Equation (7)</xref>. The optimum parameters <italic>K<sub>p</sub>, K<sub>i</sub>, K<sub>d</sub></italic> of PID controller are obtained using the PSO algorithm to search for the convergent minimum value of performance index of IAE defined as <xref rid="FD10" ref-type="disp-formula">Equation (10)</xref>.</p></sec>
<sec sec-type="methods">
<label>4.</label>
<title>Optimization Problem Formulation and Procedure</title>
<p>The PSO algorithm is used to solve the parametric optimization as mentioned in the previous section. First, <italic>K∈S</italic> is defined, let <italic>K</italic> be continuous differentiable matrix value function, <italic>S</italic> = <italic>{z</italic>≤<italic>R<sup>3</sup></italic>∣<italic>0</italic>≤<italic>z<sub>i</sub></italic>≤<italic>z<sub>max</sub>,z<sub>max</sub></italic>&lt;∞<italic>, i</italic> = <italic>1,2,3}, z<sub>max</sub></italic> is the search area. The result of optimization problem includes <italic>z</italic>*=[<italic>K<sub>p</sub></italic>*<italic>,K<sub>i</sub></italic>*<italic>,K<sub>d</sub></italic>*]<italic>∈S</italic>, such a parameter value can minimize IAE. This optimization problem is described as mathematical expression for accuracy, namely, to determine a parameter <italic>z</italic>*<italic>∈S</italic> to minimize IAE:
<disp-formula id="FD11">
<label>(11)</label>
<mml:math id="mm13" display="block">
<mml:semantics id="sm13">
<mml:mrow>
<mml:mtable>
<mml:mtr>
<mml:mtd>
<mml:mrow>
<mml:mi>O</mml:mi>
<mml:mi>F</mml:mi>
<mml:mo>=</mml:mo>
<mml:mtext mathvariant="italic">IAE</mml:mtext>
<mml:mo>=</mml:mo>
<mml:mrow>
<mml:msubsup>
<mml:mo>∫</mml:mo>
<mml:mn>0</mml:mn>
<mml:mo>∞</mml:mo></mml:msubsup>
<mml:mrow>
<mml:mrow>
<mml:mo>|</mml:mo>
<mml:mrow>
<mml:mrow>
<mml:mo>‖</mml:mo>
<mml:mrow>
<mml:mi>E</mml:mi>
<mml:mo stretchy="false">(</mml:mo>
<mml:mi>τ</mml:mi>
<mml:mo stretchy="false">)</mml:mo></mml:mrow>
<mml:mo>‖</mml:mo></mml:mrow></mml:mrow>
<mml:mo>|</mml:mo></mml:mrow>
<mml:mi>d</mml:mi>
<mml:mi>τ</mml:mi></mml:mrow></mml:mrow></mml:mrow></mml:mtd>
<mml:mtd>
<mml:mo>,</mml:mo></mml:mtd>
<mml:mtd>
<mml:mrow>
<mml:msup>
<mml:mi>z</mml:mi>
<mml:mo>∗</mml:mo></mml:msup>
<mml:mo>∈</mml:mo>
<mml:mi>s</mml:mi></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:mrow></mml:semantics></mml:math></disp-formula></p>
<p>According to “PSO in Electromagnetics” [<xref ref-type="bibr" rid="b20-sensors-12-07468">20</xref>], a block flow diagram can be induced from the PSO algorithm, as shown in <xref ref-type="fig" rid="f2-sensors-12-07468">Figure 2</xref>.</p>
<p>The velocity update equation is shown below
<disp-formula id="FD12">
<label>(12)</label>
<mml:math id="mm14" display="block">
<mml:semantics id="sm14">
<mml:mrow>
<mml:msub>
<mml:mi>V</mml:mi>
<mml:mi>i</mml:mi></mml:msub>
<mml:mo>=</mml:mo>
<mml:mi>W</mml:mi>
<mml:mo>×</mml:mo>
<mml:msub>
<mml:mi>V</mml:mi>
<mml:mi>i</mml:mi></mml:msub>
<mml:mo>+</mml:mo>
<mml:msub>
<mml:mi>C</mml:mi>
<mml:mn>1</mml:mn></mml:msub>
<mml:mo>×</mml:mo>
<mml:msub>
<mml:mi>R</mml:mi>
<mml:mrow>
<mml:mtext mathvariant="italic">and</mml:mtext></mml:mrow></mml:msub>
<mml:mo>×</mml:mo>
<mml:mo stretchy="false">(</mml:mo>
<mml:msub>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mtext mathvariant="italic">best</mml:mtext></mml:mrow></mml:msub>
<mml:mo>−</mml:mo>
<mml:msub>
<mml:mi>X</mml:mi>
<mml:mi>i</mml:mi></mml:msub>
<mml:mo stretchy="false">)</mml:mo>
<mml:mo>+</mml:mo>
<mml:msub>
<mml:mi>C</mml:mi>
<mml:mn>2</mml:mn></mml:msub>
<mml:mo>×</mml:mo>
<mml:msub>
<mml:mi>R</mml:mi>
<mml:mrow>
<mml:mtext mathvariant="italic">and</mml:mtext></mml:mrow></mml:msub>
<mml:mo>×</mml:mo>
<mml:mo stretchy="false">(</mml:mo>
<mml:msub>
<mml:mi>G</mml:mi>
<mml:mrow>
<mml:mtext mathvariant="italic">best</mml:mtext></mml:mrow></mml:msub>
<mml:mo>−</mml:mo>
<mml:msub>
<mml:mi>X</mml:mi>
<mml:mi>i</mml:mi></mml:msub>
<mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:semantics></mml:math></disp-formula>where:
<list list-type="simple">
<list-item>
<p><italic>V<sub>i</sub></italic>: Velocity of each particle</p></list-item>
<list-item>
<p><italic>i</italic>: Number of particle</p></list-item>
<list-item>
<p>W: Inertia Weight</p></list-item>
<list-item>
<p><italic>C</italic><sub>1</sub>, <italic>C</italic><sub>2</sub>: Learning constant</p></list-item>
<list-item>
<p><italic>R<sub>and</sub></italic>: Random number between 0 and 1</p></list-item>
<list-item>
<p><italic>P<sub>best</sub></italic>: The optimum position of each particle up to now</p></list-item>
<list-item>
<p><italic>G<sub>best</sub></italic>: The optimum position of all particles up to now</p></list-item>
<list-item>
<p><italic>X<sub>i</sub></italic>: The present position of each particle</p></list-item></list></p>
<p>Position update equation of each particle point in particle swarm:
<disp-formula id="FD13">
<label>(13)</label>
<mml:math id="mm15" display="block">
<mml:semantics id="sm15">
<mml:mrow>
<mml:msub>
<mml:mi>X</mml:mi>
<mml:mi>i</mml:mi></mml:msub>
<mml:mo>=</mml:mo>
<mml:msub>
<mml:mi>X</mml:mi>
<mml:mi>i</mml:mi></mml:msub>
<mml:mo>+</mml:mo>
<mml:msub>
<mml:mi>V</mml:mi>
<mml:mi>i</mml:mi></mml:msub></mml:mrow></mml:semantics></mml:math></disp-formula></p></sec>
<sec>
<label>5.</label>
<title>Image Encryption and Decryption</title>
<p>This study used the Sprott chaotic synchronization system and cryptology concept to design a wireless communication secrecy system, and employed LabVIEW software to transmit images in wireless mode. The data were encrypted and decrypted by computer to computer. Bluetooth, which is a wireless personal LAN, was used for wireless transmission. The transmission frequency of Bluetooth was 2.45 GHz. Besides digital data transmission, sound transmission was also available. The transmission speed of Bluetooth was 2∼3 Mb per second, and encryption protection could be set. The frequency changed 1,600 times per min, so it was unlikely to be intercepted and was free from interference from electromagnetic waves. Each Bluetooth-based connecting device had a 48-bit address according to the IEEE 802 standard. It could connect one or many devices, and the maximum transmission range was about 100 m. This study used a D401 mini-Bluetooth receiver V2.0 EDR, with a transmission distance of 20 m, and a transmission speed of 2.1 Mb per second.</p>
<p>In the image encryption and decryption, the user has to enter a key, and this value is mixed with the chaotic signal. A password is then generated randomly as the chaotic signal changes, and is mixed with the pixels of the original image. The chaotic signal is used to select 16 different data ordering modes. The RGB values of pixels are combined by staggered arrangement for encryption and decryption. The initial value of this chaotic system is generated randomly. In synchronous signal transmission, another chaotic system is used for encryption and decryption, and the initial value of this chaotic signal is obtained from the key entered by the user. The system structure is shown in <xref ref-type="fig" rid="f3-sensors-12-07468">Figure 3</xref>, and the control interface of system is shown in <xref ref-type="fig" rid="f4-sensors-12-07468">Figures 4</xref> and <xref ref-type="fig" rid="f5-sensors-12-07468">5</xref>.</p></sec>
<sec sec-type="results">
<label>6.</label>
<title>Simulation and Experimental Results</title>
<p>This study used LabVIEW to design the PID controller, applied a PSO algorithm to obtain the optimum parameter values and perform synchronization control for the Sprott [<xref ref-type="bibr" rid="b13-sensors-12-07468">13</xref>,<xref ref-type="bibr" rid="b14-sensors-12-07468">14</xref>] chaotic circuit system. The system equations are shown below:</p>
<p>Master:
<disp-formula id="FD14">
<label>(14)</label>
<mml:math id="mm16" display="block">
<mml:semantics id="sm16">
<mml:mrow>
<mml:mtable columnalign="left">
<mml:mtr>
<mml:mtd>
<mml:mrow>
<mml:msub>
<mml:mover accent="true">
<mml:mi>x</mml:mi>
<mml:mo>˙</mml:mo></mml:mover>
<mml:mrow>
<mml:mi>m</mml:mi>
<mml:mo>,</mml:mo>
<mml:mn>1</mml:mn></mml:mrow></mml:msub>
<mml:mo>=</mml:mo>
<mml:msub>
<mml:mi>x</mml:mi>
<mml:mrow>
<mml:mi>m</mml:mi>
<mml:mo>,</mml:mo>
<mml:mn>2</mml:mn></mml:mrow></mml:msub></mml:mrow></mml:mtd></mml:mtr>
<mml:mtr>
<mml:mtd>
<mml:mrow>
<mml:msub>
<mml:mover accent="true">
<mml:mi>x</mml:mi>
<mml:mo>˙</mml:mo></mml:mover>
<mml:mrow>
<mml:mi>m</mml:mi>
<mml:mo>,</mml:mo>
<mml:mn>2</mml:mn></mml:mrow></mml:msub>
<mml:mo>=</mml:mo>
<mml:msub>
<mml:mi>x</mml:mi>
<mml:mrow>
<mml:mi>m</mml:mi>
<mml:mo>,</mml:mo>
<mml:mn>3</mml:mn></mml:mrow></mml:msub></mml:mrow></mml:mtd></mml:mtr>
<mml:mtr>
<mml:mtd>
<mml:mrow>
<mml:msub>
<mml:mover accent="true">
<mml:mi>x</mml:mi>
<mml:mo>˙</mml:mo></mml:mover>
<mml:mrow>
<mml:mi>m</mml:mi>
<mml:mo>,</mml:mo>
<mml:mn>3</mml:mn></mml:mrow></mml:msub>
<mml:mo>=</mml:mo>
<mml:mo>−</mml:mo>
<mml:mn>1.2</mml:mn>
<mml:msub>
<mml:mi>x</mml:mi>
<mml:mrow>
<mml:mi>m</mml:mi>
<mml:mo>,</mml:mo>
<mml:mn>1</mml:mn></mml:mrow></mml:msub>
<mml:mo>−</mml:mo>
<mml:msub>
<mml:mi>x</mml:mi>
<mml:mrow>
<mml:mi>m</mml:mi>
<mml:mo>,</mml:mo>
<mml:mn>2</mml:mn></mml:mrow></mml:msub>
<mml:mo>−</mml:mo>
<mml:mn>0.6</mml:mn>
<mml:msub>
<mml:mi>x</mml:mi>
<mml:mrow>
<mml:mi>m</mml:mi>
<mml:mo>,</mml:mo>
<mml:mn>3</mml:mn></mml:mrow></mml:msub>
<mml:mo>+</mml:mo>
<mml:mn>2</mml:mn>
<mml:mo>⋅</mml:mo>
<mml:mtext>sign</mml:mtext>
<mml:mrow>
<mml:mo>(</mml:mo>
<mml:mrow>
<mml:msub>
<mml:mi>x</mml:mi>
<mml:mrow>
<mml:mi>m</mml:mi>
<mml:mo>,</mml:mo>
<mml:mn>1</mml:mn></mml:mrow></mml:msub></mml:mrow>
<mml:mo>)</mml:mo></mml:mrow></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:mrow></mml:semantics></mml:math></disp-formula></p>
<p>Slave:
<disp-formula id="FD15">
<label>(15)</label>
<mml:math id="mm17" display="block">
<mml:semantics id="sm17">
<mml:mrow>
<mml:mtable>
<mml:mtr>
<mml:mtd>
<mml:mrow>
<mml:msub>
<mml:mover accent="true">
<mml:mi>x</mml:mi>
<mml:mo>˙</mml:mo></mml:mover>
<mml:mrow>
<mml:mi>s</mml:mi>
<mml:mo>,</mml:mo>
<mml:mn>1</mml:mn></mml:mrow></mml:msub>
<mml:mo>=</mml:mo>
<mml:msub>
<mml:mi>x</mml:mi>
<mml:mrow>
<mml:mi>s</mml:mi>
<mml:mo>,</mml:mo>
<mml:mn>2</mml:mn></mml:mrow></mml:msub></mml:mrow></mml:mtd></mml:mtr>
<mml:mtr>
<mml:mtd>
<mml:mrow>
<mml:msub>
<mml:mover accent="true">
<mml:mi>x</mml:mi>
<mml:mo>˙</mml:mo></mml:mover>
<mml:mrow>
<mml:mi>s</mml:mi>
<mml:mo>,</mml:mo>
<mml:mn>2</mml:mn></mml:mrow></mml:msub>
<mml:mo>=</mml:mo>
<mml:msub>
<mml:mi>x</mml:mi>
<mml:mrow>
<mml:mi>s</mml:mi>
<mml:mo>,</mml:mo>
<mml:mn>3</mml:mn></mml:mrow></mml:msub>
<mml:mo>+</mml:mo>
<mml:mi>u</mml:mi>
<mml:mo stretchy="false">(</mml:mo>
<mml:mi>t</mml:mi>
<mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mtd></mml:mtr>
<mml:mtr>
<mml:mtd>
<mml:mrow>
<mml:msub>
<mml:mover accent="true">
<mml:mi>x</mml:mi>
<mml:mo>˙</mml:mo></mml:mover>
<mml:mrow>
<mml:mi>s</mml:mi>
<mml:mo>,</mml:mo>
<mml:mn>3</mml:mn></mml:mrow></mml:msub>
<mml:mo>=</mml:mo>
<mml:mo>−</mml:mo>
<mml:mn>1.2</mml:mn>
<mml:msub>
<mml:mi>x</mml:mi>
<mml:mrow>
<mml:mi>s</mml:mi>
<mml:mo>,</mml:mo>
<mml:mn>1</mml:mn></mml:mrow></mml:msub>
<mml:mo>−</mml:mo>
<mml:msub>
<mml:mi>x</mml:mi>
<mml:mrow>
<mml:mi>s</mml:mi>
<mml:mo>,</mml:mo>
<mml:mn>2</mml:mn></mml:mrow></mml:msub>
<mml:mo>−</mml:mo>
<mml:mn>0.6</mml:mn>
<mml:msub>
<mml:mi>x</mml:mi>
<mml:mrow>
<mml:mi>s</mml:mi>
<mml:mo>,</mml:mo>
<mml:mn>3</mml:mn></mml:mrow></mml:msub>
<mml:mo>+</mml:mo>
<mml:mn>2</mml:mn>
<mml:mo>⋅</mml:mo>
<mml:mtext>sign</mml:mtext>
<mml:mrow>
<mml:mo>(</mml:mo>
<mml:mrow>
<mml:msub>
<mml:mi>x</mml:mi>
<mml:mrow>
<mml:mi>s</mml:mi>
<mml:mo>,</mml:mo>
<mml:mn>1</mml:mn></mml:mrow></mml:msub></mml:mrow>
<mml:mo>)</mml:mo></mml:mrow></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:mrow></mml:semantics></mml:math></disp-formula>where the <italic>x<sub>m</sub>, x<sub>s</sub></italic> derived from each <italic>ẋ<sub>m</sub>, ẋ<sub>s</sub></italic> are related to Time <italic>t</italic>, and <italic>u(t)</italic> is the controller added. The Master and Slave trajectories demonstrate chaotic motions when the controller <italic>u(t)</italic> = 0, the control objective is:
<disp-formula id="FD16">
<label>(16)</label>
<mml:math id="mm18" display="block">
<mml:semantics id="sm18">
<mml:mrow>
<mml:munder>
<mml:mrow>
<mml:mo>lim</mml:mo></mml:mrow>
<mml:mrow>
<mml:mi>t</mml:mi>
<mml:mo>→</mml:mo>
<mml:mo>∞</mml:mo></mml:mrow></mml:munder>
<mml:mrow>
<mml:mo>‖</mml:mo>
<mml:mrow>
<mml:msub>
<mml:mi>x</mml:mi>
<mml:mi>m</mml:mi></mml:msub>
<mml:mo stretchy="false">(</mml:mo>
<mml:mi>t</mml:mi>
<mml:mo stretchy="false">)</mml:mo>
<mml:mo>−</mml:mo>
<mml:msub>
<mml:mi>x</mml:mi>
<mml:mi>s</mml:mi></mml:msub>
<mml:mo stretchy="false">(</mml:mo>
<mml:mi>t</mml:mi>
<mml:mo stretchy="false">)</mml:mo></mml:mrow>
<mml:mo>‖</mml:mo></mml:mrow>
<mml:mo>→</mml:mo>
<mml:mn>0</mml:mn></mml:mrow></mml:semantics></mml:math></disp-formula>where the master chaotic system and slave chaotic system come to synchronization. MATLAB and Simulink were used for simulation. If the initial conditions of the master chaotic system and slave chaotic system are [<italic>x<sub>m1</sub>(0),x<sub>m2</sub>(0),x<sub>m3</sub>(0)</italic>] = [0.1 0.1 0.1] and [<italic>x<sub>s1</sub>(0),x<sub>s2</sub>(0),x<sub>s3</sub>(0)</italic>] = [−0.5 −0.5 −0.5], and the particle population and number of iterations of optimization problem are set as 10 and 300 to determine the optimum parameter values of the PID controller. The IAE converges at 45 iterations as calculated by the PSO algorithm and 68 iterations as calculated by the EP algorithm. The steady state values of IAE are 0.8451 by PSO and 1.231 by EP, as shown in <xref ref-type="fig" rid="f6-sensors-12-07468">Figure 6</xref>. Compared with [<xref ref-type="bibr" rid="b16-sensors-12-07468">16</xref>] and [<xref ref-type="bibr" rid="b21-sensors-12-07468">21</xref>] under the same initial conditions, it can be seen that the IAE convergence speed of the PSO algorithm is faster than the evolutionary programming (EP) algorithm, as shown in <xref ref-type="table" rid="t1-sensors-12-07468">Tables 1</xref>, <xref ref-type="table" rid="t2-sensors-12-07468">2</xref> and <xref ref-type="fig" rid="f7-sensors-12-07468">Figure 7</xref>. Therefore, we can find that the PSO algorithm calculation performance is better than the EP algorithm in this study. The <italic>k<sub>p</sub>,k<sub>i</sub>,k<sub>d</sub></italic> parameter values of PID controller by PSO algorithm are <italic>z</italic>*=[<italic>K<sub>p</sub></italic>*<italic>,K<sub>i</sub></italic>*<italic>,K<sub>d</sub></italic>*]=[10.9554 0.005 10.9504], as shown in <xref ref-type="fig" rid="f8-sensors-12-07468">Figures 8</xref>–<xref ref-type="fig" rid="f10-sensors-12-07468">10</xref>. The simulation results of adding synchronizing signal in after 50 s of Sprott are shown in <xref ref-type="fig" rid="f11-sensors-12-07468">Figures 11</xref>–<xref ref-type="fig" rid="f13-sensors-12-07468">13</xref>.</p>
<p>This study produced two images for encryption and decryption. One was a picture of an airplane, and the experimental results are shown in <xref ref-type="fig" rid="f14-sensors-12-07468">Figures 14</xref>–<xref ref-type="fig" rid="f22-sensors-12-07468">22</xref>. <xref ref-type="fig" rid="f14-sensors-12-07468">Figure 14</xref> is the original airplane picture to be transmitted, and the image is disorganized into <xref ref-type="fig" rid="f15-sensors-12-07468">Figure 15</xref> after encryption processing. <xref ref-type="fig" rid="f16-sensors-12-07468">Figure 16</xref> shows the decryption when the key entered is incorrect. <xref ref-type="fig" rid="f17-sensors-12-07468">Figures 17</xref>–<xref ref-type="fig" rid="f19-sensors-12-07468">19</xref> show the RGB distribution of the original picture. <xref ref-type="fig" rid="f20-sensors-12-07468">Figures 20</xref>–<xref ref-type="fig" rid="f22-sensors-12-07468">22</xref> show the RGB distribution of the encrypted picture. Another image is a scenery picture, and the experimental results are shown in <xref ref-type="fig" rid="f23-sensors-12-07468">Figures 23</xref>–<xref ref-type="fig" rid="f25-sensors-12-07468">25</xref>. <xref ref-type="fig" rid="f23-sensors-12-07468">Figure 23</xref> is the original scenery picture to be transmitted, and the image is disorganized into <xref ref-type="fig" rid="f24-sensors-12-07468">Figure 24</xref> after encryption processing. <xref ref-type="fig" rid="f25-sensors-12-07468">Figure 25</xref> shows the decryption when the key entered is incorrect. <xref ref-type="fig" rid="f26-sensors-12-07468">Figures 26</xref>–<xref ref-type="fig" rid="f28-sensors-12-07468">28</xref> show the RGB distribution of the original picture. <xref ref-type="fig" rid="f29-sensors-12-07468">Figures 29</xref>–<xref ref-type="fig" rid="f31-sensors-12-07468">31</xref> show the RGB distribution of the decrypted picture.</p></sec>
<sec sec-type="conclusions">
<label>7.</label>
<title>Conclusions</title>
<p>This study successfully used PSO to obtain the optimum parameter values of a chaotic synchronization PID controller, and applied it in chaotic communication secrecy. A traditional PID controller can only be used in fixed systems, and must be redesigned if it is to be used in different systems, which consumes a high hardware setting time and cost. This study used LabVIEW, instead of the traditional PID controller, so that when it is applied in other systems, only the parameters of the PID controller need to be changed, so the time and cost can be reduced. Bluetooth was used to realize wireless transmissions. In the application of wireless communications, future studies can focus on the encryption and decryption of images in order to improve the security of wireless transmission.</p></sec></body>
<back>
<ack>
<p>The financial support of this research by the National Science Council of the R.O.C., under Grant No. NSC 100-2628-E-167-002-MY3 is greatly appreciated.</p></ack>
<ref-list>
<title>References</title>
<ref id="b1-sensors-12-07468"><label>1.</label><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Lerescu</surname><given-names>A.I.</given-names></name><name><surname>Constandache</surname><given-names>N.</given-names></name><name><surname>Oancea</surname><given-names>S.</given-names></name><name><surname>Grosu</surname><given-names>I.</given-names></name></person-group><article-title>Collection of master–slave synchronized chaotic systems</article-title><source>Chaos Solitons Fractals</source><year>2004</year><volume>22</volume><fpage>599</fpage><lpage>604</lpage><pub-id pub-id-type="doi">10.1016/j.chaos.2004.02.039</pub-id></citation></ref>
<ref id="b2-sensors-12-07468"><label>2.</label><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Chua</surname><given-names>L.O.</given-names></name><name><surname>Lin</surname><given-names>G.N.</given-names></name></person-group><article-title>Canonical realization of Chua's circuit family</article-title><source>IEEE Trans. Circuits Syst.</source><year>1990</year><volume>37</volume><fpage>885</fpage><lpage>902</lpage><pub-id pub-id-type="doi">10.1109/31.55064</pub-id></citation></ref>
<ref id="b3-sensors-12-07468"><label>3.</label><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Lorenz</surname><given-names>E.N.</given-names></name></person-group><article-title>Deterministic non-periodic flow</article-title><source>J. Atmos. Sci.</source><year>1963</year><volume>20</volume><fpage>130</fpage><lpage>141</lpage><pub-id pub-id-type="doi">10.1175/1520-0469(1963)020&lt;0130:DNF&gt;2.0.CO;2</pub-id></citation></ref>
<ref id="b4-sensors-12-07468"><label>4.</label><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Gao</surname><given-names>T.</given-names></name><name><surname>Chen</surname><given-names>Z.</given-names></name></person-group><article-title>A new image encryption algorithm based on hyper-chaos</article-title><source>Phys. Lett. A</source><year>2008</year><volume>372</volume><fpage>394</fpage><lpage>400</lpage><pub-id pub-id-type="doi">10.1016/j.physleta.2007.07.040</pub-id></citation></ref>
<ref id="b5-sensors-12-07468"><label>5.</label><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Guan</surname><given-names>Z.-H.</given-names></name><name><surname>Huang</surname><given-names>F.</given-names></name><name><surname>Guan</surname><given-names>W.</given-names></name></person-group><article-title>Chaos based image encryption algorithm</article-title><source>Phys. Lett. A</source><year>2005</year><volume>346</volume><fpage>153</fpage><lpage>157</lpage><pub-id pub-id-type="doi">10.1016/j.physleta.2005.08.006</pub-id></citation></ref>
<ref id="b6-sensors-12-07468"><label>6.</label><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Lian</surname><given-names>S.</given-names></name></person-group><article-title>Efficient image or video encryption based on spatiotemporal chaos system</article-title><source>Chaos Solitons Fractals</source><year>2009</year><volume>40</volume><fpage>2509</fpage><lpage>2519</lpage><pub-id pub-id-type="doi">10.1016/j.chaos.2007.10.054</pub-id></citation></ref>
<ref id="b7-sensors-12-07468"><label>7.</label><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Pareek</surname><given-names>N.K.</given-names></name><name><surname>Patidar</surname><given-names>V.</given-names></name><name><surname>Sud</surname><given-names>K.K.</given-names></name></person-group><article-title>Image encryption using chaotic logistic map</article-title><source>Image Vis. Comput.</source><year>2006</year><volume>24</volume><fpage>926</fpage><lpage>934</lpage><pub-id pub-id-type="doi">10.1016/j.imavis.2006.02.021</pub-id></citation></ref>
<ref id="b8-sensors-12-07468"><label>8.</label><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Chen</surname><given-names>G.</given-names></name><name><surname>Mao</surname><given-names>Y.</given-names></name><name><surname>Chui</surname><given-names>C.K.</given-names></name></person-group><article-title>A symmetric image encryption scheme based on 3D chaotic cat maps</article-title><source>Chaos Solitions Fractals</source><year>2004</year><volume>21</volume><fpage>749</fpage><lpage>761</lpage><pub-id pub-id-type="doi">10.1016/j.chaos.2003.12.022</pub-id></citation></ref>
<ref id="b9-sensors-12-07468"><label>9.</label><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Chen</surname><given-names>S.</given-names></name><name><surname>Lü</surname><given-names>J.</given-names></name></person-group><article-title>Synchronization of an uncertain unified chaotic system via adaptive control</article-title><source>Chaos Solitons Fractals</source><year>2002</year><volume>14</volume><fpage>643</fpage><lpage>647</lpage><pub-id pub-id-type="doi">10.1016/S0960-0779(02)00006-1</pub-id></citation></ref>
<ref id="b10-sensors-12-07468"><label>10.</label><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Zhang</surname><given-names>H.</given-names></name><name><surname>Ma</surname><given-names>X.K.</given-names></name><name><surname>Liu</surname><given-names>W.Z.</given-names></name></person-group><article-title>Synchronization of chaotic systems with parametric uncertainty using active sliding mode control</article-title><source>Chaos Solitons Fractals</source><year>2004</year><volume>21</volume><fpage>1249</fpage><lpage>1257</lpage><pub-id pub-id-type="doi">10.1016/j.chaos.2003.12.073</pub-id></citation></ref>
<ref id="b11-sensors-12-07468"><label>11.</label><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Wen</surname><given-names>G.</given-names></name><name><surname>Wang</surname><given-names>Q.G.</given-names></name><name><surname>Lin</surname><given-names>C.</given-names></name><name><surname>Han</surname><given-names>X.</given-names></name><name><surname>Li</surname><given-names>G.</given-names></name></person-group><article-title>Synthesis for robust synchronization of chaotic systems under output feedback control with multiple random delays</article-title><source>Chaos Solitons Fractals</source><year>2006</year><volume>29</volume><fpage>1142</fpage><lpage>1146</lpage><pub-id pub-id-type="doi">10.1016/j.chaos.2005.08.078</pub-id></citation></ref>
<ref id="b12-sensors-12-07468"><label>12.</label><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Pecora</surname><given-names>L.M.</given-names></name><name><surname>Carroll</surname><given-names>T.L.</given-names></name></person-group><article-title>Synchronization in chaotic systems</article-title><source>Phys. Rev. Lett.</source><year>1990</year><volume>64</volume><fpage>821</fpage><lpage>824</lpage><pub-id pub-id-type="doi">10.1103/PhysRevLett.64.821</pub-id><pub-id pub-id-type="pmid">10042089</pub-id></citation></ref>
<ref id="b13-sensors-12-07468"><label>13.</label><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Ott</surname><given-names>E.</given-names></name><name><surname>Grebogi</surname><given-names>C.</given-names></name><name><surname>Yorke</surname><given-names>J.A.</given-names></name></person-group><article-title>Controlling chaos</article-title><source>Phys. Rev. Lett.</source><year>1990</year><volume>64</volume><fpage>1196</fpage><lpage>1199</lpage><pub-id pub-id-type="doi">10.1103/PhysRevLett.64.1196</pub-id><pub-id pub-id-type="pmid">10041332</pub-id></citation></ref>
<ref id="b14-sensors-12-07468"><label>14.</label><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Sprott</surname><given-names>J.C.</given-names></name></person-group><article-title>A new class of chaotic circuits</article-title><source>Phys. Lett. A</source><year>2000</year><volume>266</volume><fpage>19</fpage><lpage>23</lpage><pub-id pub-id-type="doi">10.1016/S0375-9601(00)00026-8</pub-id></citation></ref>
<ref id="b15-sensors-12-07468"><label>15.</label><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Almeida</surname><given-names>D.I.R.</given-names></name><name><surname>Alvarez</surname><given-names>J.</given-names></name><name><surname>Barajas</surname><given-names>J.G.</given-names></name></person-group><article-title>Robust synchronization of Sprott circuits using sliding mode control</article-title><source>Chaos Solitons Fractals</source><year>2006</year><volume>30</volume><fpage>11</fpage><lpage>18</lpage><pub-id pub-id-type="doi">10.1016/j.chaos.2005.09.011</pub-id></citation></ref>
<ref id="b16-sensors-12-07468"><label>16.</label><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Yau</surname><given-names>H.T.</given-names></name><name><surname>Pu</surname><given-names>Y.C.</given-names></name><name><surname>Li</surname><given-names>S.C.</given-names></name></person-group><article-title>An FPGA-based PID controller design for chaos synchronization by evolutionary programming</article-title><source>Discret. Dyn. Nat. Soc.</source><year>2011</year><volume>2011</volume><fpage>1</fpage><lpage>11</lpage></citation></ref>
<ref id="b17-sensors-12-07468"><label>17.</label><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Chang</surname><given-names>J.C.</given-names></name></person-group><article-title>DOA Estimation for local scattered cdma signals by particle swarm optimization</article-title><source>Sensors</source><year>2012</year><volume>12</volume><fpage>3228</fpage><lpage>3242</lpage><pub-id pub-id-type="doi">10.3390/s120303228</pub-id><pub-id pub-id-type="pmid">22737004</pub-id></citation></ref>
<ref id="b18-sensors-12-07468"><label>18.</label><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Zhang</surname><given-names>Y.</given-names></name><name><surname>Wu</surname><given-names>L.</given-names></name></person-group><article-title>Crop classification by forward neural network with adaptive chaotic particle swarm optimization</article-title><source>Sensors</source><year>2011</year><volume>11</volume><fpage>4721</fpage><lpage>4743</lpage><pub-id pub-id-type="doi">10.3390/s110504721</pub-id><pub-id pub-id-type="pmid">22163872</pub-id></citation></ref>
<ref id="b19-sensors-12-07468"><label>19.</label><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Wang</surname><given-names>X.</given-names></name><name><surname>Wang</surname><given-names>S.</given-names></name><name><surname>Ma</surname><given-names>J.J.</given-names></name></person-group><article-title>An improved co-evolutionary particle swarm optimization for wireless sensor networks with dynamic deployment</article-title><source>Sensors</source><year>2007</year><volume>7</volume><fpage>354</fpage><lpage>370</lpage><pub-id pub-id-type="doi">10.3390/s7030354</pub-id></citation></ref>
<ref id="b20-sensors-12-07468"><label>20.</label><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Robinson</surname><given-names>J.</given-names></name><name><surname>Rahmat-Samii</surname><given-names>Y.</given-names></name></person-group><article-title>Particle swarm optimization in electromagnetics</article-title><source>IEEE Trans. Antennas Propag.</source><year>2004</year><volume>52</volume><fpage>397</fpage><lpage>407</lpage><pub-id pub-id-type="doi">10.1109/TAP.2004.823969</pub-id></citation></ref>
<ref id="b21-sensors-12-07468"><label>21.</label><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Chen</surname><given-names>H.C.</given-names></name><name><surname>Chang</surname><given-names>J.F.</given-names></name><name><surname>Yan</surname><given-names>J.J.</given-names></name><name><surname>Liao</surname><given-names>T.L.</given-names></name></person-group><article-title>EP-based PID control design for chaotic synchronization with application in secure communication</article-title><source>Expert Syst. Appl.</source><year>2008</year><volume>34</volume><fpage>1169</fpage><lpage>1177</lpage><pub-id pub-id-type="doi">10.1016/j.eswa.2006.12.023</pub-id></citation></ref></ref-list>
<sec sec-type="display-objects">
<title>Figures and Tables</title>
<fig id="f1-sensors-12-07468" position="float">
<label>Figure 1.</label>
<caption>
<p>Block diagram of PID controlled chaotic synchronization system of the PSO algorithm.</p></caption>
<graphic xlink:href="sensors-12-07468f1.gif"/></fig>
<fig id="f2-sensors-12-07468" position="float">
<label>Figure 2.</label>
<caption>
<p>PSO algorithm process block diagram.</p></caption>
<graphic xlink:href="sensors-12-07468f2.gif"/></fig>
<fig id="f3-sensors-12-07468" position="float">
<label>Figure 3.</label>
<caption>
<p>Structure diagram of Image encryption and decryption of chaotic synchronous cryptographic system.</p></caption>
<graphic xlink:href="sensors-12-07468f3.gif"/></fig>
<fig id="f4-sensors-12-07468" position="float">
<label>Figure 4.</label>
<caption>
<p>Transmission interface.</p></caption>
<graphic xlink:href="sensors-12-07468f4.gif"/></fig>
<fig id="f5-sensors-12-07468" position="float">
<label>Figure 5.</label>
<caption>
<p>Reception control interface.</p></caption>
<graphic xlink:href="sensors-12-07468f5.gif"/></fig>
<fig id="f6-sensors-12-07468" position="float">
<label>Figure 6.</label>
<caption>
<p>IAE convergence curve.</p></caption>
<graphic xlink:href="sensors-12-07468f6.gif"/></fig>
<fig id="f7-sensors-12-07468" position="float">
<label>Figure 7.</label>
<caption>
<p>IAE convergence curve by PSO and EP with the initial conditions [xm1(0), xm2(0), xm3(0)] = [0.1, 0.1, 0.1] and [xs1(0), xs2(0), xs3(0)] = [−1, −1, −1].</p></caption>
<graphic xlink:href="sensors-12-07468f7.gif"/></fig>
<fig id="f8-sensors-12-07468" position="float">
<label>Figure 8.</label>
<caption>
<p><italic>k<sub>p</sub></italic> convergence curve.</p></caption>
<graphic xlink:href="sensors-12-07468f8.gif"/></fig>
<fig id="f9-sensors-12-07468" position="float">
<label>Figure 9.</label>
<caption>
<p><italic>k<sub>i</sub></italic> convergence curve.</p></caption>
<graphic xlink:href="sensors-12-07468f9.gif"/></fig>
<fig id="f10-sensors-12-07468" position="float">
<label>Figure 10.</label>
<caption>
<p><italic>k<sub>d</sub></italic> convergence curve.</p></caption>
<graphic xlink:href="sensors-12-07468f10.gif"/></fig>
<fig id="f11-sensors-12-07468" position="float">
<label>Figure 11.</label>
<caption>
<p><italic>x<sub>m1</sub></italic> and <italic>x<sub>s1</sub></italic> synchronization curve.</p></caption>
<graphic xlink:href="sensors-12-07468f11.gif"/></fig>
<fig id="f12-sensors-12-07468" position="float">
<label>Figure 12.</label>
<caption>
<p><italic>x<sub>m2</sub></italic> and <italic>x<sub>s2</sub></italic> synchronization curve.</p></caption>
<graphic xlink:href="sensors-12-07468f12.gif"/></fig>
<fig id="f13-sensors-12-07468" position="float">
<label>Figure 13.</label>
<caption>
<p><italic>x<sub>m3</sub></italic> and <italic>x<sub>s3</sub></italic> synchronization curve.</p></caption>
<graphic xlink:href="sensors-12-07468f13.gif"/></fig>
<fig id="f14-sensors-12-07468" position="float">
<label>Figure 14.</label>
<caption>
<p>Original picture of an airplane.</p></caption>
<graphic xlink:href="sensors-12-07468f14.gif"/></fig>
<fig id="f15-sensors-12-07468" position="float">
<label>Figure 15.</label>
<caption>
<p>Post-encryption effect.</p></caption>
<graphic xlink:href="sensors-12-07468f15.gif"/></fig>
<fig id="f16-sensors-12-07468" position="float">
<label>Figure 16.</label>
<caption>
<p>Decryption effect when the key entered is incorrect.</p></caption>
<graphic xlink:href="sensors-12-07468f16.gif"/></fig>
<fig id="f17-sensors-12-07468" position="float">
<label>Figure 17.</label>
<caption>
<p>Statistical chart of R value distribution of the original image.</p></caption>
<graphic xlink:href="sensors-12-07468f17.gif"/></fig>
<fig id="f18-sensors-12-07468" position="float">
<label>Figure 18.</label>
<caption>
<p>Statistical chart of G value distribution of the original image.</p></caption>
<graphic xlink:href="sensors-12-07468f18.gif"/></fig>
<fig id="f19-sensors-12-07468" position="float">
<label>Figure 19.</label>
<caption>
<p>Statistical chart of B value distribution of the original image.</p></caption>
<graphic xlink:href="sensors-12-07468f19.gif"/></fig>
<fig id="f20-sensors-12-07468" position="float">
<label>Figure 20.</label>
<caption>
<p>Statistical chart of R value distribution after encryption.</p></caption>
<graphic xlink:href="sensors-12-07468f20.gif"/></fig>
<fig id="f21-sensors-12-07468" position="float">
<label>Figure 21.</label>
<caption>
<p>Statistical chart of G value distribution after encryption.</p></caption>
<graphic xlink:href="sensors-12-07468f21.gif"/></fig>
<fig id="f22-sensors-12-07468" position="float">
<label>Figure 22.</label>
<caption>
<p>Statistical chart of B value distribution after encryption.</p></caption>
<graphic xlink:href="sensors-12-07468f22.gif"/></fig>
<fig id="f23-sensors-12-07468" position="float">
<label>Figure 23.</label>
<caption>
<p>Original scenery picture.</p></caption>
<graphic xlink:href="sensors-12-07468f23.gif"/></fig>
<fig id="f24-sensors-12-07468" position="float">
<label>Figure 24.</label>
<caption>
<p>Post-encryption effect.</p></caption>
<graphic xlink:href="sensors-12-07468f24.gif"/></fig>
<fig id="f25-sensors-12-07468" position="float">
<label>Figure 25.</label>
<caption>
<p>Decryption effect when the key entered is incorrect.</p></caption>
<graphic xlink:href="sensors-12-07468f25.gif"/></fig>
<fig id="f26-sensors-12-07468" position="float">
<label>Figure 26.</label>
<caption>
<p>Statistical chart of R value distribution of the original image.</p></caption>
<graphic xlink:href="sensors-12-07468f26.gif"/></fig>
<fig id="f27-sensors-12-07468" position="float">
<label>Figure 27.</label>
<caption>
<p>Statistical chart of G value distribution of the original image.</p></caption>
<graphic xlink:href="sensors-12-07468f27.gif"/></fig>
<fig id="f28-sensors-12-07468" position="float">
<label>Figure 28.</label>
<caption>
<p>Statistical chart of B value distribution of the original image.</p></caption>
<graphic xlink:href="sensors-12-07468f28.gif"/></fig>
<fig id="f29-sensors-12-07468" position="float">
<label>Figure 29.</label>
<caption>
<p>Statistical chart of R value distribution after encryption.</p></caption>
<graphic xlink:href="sensors-12-07468f29.gif"/></fig>
<fig id="f30-sensors-12-07468" position="float">
<label>Figure 30.</label>
<caption>
<p>Statistical chart of G value distribution after encryption.</p></caption>
<graphic xlink:href="sensors-12-07468f30.gif"/></fig>
<fig id="f31-sensors-12-07468" position="float">
<label>Figure 31.</label>
<caption>
<p>Statistical chart of B value distribution after encryption.</p></caption>
<graphic xlink:href="sensors-12-07468f31.gif"/></fig>
<table-wrap id="t1-sensors-12-07468" position="float">
<label>Table 1.</label>
<caption>
<p>The convergence situation of PSO <italic>vs</italic>. EP with the initial conditions [xm1(0), xm2(0), xm3(0)] = [0.1, 0.1, 0.1] and [xs1(0), xs2(0), xs3(0)] = [−1, −1, −1].</p></caption>
<table frame="box" rules="all">
<thead>
<tr>
<th align="left" valign="top"/>
<th align="center" valign="middle"><bold>Converged iterations</bold></th>
<th align="center" valign="middle"><bold>Steady state of IAE</bold></th></tr></thead>
<tbody>
<tr>
<td align="left" valign="middle"><bold>The EP method in reference</bold> [<xref ref-type="bibr" rid="b16-sensors-12-07468">16</xref>]</td>
<td align="center" valign="middle">170</td>
<td align="center" valign="middle">0.7592</td></tr>
<tr>
<td align="left" valign="middle"><bold>The PSO method in this paper</bold></td>
<td align="center" valign="middle">53</td>
<td align="center" valign="middle">0.6697</td></tr></tbody></table></table-wrap>
<table-wrap id="t2-sensors-12-07468" position="float">
<label>Table 2.</label>
<caption>
<p>The convergence situation of PSO <italic>vs</italic>. EP with the initial conditions [xm1(0), xm2(0), xm3(0)] = [0.1, 0.1, 0.1] and [xs1(0), xs2(0), xs3(0)] = [−1, −2, 1].</p></caption>
<table frame="box" rules="all">
<thead>
<tr>
<th align="left" valign="top"/>
<th align="center" valign="middle"><bold>Converged iterations</bold></th>
<th align="center" valign="middle"><bold>Steady state of IAE</bold></th></tr></thead>
<tbody>
<tr>
<td align="left" valign="middle"><bold>The EP method in reference</bold> [<xref ref-type="bibr" rid="b21-sensors-12-07468">21</xref>]</td>
<td align="center" valign="middle">80</td>
<td align="center" valign="middle">0.6726</td></tr>
<tr>
<td align="left" valign="middle"><bold>The PSO method in this paper</bold></td>
<td align="center" valign="middle">26</td>
<td align="center" valign="middle">0.4132</td></tr></tbody></table></table-wrap></sec></back></article>
