The current table tennis placement is manual placement method, accurate positioning and intelligent control is not good. A table tennis automatic placement controller based on S3C2410 is designed to improve the artificial intelligence of table tennis placement. The host control of the controller is composed of two parts: the host computer collects the visual information of billiards table and analyses the position and position of billiards. The host computer uses GT8340 embedded control chip to control the auto-focusing high-definition camera of the host computer. The multi-threaded serial port transmission method is used to read and recognize the labels distributed in billiards. Achieve the reception, storage and transmission of multi-dimensional data for billiard positioning. The lower computer is the main control module of the controller. It loads the control algorithm through the program loading circuit to realize the information perception and actuator control of billiards placement. The lower computer controller uses the low-power S3C2410 as the main control chip to realize the integrated design of the controller. The test results show that the controller has better control accuracy, higher accuracy of billiard positioning and less time overhead. Billiards is not only a recreational activity, but also a competitive sport. With the popularity of billiards, billiards attracts more and more attention and love.
Research on intelligent design technology of billiards venues and equipment also attracts people’s great attention. The placement of billiards is an important link affecting the entertainment and integration of billiards. At present, the triangular shelf fixed or manual placement method is mostly used in the placement of billiards, and the intelligence and accuracy of positioning are not high. Researching the controller of automatic table tennis placement is an important content to solve the intelligent development of table tennis equipment and facilities, and the related controller research has received great attention. This paper carries out the optimization design of the automatic table tennis placement controller.
Firstly, the overall structure of the controller design is analyzed, then the hardware design and software development of the controller are carried out. Finally, the debugging analysis of the automatic table tennis placement controller is carried out, which shows the superiority of the controller designed in this paper. There are many factors to be considered in the design of billiards automatic placement controller, including the volume and quality of the controller, the accuracy of billiards positioning control, the cost of components and reliability. In the architecture of the controller, the embedded technology is used to optimize the controller of billiards automatic placement. The controller consists of upper and lower computer parts [1]. The upper computer refers to the video information acquisition and azimuth distance measurement unit of the billiards automatic placement controller, which includes two modules: the direct controller and the display screen. The motor drive is used to control the executive device of the controller. The A/D acquisition module of billiards automatic placement controller consists of two parts: one is the control signal conditioning part of ARM embedded core; the other is the acquisition chip part. A/D module is responsible for collecting the status and environment data on billiard table. Using the direct control unit, the parameters such as the position and angle of the desktop are converted into digital signals and transmitted to the main control system. Through the signal conversion circuit, the data are returned and saved to the executive center unit of the controller. The billiards are displayed automatically through the LCD screen. Effect. The ARM main control system module of the upper computer is responsible for receiving the data of the lower computer and displaying, analyzing and managing them.
It can also directly transfer the lower computer to control the work. Based on the comprehensive analysis, it is concluded that the billiard automatic placement controller designed in this paper is mainly composed of two parts: hardware module and software module. The hardware module uses S3C2410 as its function. The main control chip [2] designs the power supply circuit, amplification circuit and conditioning circuit of the controller to control signal processing and MSCom control modulation [3].
In the software module design, the protocol stack is driven by the terminal sensor nodes designated by DZDAPP_CONFIG_PAN_ID by configuring fSwConfig.
According to the analysis of the overall design principle, the controller is designed. Among them, the main control system uses GT8340 embedded control chip to control the auto-focusing high-definition camera of the host computer to collect the original information of billiard control. Samsung’s S3C2410A chip is selected as the embedded design of the control and execution mechanism of the controller. This chip is an ARM9 chip, which has the embedded microprocessing performance of ARM. It loads on power with S3C2410A chip, and processes the square data of billiards collected by A/D automatically, and outputs the display status results to the screen.
The screen adopts multi-sensor and external high-performance A/D chip acquisition method to initialize the hardware, send the sensor data frame sequence to the ARM processor platform, and design the embedded controller. The design process and functional module structure block diagram are shown in Figure 1. The hardware design of the billiard automatic placement controller adopts embedded ARM integrated design and processing scheme. The controller chooses a 32-bit embedded control chip of GT8340, which has high-speed caching function. Video surveillance interface is used to receive pictures, videos and multi-dimensional data of the distribution position and orientation information of billiards on the billiard table and display them on the display screen. In the upper computer, the rotation direction of the snooker surveillance camera is controlled, and the multi-threaded serial port transmission method is used to read and recognize the labels distributed in the snooker. The hardware modules of upper and lower computer control units of billiards automatic placement controller are shown in Fig. 2. Addressing, automatic detection of the placement of billiards, the logical timing of the upper and lower computer of the controller is controlled by the input clock, using ADO object to adjust the input voltage, the external excitation signal is stable in the range of 1 to 5 V, and the corresponding position is on and off by touching the finger to realize the control of the voltage, thus completing the output of the automatic placement controller of billiards. A/D sampling at high and low levels completes the design of A/D circuit. In the module, the controller automatically detects the connection between GT8340 embedded control chip and controlled components in the program loading circuit. The program is loaded by RS 232 serial communication mode, and communicated by bytes from short to long. The multi-channel structure of the controller is designed by using sensing sensor technology.
The program loading circuit of the controller completes the functions of information sensing, network transmission and data processing. The digital interface is controlled by using the command structure table shown in table 1. Program loading circuit design. Control reset circuit. The control reset circuit is a reset control function to realize the automatic placement of billiards.
It is distributed in the lower computer of the whole controller.
Firstly, the control parameters of the control reset circuit are given in Table 2. According to Table 2, the control reset circuit of billiards automatic placement can adopt ITU? 656 PPI mode and general PPI mode. The lower computer controller uses low power consumption S3C2410 as the main control chip, uses two-dimensional DMA to complete control reset and generate interrupt signal after 1 frame transmission of control instruction, and uses MC7660 to complete power-on reset. The circuit design is shown in Figure 3. Show.
Integrated design of control interrupt circuit and control execution circuit. The control interrupt circuit and the control execution circuit are the core parts of the whole table tennis automatic placement controller. GT8340 embedded control chip is used to control the auto-focusing high-definition camera of the host computer. As the host control unit of the host computer, S3C2410 is used as the main control chip to integrate the control interrupt circuit and control execution circuit, and ADM706S is used to change the pin state of WDI. After power-on reset, the DSP sampled BMODE2?0 pins, the SPI memory addressed 16 or 24 bits [6], used the unique ID0xA0 to select the SPI host boot program, and executed the control command directly from the external 8 or 16 bits memory. UART host boot is implemented in the start area, address area and instruction area. The integrated design of control interrupt circuit and control execution circuit is completed. The design circuit is shown in Figure 4.
The software design of the controller is to realize the functions of data acquisition, position measurement and high-voltage control of the billiards automatic placement controller. The program driver and interrupt initialization operation are completed in the embedded ARM environment. Firstly, PPI and DMA0 initialization of hardware module and protocol stack initialization are carried out. The multi-dimensional space of billiards distribution is adjusted by motor drive, the current A/D sampling results are judged, the position distribution of billiards is judged by CAN interruption program, thermostatic element and the adjustment model can position billiards in three-dimensional space [7]. By 25 MHz crystal frequency sensing sensor data frame, according to the received numerical adjustment control instructions, after reaching the period set by PLL_LOCKCNT, S3C2410 is awakened, and the controller for automatic billiards placement is operated to realize the loading of control instructions. The software flow of billiards automatic placement controller based on S3C2410 is obtained as shown in Fig. 5. In the experimental test of the billiard placement controller, the serial port parameters are set as follows: TSPEN bit is 1, frame synchronization signal is low level effective, word length is 18 bits, DMA0_Y_MODIFY is 2, and control command area is set from 03 bits to build MapView control for human-machine operation. According to the above test parameters, we have tested several times in different distribution environments of billiards. The controller designed in this paper, the controller based on video recognition method and the manual placement method are used to place billiards.
The time analysis results are shown in Figure 6. The comparative analysis results of table tennis positioning errors are shown in Table 3. Analysis of Figure 6 shows that the controller designed in this paper takes the least time to place billiards. The results of Table 3 show that the method has high accuracy, low fluctuation, the biggest error of manual placement, more uncertainties and the longest overhead time. The results show that the controller designed in this paper is effective and intelligent. This paper designs an automatic table tennis placement controller based on S3C2410 to improve the artificial intelligence of table tennis placement. Firstly, the overall structure of the controller design is analyzed, then the hardware design and software development of the controller are given. The detailed design descriptions of the controller’s A/D circuit, program loading circuit, control reset circuit, control interrupt circuit and control execution circuit are given. The main control chip is S3C2410, which is completed in embedded ARM environment. Develop software. Finally, the debugging and analysis of the automatic controller for billiards placement are carried out. The results show that the controller designed in this paper has better control accuracy, higher accuracy for billiards positioning and placement, less control time overhead, and has good practical value.