基于STM32的数据采集系统英文文献

合集下载

基于STM32的铯光泵磁力仪数据采集系统

基于STM32的铯光泵磁力仪数据采集系统

基于STM32的铯光泵磁力仪数据采集系统彭俊杰;陈永泰【摘要】文中针对铯光泵磁力仪,设计了一种基于STM32F103ZET6处理器和现场可编辑门阵列(FP-GA)的数据采集系统,实现了对输出信号采集后的高精度测量,并且利用传感器实现了对铯光泵磁力仪的探头姿态检测.文中简要介绍了铯光泵磁力仪的基本原理和系统结构.重点针对数据采集系统的要求,介绍了该系统软件设计思路和具体细节.经过实验验证,系统样机基本工作状态良好,达到设计要求.%Aiming at cesium optical-pump magnetometer, a data acquisition system based on STM32F103ZET6 and FPGA was designed, which realized high precision measurement of the output signal and attitude detection of magnetometer probe by u-sing a sensor . Cesium optical-pump magnetometer measurement principle and system circuit structure were briefly introduced firstly. Then the requirements for the data acquisition system was focused on and how to design the various modules of the circuit was introduced. After that ,the ideas of system software design was analyzed and described in detail .The results show that the da-ta acquisition system is in good working order and can meet design requirements well.【期刊名称】《仪表技术与传感器》【年(卷),期】2016(000)007【总页数】4页(P75-78)【关键词】铯光泵;磁力仪;数据采集;传感器;姿态检测;高精度【作者】彭俊杰;陈永泰【作者单位】武汉理工大学信息工程学院,湖北武汉 430070;武汉理工大学信息工程学院,湖北武汉 430070【正文语种】中文【中图分类】TP216微弱磁场测量在海洋、航空等领域应用广泛[1]。

数据采集 英文文献

数据采集 英文文献
2. DATA COLLECTION
Developing conversational interfaces is a classic chicken and egg problem. In order to develop the system capabilities, one needs to have a large corpus of data for system development, training and evaluation. In order to collect data that reflect actual usage, one needs to have a system that users can speak to. Figure 1 illustrates a typical cycle of system development. For a new domain or language, one must first develop some limited natural language capabilities, thus enabling an “experimenter-in-the-loop,” or wizard-of-oz, data collection paradigm, in which an experimenter types the spoken sentences to the system, after removing spontaneous speech artifacts. This process has the advantage of eliminating potential recognition errors. The resulting data are then used for the development and training of the speech recognition and natural language components. As these components begin to mature, it becomes feasible to collect more data using the “system-in-the-loop,” or wizardless, paradigm, which is both more realistic and more cost effective. Performance evaluation using newly collected data will facilitate system refinement.

数据采集系统中英文对照外文翻译文献

数据采集系统中英文对照外文翻译文献

中英文对照外文翻译(文档含英文原文和中文翻译)Data Acquisition SystemsData acquisition systems are used to acquire process operating data and store it on,secondary storage devices for later analysis. Many or the data acquisition systems acquire this data at very high speeds and very little computer time is left to carry out any necessary, or desirable, data manipulations or reduction. All the data are stored on secondary storage devices and manipulated subsequently to derive the variables ofin-terest. It is very often necessary to design special purpose data acquisition systems and interfaces to acquire the high speed process data. This special purpose design can be an expensive proposition.Powerful mini- and mainframe computers are used to combine the data acquisition with other functions such as comparisons between the actual output and the desirable output values, and to then decide on the control action which must be taken to ensure that the output variables lie within preset limits. The computing power required will depend upon the type of process control system implemented. Software requirements for carrying out proportional, ratio or three term control of process variables are relatively trivial, and microcomputers can be used to implement such process control systems. It would not be possible to use many of the currently available microcomputers for the implementation of high speed adaptive control systems which require the use of suitable process models and considerable online manipulation of data.Microcomputer based data loggers are used to carry out intermediate functions such as data acquisition at comparatively low speeds, simple mathematical manipulations of raw data and some forms of data reduction. The first generation of data loggers, without any programmable computing facilities, was used simply for slow speed data acquisition from up to one hundred channels. All the acquired data could be punched out on paper tape or printed for subsequent analysis. Such hardwired data loggers are being replaced by the new generation of data loggers which incorporate microcomputers and can be programmed by the user. They offer an extremely good method of collecting the process data, using standardized interfaces, and subsequently performing the necessary manipulations to provide the information of interest to the process operator. The data acquired can be analyzed to establish correlations, if any, between process variables and to develop mathematical models necessary for adaptive and optimal process control.The data acquisition function carried out by data loggers varies from one to 9 in system to another. Simple data logging systems acquire data from a few channels while complex systems can receive data from hundreds, or even thousands, of input channels distributed around one or more processes. The rudimentary data loggers scan the selected number of channels, connected to sensors or transducers, in a sequential manner and the data are recorded in a digital format. A data logger can be dedicated in the sense that it can only collect data from particular types of sensors and transducers. It is best to use a nondedicated data logger since any transducer or sensor can be connected to the channels via suitable interface circuitry. This facility requires the use of appropriate signal conditioning modules.Microcomputer controlled data acquisition facilitates the scanning of a large number of sensors. The scanning rate depends upon the signal dynamics which means that some channels must be scanned at very high speeds in order to avoid aliasing errors while there is very little loss of information by scanning other channels at slower speeds. In some data logging applications the faster channels require sampling at speeds of up to 100 times per second while slow channels can be sampled once every five minutes. The conventional hardwired, non-programmable data loggers sample all the channels in a sequential manner and the sampling frequency of all the channels must be the same. This procedure results in the accumulation of very large amounts of data, some of which is unnecessary, and also slows down the overall effective sampling frequency. Microcomputer based data loggers can be used to scan some fast channels at a higher frequency than other slow speed channels.The vast majority of the user programmable data loggers can be used to scan up to 1000 analog and 1000 digital input channels. A small number of data loggers, with a higher degree of sophistication, are suitable for acquiring data from up to 15, 000 analog and digital channels. The data from digital channels can be in the form of Transistor- Transistor Logic or contact closure signals. Analog data must be converted into digital format before it is recorded and requires the use of suitable analog to digital converters (ADC).The characteristics of the ADC will define the resolution that can be achieved and the rate at which the various channels can be sampled. An in-crease in the number of bits used in the ADC improves the resolution capability. Successive approximation ADC's arefaster than integrating ADC's. Many microcomputer controlled data loggers include a facility to program the channel scanning rates. Typical scanning rates vary from 2 channels per second to 10, 000 channels per second.Most data loggers have a resolution capability of ±0.01% or better, It is also pos-sible to achieve a resolution of 1 micro-volt. The resolution capability, in absolute terms, also depends upon the range of input signals, Standard input signal ranges are 0-10 volt, 0-50 volt and 0-100 volt. The lowest measurable signal varies form 1 t, volt to 50, volt. A higher degree of recording accuracy can be achieved by using modules which accept data in small, selectable ranges. An alternative is the auto ranging facil-ity available on some data loggers.The accuracy with which the data are acquired and logged-on the appropriate storage device is extremely important. It is therefore necessary that the data acquisi-tion module should be able to reject common mode noise and common mode voltage. Typical common mode noise rejection capabilities lie in the range 110 dB to 150 dB. A decibel (dB) is a tern which defines the ratio of the power levels of two signals. Thus if the reference and actual signals have power levels of N, and Na respectively, they will have a ratio of n decibels, wheren=10 Log10(Na /Nr)Protection against maximum common mode voltages of 200 to 500 volt is available on typical microcomputer based data loggers.The voltage input to an individual data logger channel is measured, scaled and linearised before any further data manipulations or comparisons are carried out.In many situations, it becomes necessary to alter the frequency at which particu-lar channels are sampled depending upon the values of data signals received from a particular input sensor. Thus a channel might normally be sampled once every 10 minutes. If, however, the sensor signals approach the alarm limit, then it is obviously desirable to sample that channel once every minute or even faster so that the operators can be informed, thereby avoiding any catastrophes. Microcomputer controlledintel-ligent data loggers may be programmed to alter the sampling frequencies depending upon the values of process signals. Other data loggers include self-scanning modules which can initiate sampling.The conventional hardwired data loggers, without any programming facilities, simply record the instantaneous values of transducer outputs at a regular samplingin-terval. This raw data often means very little to the typical user. To be meaningful, this data must be linearised and scaled, using a calibration curve, in order to determine the real value of the variable in appropriate engineering units. Prior to the availability of programmable data loggers, this function was usually carried out in the off-line mode on a mini- or mainframe computer. The raw data values had to be punched out on pa-per tape, in binary or octal code, to be input subsequently to the computer used for analysis purposes and converted to the engineering units. Paper tape punches are slow speed mechanical devices which reduce the speed at which channels can be scanned. An alternative was to print out the raw data values which further reduced the data scanning rate. It was not possible to carry out any limit comparisons or provide any alarm information. Every single value acquired by the data logger had to be recorded eventhough it might not serve any useful purpose during subsequent analysis; many data values only need recording when they lie outside the pre-set low and high limits.If the analog data must be transmitted over any distance, differences in ground potential between the signal source and final location can add noise in the interface design. In order to separate common-mode interference form the signal to be recorded or processed, devices designed for this purpose, such as instrumentation amplifiers, may be used. An instrumentation amplifier is characterized by good common-mode- rejection capability, a high input impedance, low drift, adjustable gain, and greater cost than operational amplifiers. They range from monolithic ICs to potted modules, and larger rack-mounted modules with manual scaling and null adjustments. When a very high common-mode voltage is present or the need for extremely-lowcom-mon-mode leakage current exists(as in many medical-electronics applications),an isolation amplifier is required. Isolation amplifiers may use optical or transformer isolation.Analog function circuits are special-purpose circuits that are used for a variety of signal conditioning operations on signals which are in analog form. When their accu-racy is adequate, they can relieve the microprocessor of time-consuming software and computations. Among the typical operations performed are multiplications, division, powers, roots, nonlinear functions such as for linearizing transducers, rimsmeasure-ments, computing vector sums, integration and differentiation, andcurrent-to-voltage or voltage- to-current conversion. Many of these operations can be purchased in available devices as multiplier/dividers, log/antilog amplifiers, and others.When data from a number of independent signal sources must be processed by the same microcomputer or communications channel, a multiplexer is used to channel the input signals into the A/D converter.Multiplexers are also used in reverse, as when a converter must distribute analog information to many different channels. The multiplexer is fed by a D/A converter which continually refreshes the output channels with new information.In many systems, the analog signal varies during the time that the converter takes to digitize an input signal. The changes in this signal level during the conversion process can result in errors since the conversion period can be completed some time after the conversion command. The final value never represents the data at the instant when the conversion command is transmitted. Sample-hold circuits are used to make an acquisition of the varying analog signal and to hold this signal for the duration of the conversion process. Sample-hold circuits are common in multichannel distribution systems where they allow each channel to receive and hold the signal level.In order to get the data in digital form as rapidly and as accurately as possible, we must use an analog/digital (A/D) converter, which might be a shaft encoder, a small module with digital outputs, or a high-resolution, high-speed panel instrument. These devices, which range form IC chips to rack-mounted instruments, convert ana-log input data, usually voltage, into an equivalent digital form. The characteristics of A/D converters include absolute and relative accuracy, linearity, monotonic, resolu-tion, conversion speed, and stability. A choice of input ranges, output codes, and other features are available. The successive-approximation technique is popular for a large number ofapplications, with the most popular alternatives being the counter-comparator types, and dual-ramp approaches. The dual-ramp has been widely-used in digital voltmeters.D/A converters convert a digital format into an equivalent analog representation. The basic converter consists of a circuit of weighted resistance values or ratios, each controlled by a particular level or weight of digital input data, which develops the output voltage or current in accordance with the digital input code. A special class of D/A converter exists which have the capability of handling variable reference sources. These devices are the multiplying DACs. Their output value is the product of the number represented by the digital input code and the analog reference voltage, which may vary form full scale to zero, and in some cases, to negative values.Component Selection CriteriaIn the past decade, data-acquisition hardware has changed radically due to ad-vances in semiconductors, and prices have come down too; what have not changed, however, are the fundamental system problems confronting the designer. Signals may be obscured by noise, rfi,ground loops, power-line pickup, and transients coupled into signal lines from machinery. Separating the signals from these effects becomes a matter for concern.Data-acquisition systems may be separated into two basic categories:(1)those suited to favorable environments like laboratories -and(2)those required for hostile environments such as factories, vehicles, and military installations. The latter group includes industrial process control systems where temperature information may be gathered by sensors on tanks, boilers, wats, or pipelines that may be spread over miles of facilities. That data may then be sent to a central processor to provide real-time process control. The digital control of steel mills, automated chemical production, and machine tools is carried out in this kind of hostile environment. The vulnerability of the data signals leads to the requirement for isolation and other techniques.At the other end of the spectrum-laboratory applications, such as test systems for gathering information on gas chromatographs, mass spectrometers, and other sophis-ticated instruments-the designer's problems are concerned with the performing of sen-sitive measurements under favorable conditions rather than with the problem ofpro-tecting the integrity of collected data under hostile conditions.Systems in hostile environments might require components for wide tempera-tures, shielding, common-mode noise reduction, conversion at an early stage, redun-dant circuits for critical measurements, and preprocessing of the digital data to test its reliability. Laboratory systems, on the other hand, will have narrower temperature ranges and less ambient noise. But the higher accuracies require sensitive devices, and a major effort may be necessary for the required signal /noise ratios.The choice of configuration and components in data-acquisition design depends on consideration of a number of factors:1. Resolution and accuracy required in final format.2. Number of analog sensors to be monitored.3. Sampling rate desired.4. Signal-conditioning requirement due to environment and accuracy.5. Cost trade-offs.Some of the choices for a basic data-acquisition configuration include:1 .Single-channel techniques.A. Direct conversion.B. Preamplification and direct conversion.C. Sample-hold and conversion.D. Preamplification, sample-hold, and conversion.E. Preamplification, signal-conditioning, and direct conversion.F. Preamplification, signal-conditioning, sample-hold, and conversion.2. Multichannel techniques.A. Multiplexing the outputs of single-channel converters.B. Multiplexing the outputs of sample-holds.C. Multiplexing the inputs of sample-holds.D. Multiplexing low-level data.E. More than one tier of multiplexers.Signal-conditioning may include:1. Radiometric conversion techniques.B. Range biasing.D. Logarithmic compression.A. Analog filtering.B. Integrating converters.C. Digital data processing.We shall consider these techniques later, but first we will examine some of the components used in these data-acquisition system configurations.MultiplexersWhen more than one channel requires analog-to-digital conversion, it is neces-sary to use time-division multiplexing in order to connect the analog inputs to a single converter, or to provide a converter for each input and then combine the converter outputs by digital multiplexing.Analog MultiplexersAnalog multiplexer circuits allow the timesharing of analog-to-digital converters between a numbers of analog information channels. An analog multiplexer consists of a group of switches arranged with inputs connected to the individual analog channels and outputs connected in common(as shown in Fig. 1).The switches may be ad-dressed by a digital input code.Many alternative analog switches are available in electromechanical and solid-state forms. Electromechanical switch types include relays, stepper switches,cross-bar switches, mercury-wetted switches, and dry-reed relay switches. The best switching speed is provided by reed relays(about 1 ms).The mechanical switches provide high do isolation resistance, low contact resistance, and the capacity to handle voltages up to 1 KV, and they are usually inexpensive. Multiplexers using mechanical switches are suited to low-speed applications as well as those having high resolution requirements. They interface well with the slower A/D converters, like the integrating dual-slope types. Mechanical switches have a finite life, however, usually expressed innumber of operations. A reed relay might have a life of 109 operations, which wouldallow a 3-year life at 10 operations/second.Solid-state switch devices are capable of operation at 30 ns, and they have a life which exceeds most equipment requirements. Field-effect transistors(FETs)are used in most multiplexers. They have superseded bipolar transistors which can introduce large voltage offsets when used as switches.FET devices have a leakage from drain to source in the off state and a leakage from gate or substrate to drain and source in both the on and off states. Gate leakage in MOS devices is small compared to other sources of leakage. When the device has a Zener-diode-protected gate, an additional leakage path exists between the gate and source.Enhancement-mode MOS-FETs have the advantage that the switch turns off when power is removed from the MUX. Junction-FET multiplexers always turn on with the power off.A more recent development, the CMOS-complementary MOS-switch has the advantage of being able to multiplex voltages up to and including the supply voltages. A±10-V signal can be handled with a ±10-V supply.Trade-off Considerations for the DesignerAnalog multiplexing has been the favored technique for achieving lowest system cost. The decreasing cost of A/D converters and the availability of low-cost, digital integrated circuits specifically designed for multiplexing provide an alternative with advantages for some applications. A decision on the technique to use for a givensys-tem will hinge on trade-offs between the following factors:1. Resolution. The cost of A/D converters rises steeply as the resolution increases due to the cost of precision elements. At the 8-bit level, the per-channel cost of an analog multiplexer may be a considerable proportion of the cost of a converter. At resolutions above 12 bits, the reverse is true, and analog multiplexing tends to be more economical.2. Number of channels. This controls the size of the multiplexer required and the amount of wiring and interconnections. Digital multiplexing onto a common data bus reduces wiring to a minimum in many cases. Analog multiplexing is suited for 8 to 256 channels; beyond this number, the technique is unwieldy and analog errors be-come difficult to minimize. Analog and digital multiplexing is often combined in very large systems.3. Speed of measurement, or throughput. High-speed A/D converters can add a considerable cost to the system. If analog multiplexing demands a high-speedcon-verter to achieve the desired sample rate, a slower converter for each channel with digital multiplexing can be less costly.4. Signal level and conditioning. Wide dynamic ranges between channels can be difficult with analog multiplexing. Signals less than 1V generally require differential low-level analog multiplexing which is expensive, with programmable-gain amplifiers after the MUX operation. The alternative of fixed-gain converters on each channel, with signal-conditioning designed for the channel requirement, with digital multi-plexing may be more efficient.5. Physical location of measurement points. Analog multiplexing is suitedfor making measurements at distances up to a few hundred feet from the converter, since analog lines may suffer from losses, transmission-line reflections, and interference. Lines may range from twisted wire pairs to multiconductor shielded cable, depending on signal levels, distance, and noise environments. Digital multiplexing is operable to thousands of miles, with the proper transmission equipment, for digital transmission systems can offer the powerful noise-rejection characteristics that are required for29 Data Acquisition Systems long-distance transmission.Digital MultiplexingFor systems with small numbers of channels, medium-scale integrated digital multiplexers are available in TTL and MOS logic families. The 74151 is a typical example. Eight of these integrated circuits can be used to multiplex eight A/D con-verters of 8-bit resolution onto a common data bus.This digital multiplexing example offers little advantages in wiring economy, but it is lowest in cost, and the high switching speed allows operation at sampling rates much faster than analog multiplexers. The A/D converters are required only to keep up with the channel sample rate, and not with the commutating rate. When large numbers of A/D converters are multiplexed, the data-bus technique reduces system interconnections. This alone may in many cases justify multiple A/D converters. Data can be bussed onto the lines in bit-parallel or bit-serial format, as many converters have both serial and parallel outputs. A variety of devices can be used to drive the bus, from open collector and tristate TTL gates to line drivers and optoelectronic isolators. Channel-selection decoders can be built from 1-of-16 decoders to the required size. This technique also allows additional reliability in that a failure of one A/D does not affect the other channels. An important requirement is that the multiplexer operate without introducing unacceptable errors at the sample-rate speed. For a digital MUX system, one can determine the speed from propagation delays and the time required to charge the bus capacitance.Analog multiplexers can be more difficult to characterize. Their speed is a func-tion not only of internal parameters but also external parameters such as channel, source impedance, stray capacitance and the number of channels, and the circuit lay-out. The user must be aware of the limiting parameters in the system to judge their ef-fect on performance.The nonideal transmission and open-circuit characteristics of analog multiplexers can introduce static and dynamic errors into the signal path. These errors include leakage through switches, coupling of control signals into the analog path, and inter-actions with sources and following amplifiers. Moreover, the circuit layout can com-pound these effects.Since analog multiplexers may be connected directly to sources which may have little overload capacity or poor settling after overloads, the switches should have a break-before-make action to prevent the possibility of shorting channels together. It may be necessary to avoid shorted channels when power is removed and a chan-nels-off with power-down characteristic is desirable. In addition to the chan-nel-addressing lines, which are normally binary-coded, it is useful to have inhibited or enable lines to turn all switches off regardless of the channel being addressed. This simplifies the external logic necessary to cascade multiplexers and can also be useful in certain modes of channeladdressing. Another requirement for both analog and digital multiplexers is the tolerance of line transients and overload conditions, and the ability to absorb the transient energy and recover without damage.数据采集系统数据采集系统是用来获取数据处理和存储在二级存储设备,为后来的分析。

(完整word版)基于STM32的数据采集系统英文文献

(完整word版)基于STM32的数据采集系统英文文献

Design of the Data Acquisition System Based on STM32ABSTRACTEarly detect ion of failures in machi nery equipme nts is one of the most importa nt concerns to industry. In order to monitor effective of rotating machinery, we developme nt a micro-c on troller uC/OS-II system of sig nal acquisiti on system based on STM32 in this paper. we have give n the whole desig n scheme of system and the multi-cha nnel vibrati on sig nal in axis X, Y and Z of the rotary shaft can be acquired rapidly and display in real-time. Our system has the character of simple structure, low power con sumpti on, mini aturizati on.Keywords: STM32; data acquisition; embedded system;uC/OS-ll;1.1. I ntroductionThe real-time acquisition of vibration in rotating machinery can effectively predict, assessa nd diag nose equipme nt operati on state, the in dustry gets vibratio n data acquisiti on Rapidly and an alysis in real-time can mon itor the rotati ng mach inery state and guara ntee the safe running of the equipme nt. I n order to preve nt failure, reduce maintenance time, improve the econo mic efficie ncy, The purpose of fault diag no sis system can detect these devices through the vibratio n sig nal acquisiti on of rotating machinery, and process the data acquisition, then it will make timely judgme nt of running state of equipme nt .While the data acquisiti on module is the core part of the fault diag no sis system [1-4].The practical applicati on in the in dustrial field, is the equipment operating parameters will be acquired to monitor equipment operati ng state. In traditi onal data acquisiti on systems, the data from acquisiti on card are gen erally send into the computer, and specific software will be developed for the data acquisition. The main contribution of this paper has designed the STM32 platform with ARM tech no logy, that has become a traditi onal main stream tech no logy in embedded systems, and the collect ing data toward the directi on of high real-time, multi-parameter,high-precision, while data storage become large capacity, more mini aturizati on andportable, and the developme nt of multicom muni cati on mode and Iong-distanee for data transmission. So as to meet the actual acquisition system multitask ing requireme nts, this article has desig ned based on STM32 micro-co ntroller uC/OS-ll system of sig nal acquisiti on system. Therefore, in order to meet the actual acquisiti on system multitask requireme nts, this no velty of this article has desig ned a sig nal acquisiti on system in micro-c on troller uC/OS-ll based on STM32.2. Architecture of data acquisition systemData acquisiti on as key tech no logy for mon itori ng equipme nt, rece ntly a lot of work has been done on it. An embedded parallel data acquisition system based on FPGA is Optimized designed which will make it reasonableto divide and allocatehigh-speed and low-speed A/D [5]. I nstead, it has use a high-speed A/D converter and Stratix II series of FPGA for data collection and processing, in which the main contribution is used of the Compact Peripheral Component In terc onn ect, the system has the characters of modularizati on, sturd in ess and scalability [6].But remote control will be needed in Special Conditions, this paper introduce the embedded operating system platform based on Windows CE and uC/OS-II to desig n a remote acquisiti on and con trol system with the GPRS wireless tech no logy [7-8]」n order to achieve the data shari ng of multi-user, it has build the embedded dyn amic website for data acquisiti on man ageme nt and dissem in ati on with the ARM9 and Linux operation system [9].A data collection terminal devices is designed based on ARM7 microprocessor LPC2290 and embedded real-time operati ng system uC/OS-II to solve the real-time acquisiti on of multicha nnel small sig nal and multi-cha nnel tran smissi on[ 10].O n the other han ds, two parallel DSP-based system dedicated to the data acquisiti on on rotati ng machi nes, and the inner sig nal con diti oner is used to adapt the sen sor output to the in put range of the acquisiti on, and the n sig nal post-process in gby the desig n software, while the most frequently structure is to use DAS andFPGA-based, and such programs are also depe ndent on the DAS cost.In order to meet market requireme nts of low power con sumpti on, low cost, and mobility, Fig.1 in this paper presents the design overall structure diagram of data acquisiti on system. Through SPI in terface, the system gets the data collectio n with three axis accelerati on sen sori nto the STM32 con troller of inner A/D conv ersi onmodule with 12-bit, this process is non-interfering parallel acquisition. Our system uses 240x400 LCD and touch screen module real-time to display the collected data in real time.Fig. 1 Hardware Framework of System2.1. STM32 micro-controllerA 32 bit RISC STM32F103VET6, used as the processor in our system, compared with similar products, the STM32F103VET6 work at 72MHZ, with characters of stro ng performa nee and low power con sumptio n, real-time and low-cost. The processor in cludes: 512K FLASH, 64K SRAM, and it will commu ni cate by usi ng five serial ports which con tai n a CAN bus, a USB2.0 SLA VE mode and a Ethernet in terface, what s more two RS232 ports are also in cluded. The system in our paper exte nd theSST25VF016B serial memory through the SPI bus in terface, that will regard as the temporary storage whe n collect large nu mber of data, furthermore, we have the A/D converter with 12 bits resolution, and the fastest conversion up to 1us, with 3.6 Vfull-scale of the system .In additi on to desig n of the system power supply circuit, the reset circuit, RTC circuit and GPIO port to assurancesystem needs andno rmal operati on.2.2. Data acquisitionThe machi ne state is no rmal or not is mainly depe nded on the vibrati on sig nal. In this paper, to acquire the vibration data of rotating machinery rotor, we have used vibrati on accelerati on tran sducers MMA7455L which could collect the data from axis x, y, and z of the company of Free-scale. The kind of vibration acceleration transducers has advantage of low cost and small size, high sensitivity and large dynamic range with small interferenee. MMA7455L is mainly consists of gravity sensing unit and signal conditioning circuit composition, and this sensor will amplify the tiny data before sig nal preprocess in g. In data acquisiti on process of our system, the error of sampling stage is mainly caused by quantified, and the error is depended on the bits of the A/D converter ,when we regard the maximum voltage as V max , the AD converter bits is n, and the quantization Q = V max/2n, then, the quantization error is obeyed uniformdistribution in [- q / 2, q / 2] [13].AVhik e"is averaae eixor. is enor variance . and —is SNR* 」 " NThe designed STM32 could built at most three 12-bit parallel ADC in this paper , which theoretical in dex is 72dB and the actual dyn amic range is betwee n 54 to 60dB while 2 or 3 bits is impacted by noise, the dynamic range of measurement can up to 1000 times with 60dB. For the vast majority of the vibration signal, the maximum sampli ng rate of 10kHZ can meet actual dema nd, and the higher freque ncy of collecti on is gen erally used in the 8-12 bits AD, therefore one of con tributi on of this work is to (2) ⑶⑷I ep(e)de = OS V max2V max3Pinax 、—宀対-=—= >12V2—1£12choose a built-in 12-bit A/D to meet the accuracy of vibration signal acquisiti on and lower cost in this experime nt.3. Software design3.1. Transplantation of C/OSIn order to ensure real-time and safety data collection requirements, in this system, a kind of RTOS whose source code is ope n and small is proposed. It also can be easily to be cut dow n, repotted and solidified, and its basic functions in clud ing task management and resource management, storage management and system management. The RTOS embedded systemcould support 64 tasks, with at most 56 user tasks, and four tasks of the highest and the lowest priorities will be reta ined in system. The uC/OS-II assig ns priorities of the tasks accordi ng to their importa nee, the operation system executive the task from the priority sequenceand each task have in depe ndent priority. The operati ng system kernel is streamli ned, and multi-task ing fun cti on is well compared with others, it can be tran spla nted to processors that from 8-bit to 64-bit.The transplant in the system are to modify the three file system structure:OS_CPU_C.H OS_CPU.C, OS_CPU_A.ASM. Main transplantation procedure is as follows:A. OS_CPU_C.HIt has defi ned the data types, the len gth and growth direct ion of stack in the processor. Because different microprocessors have different word length , so theuC/OS-II tran spla ntati on in clude a series of type defi niti on to en sure its portability, and the revised code as follows:typedef un sig ned char BOOLEAN;typedef un sig ned char INT8U;typedef signed char INT8S;typedef un sig ned short INT16U;typedef sig ned short INT16U;typedef un sig ned int INT32U;typedef sig ned int INT32S;typedef float FP32;typedef double FP64;typedef un sig ned int OS_STK;typedef un sig ned int OS_CPU_SR;Cortex-M3 processor defi nes the OS_ENTER_CRITICAL () andOS_EXIT_CRITICAL () as ope ning and clos ing in terrupt, and they must set to 32 bit of the stack OS_STK and CPU register len gth. In additi on, that has defi ned the stack poin ter OS_STK_GROWTH stack growth direct ion from high address to lower address.B. OS_CPU.CTo modify the function OSTaskStklnit() according to the processor, the nine rema ining user in terface fun cti ons and hook fun cti ons can be n ull without special requirements, they will produce code for these functions only when theOS_CPU_HOOKS_EN is set to 1 in the file of OS_CFG .H. The stack initialization fun cti on OSTaskStk Init () retur n to the new top of the stack poin ter.OS_CPU_A.ASMMost of the tran spla nt work are completed in these docume nts, and modify the followi ng functions.OsStartHighRdy() is used for running the most priority ready task, it will be resp on sible for stack poin ter SP from the highest priority task of TCB con trol block, and restore the CPU, the n the task process created by the user start to con trol the process.OSCtxSw () is for task switch ing, When the curre nt task ready queue have a higher priority task, the CPU will start OSCtxSw () task switchi ng to run the higher priority task and the curre nt task stored in task stack.OSIntCtxSw () has the similar function with OSIntSw (), in order to ensurereal-time performa nee of the system, it will run the higher priority task directly whe n the in terrupt come, and will not store the curre nt task.OSTickISR () is use to handle the clock interrupt, which needs interrupt to schedule its impleme ntati on whe n a higher priority task is wait ing for the clock sig nal.OS_CPU_SR_Save () and OS_CPU_SR_Restore () is completed to switch in terrupt while en teri ng and leav ing the critical code both functions impleme nt by the critical protectio n fun ctio n OS_ENTER_CRITICAL () and OS_EXIT_CRITICAL ().After the completion ofthe above work, uC/OS-ll can run on the processors. 3.2. Software architectureFig.2 shows the system software architecture, so as to display the data visualized,uC/GUI3.90 and uC/OS-II is transplanted in the system, our system contains six tasks such data acquisiti on, data tran smissi on, LCD display, touch scree n driver, key-press management and uC/GUI interface.First of all, we should set the task priority and the task scheduling based on the priority. It needs complete the required driver design before the data acquisition, such as A/D driver, touch panel driver and system initialization, while the initializations include: hardware platform initialization, system clock initialization, interrupt source configuration, GPIO port configuration, serial port initialization and parameter configuration, and LCD in itializati on. The process is that the cha nnel module sent sampli ng comma nd to the AD channel, then to inform the receiver module it has been sent the sample start comma nd, the receiver module is ready to receive and large data will store in the storage module, after the completion of the first sampling, channel module will send the complete comma nd of sampli ng to the receiver module, the receiver sends an in terrupt request to the storage module to stop the data stori ng, the n the data will display on the LCD touch scree n. The data acquisiti on process show n in Fig.3Hui-fti Zhtmg tiiui Karif* / Proceditt Cotripufer Scienct! 17『20”J 222 - 228Fig - SofhvBtre Architecture of SyMem Tig 3 Data Acqm;>ition of FlowChait4. ExperimentsThe experiment of the embedded system has been done and data acquisitioncomes from the accelerati on of MMA7455L, which is in stalled on the bench of rotat ing mach ine. The data acquisiti on have displayed as show n in Fig.4 and Fig.5, the system can select three channels to collect the vibration signal from the three directi ons of X, Y and Z-axis , and in this paper the sampli ng freque ncy is 5KHZ and we have collect the vibration signal from normal state of unbalaneed state at the same channel. The result shows that our system can display real-time data acquisition and5. Conclusion This paper has designed an embeddedsignal acquisition system for real time according to the mechanical failure occurred with high frequency of in the rotatingmachines. The system is based on a low cost microcontroller, Vibration signals is picked by the three axis accelerati on sen sor which has the performa nee of low cost and high sen sitivity, and the acquisiti on data from axis x, y, and z. We have desig ned the system hardware structure, and an alyses the work ing prin ciple of data acquisiti on module. The proposed system of uC/OS-ll realize the data task management and scheduling, and it is compacted with structure and low cost, what's more the system collects the vibration signal and analysis in real-time of the rotating machines, and then quickly gives diag no stic results. AcknowledgementsThis work was supported by The Nati onal Natural Scie nee Foun dati on of China (51175169); Chi na Natio nal Key Tech no logy R&D Program(2012BAF02B01); Pla predict the prelimi nary diag no sis rapidly. Fig.4 Noimal Dntn Acquisition Fi^ ,5 LJiibalance Data Acqmsihonnned Scie nee and Tech no logy Project of Hunan Provin ce(2009FJ4055);Scie ntific Research Fund of Hu nan Provi ncial Education Departme nt(10K023). REFERENCES[1] Cheng, L., Yu, H., Research on intelligent maintenance unit of rotary machine, Computer Integrated Manufacturing Systems, vol. 10, Issue: 10, page 1196-1198, 2004.[2] Yu, C., Zhong, Ou., Zhen, D., Wei, F., .Design and Implementation of Mon itori ng and Man ageme nt Platform in Embedded Fault Diag no sis System, Computer Engin eeri ng, vol. 34 , Issue: 8, page 264-266, 2008.[3] Bi, D., Gui, T., Jun, S., Dynam . Behavior of a High-speed Hybrid Gas Bearing-rotor System for a Rotat ing ramjet, Jour nal of Vibrati on and Shock, vol. 28, Issue: 9, page 79-80, 2009.[4] Hai, L., Jun, S., Research of Driver Based on Fault Diag no sis System Data Acquisiti on Module, Mach ine Tool& Hydraulics, vol. 38 , Issue: 13, page 166-168, 2011.[5] Hao, W., Qin, W., Xiao, S., Optimized. Desig n of Embedded Parallel Data Acquisition System, Computer Engineering and Design, vol. 32, Issue: 5, page1622-1625, 2011.[6] Lei, S., Ming, N., Design and Implementation of High Speed Data Acquisiti on System Based on FPGA, Computer Engin eeri ng, vol. 37, Issue: 19, page 221-223, 2011.[7] Chao, T., Jun, Z., Ru, G., Design of remote data acquisition and control system based on Win dow CE, Microcomputer& Its Applicati ons , vol. 30, Issue: 14, page 21-27, 2011.[8] Xiao, W., Bin, W., SMS con trolled in formatio n collectio n system based on uC/OS-II, Computer Applicatio n, vol. 12, Issue: 31, page 29-31,2011.[9] Ti ng,Y., Zhong, C., Con structio n of Data Collectio n& Release in Embedded System, Computer En gi neeri ng, vol. 33, Issue: 19, page 270-272, 2007.[10] Yo ng, W., Hao, Z., Pen g,D., Desig n and Realization of Multi-fu nction Data Acquisition System Based on ARM, Process Automation Instrumentation, vol. 32, Issue: 1, page: 13-16, 2010.[11] Betta, G, Liguori, C., Paolillo, A., A DSP-Based FFT An alyzer for the FaultDiag no sis of Rotati ng Mach ine Based on Vibrati on An alysis, IEEE Tran sacti on on In strume ntati on and Measureme nt, vol. 51, Issue: 6, 2002.[12] Con treras-Medi na LM., Romero Tron coso RJ., Millan Almarez JR., FPGA Based Multiple-Cha nnel Vibrati on An alyzer Embedded System for In dustrial Applicati on in Automatic Failure Detect ion, IEEE tran sacti ons on Intern ati onal and measureme nt, vol. 59, Issue: 1, page 63-67, 2008.[13] Ch on, W., Shua ng, C., Desig n and impleme ntati on of sig nal detecti on system based on ARM for ship borne equipme nt, Computer Engin eeri ng and Desig n, vol. 32, Issue: 4, page: 1300-1301,2011.[14] Miao, L., Tia n, W., Ho ng, W., Real-time An alysis of Embedded CNC System Based on uC/OS-ll, Computer En gi neeri ng, vol. 32, Issue: 22, page 222-223, 2006.。

基于STM32和RTEMS的环境监测系统的设计与实现

基于STM32和RTEMS的环境监测系统的设计与实现

基于STM32和RTEMS的环境监测系统的设计与实现朱慧;王军阵;陈琳;黄人杰【摘要】In this paper, the design and realization of environmental monitoring system including humiture, illumination and dust concentration base on the microprocessor of STM32 and the embedded real-time operating system of RTEMs. The collected data of terminal is transmitted to monitoring computer via serial interface. The real-time monitoring is completed with the visualization interface base on Qt5.4.2 which contains data storage, historical query and alarm.%基于STM32微处理器及REMS嵌入式实时操作系统,设计并实现温湿度、光照强度和粉尘浓度的环境监测系统.数据终端采集数据,通过串口将环境数据上传至监控主机.采用Qt5.4.2实现可视化界面,完成环境参数的实时监控,并实现数据存储、历史查询和报警等功能.【期刊名称】《电子设计工程》【年(卷),期】2017(025)016【总页数】4页(P77-79,83)【关键词】环境监测;STM32;RTEMS;Qt【作者】朱慧;王军阵;陈琳;黄人杰【作者单位】中国卫星海上测控部江苏江阴 214413;中国卫星海上测控部江苏江阴 214413;中国卫星海上测控部江苏江阴 214413;中国卫星海上测控部江苏江阴 214413【正文语种】中文【中图分类】TP391随着科技的不断发展进步,环境参数对仓库物品的存储、工业产品的生产、科学实验和不间断工作设备的影响越来越不容忽视[1-3],从粮食储藏、温室培养、工作车间、无尘实验室到装备机房农业和工业的工作过程中,都对温湿度等室内环境参数提出了更高的要求[4-8]。

stm32外文翻译

stm32外文翻译

外文翻译姓名:学号:班级:专业:STM32 DATA BOOKThis datasheet provides the STM32F103xx performance line ordering information and mechanical device characteristics. The STM32F103xx performance line family incorporates the high-performance ARM Cortex-M3 32-bit RISC core operating at a 72 MHz frequency, high-speed embedded memories (Flash memory up to 128Kbytes and SRAM up to 20 Kbytes), and an extensive range of enhanced I/Os and peripherals connected to two APB buses. All devices offer two 12-bit ADCs, three general purpose 16-bit timers plus one PWM timer, as well as standard and advanced communication interfaces: up to two I2Cs and SPIs, three USARTs, an USB and a CAN. The STM32F103xx performance line family operates from a 2.0 to 3.6V power supply. It is available in both the −40 to +85 °C temperature range and the −40 to +105 °C extended temperature range. A comprehensive set of power-saving mode allows to design low-power applications. The complete STM32F103xx performance line family includes devices in 5 different package types: from 36 pins to 100 pins. Depending on the device chosen, different sets of peripherals are included, the description below gives an overview of the complete range of peripherals proposed in this family. These features make the STM32F103xx performance linemicrocontroller family suitable for a wide range of applications: ●Motor drive and application control●Medical and handheld equipment ●PC peripherals gaming and GPS platforms ●Industrial applications: PLC, inverters, printers, and scanners● Alarm systems, Video intercom, and HVACThe ARM Cortex-M3 processor is the latest generation of ARM processors for embedded systems. It has been developed to provide a low-cost platform that meets the needs of MCU implementation, with a reduced pin count and low-power consumption, while delivering outstanding computational performance and an advanced system response to interrupts.The ARM Cortex-M3 32-bit RISC processor features exceptional code-efficiency, delivering the high-performance expected from an ARM core in the memory size usually associated with 8- and 16-bit devices. The STM32F103xx performance line family having an embedded ARM core, is therefore compatible with all ARM tools and software. Figure1 shows the general block diagram of the device family.STM32数据手册本文给出了STM32F103x8和STM32F103xB中等容量增强型产品的订购信息和器件的机械特性。

基于STM32的线阵CCD图像采集系统

基于STM32的线阵CCD图像采集系统
I 丝. 皇 燕 ………………………….
基于S T M3 2 的线 阵CCD图像 采集系统
重庆大学 稳 定, 传 输 速 率 高 、 哥即 插 即 用, 跨 平台 的 u s B 线 阵 c c D 图 像 采 集 系 统 。
【 关键词 】S T M3 2 ;线阵C C D;U S B;Q t ;多线程 ;L i b u s b
1 . 引 言
采集 系统与上位机 的通信都 是通 过 串口方 式进 归纳减小控制器 缺陷风险的策 略组 合见表 3“ 建议行动 ”。T g 为原有控制措施 。 4 . 控制器缺陷 风险评定及风 险控制 目标的 实现 风 险分析确 定 了需要控 制的缺 陷集 ( 目标 风险 因子R i ) ,通过采 用策 略分析 决定 的改进 措施使缺 陷消除或使 由缺陷产生 的风险减小 , 然后通过 风险评定判 断采取措施后 风险是否 己 充分减 小,如风险 已充分减小 ,则认为达到 了 风险控 制 目标 :如 果风险未充分 减小 ,则重新 确定 改进 措施 以充 分减小风 险:如此重复减 小 风险的迭代过程 ,直至风险充分减小 。 4 . 1风 险评 定模 型的确 定
W a ng Bi n boW a ng t a o
( C பைடு நூலகம் o n g Qi n g Un i v e r s i t y,C h o n g Qi n g 4 0 1 3 3 1 ,Ch i n a )
Ab s t r a c t :T h i s t e x t t a k e S T M3 2 F 1 0 3 a s t h e ma i n c o n r t o l c h i p . I t u s e s t is h c h i p t O p r o d u c e t h e t i mi n g d r i v e o f l i n e a r C C D. Al s o ,i t t r a n s l a t e d a t a s v i a U S B t e c h n o l o g y . An d u s e Qt + L i b u s b

单片机STM32外文文献翻译、中英文翻译

单片机STM32外文文献翻译、中英文翻译

外文翻译英文原文:STM32 MicrocontrollerIntroductionRequirements based STM32 family is designed for high-performance, low-cost, low-power embedded applications designed specifically for ARM Cortex-M3 core. According to the performance into two different series: STM32F103 "Enhanced" series and STM32F101 "Basic" series. Enhanced Series clock frequency of 72MHz, the highest performance of similar products product; basic clock frequency of 36MHz, 16-bit product prices get more than 16 products significantly enhance the performance and is 16 product users the best choice. Both series have built-in 32K to 128K of flash memory, the difference is the maximum capacity of the SRAM and peripheral combinations. At 72MHz, executing from Flash, STM32 power consumption 36mA, are 32 products on the market's lowest power, the equivalent of 0.5mA/MHz.STM32F103 Performance Characteristics1)Kernel. ARM32 bit CPU, the maximum operating frequency of 72MHz,1.25DMIPS/MHz. Single-cycle multiply and hardware divide.2)Memory. Integrated on-chip 32-512KB of Flash memory. 6-64KB SRAM memory.3)Clock, reset, and power management. 2.0-3.6V power supply and I / O interface, the drive voltage. POR, PDR and programmable voltage detector. 4-16MHz crystal. Embedded factory tuned 8MHz RC oscillator circuit. 40 kHz internal RC oscillator circuit. CPU clock for the PLL. With calibration for the RTC 32kHz crystal.4)Low power consumption. Three kinds of low-power mode. Sleep, stop, standby mode. For RTC and backup registers supply VBAT.5)Debug mode. Serial debugging and JTAG interface.6)Direct data storage. 12-channel direct data storage controller. Supported peripherals: timers, ADC, DAC, SPI, IIC and USART.7)Up to a maximum of 112 fast I / O ports. Depending on the model, there are 26,37,51,80, and 112 I / O ports, all ports can be mapped to 16 external interruptvectors. In addition to the analog input, all of them can accept the input of 5V or less.8)Up to a maximum of 11 timers. Four 16-bit timers, each with 4 IC / OC / PWM or pulse counter. 2 16 6-channel advanced control timer: up to 6 channels can be used for PWM output. 2 watchdog timer. Systick timer: 24 down counter. Two 16-bit basic timer for driving DAC.9)Up to a maximum of 13 communication interfaces. 2 IIC interface. 5 USART interfaces. 3 SPI interface, two and IIS reuse. CAN interface. USB 2.0 full-speed interface. SDIO interface.System Function1)Integration of embedded Flash and SRAM memory ARM Cortex-M3 core. And 8/16 equipment compared, ARM Cortex-M3 32-bit RISC processor provides a higher code efficiency. STM32F103xx microcontrollers with an embedded ARM core, so it can be compatible with all ARM tools and software.2)Embedded Flash memory and RAM memory. Built up to 512KB embedded Flash, can be used to store programs and data. Up to 64KB of embedded SRAM clock speed of the CPU can read and write.3)Variable static memory. Variable static memory with 4 chip selects, supports four modes: Flash, RAM, PSRAM, NOR and NAND. After three FSMC interrupt lines connected to the OR after the nested vector interrupt controller. No read / write FIFO, except PCCARD, the code is executed from external memory is not supported Boot, the target frequency is equal to SYSCLK / 2, so the time when the system clock is 72MHz, 36MHz conducted in accordance with external access.4)Nested Vectored Interrupt Controller. Can handle 43 maskable interrupt channels, providing 16 interrupt priority levels. Tightly coupled nested vectored interrupt controller to achieve lower latency interrupt handling directly passed to the kernel interrupt vector table entry address, tightly coupled nested vectored interrupt controller kernel interface, allowing early treatment interruption, the latter to be more high-priority interrupt processing, support tail chain, auto-save processor state terrupts automatically restored on interrupt exit, no instructions intervention.5)External interrupt / event controller. External interrupt / event controller consists for 19 to generate interrupt / event requests edge detector lines. Each line can be individually configured to select the trigger event, it can be individually masked. There is a pending interrupt request registers to maintain state. When an external line appear longer than the internal APB2 clock-cycle pulse, the external interrupt / eventcontroller is able to detect. Up to 112 GPIO connected to the 16 external interrupt lines.6)Clocks and startup. At boot time or to the system clock selection, but the reset when the internal 8MHz crystal oscillator is selected as the CPU clock. Can choose a 4-16MHz external clock, and will be monitored to determine the success. During this time, the interrupt controller is disabled and the software management is subsequently disabled. Also, if there is a need, PLL clock interrupt management fully available. Comparator can be used more pre-configuration of the AHB frequency, including high-speed and low-speed APB APB, APB highest frequency of high-speed 72MHz, low-speed APB highest frequency of 36MHz.Architectural AdvantagesIn addition to the new features Enhanced peripheral interfaces, STM32 series also interconnect with other STM32 microcontrollers offer the same standard interface, such sharing of peripherals to enhance the entire product family, application flexibility, so that developers can a plurality of design reuse the same software. New STM32 standard peripherals include 10 timers, two 12-bit ADC, two 12-bit DAC, two I2C interfaces, five USART interfaces and three SPI ports. There are 12 new products peripherals direct data storage channel, there is a CRC calculation unit, like other STM32 microcontrollers, the supports 96 unique identifier.New series also has followed the STM32 microcontroller family of products low voltage and energy saving are two advantages. 2.0V to 3.6V operating voltage range compatible with the mainstream of battery technologies such as lithium batteries and nickel-metal hydride batteries, the package also features a battery operation mode dedicated pin Vbat. 72MHz frequency to execute code from flash consumes only 27mA current. There are four low-power mode, the current consumption can be reduced to two microamps. Quick Start from low power mode to save energy too; starting circuit using STM32 internally generated 8MHz signal, the microcontroller from stop mode when you wake up with less than 6 microseconds.中文翻译:单片机STM321 STM32的介绍STM32系列基于专为要求高性能、低成本、低功耗的嵌入式应用专门设计的ARM Cortex-M3内核。

基于STM32单片机的存储式数据采集系统设计

基于STM32单片机的存储式数据采集系统设计
第2 1 卷 第 1 7期
Vo 1 . 21 No . 1 7
电子设 计工 程
El e c t r o n i c D e s i g n En g i n e e r i n g
2 0 1 3年 9月
S e p .2 01 3
ห้องสมุดไป่ตู้
基于 S T M3 2单 片机 的存储 式数据 采集 系统设计
的 信 号 进 行放 大 , 利用s T M3 2单 片 机 的 片 内 A D C将 采 集 数 据 进 行 M D转 换 后 , 对数据进行软件 滤波 。 然后 保 存 到 片 内存储 器 中 ; 当数 据 达 到 一 定 量 之 后 。 将 转 换 数 据 转 移 至 外存 储 器 中 。 为 了 实现 体 积微 小 型 化 , 系统 采 用片 内 A D C实
me mo  ̄. I n o r d e r t o a c h i e v e t h e v o l u me o f mi c r o - mi n i a t u iz r a t i o n ,t h e s y s t e m u s e d c h i p ADC i n A/ D c o n v e te r r t o mi n i mi z e t h e
Ab s t r a c t :I n o r d e r t o S o l v e t h e p r o b l e m o f u n a b l e t o c o l l e c t t h e s i g n a l i n l e a d me a s u r e me n t ,d e s i g n,t h e d e s i g n o f a d a t a
d a t a i s s a v e d t o t h e me mo  ̄c h i p . Wh e n he t d a a t r e a c h e s a c e r t a i n a mo u n t ,t he c o n v e r t e d d a t a i s t r a n s f e r r e d t o t h e e x t e r n a l

基于stm32智能灯毕设外文文献

基于stm32智能灯毕设外文文献

基于stm32智能灯毕设外文文献基于STM32智能灯的外文文献:智能照明系统的设计与实现摘要:随着智能家居的迅速发展,智能照明系统已成为人们生活中越来越重要的一部分。

本文基于STM32单片机设计了一个智能灯,通过对传感器数据的采集和处理,实现了对照明系统的智能控制。

该系统具有灵活性、高效性和节能性等优点,能够满足用户个性化的需求。

引言:随着科技的进步和人们生活水平的提高,人们对于居住环境的舒适度和便利性的要求也越来越高。

智能家居作为一个新兴的概念,已经逐渐走入人们的生活。

智能照明系统作为智能家居的一部分,不仅能够提供良好的照明效果,还能够根据用户的需求进行智能控制,从而提高居住环境的舒适度和便利性。

设计与实现:本文基于STM32单片机设计了一个智能照明系统。

系统包括传感器模块、控制模块和执行模块三个主要部分。

传感器模块用于采集环境信息,包括光照强度、温度和湿度等。

控制模块通过对传感器数据的处理,实现对照明系统的智能控制。

执行模块负责控制灯的开关、亮度和颜色等。

系统的工作原理如下:首先,传感器模块采集环境信息,并将数据传输给控制模块。

控制模块根据传感器数据进行智能控制,判断是否需要调整灯的亮度和颜色。

如果光照强度较弱,系统将自动调整灯的亮度,以确保良好的照明效果。

如果温度较高或湿度较大,系统将自动调整灯的颜色,以提供舒适的居住环境。

最后,执行模块根据控制模块的指令,控制灯的开关、亮度和颜色等。

系统的优点:本系统具有以下几个优点。

首先,系统具有灵活性,能够根据用户的需求进行智能控制。

其次,系统具有高效性,能够自动调整灯的亮度和颜色,以提供良好的照明效果和舒适的居住环境。

最后,系统具有节能性,能够根据环境的实际情况进行智能控制,从而减少能源的浪费。

结论:本文基于STM32单片机设计了一个智能照明系统,通过对传感器数据的采集和处理,实现了对照明系统的智能控制。

该系统具有灵活性、高效性和节能性等优点,能够满足用户个性化的需求。

211202174_一种基于STM32的ADC数据采集系统设计

211202174_一种基于STM32的ADC数据采集系统设计

现代电子技术Modern Electronics TechniqueMay 2023Vol.46No.102023年5月15日第46卷第10期0引言随着国内新能源汽车的迅速崛起,用于控制新能源汽车电池的电池管理系统芯片(Battery Management System,BMS )也逐渐成为半导体行业的主流芯片之一[1]。

芯片功能测试是整个芯片研发过程中的一个重要环节。

目前应用于BMS 芯片功能测试的设备有泰瑞达公司的J750系列,安德万公司[2]的V93000、T2000。

但是由于目前国内芯片产业链不完整和芯片测试系统需高额费用,故采用自制系统已成为众多芯片研发公司解决芯片测试问题的有效途径之一。

目前国内有很多针对BMS 芯片的测试研究[3]。

ADC 是BMS 芯片内部的关键模块之一,因此ADC 的测评也是芯片测评过程的重要一环。

微分非线性(DNL )和积分非线性(INL )是判断ADC 性能的重要指标,其中DNL 表示ADC 实际量化曲线数字码的转换宽度与理想台阶之间的误差,INL 表示ADC 的实际转换电平与理想转换电平的偏离程度。

文献[4]中采用FPGA 芯片作为主控芯片采集数据,并使用码密度测试法[5]来计算其静态参数。

本文针对格威半导体公司研发的一款BMS 芯片GMD1002,根据其内部结构及工作原理,设计一种基于STM32处理器的芯片ADC 模块数据采集系统。

该系统通过斜升测试法采集ADC 的特性转换曲线[6],将采集数据代入INL 、DNL 计算公式中,得到ADC 的INL 、DNL 参数指标。

DOI :10.16652/j.issn.1004⁃373x.2023.10.010引用格式:张泽,姚育成,鲍迪,等.一种基于STM32的ADC 数据采集系统设计[J].现代电子技术,2023,46(10):47⁃53.一种基于STM32的ADC 数据采集系统设计张泽1,姚育成1,鲍迪2,李珉澄1,邓晓月1(1.湖北工业大学,湖北武汉430068;2.格威半导体(厦门)有限公司,上海201203)摘要:电池管理系统芯片是当前的主流芯片之一,其中ADC 模块发挥着重要的作用。

基于STM32的数据采集系统英文文献

基于STM32的数据采集系统英文文献

traditional mainstream technology in embedded systems, and the collecting data toward the direction of high real-time, multi-parameter, high-precision, while data storage become large capacity, more miniaturization and portable, and the development of multicommunication mode and long-distance for data transmission. So as to meet the actual acquisition system multitasking requirements, this article has designed based on STM32 micro-controller uC/OS-II system of signal acquisition system. Therefore, in order to meet the actual acquisition system multitask requirements, this novelty of this article has designed a signal acquisition system in micro-controller uC/OS-II based on STM32.
基于 STM32的数据采集系统英文 文献
ቤተ መጻሕፍቲ ባይዱ
Design of the Data Acquisition System Based on STM32

关于stm32的英文科研论文

关于stm32的英文科研论文

关于stm32的英文科研论文10 扫描隧道显微镜(STM)一.摘要与关键字摘要:扫描隧道显微镜(ST)的工作原理是基于量子力学的隧道效应,它的出现为人类认识和改造傲观世界提供了一个极其重要的新型工具。

本文中我们可以通过STM对石墨样品进行扫描,初步分析石墨样品的表面微观结构,验证石墨表层六角环形结构,为进一步研究石墨烯打好基础。

关键字:扫描隧道显微镜,隧道效应,六角环形结构,石墨烯。

二.引言1982年,IBM 瑞士苏黎士实验室研制出世界上第一台扫描隧道显微镜(ScanningTunnelling Microscope,简称STMD.STM使人类第一次能够实时地观察单个原子在物质表面的排列状态和与表面电子行为有关的物化性质,在表面科学、材料科学、生命科学等领域的研究中有着重大的意义和广泛的应用前景,被国际科学界公认为20世纪80年代世界十大科技成就之一.我们知道,常见的石墨是由一层层以蜂窝状有序排列的平面碳原子堆叠而形成的,石墨的层间作用力较弱,很容易互相剥离,形成薄薄的石墨片。

当把石墨片剥成单层之后,这种只有一个碳原子厚度的单层就是石墨烯。

而石墨烯的出现在科学界激起了巨大的波澜,石墨烯堪称是人类已知的强度最高的物质,它不仅可以开发制造出纸片般薄的超轻型飞机材料、可以制造出超坚韧的防弹衣,甚至还可以用来制造“太空电梯”缆线。

另外,石墨烯还是目前已知导电性能最出色的材料。

众所周知,高频电路是现代电子工业的领头羊,一些电子设备,例如手机,由于工程师们正在设法将越来越多的信息填充在信号中,它们被要求使用越来越高的频率,然而手机的工作频率越高,热量损耗也越高,于是,高频的提升便受到很大的限制。

并且,由于电子和原子的碰撞,传统的半导体和导体用热的形式释放了一些能量,目前一般的电脑芯片以这种方式浪费了70%-80%的电能,而石墨烯则不同,它的电子能量不会被损耗。

因此,它的出现有望在现代电子科技领域引发一轮革命。

stm32f407标准库英语

stm32f407标准库英语

stm32f407标准库英语English: The STM32F407 standard library is a collection of software functions, data structures, and macros provided by STMicroelectronics specifically for their STM32F407 series of microcontrollers. This library makes it easier for developers to access and utilize the various features and peripherals of the STM32F407 microcontroller, such as GPIO, timers, serial communication interfaces, and more. It provides a higher level of abstraction and simplifies the development process by hiding the low-level details of the hardware and providing a consistent interface for accessing different components of the microcontroller. The standard library also includes a set of example code for different applications, which serves as a good starting point for developers to understand and utilize the capabilities of the STM32F407 microcontroller.中文翻译: STM32F407标准库是STMicroelectronics专门为其STM32F407系列微控制器提供的一组软件函数、数据结构和宏的集合。

单片机STM32外文文献翻译、中英文翻译

单片机STM32外文文献翻译、中英文翻译

外文翻译英文原文:STM32 MicrocontrollerIntroductionRequirements based STM32 family is designed for high-performance, low-cost, low-power embedded applications designed specifically for ARM Cortex-M3 core. According to the performance into two different series: STM32F103 "Enhanced" series and STM32F101 "Basic" series. Enhanced Series clock frequency of 72MHz, the highest performance of similar products product; basic clock frequency of 36MHz, 16-bit product prices get more than 16 products significantly enhance the performance and is 16 product users the best choice. Both series have built-in 32K to 128K of flash memory, the difference is the maximum capacity of the SRAM and peripheral combinations. At 72MHz, executing from Flash, STM32 power consumption 36mA, are 32 products on the market's lowest power, the equivalent of 0.5mA/MHz.STM32F103 Performance Characteristics1)Kernel. ARM32 bit CPU, the maximum operating frequency of 72MHz,1.25DMIPS/MHz. Single-cycle multiply and hardware divide.2)Memory. Integrated on-chip 32-512KB of Flash memory. 6-64KB SRAM memory.3)Clock, reset, and power management. 2.0-3.6V power supply and I / O interface, the drive voltage. POR, PDR and programmable voltage detector. 4-16MHz crystal. Embedded factory tuned 8MHz RC oscillator circuit. 40 kHz internal RC oscillator circuit. CPU clock for the PLL. With calibration for the RTC 32kHz crystal.4)Low power consumption. Three kinds of low-power mode. Sleep, stop, standby mode. For RTC and backup registers supply VBAT.5)Debug mode. Serial debugging and JTAG interface.6)Direct data storage. 12-channel direct data storage controller. Supported peripherals: timers, ADC, DAC, SPI, IIC and USART.7)Up to a maximum of 112 fast I / O ports. Depending on the model, there are 26,37,51,80, and 112 I / O ports, all ports can be mapped to 16 external interruptvectors. In addition to the analog input, all of them can accept the input of 5V or less.8)Up to a maximum of 11 timers. Four 16-bit timers, each with 4 IC / OC / PWM or pulse counter. 2 16 6-channel advanced control timer: up to 6 channels can be used for PWM output. 2 watchdog timer. Systick timer: 24 down counter. Two 16-bit basic timer for driving DAC.9)Up to a maximum of 13 communication interfaces. 2 IIC interface. 5 USART interfaces. 3 SPI interface, two and IIS reuse. CAN interface. USB 2.0 full-speed interface. SDIO interface.System Function1)Integration of embedded Flash and SRAM memory ARM Cortex-M3 core. And 8/16 equipment compared, ARM Cortex-M3 32-bit RISC processor provides a higher code efficiency. STM32F103xx microcontrollers with an embedded ARM core, so it can be compatible with all ARM tools and software.2)Embedded Flash memory and RAM memory. Built up to 512KB embedded Flash, can be used to store programs and data. Up to 64KB of embedded SRAM clock speed of the CPU can read and write.3)Variable static memory. Variable static memory with 4 chip selects, supports four modes: Flash, RAM, PSRAM, NOR and NAND. After three FSMC interrupt lines connected to the OR after the nested vector interrupt controller. No read / write FIFO, except PCCARD, the code is executed from external memory is not supported Boot, the target frequency is equal to SYSCLK / 2, so the time when the system clock is 72MHz, 36MHz conducted in accordance with external access.4)Nested Vectored Interrupt Controller. Can handle 43 maskable interrupt channels, providing 16 interrupt priority levels. Tightly coupled nested vectored interrupt controller to achieve lower latency interrupt handling directly passed to the kernel interrupt vector table entry address, tightly coupled nested vectored interrupt controller kernel interface, allowing early treatment interruption, the latter to be more high-priority interrupt processing, support tail chain, auto-save processor state terrupts automatically restored on interrupt exit, no instructions intervention.5)External interrupt / event controller. External interrupt / event controller consists for 19 to generate interrupt / event requests edge detector lines. Each line can be individually configured to select the trigger event, it can be individually masked. There is a pending interrupt request registers to maintain state. When an external line appear longer than the internal APB2 clock-cycle pulse, the external interrupt / eventcontroller is able to detect. Up to 112 GPIO connected to the 16 external interrupt lines.6)Clocks and startup. At boot time or to the system clock selection, but the reset when the internal 8MHz crystal oscillator is selected as the CPU clock. Can choose a 4-16MHz external clock, and will be monitored to determine the success. During this time, the interrupt controller is disabled and the software management is subsequently disabled. Also, if there is a need, PLL clock interrupt management fully available. Comparator can be used more pre-configuration of the AHB frequency, including high-speed and low-speed APB APB, APB highest frequency of high-speed 72MHz, low-speed APB highest frequency of 36MHz.Architectural AdvantagesIn addition to the new features Enhanced peripheral interfaces, STM32 series also interconnect with other STM32 microcontrollers offer the same standard interface, such sharing of peripherals to enhance the entire product family, application flexibility, so that developers can a plurality of design reuse the same software. New STM32 standard peripherals include 10 timers, two 12-bit ADC, two 12-bit DAC, two I2C interfaces, five USART interfaces and three SPI ports. There are 12 new products peripherals direct data storage channel, there is a CRC calculation unit, like other STM32 microcontrollers, the supports 96 unique identifier.New series also has followed the STM32 microcontroller family of products low voltage and energy saving are two advantages. 2.0V to 3.6V operating voltage range compatible with the mainstream of battery technologies such as lithium batteries and nickel-metal hydride batteries, the package also features a battery operation mode dedicated pin Vbat. 72MHz frequency to execute code from flash consumes only 27mA current. There are four low-power mode, the current consumption can be reduced to two microamps. Quick Start from low power mode to save energy too; starting circuit using STM32 internally generated 8MHz signal, the microcontroller from stop mode when you wake up with less than 6 microseconds.中文翻译:单片机STM321 STM32的介绍STM32系列基于专为要求高性能、低成本、低功耗的嵌入式应用专门设计的ARM Cortex-M3内核。

基于sTM32的数据采集及存储系统设计

基于sTM32的数据采集及存储系统设计

基于sTM32的数据采集及存储系统设计江自强;葛亚炬;张乐年【摘要】This Paper designs a data acquisition and storage system based on STM32 microcontroller platform. STM32 receives the data of seven hole probe and through the UART reads the data of the navigation moduleJY901 by IIC bus; then this data is stored into micro SD card and sent to PC, while the initial data of the seven hole probe is displayed in the OLED LCD. This system can be used to successfully achieve acquisition storage and display of data.%设计了一种基于STM32微控制器平台的数据采集存储及显示系统.STM32通过串口中断接收七孔探针的数据后,再通过IIC总线读取导航模块JY901数据;然后将采集到的数据存储于Micro SD卡中并发向上位机,同时将七孔探针的初始数据显示在OLED液晶屏上.使用该系统成功地实现了数据的采集存储及显示.【期刊名称】《机械制造与自动化》【年(卷),期】2017(046)004【总页数】4页(P136-139)【关键词】STM32微控制器;串口通信;IIC总线;SD卡存储【作者】江自强;葛亚炬;张乐年【作者单位】南京航空航天大学机电学院,江苏南京210016;南京航空航天大学机电学院,江苏南京210016;南京航空航天大学机电学院,江苏南京210016【正文语种】中文【中图分类】TP274在航空领域,各种类飞行器都需要对飞行试验过程中的加速度、角速度、磁场,气压等状态参数进行数据的采集与存储,然后通过离线的方式对这些信息进行综合分析,以完成系统方案的不断改进。

基于STM32的数据采集及显示系统的设计

基于STM32的数据采集及显示系统的设计

基于STM32的数据采集及显示系统的设计孟强;徐慧;万青苗【期刊名称】《电脑知识与技术》【年(卷),期】2013(000)013【摘要】Design of STM32-based data acquisition and data display and storage on the PC system . STM32 data collection and storage, display and storage of data via RS232 and USB communication with PC, compile a simple C # language client. Circuit de?sign method is simple, high reliability. Can meet the requirements of practical applications.%设计一种基于STM32数据采集并在PC机上实现数据的显示和存储的系统.通过STM32进行数据的采集和存储,通过RS232和USB与PC机通信,用C#语言编一个简单的客户端进行数据的显示和存储.电路设计方法简单、可靠性高,能满足实际应用的要求.【总页数】4页(P3183-3186)【作者】孟强;徐慧;万青苗【作者单位】南京林业大学信息科学与技术学院,江苏南京210037;南京林业大学信息科学与技术学院,江苏南京210037;南京林业大学信息科学与技术学院,江苏南京210037【正文语种】中文【中图分类】TP216【相关文献】1.基于STM32F103RCT6和ADS1298的脑电信号数据采集与波形显示 [J], 刘培军;李红利2.基于STM32F103RCT6的数据采集显示系统设计 [J], 刘博;郭君岩;刘伟;邵丽艳;刘强3.基于STM32最小系统串口通信显示系统设计 [J], 刘宁;陈冬琼;杨克磊4.基于STM32的数据采集及显示系统的设计 [J], 孟强;徐慧;万青苗;5.基于STM32的多路传感器数据采集系统设计 [J], 过怡;张振;张棋因版权原因,仅展示原文概要,查看原文内容请购买。

stm32 教材 参考文献格式

stm32 教材 参考文献格式

在写STM32的教材或参考文献时,通常需要遵循以下格式:1. 书籍:作者。

(出版年份). 书名。

出版社。

例如:Arm, S. (2016). STM32 Microcontrollers: From Assembly Language to C Coding. Packt Publishing Ltd.2. 学术论文:作者。

(发表年份). 论文标题。

期刊名称,卷号(期号), 页码范围。

例如:Zhang, L., & Li, H. (2018). Design and implementation of a smart home system based on STM32. Journal of Computer Science and Technology, 33(4), 567-572.3. 网络资源:作者或组织。

(发布年份). 文档标题。

来源URL。

例如:STM32中文网。

(2019). STM32F103C8T6数据手册。

4. 技术报告:作者。

(发布年份). 报告标题。

机构名称。

例如:Huang, J. (2017). STM32微控制器的应用研究。

电子科技大学。

5. 会议论文:作者。

(发表年份). 论文标题。

In 会议名称,pp.页码范围。

例如:Wang, Y., & Liu, X. (2018). An efficient method for STM32 programming based on JTAG. In Proceedings of the International Conference on Computer Science and Artificial Intelligence, pp. 123-127.请注意,以上格式可能会根据具体的出版或引用规则有所不同,建议在写作时查阅相关的规范或指南。

  1. 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
  2. 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
  3. 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。

基于STM32的数据采集系统英文文献Design of the Data Acquisition System Based on STM32ABSTRACTEarly detection of failures in machinery equipments is one of the most important concerns to industry. In order to monitor effective of rotating machinery, we development a micro-controller uC/OS-II system of signal acquisition system based on STM32 in this paper. we have given the whole design scheme of system and the multi-channel vibration signal in axis X, Y and Z of the rotary shaft can be acquired rapidly and display in real-time. Our system has the character of simple structure, low power consumption, miniaturization.Keywords: STM32; data acquisition; embedded system;uC/OS-II;1.1. IntroductionThe real-time acquisition of vibration in rotating machinery can effectively predict, assess and diagnose equipment operation state, the industry gets vibration data acquisition Rapidly and analysis in real-time can monitor the rotating machinery state and guarantee the safe running of the equipment. In order to prevent failure, reduce maintenance time, improve the economic efficiency, The purpose of fault diagnosis system can detect these devices through the vibration signal acquisition of rotating machinery, and process the data acquisition, then it will make timely judgment of running state of equipment .While the data acquisition module is the core part of the fault diagnosis system [1-4].The practical application in the industrial field, is the equipment operating parameters will be acquired to monitor equipment operating state. In traditional data acquisition systems, the data from acquisition card are generally send into the computer, and specific software will be developed for the data acquisition. The main contribution of this paper has designed the STM32 platform with ARM technology, that has become atraditional mainstream technology in embedded systems, and the collecting data toward the direction of high real-time, multi-parameter, high-precision, while data storage become large capacity, more miniaturization and portable, and the development of multicommunication mode and long-distance for data transmission. So as to meet the actual acquisition system multitasking requirements, this article has designed based on STM32 micro-controller uC/OS-II system of signal acquisition system. Therefore, in order to meet the actual acquisition system multitask requirements, this novelty of this article has designed a signal acquisition system in micro-controller uC/OS-II based on STM32.2.Architecture of data acquisition systemData acquisition as key technology for monitoring equipment, recently a lot of work has been done on it. An embedded parallel data acquisition system based on FPGA is Optimized designed which will make it reasonable to divide and allocate high-speed and low-speed A/D [5]. Instead, it has use a high-speed A/D converter and Stratix II series of FPGA for data collection and processing, in which the main contribution is used of the Compact Peripheral Component Interconnect, the system has the characters of modularization, sturdiness and scalability [6].But remote control will be needed in Special Conditions, this paper introduce the embedded operating system platform based on Windows CE and uC/OS-II to design a remote acquisition and control system with the GPRS wireless technology [7-8].In order to achieve the data sharing of multi-user, it has build the embedded dynamic website for data acquisition management and dissemination with the ARM9 and Linux operation system [9].A data collection terminal devices is designed based on ARM7 microprocessor LPC2290 and embedded real-time operating system uC/OS-II to solve the real-time acquisition of multichannel small signal and multi-channel transmission[10].On the other hands, two parallel DSP-based system dedicated to the data acquisition on rotating machines, and the inner signal conditioner is used to adapt the sensor output to the input range of the acquisition, and then signal post-processing bythe design software, while the most frequently structure is to use DAS and FPGA-based, and such programs are also dependent on the DAS cost.In order to meet market requirements of low power consumption, low cost, and mobility, Fig.1 in this paper presents the design overall structure diagram of data acquisition system. Through SPI interface, the system gets the data collection with three axis acceleration sensor into the STM32 controller of inner A/D conversion module with 12-bit, this process is non-interfering parallel acquisition. Our system uses 240x400 LCD and touch screen module real-time to display the collected data in real time.2.1. STM32 micro-controllerA 32 bit RISC STM32F103VET6, used as the processor in our system, compared with similar products, the STM32F103VET6 work at 72MHZ, with characters of strong performance and low power consumption, real-time and low-cost. The processor includes: 512K FLASH, 64K SRAM, and it will communicate by using five serial ports which contain a CAN bus, a USB2.0 SLA VE mode and a Ethernet interface, what s more two RS232 ports are alsoincluded. The system in our paper extend the SST25VF016B serial memory through the SPI bus interface, that will regard as the temporary storage when collect large number of data, furthermore, we have the A/D converter with 12 bits resolution, and the fastest conversion up to 1us, with 3.6 V full-scale of the system. In addition to design of the system power supply circuit, the reset circuit, RTC circuit and GPIO port to assurance system needs and normal operation. 2.2. Data acquisitionThe machine state is normal or not is mainly depended on the vibration signal. In this paper, to acquire the vibration data of rotating machinery rotor, we have used vibration acceleration transducers MMA7455L which could collect the data from axis x, y, and z of the company of Free-scale. The kind of vibration acceleration transducers has advantage of low cost and small size, high sensitivity and large dynamic range with small interference. MMA7455L is mainly consists of gravity sensing unit and signal conditioning circuit composition, and this sensor will amplify the tiny data before signal preprocessing. In data acquisition process of our system, the error of sampling stage is mainly caused by quantified, and the error is depended on the bits of the A/D converter ,when we regard the maximum voltage as V max , the AD converter bits is n, and the quantization Q = V max/2n, then, the quantization error is obeyed uniform distribution in [- q / 2, q / 2] [13].The designed STM32 could built at most three 12-bit parallel ADC in this paper , which theoretical index is 72dB and the actual dynamic range is between 54 to 60dB while 2 or 3 bits is impacted by noise, the dynamic range of measurement can up to 1000 times with 60dB. For the vast majority of the vibration signal, the maximum sampling rate of 10kHZ can meet actual demand, and the higher frequency of collection is generally used in the 8-12 bits AD, therefore one of contribution of this work is to choose a built-in 12-bit A/D to meet the accuracy of vibration signal acquisition and lower cost in this experiment.3.Software design3.1. Transplantation of C/OSIn order to ensure real-time and safety data collection requirements, in this system, a kind of RTOS whose source code is open and small is proposed. It also can be easily to be cut down, repotted and solidified, and its basic functions including task management and resource management, storage management and system management. The RTOS embedded system could support 64 tasks, with at most 56 user tasks, and four tasks of the highest and the lowest priorities will be retained in system. The uC/OS-II assigns priorities of the tasks according to their importance, the operation system executive the task from the priority sequence and each task have independent priority. The operating system kernel is streamlined, and multi-tasking function is well compared with others, it can be transplanted to processors that from 8-bit to 64-bit.The transplant in the system are to modify the three file system structure: OS_CPU_C.H OS_CPU.C, OS_CPU_A.ASM. Main transplantation procedure is as follows:A. OS_CPU_C.HIt has defined the data types, the length and growth direction of stack in the processor. Because different microprocessors have different word length,so the uC/OS-II transplantation include a series of type definition to ensure its portability, and the revised code as follows:typedef unsigned char BOOLEAN;typedef unsigned char INT8U;typedef signed char INT8S;typedef unsigned short INT16U;typedef signed short INT16U;typedef unsigned int INT32U;typedef signed int INT32S;typedef float FP32;typedef double FP64;typedef unsigned int OS_STK;typedef unsigned int OS_CPU_SR;Cortex-M3 processor defines the OS_ENTER_CRITICAL () and OS_EXIT_CRITICAL () as opening and closing interrupt, and they must set to 32 bit of the stack OS_STK and CPU register length. In addition, that has defined the stack pointer OS_STK_GROWTH stack growth direction from high address to lower address.B. OS_CPU.CTo modify the function OSTaskStkInit() according to the processor, the nine remaining user interface functions and hook functions can be null without special requirements, they will produce code for these functions only when the OS_CPU_HOOKS_EN is set to 1 in the file of OS_CFG.H. The stack initialization function OSTaskStkInit () return to the new top of the stack pointer.OS_CPU_A.ASMMost of the transplant work are completed in these documents, and modify the following functions.OsStartHighRdy() is used for running the most priority ready task, it will be responsible for stack pointer SP from the highest priority task of TCB control block, and restore the CPU, then the task process created by the user start to control the process.OSCtxSw () is for task switching, When the current task ready queue have a higher priority task, the CPU will start OSCtxSw () task switching to run thehigher priority task and the current task stored in task stack.OSIntCtxSw () has the similar function with OSIntSw (), in order to ensure real-time performance of the system, it will run the higher priority task directly when the interrupt come, and will not store the current task.OSTickISR () is use to handle the clock interrupt, which needs interrupt to schedule its implementation when a higher priority task is waiting for the clock signal.OS_CPU_SR_Save () and OS_CPU_SR_Restore () is completed to switch interrupt while entering and leaving the critical code both functions implement by the critical protection function OS_ENTER_CRITICAL () and OS_EXIT_CRITICAL ().After the completion ofthe above work,uC/OS-II can run on the processors.3.2. Software architectureFig.2 shows the system software architecture, so as to display the data visualized,uC/GUI3.90 and uC/OS-II is transplanted in the system, our system contains six tasks such data acquisition, data transmission, LCD display, touch screen driver, key-press management and uC/GUI interface.First of all, we should set the task priority and the task scheduling based on the priority. It needs complete the required driver design before the data acquisition, such as A/D driver, touch panel driver and system initialization, while the initializations include: hardware platform initialization, system clock initialization, interrupt source configuration, GPIO port configuration, serial port initialization and parameter configuration, and LCD initialization. The process is that the channel module sent sampling command to the AD channel, then to inform the receiver module it has been sent the sample start command, the receiver module is ready to receive and large data will store in the storage module, after the completion of the first sampling, channel module will send the complete command of sampling to the receiver module, the receiver sends an interrupt request to the storage module to stop the data storing, then the data will display on the LCD touch screen. The data acquisition process shown in Fig.34.ExperimentsThe experiment of the embedded system has been done and data acquisition comes from the acceleration of MMA7455L, which is installed on the bench of rotating machine. The data acquisition have displayed as shown in Fig.4 and Fig.5, the system can select three channels to collect the vibration signal from the three directions of X, Y and Z-axis , and in this paper the sampling frequency is 5KHZ and we have collect the vibration signal from normal state of unbalanced state at the same channel. The result shows that our system can display real-time data acquisition and predict the preliminary diagnosis rapidly.5.ConclusionThis paper has designed an embedded signal acquisition system for real time according to the mechanical failure occurred with high frequency of in the rotating machines. The system is based on a low cost microcontroller, Vibration signals is picked by the three axis acceleration sensor which has the performance of low cost and high sensitivity, and the acquisition data from axis x, y, and z. We have designed the system hardware structure, and analyses the working principle of data acquisition module. The proposed system of uC/OS-II realize the data task management and scheduling, and it is compacted with structure and low cost, what's more the system collects the vibration signal and analysis in real-time of the rotating machines, and then quickly gives diagnostic results. AcknowledgementsThis work was supported by The National Natural Science Foundation of China (51175169); China National Key Technology R&D Program(2012BAF02B01); Planned Science and Technology Project of Hunan Province(2009FJ4055);Scientific Research Fund of Hunan Provincial Education Department(10K023).REFERENCES[1] Cheng, L., Yu, H., Research on intelligent maintenance unit of rotary machine, Computer Integrated Manufacturing Systems, vol. 10, Issue: 10, page 1196-1198, 2004.[2] Yu, C., Zhong, Ou., Zhen, D., Wei, F., .Design and Implementation of Monitoring and Management Platform in Embedded Fault Diagnosis System, Computer Engineering, vol. 34 , Issue: 8, page 264-266, 2008.[3]Bi, D., Gui, T., Jun, S., Dynam . Behavior of a High-speed Hybrid Gas Bearing-rotor System for a Rotating ramjet, Journal of Vibration and Shock, vol. 28, Issue: 9, page 79-80, 2009.[4] Hai, L., Jun, S., Research of Driver Based on Fault Diagnosis System Data Acquisition Module, Machine Tool& Hydraulics, vol. 38 , Issue: 13, page 166-168, 2011.[5] Hao, W., Qin, W., Xiao, S., Optimized. Design of Embedded Parallel Data Acquisition System, Computer Engineering and Design, vol. 32, Issue: 5, page 1622-1625, 2011.[6] Lei, S., Ming, N., Design and Implementation of High Speed Data Acquisition System Based on FPGA, Computer Engineering, vol. 37, Issue: 19, page 221-223, 2011.[7] Chao, T., Jun, Z., Ru, G., Design of remote data acquisition and control system based on Window CE, Microcomputer& Its Applications , vol. 30, Issue: 14, page 21-27, 2011.[8]Xiao, W., Bin, W., SMS controlled information collection system based on uC/OS-II, Computer Application, vol. 12, Issue: 31, page 29-31, 2011.[9]Ting,Y., Zhong, C., Construction of Data Collection& Release in Embedded System, Computer Engineering, vol. 33, Issue: 19, page 270-272, 2007.[10]Yong, W., Hao, Z., Peng,D., Design and Realization of Multi-function Data Acquisition System Based on ARM, Process Automation Instrumentation, vol. 32, Issue: 1, page: 13-16, 2010.[11] Betta, G., Liguori, C., Paolillo, A., A DSP-Based FFT Analyzer for the Fault Diagnosis of Rotating Machine Based on Vibration Analysis, IEEE Transaction on Instrumentation and Measurement, vol. 51, Issue: 6, 2002.[12] Contreras-Medina LM., Romero Troncoso RJ., Millan Almarez JR., FPGA Based Multiple-Channel Vibration Analyzer Embedded System for Industrial Application in Automatic Failure Detection, IEEE transactions on International and measurement, vol. 59, Issue: 1, page 63-67, 2008.[13]Chon, W., Shuang, C., Design and implementation of signal detection system based on ARM for ship borne equipment, Computer Engineering and Design, vol. 32, Issue: 4, page: 1300-1301, 2011.[14]Miao, L., Tian, W., Hong, W., Real-time Analysis of Embedded CNC System Based on uC/OS-II, Computer Engineering, vol. 32, Issue: 22, page 222-223, 2006.。

相关文档
最新文档