PMS
Programmable Logic Controller

Ascon4-Dig

 

 

 

 

 

 

 

 

 

 

 

Project:                      PLC Ascon

Author:                      Dipl. Ing. Uwe Prahm

Copyright ©:            Dipl. Ing,  Uwe Prahm

Kontakt:                     info@prahm-ms.de

Version:                    1.00

Last changes:          09.07.2019

Prahm Microcomputer Systems

  Gätgensstrasse 6

82587 Hamburg

 

 


 

Document versions

Version

Datum

Bearbeiter

Kommentar

1.00

28.08.2017

Prahm

First version of Ascon3

1.01

29.10.2018

Prahm

Splitting up into Ascon-Dig and Ascon3-Ana

1.02

20.02.2019

Prahm

Reset logic, placement of components

1.03

14.04.2019

Prahm

Tables with connectors, jumpers and solder jumpers

2.00

09.07.2019

Prahm

1. version of Ascon4, M4 ucontroller, modified IO

2.01

23.09.2019

Prahm

New components: M0 coprocessor, VL- buffers

 

 


Inhaltsverzeichnis

 

1        Introduction.. 5

1.1       The features of Ascon4-Dig. 5

1.2       Reference documents. 6

1.3       Content of tables. 6

1.4       Abbreviations. 7

2        General description.. 8

2.1       The Ascon4  System.. 8

2.1.1       The Ascon4-Dig Board. 8

2.1.2       The Ascon4-Ana Board. 8

2.2       Purpose of the Ascon4-Dig  ECU.. 9

2.2.1       The Industrial Controller 9

2.2.2       The IO features. 9

2.2.3       Functional safety. 10

2.3       The Main Controller 11

2.3.1       General features. 11

2.3.2       The features in detail 11

2.4       The Watchdog Controller 12

2.4.1       General features. 12

2.4.2       The features in detail 12

3        The PCB Data. 13

3.1.1       The Ascon4-Dig Casing. 13

4        Serial busses. 14

4.1       The USB Bus. 14

4.2       The CAN Bus. 15

4.2.1       The isolated CAN bus power supply. 15

4.2.2       Termination resistor 15

4.2.3       Attention – no double termination.. 15

4.2.4       Capacitive noise suppression.. 15

4.2.5       CAN protocol of the PMS Device Tester 15

4.3       The LIN Bus. 16

4.4       The SPI Interfaces. 16

4.5       The H Bus Connector 17

5        Digital Inputs and Outputs. 18

5.1       The digital input measuring signals. 18

5.1.1       The input protection circuit 19

5.1.2       1% resolution.. 19

5.1.3       Variable carrier frequencies. 19

5.1.4       Calibration.. 19

5.2       The digital output signals. 20

5.2.1       1% resolution.. 22

5.2.2       Variable carrier frequencies. 22

5.2.3       Calibration.. 22

5.3       The 6 PWM outputs. 23

5.3.1       The open collector outputs. 23

5.3.2       Output voltages from 0 to 30V.. 23

5.3.3       Short circuit proof 23

5.4       The 6 PPG outputs. 24

5.5       The clock outputs. 24

5.6       The encoder outputs. 24

6        Further hardware. 25

6.1       Screw connectors to the outer world. 25

6.2       Connectors. 28

6.3       Jumpers. 31

6.4       Solder jumpers. 32

6.5       Power supply. 34

6.5.1       The 3,3V power supply. 34

6.5.2       The 5V power supply. 34

6.5.3       The 5V galvanic isolated supply for the CAN bus. 34

6.5.4       Voltage supervision of the power supplies. 35

6.6       Reset circuit 36

6.7       Standard Settings. 36

6.8       The LED displays. 36

 


1      Introduction

1.1      The features of Ascon4-Dig

The PMS Programmable Logic Controller (PLC) features on a standard rail very fast industrial control with response times within microseconds. Ascon4-Dig has an up-to-date 32 bit microcontroller (ARM Cortex M4) with 1 MByte of Flash and 32 kByte RAM and with very powerful functional safety features. Control applications can either be compiled binary code or IEC-61131- statement list interpreter code.

 

Ascon4-Dig has 24 powerful digital IOs:

  • 12 PWM and digital inputs with voltages of up to 35 V
  • 6 PWM and digital outputs with galvanic isolation
  • 6 PWM and digital outputs with clamp diodes for fx electric motors

 

The analog PLC Ascon4-Ana offers similar powerful analog IOs.

Ascon4-Dig has a professional PLC housing with screw connectors. Very powerful are the communication interfaces:

  • An USB 2.9 interface
  • A full CAN with 64 message objects and data rates up to 1 MBits/s
  • A fast LIN bus interface
  • Two PLC interconnections with CAN and LIN busses and 4 wired-or-lines for alarm and synchronisation

 


1.2      Reference documents

 

 [EMV-1]:        Richtlinie 2004/108/EG des europäischen Parlaments UND DES RATES vom 15. Dezember 2004 zur Angleichung der Rechtsvorschriften der Mitgliedstaaten über die elektromagnetische Verträglichkeit und zur Aufhebung der Richtlinie 89/336/EWG

[EMV-2]:         Gesetz über die elektromagnetische Verträglichkeit von Betriebsmitteln (EMVG) vom 26.02.2008.

[EMV-3]:         DIN EN 61000-6-4: Elektromagnetische Verträglichkeit (EMV), Teil 6.4: Fachgrundnormen – Fachgrundnorm Störaussendung  für Industriebereiche. September 2007.

[EMV-4]:         DIN EN 61000-6-2: Elektromagnetische Verträglichkeit (EMV), Teil 6.2: Fachgrundnormen – Fachgrundnorm Störfestigkeit für Industriebereiche März 2006.

[EMV-5]:         DIN EN 61000-6-3: Elektromagnetische Verträglichkeit (EMV), Teil 6.3: Fachgrundnormen – Fachgrundnorm Störaussendung - Wohnbereich, Geschäfts- und Gewerbebereich sowie Kleinbetriebe. September 2007.

 [SI-1]:             Richtlinie 2006/95/EG des Europäischen Parlaments und des Rates vom 12. Dezember 2006 zur Angleichung der Rechtsvorschriften der Mitgliedsstaaten betreffend elektrische Betriebsmittel zur Verwendung innerhalb bestimmter Spannungsgrenzen.

[SI-2]:              DIN EN 60950-1: Einrichtungen der Informationstechnik – Sicherheit. Teil 1: Allgemeine Anforderungen. Ausgabe 11/2006.

 

1.3      Content of tables

Table 1 - Features of microcontroller 11

Table 3 - The subd-9 connector for the CAN interface. 14

Table 2 - The 12 PWM input measuring system.. 18

 


1.4      Abbreviations

DTC                                       Diagnostic Trouble Code (error memory)

ECU                                      Electronic Control Unit (Microcomputer controller)

Self diagnose                      Self test of the system by the ECUs

EOL                                       End of life

MO                                         message object

Node                                     Fieldbus, CAN node

OCV                                      Off current voltage

OC                                         Over current, excessive high current

OV                                         Over voltage, excessive high voltage

OT                                          Over temperature, excessive high temperature

RC                                         Residual Capacity

SID                                        Service ID, node address

DID                                        Data ID, used when SID is Write/Read-by-Identifier

SOC                                      State of charge, 0% empty to 100% full

SOH                                      State of Health

SOF                                       State of Functioning

TBD                                       To be defined

UT                                          Under temperature, excessive low teperature

UV                                         Under voltage, excessive low voltage


2      General description

2.1      The Ascon4  System

2.1.1     The Ascon4-Dig Board

The Ascon4-Dig ECU offers powerfull features for measurement and control with digital IOs. Analog IOs are easily accessible from Ascon4-Ana ECUs via the real time fieldbus CAN and the UDS diagnose protocol.

 

The PMS- StandOS operating sytem and the PMS StandOS Configurator make its easy to access data from other Ascon4-Dig and Ascon4-Ana or other external ECUs.

 

2.1.2     The Ascon4-Ana Board

The Ascon4-ANA ECU is similar to the Ascon4-Dig ECU, but is intended to offer its  powerfull analog IOS to a messurement and control system interconnected with the real time fieldbus and the realtime operating system PMS-StandOS.

 


2.2      Purpose of the Ascon4-Dig  ECU

2.2.1     The Industrial Controller

The PMS Programmable Logic Controller (PLC)  features very fast industrial control with response times within microseconds. The size of memory for control application is up to 1 MBytes. Control applications can either be compiled binary code or IEC-61131- statement list interpreter code.

2.2.2     The IO features

The Ascon4 PLC has the following  IO capabilities:

  1. 12 digital inputs
  2. 12 digital outputs

Almost unlimited digital and analog  IOs are available by other Ascon4 PLCs which are easiy connected via the Ascon4 bus.

 

The 12 digital inputs feature many kinds of input options

* 12 high-low examination  input for control applications

* All 12 input data can be sent to remote applications via CAN bus

* Real-time tracing with time marks for examination on the PC

* 12 real time PWM input measuring channels

* 6 A-B encoders

* 4 A-B-C encoders

 

The 12 digital outputs feature many kinds of outputs:

* 12 digital outputs controlled by the control applications

* 12 outputs controlled from remote applications via CAN bus

* 12 PWM output signals with a wide range of frequencies

* 12 clock outputs with easy configurable frequencies

* The simulation of 3 A-B encoders

* The simulation of 2 A-B-C encoders

 


 

Ascon4-dig offers 3 interfaces:

CAN- Bus with UDS or openCAN protocols

LIN- Bus with UDS protocol

USB interface for an easy PC interfacing

The H- bus in the cap rail to interconnect all Ascon4- controllers

 

All digital inputs and outputs can easily be configured by the PMS Ascon4 Configurator. The 12 inputs and 12 outputs and all 3 interfaces can easily be configured by the user in many ways to exactly meet his specific requirements.

 

For example:

  • 6 digital outputs controlled by the on board running PLC application
  • 6 PWM outputs controlled via CAN by a remote application
  • Input of 4 ABC encoder signals

 

2.2.3     Functional safety

Ascon4-Dig fulfills the functional safety standards of ISO-26262 as defined in the AutoSAR standards.  Ascon4-Dig  is equiped with the hardware and software to offer the same functional safety level as for for example for Lithium Ion batteries and EHB breaking systems:

  • The M0 watchdog coprocessor and the main M4 controller are constantly supervising each other.
  • A wired or alarm line can be released by the main or the watchdog controllers
  • A wired or alarm signal is leading alarm states via the HBUS in the standard rail to other components on the standard rail. In this way very fast alarm actions can be invoiced, for example switch a power off relais.

 


2.3      The Main Controller

2.3.1     General features

The ARM Cortex M4 microcontroller is doing the signal generation, the measurement and control and the CAN, LIN and USB communication with the other ASCON4 boards and the outer world. This microcontroller has the following advantages:

  1. Up-to-date 32 bit RISC technology
  2. Very high price-performance relation
  3. Many second source suppliers ensure a long term availability
  4. Small 100 pin SMD package outline, leaving much space for IO components
  5. Ascon4-dig only needs a 12 V supply voltage input  for the the internaly needed 5V and +3.3V voltages
  6. Low power consumption, control of power consumption via settable clock rates
  7. Fast 32- Bit floating point arithmetic on the M4 controller.

 

2.3.2     The features in detail

The XMC4500-F100x1024 microcontroller has the following features:

CPU features

MF timer

Further IOs

Communication

1MB Flash

12 PWM inputs

9 12-bit ADC

2 x Full CAN

32 kB SRAM

12 PWM outputs

8 DMA

USB2.0

40 Mhz clock

3 revolution encoder

 

100 mBit/s Ethernet

+3,3V supply

8 base timers

 

8 SPI

 

3 multi function timers

 

8 LIN

 

Wake up timer

 

8 UART

 

Watchdog timer

 

I2C

Table 1 - Features of microcontroller


2.4      The Watchdog Controller

2.4.1     General features

The main task of the ARM Cortex M0 watchdog microcontroller is doing the supervion of the ARM Cortex M4 main controller via a fast serial connection. The main and the watchdog controller are constantly superving each other in 100 msec intervals.

 

Both the main and the watchdog controllers can signal an alarm via the wired-or signal on the HBUS interconnecting the Ascon4 ECUs. The alarm signal can trigger an alarm action as for example a power off by a proper relais.

 

The ARM Cortex M0 microcontroller has the following features:

  1. Up-to-date 32 bit RISC technology
  2. Low-cost with very high price-performance relation
  3. Many second source suppliers ensure a long term availability
  4. Small 16 pin SMD package outline, leaving much space for IO components
  5. Very low power consumption, control of power consumption via settable clock

2.4.2     The features in detail

The LPC81xM watchdog microcontroller has the following features:

CPU features

MF timer

Further IOs

Communication

16 kB Flash

4 MRT timers

18 GPIO

2 SPI

4 kB SRAM

Watchdog timer

8 Interrupts

3 UART

30 Mhz clock

Wake up timer

Flexible configuration

1 I2C

+3,3V supply

 

 

 

Table 2 – The features of the M0 microcontroller

 


3      The PCB Data

 

3.1.1     The Ascon4-Dig Casing

The Ascon4-Ana board is delivered in a Phoenix Contact casing


4      Serial busses

4.1      The USB Bus

Purpose

Pin name

Input/Output

Schematic name

USB

USB_D-

Minus

USB_DM

USB_D+

Plus

USB_P

VBUS

Voltage supply

USB_V

 

The induction coil L3 and the diode pair D1 feature a good protection against disturbances from outside. The diode V1 protects the power supply U2 against over voltage.

 

The USB connector X1C has the following pin out:

 

5 pin USB connector X1C

Pin

Signal

1

VDD5

2

USB_DM

3

USB_DP

4

No connection

5

GND

 

 


4.2      The CAN Bus

 

The ISO1050DUB isolated CAN transiver from Texas Intruments isolates the board from the CAN bus for voltages up to 2500 Vrms. The ISO1050DUB CAN transiver fullfills all industrial requirements of the ISO1050 standard.

 

The pin layout of the 9-pin Subd connector looks like this:

9 pin subd connector X2

pin

signal

2

CAN_L

7

CAN_H

9

GND_DR

Table 3 - The subd-9 connector for the CAN interface

 

4.2.1     The isolated CAN bus power supply

The isolated CAN bus power supply VA-0505S can supply the CAN bus side of the ISO1050 with an isolated 5V voltage.

4.2.2     Termination resistor

The CAN bus must be terminated on its two physical endings by a 120 Ohm resistor.

4.2.3     Attention – no double termination

The CAN bus termination resistors can only be assembled on the board, when the board is the physical termination and when no other termination resistor is placed on this side of the CAN cable (twisted pairs).

4.2.4     Capacitive noise suppression

The capacitor C65 is responsible for the capacitive noise suppression close to the CAN connector. The capacitor should not be assembled, when high baud rates are required.

4.2.5     CAN protocol of the PMS Device Tester

The UDS- CAN bus protocol is described in the PMS Device Tester software specification.


4.3      The LIN Bus

The LIN driver buffers the serial interfaces before the LIN signal is led to the subd-9 connector X11.

 

The EN (enable) input pin enables the LIN transceiver with an active high signal. When set low by the controller, the transceiver will go into a sleep state. The NWAKE input pin features a wake up by setting this line low by the external switch, which is connected to pin 4 on the LIN connector X3.

 

The pull up resistor R5 and the polarity protection diode V3 are only needed, when the LIN interface on this board is the LIN master. Both components should not be enabled by the jumper JP4, when the LIN interface is a LIN slave. The INH (inhibit) output pin can set an external power supply into a sleep mode. This feature is not applied here, so this pin is left unconnected.

 

4.4      The SPI Interfaces

The board features 1 SPI interfaces which can be accessed on the 4 pin connector JP1.

 


4.5      The H Bus Connector

Conntr

Sch. name

Input name

Output name

X9-1

GND

 

 

X9-2

GND

 

 

X9-3

SYNC2/

SYNC2_IN

SYNC2_OUT

X9-4

SYNC1/

SYNC1_IN

SYNC1_OUT

X9-5

LIN

 

 

X9-6

 

 

 

X9-7

CAN1L

 

 

X9-8

CAN1H

 

 

X9-9

SYNC3/

SYNC3_IN

SYNC3_OUT

X9-10

ALARM/

ALARM_IN

ALARM_OUT

X9-11

 

 

 

X9-12

 

 

 

X9-13

 

 

 

X9-14

 

 

 

X9-15

 

 

 

X9-16

 

 

 

X9-17

GND

 

 

X9-18

VDD5

 

 

Tabelle 1: The HBUS pins on connector X19, pins on uC

 

The HBUS directly connects all Ascon4 controllers at the mounting chain. It consists of a 16 pin bus, which offers the following features:

  • The HBUS connectors are standard 16 pin 100 mil (2,54mm) male-female connectors
  • Each pin can carry up to 2 A and 100 V

The Ascon4 HBUS carries the following bus signals:

  1. CAN1H and CAN1L, the field bus interface for all Ascon4 PLCs
  2. LIN, the popular low cost bus signal
  3. 1 alarm signal,  wired or line
  4. 3 synchronisation signals,  wired or lines
  5. GND, the digital ground

5      Digital Inputs and Outputs

5.1      The digital input measuring signals

Connector

Sch. name

X4-5

DIG_IN1

X4-4

DIG_IN2

X4-3

DIG_IN3

X4-2

DIG_IN4

X4-1

DIG_IN5

X3-9

DIG_IN6

X3-8

DIG_IN7

X3-7

DIG_IN8

X3-6

DIG_IN9

X3-5

DIG_IN10

X3-4

DIG_IN11

X3-3

DIG_IN12

Table 2 - The 12 PWM input measuring system

 

Each input pin can be configured by the PMS Ascon Configurator for these inputs:

  1. Digital input – binary data
  2. PWM input – PWM measuring input
  3. CLK input  - Clock input with equal on and off timings
  4. AB Encoder input – 2 pin positioning system
  5. ABC Encoder input – 3 pin positioning system

 

The 12 pulse inputs are implemented on the microcontroller by the 16-bit input capture timers. In this application 3 capture compare units are used, where each capture compare unit has its own timer. All 12 PWM inputs can run simultaneously.


5.1.1     The input protection circuit

Ascon4_DIG features twelve 12V digital inputs. The downscaling to the 3.3V input of the microcontroller is done by the resistors.  A zener diode is protecting against over voltages and against wrong polarisation.

5.1.2     1% resolution

The PWM and PPG timers are 16 bit timers, which offer a resolution of 0,0015%. A diagnosis tool will feature a calibration on the basis of measured signals.

5.1.3     Variable carrier frequencies

The variable carrier frequency is implemented with the 16 bit PWM and PPG, ensuring the exactness for the required carrier frequency.

5.1.4     Calibration

Both for the PWM timing and the carrier frequency a diagnosis tool features a calibration on the base of measured signals


5.2      The digital output signals

Type

Con

Schematic name

iso

X5.9

DIG_OUT1

iso

X5.8

DIG_OUT2

iso

X5.7

DIG_OUT3

iso

X5.6

DIG_OUT4

iso

X5.5

DIG_OUT5

iso

X5.4

DIG_OUT6

clp

X4.7

DIG_OUT7

clp

X5.1

DIG_OUT8

clp

X5.2

DIG_OUT9

clp

X4.9

DIG_OUT10

clp

X4.8

DIG_OUT11

clp

X5.3

DIG_OUT12

 

Each output pin can be configured by the PMS Ascon Configurator for these outputs:

  1. Digital output – binary data controlled by ECU
  2. PWM output – modificable at runtime
  3. CLK output  - Clock output with equal on and off timings
  4. AB Encoder output – encoder simulation for test purposes
  5. ABC Encoder output – encoder simulation for test purposes

 

The 12 pulse outputs are implemented by the microcontroller by the 16-bit input capture compare unit 80. Each capture compare unit has its own timer. All 12 PWM outputs can run simultaneously.

 

Two types of outputs are available:

  1. Galvanic  isolation with optocouplers: Type = iso
  2. Clamp diode outputs for inductive outputs (relais etc): Type = clp

 


 

Two different outputs are implemented:

Output type

Connector

Sch. name

Clamp Diodes

X5.9

DIG_OUT1

 

X5.8

DIG_OUT2

 

X5.7

DIG_OUT3

 

X5.6

DIG_OUT4

 

X5.5

DIG_OUT5

 

X5.4

DIG_OUT6

Galvanic isolation

X5.5

DIG_OUT7

 

X5.6

DIG_OUT8

 

X5.1

DIG_OUT9

 

X4.9

DIG_OUT10

 

X4.8

DIG_OUT11

 

X4.7

DIG_OUT12

 

Clamp Diodes <-> Galvanic isolation


5.2.1     1% resolution

The PWM and PPG timers are 16 bit timers, which offer a resolution of 0,0015%. A diagnosis tool will feature a calibration on the basis of measured signals.

5.2.2     Variable carrier frequencies

The variable carrier frequency is implemented with the 16 bit PWM and PPG, ensuring the exactness for the required carrier frequency.

5.2.3     Calibration

Both for the PWM timing and the carrier frequency a diagnosis tool features a calibration on the base of measured signals.

 


5.3      The 6 PWM outputs

The 6 PWM outputs are implemented by the wave form generator outputs RTO00 to RTO05 of the multi function timers 0. They all run simultaneously.

5.3.1     The open collector outputs

 

A driver array features darlington transistors, which are driven from  the  CMOS voltages of the port outputs of the microcontroller. The output transistors of the driver has open collector outputs.

 

The load is activated by a high on the driver IC. In case of inductive loads the clamp diodes should be connected to the external supply voltage. The clamp diode connection is supplied on the peripheral connector.

5.3.2     Output voltages from 0 to 30V

The outputs of the driver can drive voltages up to 30V.

5.3.3     Short circuit proof

A resistor in serial with the load of 100 Ohm will limit the current at a worst case 30V to I=U/R = 30V/100Ohm = 300mA. The ULN2003A driver warrants a collector current of 500mA.

 


5.4       The 6 PPG outputs

 

All PPGs run completely simultaneously.

 

Similar to the 6 PWM outputs, the PPG outputs pull the loads down to ground, when activated. But here additionally all outputs are equipped with galvanic isolation. The external driving voltages can vary broadly on each output. Each output can have a different driving voltage.

 

The optocouplers can simulate the signals of  up to 3 A-B encoders or up to 2 A-B-Z encoders.

 

5.5      The clock outputs

Up to 12 clock outputs are implemented by the same controller hardware as the PWM and PPG outputs.

 

Which output pins are used as PWM outputs or as clock outputs is configured by special CAN messages. All clock output features are the same as the the PWM output features.

 

5.6      The encoder outputs

The up to 3 encoder outputs are implemented by the same controller hardware as the PPG outputs.

 

Which output pins are used as PPG outputs or as encoder outputs is configured by special CAN messages. All encoder output features are the same as the the PWM output features.

 


6      Further hardware

6.1      Screw connectors to the outer world

The following screw connectors offer the connection of all digital in- and outputs of the Ascon4-DIG board to the outer word:

 

Name

Pin

Description, schematic name

X3

 

12 PWM variable voltage inputs

 

1

PWM_IN6

 

2

PWM_IN7

 

3

PWM_IN8

 

4

PWM_IN9

 

5

PWM_IN10

 

6

PWM_IN11

 

7

GND

 

8

GND

 

9

PWM_IN0

 

Name

Pin

Description

X4

 

12 PWM variable voltage inputs

 

1

PWM_IN1

 

2

PWM_IN2

 

3

PWM_IN3

 

4

PWM_IN4

 

5

PWM_IN5

 

6

CLAMP_DIODES

 

 

6 PWM outputs with galvanic isolation

 

7

PWM_OUT3

 

8

PWM_OUT2

 

9

PWM_OUT1

 


 

Name

Pin

Description

X5

 

6 PWM outputs with up to 30V output voltages, clamp diodes for all outputs, short circuit proof

 

1

PWM_OUT4

 

2

PWM_OUT5

 

3

PWM_OUT6

 

 

PPG outputs, galvanic isolation, individual driving voltages

AB and ABZ encoder outputs

 

4

PPG_OUT1

 

5

PPG_OUT2

 

6

PPG_OUT3

 

7

PPG_OUT4

 

8

PPG_OUT5

 

9

PPG_OUT6

 

Name

Pin

Description

X6

 

12V power supply, and direct 5V and 3,3V

 

1

+12V power supply for internal DC-DC converter to 5V and 3,3V

 

2

+5V for direct supply

 

3

+3,3V for direct supply

 

VB2, power supply for input drivers for voltage VB2 (max 35V)

VB1, power supply for input drivers for voltage VB1 (max 35V)

Name

Pin

Description

X7

 

CAN bus termination and GND

 

1

GND

 

2

CAN1H

 

3

CAN1L

 

Name

Pin

Description

X8

 

Signal ground GND

 

1

GND

 

2

GND

 

3

GND

 

 


6.2      Connectors

Name

Pin

Description

Remarks

X1

 

Stardard ARM debug interface, 10 pin micro

 

 

1

VCC

 

 

2

TMS

 

 

3

GND

 

 

4

TCK

 

 

5

GND

 

 

6

TDO / SWO

 

 

7

 

 

 

8

TDI

 

 

9

 

 

 

10

RESET#

Prot. diode

 

Name

Pin

Description

X2

 

Reset input, a short between pin 1 and 2 leads to a reset

 

1

Reset input

 

2

GND

 


 

Name

Pin

Description

X9

 

Bus interface between all ASCON4-X devices

 

1

GND

 

2

GND

 

3

SYNC2/

 

4

SYNC1/

 

5

LIN

 

6

 

 

7

CAN1L

 

8

CAN1H

 

9

SYNC3/

 

10

ALARM/

 

11

 

 

12

 

 

13

 

 

14

 

 

15

 

 

16

 

 

17

GND

 

18

+5V

 

Name

Pin

Description

X10

 

CAN1 connector, subd- 9- male

 

1

 

 

2

CAN1L

 

3

 

 

4

 

 

5

 

 

6

 

 

7

CAN1H

 

8

 

 

9

GND_DR

 

Name

Pin

Description

X11

 

LIN connector, subd-9-male

 

1

+12V

 

2

LIN

 

3

 

 

4

NWAKE

 

5

GND

 

6

 

 

7

 

 

8

 

 

9

 

 

 


6.3      Jumpers

Name

Pin

Description

JP1

 

Shift switch

 

1

Pull down 1K to GND

 

2

MDO, on uController, pin 47

 

3

Pull up 1K to VCC

 

The shift switch JP1 is used to control the flash and run modes of the microcontroller.

JP1 is placed above the CAN connector .See chapter “Flash mode settings” for more information.

 

Name

Pin

Description

JP2

 

Access to VCC

 

1

VCC

 

2

VCC

 

 

Name

Pin

Description

JP3

 

Access to ground

 

1

GND

 

2

GND

 

 

Name

Pin

Description

JP4

 

LED displays

 

1

LED_POWER

 

2

GND

 

3

LED_ERROR

 


6.4      Solder jumpers

Name

Pin

Description

SJ1

 

Selection of either 5V from DC-DC converter or external +5V

 

1

External +5V supply from external connector X6 pin 2

 

2

VDD5, +5V supply of Ascon4-DIG board

 

3

+5V from DC-DC converter

 

Name

Pin

Description

SJ2

 

Selection of either 3,3V from DC-DC converter or external

 

1

External +3,3V supply from external connector X6 pin 3

 

2

VCC, +3,3V supply of Ascon4-DIG board

 

3

+3,3V from DC-DC converter

 

 

Name

Pin

Description

JP5

 

Selection of terminating 120 ohm resistor for CAN

 

1

Solder jumper open = no 120 ohm termination
Solder jumper closed = 120 ohm termination

 

2

 

 

Name

Pin

Description

SJ3

 

SYNC3/ pull up to VCC

 

1

2

Solder jumper open = no 1K ohm pull up, standard setting,
Solder jumper closed = 1K ohm pull up

 

 

Name

Pin

Description

SJ4

 

Alarm pull up to VCC

 

1
2

Solder jumper open = no 4,7K ohm pull up
Solder jumper closed = 4,7K ohm pull up

 


 

Name

Pin

Description

SJ5

 

Sync1 pull up to VCC

 

1
2

Solder jumper open = no 4,7K ohm pull up
Solder jumper closed = 4,7K ohm pull up

 

 

Name

Pin

Description

SJ6

 

Sync2 pull up to VCC

 

1
2

Solder jumper open = no 4,7K ohm pull up
Solder jumper closed = 4,7K ohm pull up

 

 

 

 

 


6.5      Power supply

6.5.1     The 3,3V power supply

The +3.3V power for the Ascon-DIG can either come from the on-board 12V LDO or by an external power supply. The selection between the 12V or +3,3V supply is done by the solder jumper SJ1.

LED1 is indicating the availability of the 3,3V power.

 

6.5.2     The 5V power supply

The +5V power for the Ascon-DIG can either come from the on-board 12V LDO or by an external power supply. The selection between the 12V or +5V supply is done by the solder jumper SJ2.

 

6.5.3     The 5V galvanic isolated supply for the CAN bus

The CAN bus needs a galvanic isolated 5V voltage supply. This is equipped by the +12V to +5V DC-DC converter VA1. It features input voltages of up to 35V and a 2A output current. The input voltage of +12V is supplied on X1 pin 1, while X1 pin 2 is the UBAT ground. The external +5V is supplied by X1 pin 5, while X1 pin 2, 3, 6, 7, 8 and 9 is the corresponding ground. The microcontroller can draw a maximum current of 100 mA.


6.5.4     Voltage supervision of the power supplies

The output voltage of the on board 24V power supply and the external 3,3V power supply are supervised by Ascon4 via these two ADCs:

 

Schematic name

Vmax

ADC04

5V

ADC05

3.3V

 

 

 

 


6.6      Reset circuit

The reset input XRESET/ has a 10K pull up resistor to VCC, generating a reliable power on reset. The pin connector X2 can draw XRESET/ to GND to generate an active low reset.

6.7      Standard Settings

 

Jumpers:                   JP2 = access to VCC (3,3V)

                                   JP3 = access to GND

                                   JP6 = access to VDD5 (5V)

 

Pin connector:         JP5 = Solder jumper open = no 1CAN 120 ohm termination

 

Solder jumpers:       SJ1 = 2 and 3 = +VCC (+3,3V) from DC-DC converter

                                   SJ2 = 2 and 3 = +VDD5 (+5V) from DC-DC converter

                                   SJ3 = Solder jumper open = no Sync3 1K ohm pull up

                                   SJ4 = Solder jumper open = no Alarm 4,7K ohm pull up

                                   SJ5 = Solder jumper open = no Sync1 4,7K ohm pull up

                                   SJ6 = Solder jumper open = no Sync2 1K ohm pull up

6.8      The LED displays

Three LEDs are placed on the PCB. They signal the following:

  1. The card is sourced by VCC = 3,3V
  2. The card is sourced by VDD5 = 5V
  3. The signal LED shows the state of the Ascon4 card:
    LED blinking slowly: Sleep mode, low power consumption mode

LED on: Run mode, the board is running at full speed

LED blinking: An error has ocured, use the diagnosis interface to find the cause of the error