Based on the principle of chaotic synchronization of cellular neural network (CNN), this paper conducts a grayscale image secure communication experiment based on a single-chip microcomputer. The feasibility of the scheme is verified by comparing the noise-free, different degrees of noise interference and synchronization performance.
1 CNN Chaotic Model
The 4-element CNNs chaotic synchronization secure communication is shown in Figure 1 [4].
Launch system:
Transmission signal:
s(t)=KX+200y4+i(t)
Through the same driving variable s(t), the synchronization error e=xx′ is achieved. When e=0, that is, when the equilibrium state is stable, the constructed receiving equation is as follows:
Receiving system:
In the formula, take K=[80.190 0, 20.154 6, 11.936 3, -89.800 0].
2 System Design
2.1 Single Chip Microcomputer and Development Tools
The single chip microcomputer used in this paper is AT89S52, on which grayscale image chaotic secure communication is realized. AT89S52 is a low-power, high-performance CMOS integrated circuit chip 8-bit microcontroller with 8 KB system programmable Flash memory. It is manufactured using Atmel's high-density non-volatile memory technology and is fully compatible with the industrial 80C51 single chip microcomputer instructions and pins. The on-chip Flash allows the program memory to be programmable in the system. On a single chip, with a smart 8-bit CPU and in-system programmable Flash, the AT89S52 can provide highly flexible and super-effective solutions for many embedded control application systems.
The single chip microcomputer development tool used in this paper is Keil C51, version 808A. This development tool supports assembly/C language programming. And provides a variety of analog chips for software simulation. Keil C51 is a 51 series compatible microcontroller C language software development system produced by Keil Software in the United States. Compared with assembly language, C language has obvious advantages in function, structure, readability, and maintainability, and is easy to learn and use.
2.2 Design process
Grayscale image is a two-dimensional signal, and the signal required for this design is a one-dimensional signal. Therefore, before the experiment, the two-dimensional dot array (m×n) of the grayscale image must be converted into a one-dimensional array as shown in Figure 2 as the input signal i(t).
[page]
The whole experimental process is shown in Figure 3. It should be noted that due to the limited storage unit of the single-chip microcomputer, the chaos algorithm generates a large number of intermediate parameters after multiple multiplication and addition. In order to obtain complete data results and the normal operation of the single-chip microcomputer, 5 data are set as one algorithm cycle. Once one algorithm cycle is completed, the result data is sent to the computer, and the next cycle result is overwritten and saved in the same storage unit. In this way, the integrity of the data and the fluency of the experiment are guaranteed.
3 Experimental results
The experimental interface is shown in Figure 4, and the functions are as follows:
Noise parameter: communication noise, simulating the experimental results under external interference in the actual environment.
Synchronization parameter X: 4-element CNN chaos algorithm, X initial value, indicating the synchronization of communication, when X is 0, it means synchronization; when it is greater than zero, it means undersynchronization, the larger the X value, the worse the synchronization performance.
Pass test: Test whether the microcontroller is connected correctly.
Run: If the pass test is normal, click Run, and the display will be as shown in Figure 4.
The results obtained by entering different noise parameters and synchronization parameters are shown in Figure 5.
Based on the CNN chaos synchronization principle, this paper realizes the confidential communication of grayscale images on a single-chip microcomputer. The experimental results are compared under different noise coefficients and synchronization coefficients, as shown in Figure 5. Under ideal conditions (i.e., when the noise is 0 and the synchronization is complete), the feasibility of chaotic confidentiality on a single-chip microcomputer is verified. However, when the noise gradually increases, the image distortion becomes higher and higher, which is in line with the actual situation. When the synchronization parameters change, the image is undersynchronized, which confirms the correctness of the synchronization algorithm on the single-chip microcomputer. As a small chip device, the single-chip microcomputer can be embedded in various electronic products, with a wide range of applications, low cost, high efficiency, and stable confidential communication effect.
Previous article:Automatic parking fee management system based on 51 single chip microcomputer control
Next article:Design of A/D and D/A Converters Using PIC Microcontroller
Professor at Beihang University, dedicated to promoting microcontrollers and embedded systems for over 20 years.
- Innolux's intelligent steer-by-wire solution makes cars smarter and safer
- 8051 MCU - Parity Check
- How to efficiently balance the sensitivity of tactile sensing interfaces
- What should I do if the servo motor shakes? What causes the servo motor to shake quickly?
- 【Brushless Motor】Analysis of three-phase BLDC motor and sharing of two popular development boards
- Midea Industrial Technology's subsidiaries Clou Electronics and Hekang New Energy jointly appeared at the Munich Battery Energy Storage Exhibition and Solar Energy Exhibition
- Guoxin Sichen | Application of ferroelectric memory PB85RS2MC in power battery management, with a capacity of 2M
- Analysis of common faults of frequency converter
- In a head-on competition with Qualcomm, what kind of cockpit products has Intel come up with?
- Dalian Rongke's all-vanadium liquid flow battery energy storage equipment industrialization project has entered the sprint stage before production
- Allegro MicroSystems Introduces Advanced Magnetic and Inductive Position Sensing Solutions at Electronica 2024
- Car key in the left hand, liveness detection radar in the right hand, UWB is imperative for cars!
- After a decade of rapid development, domestic CIS has entered the market
- Aegis Dagger Battery + Thor EM-i Super Hybrid, Geely New Energy has thrown out two "king bombs"
- A brief discussion on functional safety - fault, error, and failure
- In the smart car 2.0 cycle, these core industry chains are facing major opportunities!
- The United States and Japan are developing new batteries. CATL faces challenges? How should China's new energy battery industry respond?
- Murata launches high-precision 6-axis inertial sensor for automobiles
- Ford patents pre-charge alarm to help save costs and respond to emergencies
- New real-time microcontroller system from Texas Instruments enables smarter processing in automotive and industrial applications
- EEWORLD University ---- Automotive/Industrial Millimeter Wave Radar Sensors
- When designing an isolation system using a linear optocoupler, the isolation strength is required to reach 1800 volts. What should be considered during the design?
- First day of work in 2021
- TL335x-EVM development board processor, FLASH, RAM, FRAM
- DSP2812 CMD detailed configuration example
- 【ESP32-Korvo Review】 01 Unboxing Experience
- Exposed! Another unfinished semiconductor project: defrauding state-owned land and refusing to return it! Using the name of chips to engage in real estate?
- How to configure C2000 to enter low power mode
- Basic concepts of amplifier circuits and three basic connections
- Does the material of the transformer determine the operating frequency of the transformer?