六十三、Vehicle Data Bus (CANbus)
1、How to connect the oscilloscope when when dual trace testing :CAN High and CAN Low
Plug one BNC Test Lead onto Channel A of the oscilloscope and the other BNC Test Lead onto Channel B. Connect a crocodile clip onto each of the black (Ground) moulded connectors on the BNC Test Leads, and attach them both to the Vehicle Battery -Ve terminal or a good ground point on the chassis. Attach one of the test probes to each of the red moulded connectors on the BNC Test Leads. Using the Vehicle Tech Manual, identify the CAN-H and CAN-L pins at an accessible point on the CAN network. (Usually available at the multi-way connector at each ECU on the network.) Carefully probe the back of the multi-way connector, using Ch A for CAN-H and Ch B for CAN-L. Alternatively, use the Manufacturers Break Out Box.Pressing the spacebar on the PC will enable live data to be viewed. Vehicle ignition may need to be switched on. The CAN-H and CAN-L waveforms will now appear on the screen, as shown below:
2、Example VDB (CAN-H & CAN-L) Waveforms
3、VDB (CAN-H & CAN-L) Waveform notes
In this display, we can verify that data is being continuously exchanged along the CANbus, and it is possible to check that the pk to pk voltage levels are correct, and that a signal is present on both CAN lines. CAN uses a differential signal, and the signal on one line should be a coincident mirror image of the data on the other line. The usual reason for examining the CAN signals is where a CAN fault has been indicated by OBD, or to check the CAN connection to a suspected faulty CAN node. (ECU) The Vehicle Manufacturers manual should be referred to for precise waveform parameters.
The following CAN data is captured on a much faster timebase and allows the individual state changes to be viewed. This enables the mirror image nature of the signals, and the coincidence of the edges to be verified.
4、Typical CAN-H and CAN-L waveforms in detail
Here we can see clearly that the signals are equal and opposite, and that they are of the same amplitude. The edges are clean and coincident with each other. This shows that the VDB (CANbus) is enabling communication between the nodes and the CAN controller unit. This test effectively verifies the integrity of the bus at this point in the CAN network, and if a particular ECU (node) is not responding correctly, the fault is likely to be the ECU itself. The rest of the bus should work correctly.
It may be necessary to check the condition of the signals present at the connector of each of the ECUs on the CAN Network, as a final check. The data at each node will always be the same on the same bus. Remember that much of the data on the VDB is safety critical, so DO NOT use insulation piercing probes on VDB (CANbus) lines!
5、Technical Information - Vehicle Data Bus (CANbus)
CANbus is a serial communication system used on many motor vehicles to connect individual systems and sensors, as an alternative to conventional muti-wire looms.
It is an acronym for Controller Area Network. It is becoming increasingly common on passenger cars and commercial vehicles.
Advantages include significant weight savings, reliability, ease of manufacture, and increased options for On-Board Diagnostics.
Disadvantages include increased cost, and the need for some specialised knowledge when servicing and repairing the vehicle.
Most motor vehicle CAN networks operate at a bus speed of 250KB/s or 500KB/s, although systems are available operating at up to 1MHz.
The heart of a CANbus is the CAN controller. This is connected to all the components (Nodes) on the network via the CAN-H and CAN-L wires. The signal is differential, ie each of the CAN lines is referenced to the other line, not vehicle ground. This has significant advantages from the point of view of noise rejection when used in electrically noisy environments like motor vehicles. Each network node has a unique identifier. Since the ECU's on the bus are effectively in parallel, all the nodes see all of the data, all of the time. A node only responds when it detects its own identifier. For example, when the ABS ECU sends the command to activate the ABS unit, it responds accordingly, but the rest of the network will ignore the command. Individual nodes can be removed from the network, without affecting the other nodes.
Since many different vehicle components may share the same bus hardware, it is important that available CANbus bandwidth is allocated to the most safety critical systems first. Nodes are usually assigned to one of a number of priority levels. For example, engine controls, brakes and airbags are of the utmost importance from a safety viewpoint, and commands to activate these systems are given highest priority (1) and will be actioned before less critical ones. Audio and navigation devices are often medium (2) priority, and simple activation of lighting may be lowest priority (3). The latest vehicles use up to 3 separate CAN networks, usually of different speeds connected together by gateways. For example, engine management functions may be on a high speed bus at 500KB/s and chassis systems run on a 250KB/s CAN bus. House keeping functions; e.g. lights, ICE, satnav, mirrors, etc are on a low speed bus which may only have one single line often referred to as LIN bus. The data on one of the 3 networks is available to the other 2 networks via gateways to enable, for example, the transmission to get data from the engine management system and viceversa.
A process known as arbitration decides the priority of any messages. In practice, to the user, all actions appear to be immediate.
CANbus is becoming increasingly common on todays vehicles, and will become more common as the technology matures and reduces in cost.
6、Special Note: Oscilloscope suitability
In automotive terms, CAN bus signals are fast. This places demands on the oscilloscope. For 250kHz CAN bus signals, the PicoScope/3 produces acceptable results, but for higher speed CAN bus signals or for detailed waveform analysis one of our faster oscilloscopes is recommended.
六十四、LIN bus engine off test
1、測試時如何連接到示波器:LIN bus with engine off
Connect one of the BNC test leads to channel A of the oscilloscope. Connect the red test lead to the LIN bus data signal terminal in the connector on the vehicle. This can normally be found on the vehicle wiring diagram. Connect the black test lead to battery negative or a good chassis ground. Once these are connected, start the Picoscope and observe the pattern.
2、LIN 總線波形示例
3、LIN 總線波形注意點
As you can see from the example waveform, the LIN bus waveform is a square wave, representing the binary states in a serial data stream. The waveform observed should be free of obvious distortion and noise spikes, and the upper and lower levels should be approximately as in the example (for a 12V system).
The lower level voltage (logic zero) should be less than 20% of battery voltage (typically 1V) and the upper level voltage (logic one) should be more than 80% of battery voltage. Note that the voltage levels may change slightly when the engine is started.
We cannot decode the data stream using a scope, so the purpose of this test is to verify that the signal is both present and correct, and is not interrupted by moving the wiring harness or gently tugging the connectors. Faults may be specific to a particular function, such as a non-operating window, or general, where all the functions on the bus are not working. Before condemning a device, use the scope to check that it has power, ground, and a present and correct LIN signal.
4、技術(shù)資料 - LIN 總線
Local Interconnect Network (LIN) bus communication is becoming more common on modern CAN Bus-equipped vehicles. It is essentially a low-speed, single-wire serial data bus (a sub-bus of the faster, more complex CAN Bus) used to control low-speed non-safety-critical 揾ousekeeping?functions on the vehicle, especially windows, mirrors, locks, HVAC units, and electric seats.
The LIN bus is proving popular because of its low cost and also because it reduces the bus load of the supervising CAN network.
地址:
廣州市花都區(qū)清塘路綠地國際空港中心6地塊7棟229-230(營銷部);
廣州市花都區(qū)花東鎮(zhèn)花安中路3號碧桂園空港廣場4棟3樓(財務和物流部);
電話:400-108-7698; 13922153995;020-86372297