CAN bus data acquisition system scheme based on DSPIC30F3013

introduction

In industrial control, in order to ensure the reliable operation of the system, it is necessary to detect surrounding environmental variables (such as temperature, air pressure, humidity, etc.). The usual practice is to connect the signals collected by the sensors distributed everywhere to the monitoring center through their respective lines. This way, the task of effectively completing the detection task also causes a great waste of line resources. Therefore, a requirement for simplifying the layout of the line has been proposed. CAN (Controller Area Network) is a serial communication protocol that can effectively support distributed real-time control of high security levels. At the same time, in theory, there are almost no restrictions on nodes in the CAN bus network. Based on this, the CAN bus data acquisition system based on digital signal controller is used as a CAN node. Each CAN area is placed in a monitoring area, and each node communicates with the monitoring center through the CAN bus. The overall block diagram of the system is shown in Figure 1.

1 hardware composition

The data acquisition system consists of two parts: the control part, including the anti-aliasing filter of the front-end signal and the 12-bit analog-to-digital converter for signal acquisition; the CAN bus interface circuit part, which is sent and received by the MCP2515CAN protocol controller and the MCP2551 high-speed CAN. Composition. The system is connected to 3 signals, and the TEM, PRE, and RH are temperature, air pressure, and relative humidity, respectively.

1.1 Control section

The dsPIC30F3013 is a family of sensor digital signal controllers from Microchip. The controller features a 16-bit (data) modified Harvard architecture with an enhanced instruction set that includes powerful support for the DSP. It operates at speeds up to 30 MIPS and integrates a 10-channel 12-bit analog-to-digital converter with a maximum conversion speed of 200 ksps.

In the industrial control system, due to the existence of various types of noise, an anti-aliasing filter circuit needs to be added to the signal acquisition end, as shown in Figure 2.

Anti-aliasing uses a Sallen Key second-order low-pass filter. Since the environmental variables are all slow variables, the filter bandwidth is set to 30 Hz. The values ​​of R1, R2, C1, and C2 in the circuit determine the characteristic frequency f0 of the anti-aliasing filter, and also ensure the resolution of 12 bits at the 10ksps analog-to-digital conversion rate. In order to pass the signal well throughout the passband, the quality factor Q of the SallenKey filter needs to be adjusted. The Q value is determined by equation (1):

The amplitude-frequency characteristics of the Sallen Key filter show that the frequency characteristics are optimal when the quality factor is between 0.7 and 0.9. This Q value is selected to be 0.8.

Data acquisition was performed using the 12-bit ADC module of the dsPIC30F3013. Cyclic scanning of three environmental signals produces an interrupt every 12 samples/conversions. During the interruption process, the average value digital filtering and the format adjustment of the corresponding parameters are completed, and then transmitted to the CAN protocol controller through the SPI interface.

1.2 CAN bus interface circuit part

The CAN bus interface circuit is shown in Figure 3.

Cosmetic Instrument Vibration Motor Mainly used in cosmetic instrument, such as instrument, cleansing essence introducing vibration meter, wash a face, facial massage, hairdressing instrument, etc.

Cosmetic Instrument Vibration Motor     Cosmetic Instrument Vibration Motor


Operating temperature range:

Cosmetic Instrument Vibration Motor should be used at a temperature of -10~60℃.


The figures stated in the catalog specifications are based on use at  ordinary room temperature catalog specifications re based on use at ordinary room temperature  (approximately20~25℃.


If a Cosmetic Instrument Vibration Motoris used outside the prescribed temperature range,the grease on the gearhead area will become unable to function normally and the motor will become unable to start.Depending on the temperature conditions ,it may be possible to deal with them by changing the grease of the motor's parts.Please feel free to consult with us about this.


Storage temperature range:

Cosmetic Instrument Vibration Motor should be stored ta a temperature of -15~65℃.

In case of storage outside this range,the grease on the gearhead area will become unable to function normally and the motor will become unable to start.


Service life:

The longevity of Cosmetic Instrument Vibration Motor is greatly affected by the load conditions , the mode of operation,the environment of use ,etc.Therefore,it is necessary to check the conditions under which the product will actually be used .The following conditions will have a negative effect on longevity.Please consult with us should any of them apply.


●Use with a load that exceeds the rated torque

●Frequent starting

●Momentary reversals of turning direction

●Impact loads

●Long-term continuous operation

●Forced turning using the output shaft

●Use in which the permitted overhang load or the permitted thrust load is exceeded

●A pulse drive ,e.g.,a short break,counter electromotive force,PWM control

●Use of a voltage that is nonstandard as regards the rated voltage

●Use outside the prescribed temperature or relative-humidity range,or in a special environment.

●Please consult with us about these or any other conditions of use that may apply,so that we can be sure that you select the most appropriate model.


when it come to volume production,we're a major player as well .each month,we rurn out  600000 units,all of which are compliant with the rohs directive.Have any questions or special needed, please contact us, we have the engineer group and best sales department to service to you Looking forward to your inquiry. Welcome to our factory.

vibration motor


Cosmetic Instrument Vibration Motor

Cosmetic Instrument Vibration Motor,Face Brush Vibration Motor,Electric Cosmetic Instrument Vibration Motor,Cosmetic Instrument Mini Vibration Motor

Shenzhen Shunchang Motor Co., LTD. , https://www.scgearmotor.com