The invention provides an SOPC-based embedded dual-core
servo controller and a designed method thereof. The
hardware architecture includes an FPGA, a power
system, a program FLASH, a data FLASH, a driver, a data instruction
communication unit, and a sensor data reading unit and the like, wherein the power
system, the program FLASH, the data FLASH, the driver, the data instruction
communication unit, and the sensor data reading unit and the like are in
signal connection with the FPGA. The FPGAs is provided with two
Microblaze soft-core processors to carry out dual-core
parallel computing. A plurality of IP soft cores are
signal connection by a PLB
bus. All
Microblaze soft-core processors carry out
data exchange with all IP soft cores through PLB buses. The two
Microblaze soft-core processors carry out dual-core data communication. According to functional requirements of the
control system, the
hardware architecture and interface type are determined; the
software bottom architecture is determined; compiling is carried out by using an XPS tool; a top interface file is outputted; and top-level
soft core controller design development is carried out at an SDK platform. Therefore, the co-
processing ability of the controller is enhanced. The SOPC-based embedded dual-core
servo controller has advantages of abundant resources, strong expandability, high reliability, low cost and simple design.