Interpretation of CAN bus driving recorder system circuit - circuit diagram reading every day (165)

Industrial Router Crystal 3.2*2.5mm 3225 26M (26.000MHZ) 12PF 10PPM 20PPM 30PPM
SMD aluminum electrolytic capacitor
Probe domestic PA100-H2 diameter 1.36 thimble total length 33.35MM current
MOS power IC full range
Murata muRata winding inductance original authentic assured purchase

CAN bus is a serial multi-master station LAN bus. Its main principle is to connect the relevant controllers on the vehicle to realize the engine controller, gearbox controller, ABS controller, body controller, instrument and others. Controller communication. In addition to making the whole vehicle wiring harness smaller and more organized, and the weight of the whole vehicle is lighter, the CAN-bus system has the greater advantage of real-time sharing of vehicle information. The developed driving recorder is used to collect the car CAN bus data information in real time during the running of the vehicle, and store the data in the u disk, and transmit it to the PC as the carrier, and analyze the data by using the software on the PC. . Overcoming the previous field data acquisition system must have a computer mode, real-time understanding of various data changes during the operation of the car, synchronous recording of driving conditions, after the vehicle is tested or driven for a long time, the recorded data is used to analyze the driving performance of the vehicle and The operation of each component facilitates the calibration and design work.

System overall structural design

Due to the good characteristics of the CAN serial communication bus, it is widely used in field data acquisition systems, automotive manufacturing and aerospace industries. The CAN bus data recorder designed in this paper is applied to the Chery Automobile A5 model to collect and store the node data on the vehicle CAN network. A5 is the first self-owned brand domestic car that uses CAN bus bus system. Its CAN-bus is mainly used in the transmission department, and there are also a small number of applications in the body part, ITS department and information department. Real-time data acquisition for the A5, which is the first to use CAN technology, can be used to understand the changes in various data information during the operation of the car. It is of great significance for the development of A5 and all subsequent models.

When the CAN bus driving recorder is working, it should be hooked up to the CAN bus of the car to become a CAN node to collect CAN data information. As shown in Fig. 1, the system not only collects CAN bus messages in the car, but also collects analog signal quantities in real time as needed. The LCD screen is used to display the collected signal values, and has a power-down protection function. After power-on, the original data can be restored. The collected data can be stored in the u disk through the USB interface chip CH375 in addition to the real-time display of the LCD screen, which can be used by the experimenter to get back to the laboratory for analysis. To implement the storage function, press the memory switch. can.

Interpretation of CAN bus driving recorder system circuit - circuit diagram reading every day (165)

Figure 1 System overall structure

According to the overall structure of the system, the hardware circuit mainly has the following major modules: main controller module, liquid crystal module, CAN driver module, power module, CH375 interface circuit module. The system CPU uses the MC9S12XD series of single-chip microcomputers from Freescale. It is the core of the control and communication part, not only responsible for system initialization settings and message reception, but also related data judgment processing and display. The chip integrates almost all analog and digital peripherals and other functional components required to form a microcontroller control system and data acquisition system. The main features are as follows:

(1) The MC9S12XD series has a unique XGATE coprocessor. The CAN signal reception in this system is completed by the interrupt program, and the interrupt handler is handed over to XGATE for processing, which will reduce the CPU load and improve the system's response speed. (2) With l6 analog-to-digital conversion channels, it provides hardware support for acquiring analog signals, and can be programmed to be accurate to 10-bit precision. (3) With 5 MSCAN modules, the CAN controller is integrated internally. The configuration of the CAN module is essentially converted into the configuration of the corresponding registers of the MCU, which is convenient and flexible to use. (4) Background debugging mode BDM support makes the debugging of the chip extremely convenient and speeds up the product development cycle. (5) A rich source of interrupts provides sufficient protection for the system to operate under non-operating system support.

Power module

The power of the recorder is taken from the 12V vehicle battery power supply. In addition to the system operation, the power supply is also responsible for the power supply of ignition, lighting, signal and other equipment. The power supply fluctuates greatly and the interference is serious. Because the car is in the process of driving, it may encounter road surface comparison. In the worst case, the power supply interface of the recorder may be loose or poorly contacted due to severe vibration, so the power module must be carefully designed to meet the demand. The schematic diagram of the power module circuit is shown in Figure 2, where U1 is the 6V backup power supply provided by the battery, U2 (main power supply) is the vehicle 12V power supply, the power supply module is divided into 2 channels, and the +5v voltage is stabilized by the 7805 voltage. Power is supplied to the liquid crystal, and the VCC converted by 4275 supplies power to the entire single chip and the auxiliary circuit. When the system is working normally, D1 is in the off state, and the backup battery does not work. Once the main power supply is lost, D1 is turned on quickly, and the backup power supply automatically starts to supply power to the system.

Interpretation of CAN bus driving recorder system circuit - circuit diagram reading every day (165)

Figure 2 Power Module

There are two reasons for this design of the power module, as shown below:

(1) Adoption of backup battery. The recorder stores the collected data, and the collected data is sequentially written into the cluster allocated for the record file. When the acquisition ends, the experimenter disconnects the storage switch or the collection is forced to terminate due to the power failure, and the single-chip microcomputer needs to close the record file. An important deal. Closing a file means writing the actual length of the file and the total number of records collected into the file header. If the file is not closed properly, or because the power is too late to close the file, Windows will not be able to find the end of the file, and the PC software will not be able to open the file because it cannot find the end of the collected data. At this time, the collection work will fail. . In order to prevent the file from being closed due to power failure, the system uses a spare battery.

(2) The single chip and the liquid crystal are separately powered. When the main power supply works normally, the power of the whole system is supplied by the main power supply. Once the main power supply is powered off, the backup battery only supplies power to the single chip microcomputer, and the MCU completes the file processing, and the liquid crystal does not work due to power failure. Due to the large power consumption of the liquid crystal and the limited backup battery power, this separate 2-way power supply method not only provides the power supply for closing the file, but also saves battery power. Of course, the backup battery cannot be used for a long time, and can only be used for system emergency shutdown file processing. For this purpose, a power detection signal is designed. Once the main power supply is detected, the buzzer and the light-emitting diode are enabled to remind the user that the power supply is not supplied. Normal, the staff is required to check the recorder power connector.

CI-I375 interface circuit module

The USB interface chip in this system is selected from CH375 of Nanjing Yuheng Electronics Co., Ltd., which supports host mode and device mode. It has an 8-bit data bus and read, write, chip select control lines and interrupt outputs, which can be easily hooked up to the system bus of the microcontroller. It also has built-in firmware for handling the dedicated communication protocol of the Mass-Storage mass storage device. The external MCU can read and write the U disk directly in the sector as the basic unit. The read strobe signal RD#, the write strobe signal WR#, and the chip select signal CS# are both input signals and active low, CS# is the interrupt request output signal, and is also active low. The A0 signal is used to distinguish between commands and data. When A0=1, the command can be written. When A0=0, the data can be read and written. The 8-bit bidirectional data bus is connected to the PA port (PA0-PA7) of the MCU, and the parallel port is transmitted. The hardware supports automatic detection of the USB device connection function. When the host mode is normally connected, the ACT# pin outputs a low level. Therefore, the ACT# I pin is externally connected with a pull-up resistor and connected in series with an LED to indicate whether the USB device is connected. Normal connection.

When laying the PCB, try to make the 7805 chip on the edge of the board and the heat dissipation is better, and away from the LCD screen. Because in the actual process, after testing, the 7805 chip generates a lot of heat, if used for a long time and close to the LCD screen, it will affect the display effect of the liquid crystal. In addition, try to make the LED of the power module close to the power interface. The LED of the USB module is close to the USB module and is separated by color to facilitate user observation. The driving recorder developed by this system has been successfully applied to various road tests such as 30,000 kilometers and 50,000 kilometers of A5 vehicles, accurately recording important data during the driving process, performing performance analysis, fault analysis, and research for researchers. Calibration work provides an important data basis. Using a CAN-based driving recorder on a vehicle with a CAN bus can significantly reduce system complexity and reduce costs. For different models, only a small modification of the software without the need to change the hardware makes the recorder extremely flexible and portable, so it can be widely used in various models.

2.54mm Male Header

2.54mm (.100") Pin Headers
Antenk`s line of 2.54mm pitch pin headers are durably made for high vibration environments, for board-to-board or PCB to PCB Connectors, with industry-leading current of 3.0A. Designed for low-profile applications, this pin header is made from high-temperature thermoplastic and is offered with several means of connections and mounting styles such as through-hole (THM) or surface mount (SMT) and can be in vertical (straight), elevated or at a right angle configuration/orientation

Pin header customization is also available upon your request. The 2.54mm pitch pin header is highly recommendable for signal and low power PC board connections when space is at a premium and when 1.0mm and 1.27mm pitch headers cannot dissipate the required current. In addition, the 2.54mm pitch pin header holds an excellent mating quality that fits with various types of female connectors.

Applications of 2.54mm Pitch Pin Headers
Motherboard Connectors
The Motherboard of a computer holds together many of the crucial components such as the central processing unit (CPU), memory and connectors for input and output devices.
Printer Connectors
Automotive PC Connectors
Smart, high power automotive PC power supply garners its capabilities from quality pin headers, designed for general purpose battery powered applications. These are manufactured to provide power and to control the motherboards' switch based on ignition status.
Battery Connections
Rechargeable battery packs, battery balancers, battery eliminator circuits. Battery connections rely on the ability of the current to pass reliable and solid current. This prevents overheating in the circuit and voltage drop.
Medical Diagnostic and Monitoring equipment
Communications: Telecoms and Datacoms
Industrial and Automotive Control and Test

Mount Type: Through-hole vs Surface Mount
2.54mm pitch pin (male) headers are offered in either Surface-mount or Through-hole mount termination. At one side of this pin header is a series of pins which can either be mounted and soldered directly onto the surface of the PCB (SMT) or placed into drilled holes on the PCB (THM).
Through-Hole (Poke-In)
Best used for high-reliability products that require stronger connections between layers.
Aerospace and military products are most likely to require this type of mounting as these products experience extreme accelerations, collisions, or high temperatures.
Useful in test and prototyping applications that sometimes require manual adjustments and replacements.
2.54mm vertical single row header, 2.54mm vertical dual row header, 2.54mm Elevated single row pin header, 2.54mm Elevated dual row pin Header, 2.54mm Right-angle single row header and 2.54mm Right-angle dual row header are some examples of Antenk products with through-hole mount type.

Surface-Mount
The most common electronic hardware requirements are SMT.
Essential in PCB design and manufacturing, having improved the quality and performance of PCBs overall.
Cost of processing and handling is reduced.
SMT components can be mounted on both side of the board.
Ability to fit a high number of small components on a PCB has allowed for much denser, higher performing, and smaller PCBs.
2.54mm Right-angle Dual Row pin header, 2.54mm SMT Single row pin header, 2.54mm SMT Dual row pin header and 2.54mm Elevated Dual Row Pin Header are Antenk`s SMT pin headers.

Soldering Temperature for 2.54mm Pitch Pin Headers
Soldering SMT pin connectors can be done at a maximum peak temperature of 260°C for maximum 60 seconds.

Pin-Type: Vertical (Straight) and Right-Angle

2.54mm pitch headers may be further classified into pin orientation as well, such as vertical or straight male header or right-angle male header.


Vertical or Straight Pin (Male) Header Orientation
One side of the series of pins is connected to PCB board in which the pins can be at a right-angle to the PCB surface (usually called "straight" or [vertical") or.

Right-Angle Pin (Male) Header Orientation
Parallel to the board's surface (referred to as "right-angle" pins).
Each of these pin-types have different applications that fit with their specific configuration.

PCB Connector Stacking
Elevated Pin Header Orientation

Elevated pins aka Stacked Pins or Mezzanine are simply stacked pin headers providing an exact distance requirement between PCBs that optimizes electrical reliability and performance between PCB boards.


Profile Above PCB
This type of configuration is the most common way of connecting board-to-board by a connector. First, the stacking height is calculated from one board to another and measured from the printed circuit board face to its highest insulator point above the PCB.

Single, Dual or Multiple Number of Rows
For a 1.0mm straight or vertical male pin header, the standard number of rows that Antenk offers ranges from 1 to 2 rows. However, customization can be available if 3, 4 or n number of rows is needed by the customer. Also, the number of contacts for the single row is about 2-40 pins while for dual row, the number contacts may vary from 2-80 pins.

Pin Material
The pins of the connector have been designed with copper alloy. With customer`s demand the pins can be made gold plated.

Breakaway design
The pin headers are also equipped with a breakaway design making them fully compatible with their female receptacles.

Custom 2.54mm Pitch Pin Headers
Customizable 2.54 mm pitch pin headers are also available, making your manufacturing process way faster as the pins are already inserted in the headers, insulator height is made at the right size and the accurate pin length you require is followed.
Parts are made using semi-automated manufacturing processes that ensure both precision and delicacy in handling the headers before packaging on tape and reel.

Tape and Reel Packaging for SMT Components
Antenk's SMT headers are offered with customizable mating pin lengths, in which each series has multiple number of of circuits, summing up to a thousand individual part number combinations per connector series.
The tape and reel carrier strip ensures that the headers are packaged within accurately sized cavities for its height, width and depth, securing the headers from the environment and maintaining consistent position during transportation.
Antenk also offer a range of custom Tape and reel carrier strip packaging cavities.

Male Header,2.54Mm Male Header,2.54Mm Male Header Pins,2.54Mm Pin Header,0.100in Male Header,0.100in Pin Header Connector

ShenZhen Antenk Electronics Co,Ltd , https://www.antenkelec.com