Abstract

Children at this age are a critical period of physical and mental development in a person’s life. Correctly understanding and grasping the characteristics and laws of physical and mental development of children at this stage and developing targeted sports and training are conducive to the physical development and growth of children. The first is the concrete image of the cognitive activity; the second is the unintentional nature of mental activities and behaviors; the third is the initial tendency of personality in order to monitor the physical condition of children in sports training in real time and to improve the management and data analysis capabilities of the physical condition of children in sports training; a set of real-time monitoring system for the physical condition of children in sports training is designed to help develop and improve the intelligence of children’s sports training management. This article mainly introduces the design of a real-time monitoring system for children’s physical condition in sports training based on an embedded system and is aimed at providing some references for the real-time monitoring of the physical condition of young children in sports training. This paper proposes a design method of a real-time monitoring system for children’s physical fitness in sports training based on embedded systems, utilizing the professionalism and real time and tailored the ability, reliability, and low power consumption of the embedded system to design a real-time monitoring system for the physical condition of young children in sports training; reuse includes the document retrieval, questionnaire survey, mathematical statistics, logical analysis, and real-time monitoring related algorithms, such as a real-time monitoring system based on the Internet of Things system, which is used for children’s physical fitness in sports training. Real-time monitoring system designed research experiment. The results show that the embedded real-time monitoring system designed in this paper has an average accuracy rate of 93.33% for children’s physical conditions, and the accuracy is strong, and it can be applied to the monitoring of children’s physical condition; it can promote the good development of children’s body and physique and improve the intelligent management ability of children’s sports training.

1. Introduction

With the rapid development of microprocessors, the performance of current microprocessors is getting higher and higher; a microprocessor is a central processing unit composed of one or a few large-scale integrated circuits. Compared with the traditional central processing unit, it has the advantages of small size, light weight, and easy modularization. A new research topic that combines embedded systems with human body fitness parameter monitoring has emerged. With its fast data processing capabilities and good network performance, it has been well developed in many fields.

Embedded systems take application as the core microelectronics technology and control technology, emphasizing the collaboration and integration of materials and software; software and equipment can adapt to system’s operation, reliability, cost, and size; a performance dedicated computer system with strict requirements on the consumption and application environment. In view of the current weak initiative of ordinary video monitoring systems, the strong customization of professional intelligent monitoring systems, and the many advantages of embedded platforms, an embedded real-time monitoring system for the physical condition of children in sports is proposed, which can be used when children are playing sports. Real-time monitoring of children’s moving human bodies in the monitoring scene and automatically saves the monitored physical fitness information to the designated path of the system.

Zeng et al. believe that today’s traditional stand-alone embedded systems are limited in terms of functionality, flexibility, and scalability, because of its limited resources, limited processing power, and high hardware dependence. The role of the fog computing platform is to push cloud services to the edge of the network. This is a way to support and enhance traditional outlook solutions. Integrated system resource management has always been the key to system performance. Zeng et al. studied the software built-in system supported by the fog computer, in which the working image is located on the storage server, and the computer can be run on the built-in device or computer server; we designed an efficient task scheduling resource management strategy to minimize the task completion time improving user experience. Zeng et al. studied three issues: how to balance the workload between client devices and computer servers; how to place working image storage servers on the servers; and how to balance I/O interruption requests between storage servers. This research process is relatively cumbersome, difficult to be applied in reality [1]. Back et al. introduced the development of low-cost embedded energy management systems for industrial environments. The main goal is to use digital signal processing (DSP) technology to monitor, collect, and analyze electrical parameters. For data analysis, Back et al. have created two applications: one uses Matlab® software; the other is derived from the first application and runs on an embedded device. Both of these applications use discrete wavelet transform as the main technique for interference detection. This research is rather one-sided and not practical [2]. Huang developed a new intelligent neuro-fuzzy surface roughness monitoring system in his research. The purpose of this model is to improve the accuracy of surface roughness prediction and solve the shortcomings of neural networks and fuzzy logic. They use statistical techniques to analyze the accuracy between these systems. However, the system is still in the preliminary investigation stage and needs further investigation [3].

The innovations of this article are: (1) proposed real-time monitoring algorithms for the design of a real-time monitoring system for children’s physical condition; (2) carried out the hardware design of a real-time monitoring system for children’s physical conditions; (3) designed a real-time monitoring system for children’s physical condition monitoring system-related software.

2. Design Method of Real-Time Monitoring System for Infant Physical Condition in Sports Training Based on Embedded System

2.1. Research Method

This article uses the monitoring technology under the Internet of Things environment to collect data on the actual information of children’s physical exercise. The following is the calculation and processing method of the influencing factors that may appear in the monitoring process:

2.1.1. Document Retrieval Method

According to the needs of this research and the characteristics of the research content, through CNKI, AOL, Springer Link, government websites, and other channels, combined with network query, database access, book borrowing, and resource purchase, etc., a wide range of embedded monitoring systems, children’s physique monitoring, and other related literature materials are summarized, sorted, and analyzed to provide theoretical references for the research of this topic [4].

2.1.2. Questionnaire Survey Method

(1)There are two kinds of questionnaires designed in this study, namely, teacher’s questionnaire for monitoring the physical condition of children in sports training and the questionnaire for experts related to the monitoring of physical condition during human sports training. The teacher questionnaire is designed based on preliminary surveys and a large number of relevant literatures. According to the needs of this research, it is designed to consult relevant experts and relevant leaders and teachers involved in the monitoring of children’s physical status. The purpose is to understand the current status of children’s physical status, and there are problems in physical fitness monitoring; the expert questionnaire is designed on the basis of previous interviews with relevant school leaders and physical education teachers engaged in the monitoring of children’s physical fitness [5, 6](2)The validity test of the questionnaire is an indispensable link in the research and a prerequisite for the authenticity, validity, and credibility of the questionnaire data. The opinions of relevant experts and professors were extensively solicited during the design of the questionnaire, and the questionnaire effectiveness was formulated by the content and structure of the questionnaire involved in this research, degree evaluation table [7]

2.1.3. Mathematical Statistics

Use software such as EXCEL and SPSS to process and analyze the data obtained in this study, and draw various statistical charts, etc., to provide reliable data support for the study [8].

2.1.4. Logic Analysis Method

Use logic principles such as induction, deduction, analogy, and synthesis to analyze the collected data and combine the theoretical knowledge you have learned to make the research systematized and theoretical, conduct comprehensive analysis and discussion, and get more scientific research conclusions and recommendations [9].

2.2. Real-Time Monitoring-Related Algorithms
2.2.1. Error Compensation

Error compensation refers to the calculation of nonlinear errors to obtain their accurate errors and compensate them. The formula is:

represents the theoretical full-scale output value, and the variable represents the maximum deviation [10, 11].

The residual error between the itch calibration data and the corresponding value of the fitted straight line is according to the principle of least squares method, and set to zero to obtain and by [12, 13]. The announcement is as follows:

2.2.2. Filtering Algorithm

There are many filtering methods for weak signal detection algorithms. The algorithm used to monitor the stability of baby’s physical condition optimizes the sampling frequency error analysis results [14, 15].

Differential signals with strong anti-interference capability are used for signal acquisition [16, 17]. The basic formula of FIR is: where the transfer function can be expressed as:

Substituting , the frequency characteristic formula is:

As shown below:

Find the best fitness weight coefficient , and get

The specific process is shown in Table 1.

3. Design of a Real-Time Monitoring System for Infants’ Physical Fitness in Sports Training Based on Embedded System

3.1. System Hardware Design
3.1.1. Overview of System Hardware Design

The basic layer of the integrated system is the central processing unit, which contains the digital unit and the controller unit. Based on the processor, combined with memory module, power module, recovery module, etc., a so-called minimal system is formed. The embedded system level and hardware structure are shown in Figure 1.

The hardware circuit of the embedded system designed in this article is mainly divided into eight parts, MCU circuit, Bluetooth circuit, ECG acquisition circuit, body temperature measurement circuit, pressure sensor, power supply circuit, FLASH storage module, MCU received ECG acquisition module, and body temperature through USART and I2C bus, respectively, Real-time monitoring data sent by the sensor. The pressure sensor and the MCU realize data transmission through the A/D conversion circuit. The MCU analyzes the data and stores it in the FLASH memory. Flash memory is a nonvolatile memory; its storage characteristics are equivalent to a hard disk and can retain data for a long time without current supply [18]. When the MCU receives the command sent by Android to retrieve the measurement data, the corresponding data will be processed. It is sent through USART and transmitted to Android smart terminal through Bluetooth module [19, 20]. Therefore, the physical condition data can be quickly updated and displayed in real time, and it is easy to carry out and has high practicality.

3.1.2. System MCU Peripheral Circuit Design

In the system, the MCU is mainly responsible for data processing and corresponding transparent transmission. MCU is a single-chip microcontrol computer based on the central processing unit. There are many types of data transmitted by the system, and the algorithms involved are also more complicated. There are many types of data transmitted by the system, and the algorithms involved are more complex. Therefore, the performance of the MCU processor is higher. After comparing multiple microcontroller processors, the final makes sure to use STM32F103RCT6 microcontroller as the main control processor of the hardware system terminal. STM32F103RCT6 is a 32-bit embedded high-speed processor under the Cortex-M3 architecture. It runs at 72 MHZ and integrates 512 KB bytes of high-speed memory and 48 KB bytes of RAM space. Peripheral equipment connection resources are more abundant, up to 50 IOs, 8 timers, and 12-bit AD and DA converters [21]. The current can be reduced to 2uA in standby mode. It contains multiple USART universal serial communication interfaces, providing a more convenient means of transmission for system development. It supports the use of JTAG emulation debugger, which makes it more convenient to use the online debugging function. It also contains multiple serial peripheral interfaces (SPI) and other bus protocol interfaces [22].

3.1.3. System Power Circuit Design

To make the portability of the system more prominent, it is convenient to carry around. The system uses 18650 lithium-ion batteries for power supply. The 2000 mAh 18650 battery can support the system to work continuously for up to 100 hours. The control part of the power supply circuit is realized by SN8P2711A microcontroller, which is a RISE-like high-performance, low-power MCU, which is widely used and low in price. The control circuit of the system mainly completes the functions of collecting voltage, controlling, the working status of charging and discharging, and power indicator. The charging management circuit adopts TC4056. TC4056 is a linear charging chip specially designed for lithium ion or lithium polymer batteries. The integrated power supply circuit in the chip can realize constant current or constant voltage charging of external batteries, respectively [23]. The charging current can be changed by adjusting the resistance of the external resistor. The maximum charging current can reach 1A, which is fully applicable to USB power supply and adapter power supply.

3.1.4. Microprocessor Chip

The LPC2132 microprocessor is a 32/16-bit ARM7TDMI-S CPU, which is very powerful and can support real-time simulation and embedded tracking. It has 32 KB, 64 KB, 128 KB, 256 KB, and 512 KB single-chip embedded high-speed flash memory. It has a 128-bit width memory interface and a unique acceleration structure, which enables the LPC2132 microprocessor to make 32-bit code run perfectly at the maximum clock rate. For core code applications, 16-bit thumb mode can be used. In this case, we can significantly reduce the performance loss of the code, which may exceed 30%. The LPC2132 microprocessor is very suitable for communication gateways, protocol converters, soft modems, voice recognition, and low-end imaging. It also provides powerful data processing capabilities and a large buffer space. It has multiple 32-bit timers, single or dual 10-bit 8-channel ADC(S), 10-bit DAC, PWM channels, and 47 GPIOs, as well as up to 9 edge or level-triggered external interrupt pins, which makes LPC2132 microprocessors widely used in industrial control and medical systems.

3.2. System Software Design
3.2.1. PC Operating System Selection

The upper computer operating system is the link between the hardware equipment and the software system. It directly responds to the operation of the software program to manage and control the hardware equipment. With the development of the Internet and computers, common operating systems include Windows and Linux; for embedded devices, there are also embedded Linux, WinCE, and VxWorks; Vxworks is generally used in military and aerospace equipment, so the information is relatively confidential, and the cost of learning and development is also very high; Linux is more general and popular and has a wide range of applications; WinCE is a Microsoft module, and the stability is not as good as Linux, but the graphical interface is very dazzling, so it is often used in consumer electronics fields such as smart phones [24]. In mobile-embedded devices, especially consumer electronics such as smart phones and tablet computers, Symbian, Android, iOS, Windows, and Phone are mainly used. Mature embedded systems are often used in industrial production, and good interactive interfaces and user experience make mobile-embedded operating systems more suitable for use in mobile electronic devices.

3.2.2. Development Platform Construction

Android’s development language is Java, so you must first download and install the JDK (Java Development Kit). The minimum requirement for Android application development is Java SE6, and Java SE7 is currently commonly used. After the installation is complete, the environment variables must be configured, and the samples can be sent to compile and run the written program.

3.2.3. Data Storage Design

SQLite database stores data. SQLite is a pinch-level-embedded database engine. It supports SQL language and has very good performance with very little memory.

3.2.4. Software Design of Lower Computer

The lower-level function is relatively simple, but the data is collected directly, so the focus is on the accuracy and immediacy of the collected data. Since the lower computer itself is an independent monitoring device, the stand-alone mode (away from the control of the upper computer) is added to achieve product independence. The serial port display is selected on the display, and this function is realized through the serial port 1 of the single-chip microcomputer. By understanding the characteristics of the display screen, 9600 bps is used for communication, and the serial port format is 8 data bits, 1 stop bit, and no parity bit. Set the parameters of the MCU serial port 1 according to the serial communication requirements of the display screen.

3.2.5. Monitoring Process Design

The software design in stand-alone mode considers the following two situations. One is the test mode, which realizes the independent test process, including the collection of information of the tested person (here only manual entry is used), time control, data collection, and result storage, and the addition of the function of viewing and deleting results; the other is practice mode, considering the actual application scenarios and equipment testing, and practice mode, that is, there is no need to enter information or save data. The real-time monitoring design process is shown in Figure 2.

In the online mode, the collection of results is the same as the stand-alone mode. The test time is also controlled by the lower computer to ensure the accuracy of the time, and the start signal of the time is controlled by the upper computer to achieve fairness of the test. Because the host computer has already saved the data, the local save design is no longer done. Wireless communication also uses serial communication. Serial communication, as one of the computer communication methods, mainly plays the role of data transmission between the host and peripherals and the host. Serial communication has the characteristics of fewer transmission lines and low cost. Because the importance of wireless data is higher than that of serial screens, serial 0 is used. Serial port 0 is available during power-on initialization, but the serial port is closed after the stand-alone mode is selected. And in the online mode, the control is done by the host, so the operation of responding to the serial port screen is not performed, and the serial port 1 only sends but not receives [25, 26].

The detailed process of embedded system real-time monitoring is shown in Table 2.

4. Design and Analysis of a Real-Time Monitoring System for Children’s Physical Fitness in Sports Training Based on Embedded System

4.1. Questionnaire Analysis

(1)By conducting a questionnaire survey of kindergarten teachers, sorting out, and analyzing the results of the questionnaire, we can get a rough assessment of the physical fitness level of the children, as shown in Table 3 and Figure 3

From the chart, it can be seen that the total score of excellent male and female children is relatively small, and most of them are concentrated in passing standards. The good rate of female children is higher than that of men; the passing rate of female children is also higher than that of men; the failing rate of male children is higher than that of females. The overall excellent rate of male and female children is 8.02%; the pass rate is 93.27%. (2)By conducting a questionnaire survey on kindergarten teachers, sorting out and analyzing the results of the questionnaire, we can get a rough rate of reaching the physical fitness standard of children. The specific situation is shown in Table 4 and Figure 4

It can be seen that the overall compliance rate of children in different age groups is at a relatively high level, exceeding 85%. The compliance rate of male and female children first increased and then decreased with age, and the compliance rate of male and female children reached the maximum at 5 years old. Before the age of 5, the compliance rates of female children in other age groups were higher than those of male children; after the age of 5, the compliance rates of female children in other age groups were lower than that of male children. (3)Through 20 experts, make a five-level validity test of “very reasonable, reasonable, general, unreasonable, and very unreasonable” and some suggestions for revision of the questionnaire, summarize the questionnaire, exclude invalid factors, and guarantee this article the validity of the questionnaire. The validity of the statistical questionnaire is shown in Table 5 and Figure 5

As shown in the data in the table, after statistical analysis of the evaluation results and the validity, evaluation results of the three questionnaires are all reasonable and above, which can prove that experts generally believe that the overall design of the questionnaire is reasonable and can more objectively reflect the requirements. The results sought that the structure of the questionnaire is relatively reasonable, and the language expression is relatively clear, which can meet the needs of scientific research, and the questionnaire survey can be implemented. (4)This article mainly uses the test-retest reliability analysis method in the questionnaire reliability testing process, using the commonly used Cronbach’s Alpha reliability coefficient analysis in SPSS. Cronbach’s analysis is mainly used to evaluate the consistency of continuous variables and ordinal categorical variables. When the reliability coefficient is less than 0.5, the questionnaire is credible; when the reliability coefficient is between 0.5 and 0.8, the reliability of the questionnaire is acceptable; when the reliability coefficient of the questionnaire is greater than or equal to 0.8, the reliability of the questionnaire is very good. Use SPSS 25.0 software to further analyze and questionnaire survey. The reliability results of the questionnaire are shown in Table 6 and Figure 6

Calculating from the data in the table, the average value of the correlation coefficient of the questionnaire reliability is 0.909.

4.2. Experiment Analysis

(1)Use the original FIR filter processing algorithm and the improved FIR filter processing algorithm to analyze the “Bootstrap,” “LightSwitch,” “MovedObject,” and “Time Of Day” videos in the Wallflower public image database. FIR filters are widely used in digital signal processing, and their main function is to filter out uninteresting signals and leave useful signals. The FIR filter has an all-zero structure, and the system is always stable, and it has the characteristic of linear phase, and there is no distortion in the phase of all signals within the effective frequency range. Sequences are tested, and the time required for them to run is shown in Table 7 and Figure 7

It can be seen from the chart that thereby increases the overall complexity of the algorithm, but compared to the original algorithm has a shorter running time, the original FIR processing speed is 20.9 frames per second, and the improved algorithm as a whole reaches a processing speed of 24.8 frames per second. (2)Under the condition of normal light changes, exercise for normal walking, slow walking, bending walking, running, and free postures within the specified range (free postures include all postures except the several exercise modes described above), children of different genders and body types are monitored, including those who participate in training and those who are not; use fluorescent lamps to simulate sudden changes in light, and monitor children who exercise normally within a specified range. The exercise monitoring results are shown in Table 8 and Figure 8

From the results in the figure, the average monitoring accuracy rate of the monitoring system is 93.33%, which is quite accurate. Under the condition of normal light change, the algorithm has very high alarm accuracy for normal walking and fast running children and children with various sports modes. Experimental data shows that the algorithm can effectively detect slow-moving children, but underreporting will still occur when the children are moving very slowly. When infants bend over and walk, the correct rate of alarm is 95.0%. The reason is that the infant training samples are mainly for children in various sports. For children with free posture exercise, algorithm’s alarm accuracy rate is 85.0%. The main reason for underreporting is the limited number and patterns of children’s training samples. For example, there is no sample training for crawling children. Underreporting may occur at the same time. Under the condition of sudden changes in light, the average number of children detected is reduced compared with that under normal light changes.

5. Conclusions

The development of computer-related software and hardware is also rapidly developing towards miniaturization, portability, and intelligence. Embedded intelligent monitoring system is one of the hottest research needs. It can be associated with various things in social life to form a research project. For example, the real-time control of the monitoring of school bus ride dynamics can reduce the occurrence of accidents. The ability of the microprocessor to process data quickly and the convenient and easy-to-use network transmission capabilities, including the high reliability, real-time, and low power consumption of embedded systems, can promote its widespread application and development. Its reliability can make its application range wider and ensure the privacy of users. As a universal requirement of embedded systems, real-time performance is an indicator of the customer and designer’s emphasis on examination rate; low power consumption can solve the energy equipment of small systems problem; these points are important features of embedded systems welcomed by the majority of users.

The intelligent monitoring system is a multidisciplinary problem. This article focuses on the detection of children’s sports targets and the recognition of objects in the background of sports training. Use monitoring technology under the Internet of Things environment to collect data on the actual information of children’s physical exercise training. Through the monitoring of the Internet of Things, through video and sound monitoring, the information content can be conveyed intuitively, accurately, and in time, to realize the linkage reaction between things. The research is based on the summary and analysis of existing research results. Due to the limited resources of the platform, a method for monitoring sports physique status with low computational complexity and high real-time performance has been designed and implemented.

This article describes in detail the components of the embedded sports infant physical condition real-time monitoring system from both the software and hardware aspects. Through experimental tests, the results show that the embedded sports infant physical condition real-time monitoring system proposed in this article can effectively monitor in real time. The physical information of young children in the sports training scene is displayed, and it is robust to normal light changes. Robustness refers to the robustness of the system, the key to the survival of the system under abnormal and dangerous conditions, and is an important evaluation index for modern control systems. It can show the robustness of the detection system.

Data Availability

The data underlying the results presented in the study are available within the manuscript.

Conflicts of Interest

The authors declare that they have no conflicts of interest.