Application of the hottest MSC1210 in micro displa

2022-08-24
  • Detail

Application of MSC1210 in micro displacement sensor system

Abstract: combining the multi-dimensional force sensor technology of the robot sensor laboratory of Hefei Institute of intelligence, Chinese Academy of Sciences with the MSC1210 Single Chip Microcomputer newly launched by TI company, the robot can realize the high-resolution detection of micro displacement. This paper first briefly introduces the structural characteristics of the micro displacement sensor, and then describes in detail the new characteristics of MSC1210, such as multiplexer, PGA, filter and so on, based on which the hardware platform of micro displacement detection is constructed. At the same time, an intelligent human-computer interaction interface is designed for the sensor system to help users conveniently select relevant parameters such as sampling rate and filter model according to actual needs, so as to achieve satisfactory application results

key words: multi dimensional force sensor MSC1210 micro displacement 2 Proportional limit: the relationship between load and elongation can be maintained in direct proportion within a certain range. Detection

Introduction

micromanipulation has been applied in many application fields, especially in nano micron positioning systems, which require sensors to detect tiny force and displacement information [1]. At present, there are many principles used for micro displacement detection, such as optical, magnetic and inductive, capacitive and piezoelectric [2,3], but these are mostly inconvenient for robots to obtain micro multi-dimensional force and displacement information. In order to use the multi-dimensional force sensor with mature technology for the acquisition of micro force and micro displacement information, the robot sensor laboratory of Hefei Institute of intelligence, Chinese Academy of Sciences, while transforming the structural parameters of the multi-dimensional force sensor, makes full use of many new features of MSC1210 Single Chip Microcomputer of Texas Instruments (Ti), such as its own 8-way 24 bit high precision ΣΔ A/d converter, programmable gain amplifier (PGA) and filter realize high-precision measurement of force and displacement. This paper mainly discusses the application of microcomputer, hoping to make a contribution to improving the integration degree, resolution, stability and human-computer interaction ability of the sensor

1 characteristics of multi-dimensional force sensor and introduction to MSC1210

the structure of micro displacement sensor mainly refers to the structural characteristics of robot six dimensional wrist force sensor in the laboratory, and the double E-shaped diaphragm structure is also used in the design [4]. Firstly, the improved two-dimensional force sensor is used to detect the force information on the X and Y dimensions acting on the object, and then it is converted into the displacement information of the plane. At the same time, based on the robot six dimensional force sensor, it changes the relevant structural parameters, such as range and sensitivity, in order to achieve the acquisition of small force and displacement information

Texas Instruments has newly introduced a powerful microprocessor MSC1210 with 24 bit a/d converter [5]. MSC1210 has some enhancement characteristics, which is especially suitable for measuring the weak signals output by high-precision temperature and pressure sensors. MSC1210 mainly includes enhanced 8052 microcontroller core, flash memory, high-performance simulation functions and high-performance peripherals. The core of the enhanced 8052 microcontroller includes dual data indicators, and the speed of executing instructions is three times faster than that of the standard 8052 core. This MIPS function enables users to optimize speed, power and noise according to special needs. Figure 1 is a block diagram of MSC1210 ADC

Figure 1 MSC1210 ADC block diagram

the core of the circuit module of high-precision micro displacement sensor is MSC1210 Single chip microcomputer. It completes the multiplexing of weak signals with little or no maximum load, signal buffering, PGA programming amplification, 24 bits ΣΔ A/d conversion, digital filtering, data processing, signal calibration, UART communication and other functions [6]. The following is a brief introduction of the use of micro displacement sensors

msc1210 input multiplexer is more flexible than general ADC, and each input pin of it can be configured as positive input or negative input for specific measurement. Compared with the input pair usually defined by the startup ADC component, MSC1210 can define one pin as a negative input and the other as a positive input, making the design convenient and free. A group of bridge outputs of the micro displacement sensor are respectively connected to ain0 and ain1 of MSC1210 ADC as a differential input; The other group of bridge outputs are respectively connected to ain2 and ain3 of MSC1210 ADC as the second differential input. The initialization value of admux register is: admux=0x01

according to the data of TI's MSC1210, the input buffer can reduce the possibility of offset in ADC measurement. As long as the characteristics of the input signal allow, it should be used. The only case where the input buffer is not used is that the maximum voltage on one of the analog inputs is lower than the normal rail voltage and higher than 1.5 v. Without buffer, the input impedance of MSC1210 is 5 m Ω/PGA. When the buffer is enabled, the impedance is generally 10 g Ω. The input voltage range is reduced and the analog power supply current increases. In the case of not being the "only" mentioned above, the buffer was not used in the experiment, but the buf bit in the ADC control register (adcon0.3) was cleared, that is, the buffer was turned off, but the effect was ideal, and the zero output deviation of the sensor changed little

the gain of programmable gain amplifier (PGA) can be set to 1, 2, 4, 8, 16, 32, 64 or 128. Using PGA can greatly improve the effective resolution of ADC. Of course, the gain setting should be reasonable, otherwise the noise will be amplified. In the experiment, the gain of the micro displacement sensor is set to 64 (to be exact, it should be the gain of PGA of MSC1210 ADC)

msc1210 digital filter has three types: fast build, sinc2 or sinc3, and there is also an automatic mode. After the input channel or PGA is changed, the automatic mode can modify the sinc filter to the best available option. After switching to the new channel, it can use the fast establishment filter for the next two conversions, and the first conversion should be discarded. Then, sinc2 and then sinc3 filters are used to improve the noise performance. This operation can combine the low noise advantage of sinc3 filter and the fast response of fast recovery time filter at the same time. Sinc in digital filter is a kind of FIR filter in digital filter, which is often used in ΔΣ ADC of. When the input channel changes suddenly, the output takes some time to correctly represent the new input. The time required depends on the type of filter used. Sinc2 usually represents the data output time requiring 2 cycles, sinc3 represents the data output time requiring 3 cycles, and others require 1 cycle. Generally speaking, if sinc3 filter is used, when the input channel is changed, the first three sampled output data cannot be used and should be discarded; Only the fourth output data is available. This is crucial

msc1210 can use either internal reference voltage or external reference voltage. The starting configuration of the reference voltage is internal 2.5 v. The reference voltage can be selected through the adcon0 register. In the experiment, the internal reference voltage is enabled, and 1.25 V is selected by setting adcon0.4 (vrefh). It should be noted that enabling internal VREF does not eliminate the need for external connections. The refout pin must still be connected to vref+, and vref- must still be connected to agnd, so that the internal VREF can operate normally. Due to space limitations, other functions of MSC1210 ADC are not introduced here

2 hardware composition of sensor

due to the high integration of MSC1210 ADC, the hardware system composition is very simple. Figure 2 is a partial rendering of the micro displacement sensor. The strain resistor is pasted on the surface of the E-type diaphragm in a specific direction through a special process, and connected to form two groups of automatically decoupled Wheatstone full bridge circuits as the analog output of the original force information. The compact circuit board is placed in a circular aperture

Figure 2 partial effect of sensor

Figure 3 shows the circuit structure of the experimental system. The experimental system is mainly composed of sensor body (output original analog signal), MSC1210 core, serial communication circuit and PC. As mentioned above, a group of bridge outputs of the micro displacement sensor are respectively connected to ain0 and ain1 of MSC1210 ADC as a differential input; The other group of bridge outputs are respectively connected to ain2 and ain3 of MSC1210 ADC as the second differential input. MSC1210 communicates with PC through RS232 to display information and control MSC1210

Figure 3 Schematic diagram of the circuit structure of the sensor system

3 software design of MSC1210 data acquisition system

the setting of each control word of MSC1210 ADC will be greatly promoted. In the direction of promoting the use of modern coal chemical industry to prepare these raw materials, it will greatly affect the final resolution and stability of the sensor. For example, whether the input buffer is used or not, the selection of programmable amplifier gain, the selection of modulator clock speed (which determines the analog sampling rate and the selection of filter model), and so on, these parameters are not set at one time. Some of them need to be combined and tried repeatedly, and finally get satisfactory results. In order to avoid having to download to the flash program memory after modifying the program every time, the initialization of the ADC of MSC1210 before operation is fully controlled by the PC. First, the PC transmits various necessary control information to MSC1210 through the serial port, and MSC1210 initializes the ADC according to these information. Specifically, the PC sends six bytes to MSC1210, including the filter model, aclk, adcon2 and adcon3. The plastic granulator in the registers is also a sample value of China's energy consuming user, the delay value after modifying the analog input channel, the number of data output cycles that must be discarded, and the gain of the programmable amplifier. Then, MSC1210 starts the initialization of ADC. After entering the normal working state, if it is found that the current data output cycle number has been greater than the preset data output cycle number that must be discarded, MSC1210 considers this output data and its subsequent output data to be valid, but it does not immediately send the data to the PC, but immediately modify the analog input channel, and then make the output of the previous input channel invalid, and then enter the next data output cycle. The workflow of MSC1210 can be simply shown in Figure 4

Figure 4 MSC1210 workflow

in addition to the initialization control of MSC1210 ADC, PC is mainly responsible for displaying the data sent by MSC1210 through RS232 serial port in real time in the appropriate position of the window with visual graphics. MSC1210 sends 4 bytes to PC each time. These four bytes are defined as follows: the first byte represents the channel number of the sensor, and 0 represents the differential input between ain0 and ain1, that is, x-dimensional information; 1 refers to the differential input of ain2 and ain3, that is, the information of Y dimension. The last three bytes are the 24 bit binary representation of the output data and the conversion result of MSC1210 ADC. When the PC processing process detects that the input buffer is full of 4 bytes, it reads the data of the buffer and empties the input buffer at the same time. After identifying the channel according to the first byte, convert the data into voltage value and display it to the corresponding position (unit: MV), and open up two graphic display areas in the window to display the signal changes of x-axis and y-axis in real time respectively. In order to better observe the small changes of the signal, the process provides the function of graphic amplification and display. For convenience, the magnification can be 12.5 times and 125 times. Figure 5 shows the interactive interface between PC and MSC1210

Fig. 5 data output of micro displacement sensor during operation

4 experimental results

after repeated tests, combined with the actual requirements, the data output rate of the micro displacement sensor is finally positioned at 10 Hz, with a resolution of 15 bits. It has high stability and achieved good results. Relevant parameters are selected as follows: the filter model of MSC1210 is sinc3, aclk is 1, and the sampling value in adcon2 and adcon3 registers is set to 1080

Copyright © 2011 JIN SHI