Fieldbus & Industrial Networking


Automotive electronics

January 2018 Fieldbus & Industrial Networking

Digital sensors return a discrete value of 0 or 1 to a controller. The controller, usually connected to I/O systems over a fieldbus, reads out the bus system data in a set cycle, commonly clocked in the millisecond range. Important to note here is that the bus system needs a degree of determinism and the controller must run in synchronisation with it, even if bus cycles are sometimes longer or shorter. With Beckhoff hardware and software, the synchronisation between controller and bus system are assured, as are the deterministic features of the ultra-fast EtherCAT communication system. This means that PC-based control provides the ideal foundation on which to implement oversampling technology.

Bus cycle subdivision with oversampling

Oversampling involves polling signals at a configurable multiple of the bus cycle time (i.e. in micro cycles) and writing the results to a temporary buffer. The set of process data collected is then transferred during the next bus cycle. Oversampling functionality can avoid situations like the following during signal polling: If, for example, a sensor is queried every 10 ms, only the data available at the precise time of the query is actually acquired. The controller is effectively blind from one query to the next, so details of any changes in the sensor’s state occurring between PLC queries are not recorded. For instance, a sensor’s state might switch from 0 to 1 and stay there for 9.9 ms. If it then reverts to 0, the sensor signal – from the perspective of the controller reading it out – will appear not to have changed at all over the 10 ms cycle.

Situations like this can be detected by using an EtherCAT oversampling input terminal such as the EL1262 to connect the sensor. This terminal is able to subdivide the bus cycle into as many as 1000 micro cycles. In the case of a 10 ms bus cycle, an oversampling factor of 1000 translates into a sampling interval of 10 µs. In a 1 ms bus cycle, a sampling interval of just 1 μs can be achieved, which is the shortest that EtherCAT oversampling terminals can currently support. This technology is ideal for reading out SENT sensors.

The pulse width encoding protocol: SENT

Single Edge Nibble Transmission (SENT) is a simple, unidirectional, asynchronous protocol that encodes sensor data based on the time between falling edges in a digital signal.

The pulse length describes the signal value transmitted. A single bit in the SENT protocol generally corresponds to 3 μs, which meets the minimum requirement in terms of sampling precision. The signal level is 5 V. The EL1262-0050 oversampling terminal meets both requirements in that it supports precise data acquisition down to 1 μs and is capable of processing the signal level directly. It can sample each bit of the SENT signal three times – more than enough to read the data transmitted in a signal pulse.

The data sets acquired are then processed in a ready-made function block, which evaluates the pulse lengths recorded, calculates the checksums and then marks the value either as valid or invalid.

The SENT protocol is mainly used for communication between sensors and electronic control units in vehicle electronics. Due to the simplicity of the protocol, the microcontrollers in ECUs are capable of evaluating it. SENT protocol receivers are not available for use in constructing measurement and test benches, but the open Beckhoff control system offers an alternative: The EL9505 power supply terminal can serve as the required 5 V power source, and the EL1262-0050 variant of the EtherCAT digital input terminal can be used to capture the sensor signal. In this way, SENT sensors can be directly and easily connected to the open and modular control platform from Beckhoff. This means that test benches equipped with Beckhoff technology can be used to conduct quality inspections on, say, throttle valve or steering torque sensors and make any necessary adjustments before the sensors are fitted to a vehicle.



Credit(s)



Share this article:
Share via emailShare via LinkedInPrint this page

Further reading:

Comprehensive solutions for the food and beverage sector
RS South Africa Fieldbus & Industrial Networking
RS South Africa is reinforcing its commitment to the country’s dynamic food and beverage sector, backed by a comprehensive portfolio of over 800 000 products, extensive technical expertise and end-to-end service capabilities.

Read more...
PC-based control for a food capsule and pod packaging machine
Beckhoff Automation Editor's Choice
For TME, a machine builder specialising in the packaging of powdered foods, Beckhoff’s PC-based control technology offers unlimited opportunities when it comes to performance and innovative capacity in terms of flexibility, scalability and openness.

Read more...
Case History 198: Cascade control overcomes valve problems
Michael Brown Control Engineering Fieldbus & Industrial Networking
A large petrochemical refinery asked me to perform an audit on several critical base layer control loops. This article deals with a problem found on a valve controlling the flow of fuel to a heat exchanger.

Read more...
Improved networking technology for fire and gas detection
Omniflex Remote Monitoring Specialists Fieldbus & Industrial Networking
Critical alarm and event management technology supplier, Omniflex has worked with the South African Nuclear Energy Corporation to upgrade equipment providing digital and analogue signals for its safety critical fire and gas alarm systems.

Read more...
Multi-touch panel generation in a smart design
Beckhoff Automation Operator Interfaces, Switches & Relays
Following over 25 years of successful in-house panel production and 12 years of expertise in multi-touch design, Beckhoff is bringing out a new smart panel design, the Next multi-touch panel generation.

Read more...
Next-generation PLC technology with advanced chatbot functionality
Beckhoff Automation IT in Manufacturing
Beckhoff is taking automation technology to the next level with TwinCAT PLC++. Both engineering and runtime are noticeably faster, without compromising on TwinCAT’s signature strengths of seamless integration, compatibility and openness.

Read more...
German Chancellor visits Beckhoff at Hannover Messe
Beckhoff Automation News
As part of the traditional Hannover Messe opening tour, Federal Chancellor of Germany, Olaf Scholz visited German company, Beckhoff Automation. Hans Beckhoff, managing director and owner of Beckhoff Automation, presented his company and its comprehensive expertise in the field of software and AI.

Read more...
PC-based control for fertiliser
Beckhoff Automation Editor's Choice Fieldbus & Industrial Networking
On a farm in the USA, valuable ammonia is extracted from slurry and processed into ammonium sulphate. NSI Byosis has transformed this complex process into a flexible modular system. This modular approach requires an automation solution with flexible scalability in both hardware and software, which this Dutch company has found in PC-based control from Beckhoff.

Read more...
Loop signature 28: Things to consider when tuning.
Michael Brown Control Engineering Editor's Choice Fieldbus & Industrial Networking
I was giving a course at a remote mine in the middle of the Namibian desert. We were discussing tuning responses, and as I always do on my courses, I mentioned that in my opinion ¼ amplitude damped tuning is not desirable, and is in fact not good.

Read more...
New modules for distributed integration of intrinsically safe signals
Beckhoff Automation IS & Ex
Beckhoff provides a compact acquisition solution for intrinsically safe signals up to zone 0/20 with the IP67-protected EtherCAT Box modules of the EPX series.

Read more...