【文章內(nèi)容簡介】
e procedures used in a separate thread for data collection, so the guaranteed maximum energy collection of realtime。 using another thread at the same time data processing, such procedures to avoid a singlethreaded the same time only the implementation of a functional deficiencies. Especially when the amount of data collection, data processing task, using multithreaded technology will greatly improve the efficiency of the system as a whole. Data Acquisition ModuleData acquisition modules to eight channels of data in a cycle of all the acquisition to the puter, and save the channel, and the corresponding data in the buffer. Its procedures diagram shown in Figure 2.Fig 2 Flow diagram of data acquisitionAt the beginning of procedures, with the choice of control and store data buffer at the same time to switch to the same channel, 8way data collection cycle and mand judgement, in the end not received orders, has recycling collection to do.Multichannel data acquisition process the data vulnerable to interference, especially in the fastchannel switching, the data vulnerable to fluctuations, as shown in Figure 3. At this time if the data collection, will be collecting the wrong data, the need to add some software algorithms to prevent this from happening. If we develop the automated data tracking algorithm to automatically track each channel data to determine whether the channel in a stable state, and only the stability of data acquisition, the volatility of other data. In addition, the software can also add some filtering algorithm (such as limiting filter, etc.) to filter out manmade interference or other factors caused by the mutation data. Limiting filter for(1)Figure 3 channel switching, the data volatilityWhen the new collected data and the data before a difference to the absolute value of more than one set of values that the data is invalid, and the previous data from the current data. Data Analysis ModuleIn the data analysis module can be added if the algorithm analysis, graphics display and print output, and other useful features, such as gyroscopes and stability in the standard deviation algorithm can function in the course of testing realtime calculation of zero stability, and through chart shows. Zero stability calculation formula as follows:(2)According to first(2) to prepa