Professional Documents
Culture Documents
FSG23 AS Beginners Guide v1.1
FSG23 AS Beginners Guide v1.1
FSG23 AS Beginners Guide v1.1
Contents
Changelog 2
1 Remote Emergency System . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
2 Shutdown Circuit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
3 Autonomous System Master Switch . . . . . . . . . . . . . . . . . . . . . . . . 4
4 System Critical Signals . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
5 Autonomous System Status . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
6 Autonomous System Status Indicator . . . . . . . . . . . . . . . . . . . . . . . 6
7 Autonomous Mission Indicator . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
8 Autonomous System Brake . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
9 Autonomous System Brake reference design . . . . . . . . . . . . . . . . . . . 7
10 Steering system . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
11 Actuator Decoupling . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
12 Sensors & Electrical Components Mounting . . . . . . . . . . . . . . . . . . . . 14
13 Manual driving . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
14 Startup procedure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
15 Data logger . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
16 Autonomous System Form . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
17 Technical Inspection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
Abstract
This document is intended to give you – as a team – a reference for implementing the Au-
tonomous System (AS) and Autonomous System Brake (ASB) rules. Following this guideline
eases the design of your vehicle and helps to review the safety of your design faster. Fol-
lowing this guide does not solely ensure that your design will pass the Autonomous System
Form (ASF) review or technical inspection. This guide only provides some suggestions for
your design. More complex solutions are still welcome. Finally it is still your responsibility
to ensure a safe design and explain how the safety concept works. Be prepared for criti-
cal reviewer questions. This document does not replace or extend the rules. In case of a
discrepancy, the rules always supersede this document.
Introduction
The references in this document are mainly based on the Formula Student Rules 2023 Ver-
sion 1.1. Its main focus is to give a general overview on the different AS parts and especially
on the implementation of the ASB. This document also gives a short introduction on fail-
ure detection and failure handling during startup and operation, see T 15.3. Furthermore,
some suggestions are made on how to design the system to be redundant. In addition, the
testability during technical inspection is discussed. As the ASB signals are part of the Au-
tonomous System, they are considered to be System Critical Signals (SCSs), see T 14.5.1
and therefore require some additional measures to be taken that are also discussed in this
document.
Note: All references to the rules and abbreviations are linked to the rules document. This
link might only work if the browser integrated PDF viewer is used. Tested with Firefox,
Chrome and Edge.
Mechanical
device that is connected to an on-board re-
ASMS
Link
ceiver unit, which is directly hard-wired into
the shutdown circuit, see T 14.3.4. Once the
shutdown button on the Remote Emergency
System (RES) is pressed or a signal loss oc-
curs, the Tractive System (TS) is disabled
and the Emergency Brake System (EBS) gets
activated. It is developed to meet the high-
est safety standards (SIL3). Details on its
application within the vehicle can be found
in Figure 6. Bypass Relay
In addition, the RES is used to send the go-
Figure 1: RES bypass circuit
Signal via an additional button to the vehi-
cle. The RES receiver in the vehicle forwards
this signal to the CAN-Bus. The AS is only RES remote device and the vehicle may dif-
allowed to activate Ready-to-drive (R2D), if fer from the ones that are present at the test
the go-signal is received after a safety delay area.
of five seconds, see Figure 2 in chapter 5.
ble (ASR) via the external activation button, 4 System Critical Signals
see EV 4.11.3/CV 1.2.2.
Once the SDC is closed the vehicle is able to
Signal monitoring is an essential part of ev-
start moving, thus it needs to be ensured
ery well-engineered system. It is required to
that the brake system is working properly.
achieve functional safety goals and prevents
Opening the SDC is a safety critical oper-
uncontrolled behavior of the AS.
ation that must always be performed in a
reliable way. It transitions the vehicle to a Concerning the functional safety goals, the
safe state as it includes: system must transition to the safe state as
shutdown of the TS, i.e. soon as it cannot ensure a fully redundant
- [EV ONLY] Accumulator Isolation Relays emergency brake maneuver. In case of a sig-
(AIRs) are opened nal failure, it might not be possible to prop-
- [CV ONLY] the fuel supply to the engine erly diagnose the system. Therefore the safe
and ignition is cut state has to be entered. This could be either
EBS is activated which leads the vehicle to a broken wire, a faulty sensor with out-of-
either come to a safe stop and/or prevent range data, or a signal distorted by electro-
it from moving (again). magnetic inferences.
By this it is ensured that it is safe to ap- Concerning the high-level parts of the AS
proach the vehicle again, i.e. to retire the that rely on a variety of different sensor in-
vehicle, and therefore the Autonomous Sys- puts, the system shall detect, if any of those
tem Status Indicator (ASSI) might indicate is malfunctioning. If the proper vehicle op-
a safe state, see chapter 6. eration cannot be ensured (e.g. loss of envi-
ronmental perception) the system shall react
by activating the EBS immediately. This sig-
3 Autonomous System Master nificantly decreases the time between a fail-
ure and the brake maneuver compared to a
Switch brake maneuver that is manually triggered
via the RES. This may protect the vehicle
The Autonomous System Master Switch from crashing and thus should be in every
(ASMS), see T 14.6, is an additional master team’s own interest to implement such a di-
switch, see T 11.2, that is a hardwired (non- agnosis properly.
programmable) solution intended to ensure The signals that require such a monitoring
that all actuators of the AS can be safely de- are called System Critical Signals (SCSs).
activated. The respective monitorings for the EBS and
Therefore the supply of the actuators has to the AS shall be implemented as described
be directly controlled by the ASMS. This is ei- above.
ther achieved by directly routing the supply
through the ASMS (like it is done for the Low
Voltage Master Switch (LVMS)) or by using
a non-programmable logic, such as a relay. 5 Autonomous System Status
In this case, all used components must be
rated to the corresponding maximum oper- In order to create a common and efficient
ating conditions (including current and tem- wording within the rules and during discus-
perature). sions related to the AS a set of Autonomous
The ASMS shall be kept in the “Off” position System statuses has been defined in T 14.9.
whenever possible so that no actuation of These target to represent a certain internal
the steering or braking system can happen status of the AS based on the status of its rel-
during manual driving (for details see chap- evant subsystems, e.g. ASB (including EBS),
ter 13), while work is carried out at the vehi- TS or R2D state. In conjunction with the
cle (such as (dis-) mounting of wheels, down- ASSI the statuses are a part of the overall
loading a new software to the control units safety concept.
or performing calibration activities) or in the
case of erratic software behavior. Definition:
The definition and determination of the cur-
rent AS Status is described within a flowchart
that can be found in Figure 17 of the rules. stop the vehicle must be retrieved by the
Along with this definition one can think of the ASR and an additional team member imme-
AS statuses as described in the following: diately after approval from the officials.
“AS Off”: This status shows that the AS is
“Manual Driving”: The vehicle is operated
not fully functional (yet) e.g. after switch-
in manual mode. This is only possible, if
ing the LVMS to “On”.
all actuators are switched off via the ASMS
In order to know, if it is safe for anyone
and the AS has checked that the ASB cannot
to approach the vehicle, the ASMS shall be
interact with the brake system.
checked to be in “Off” position and the TS
shall be switched off ([EV ONLY] TSAL lights
Implementation:
up green/[CV ONLY] Engine is not running).
The definition of the AS statuses does not re-
In any other case the vehicle might be about
quire any information on the previous status
to either change its status to “AS ready”,
the AS has shown. Therefore, the implemen-
see below, or is about to be driven manu-
tation for determining the AS status can be
ally, see chapter 13.
done by transforming the flowchart given in
“AS Ready”: This status usually follows af- the rules into a simple set of nested if-else
ter “AS Off”, if the ASB is checked to be op- statements that is called with its required in-
erational, the ASMS has been switched “On” puts during every software execution cycle.
and the TS is activated by the ASR via the The computed result will then be passed to
external TS activation button. the ASSI, see chapter 6 and the data logger,
The vehicle is prepared to be launched soon see chapter 15.
but it is ensured that the brakes are still Safety delay (5 s):
closed. Being in close distance to the ve- The safety delay required by T 14.9.3 intends
hicle is only allowed for the ASR and the of-to provide a time frame for the ASR and the
ficials. The time the vehicle remains in “AS officials to leave the area nearby the vehicle
Ready” should be kept to the possible mini- as soon as it reaches the status “AS Ready”.
mum required due to the event procedure. During this time frame the vehicle shall not
“AS Driving”: The vehicle has been change its status to “AS Driving” even in case
launched via the go signal sent by the the go signal has been sent by accident.
RES (considering the safety delay of 5 s,
AS Driving
see Figure 2) and is allowed to execute its
mission. It has to be expected that the ve- AS Ready
fulfill T 15.2 but still needs to be monitored ditionally figure 6 shows how the relay has
for failures. to be integrated into the SDC (orange path).
The following chapter will provide a more de- Important for the SDC implementation is
tailed look into the implementation of the that the EBS relay must not be delayed when
ASB. the SDC opens. The system must be de-
signed in a way that ensures that the de-
lay mentioned in EV 6.1.5 is only applied
to the AIRs and not to the EBS relay. Fi-
9 Autonomous System Brake nally the supply concept includes two Pow-
reference design erstages/MOSFETs (blue parts). These addi-
tional switches are required to fulfill T 15.3
and enable the supervisor to test both actua-
9.1 System Overview tion paths independently and ensure that the
system is working redundantly.
Figure 5 shows a rough overview of a pos-
sible ASB implementation. The RES is di-
rectly integrated in the SDC (depicted in or- 9.3 Supervisor
ange) and the EBS actuator supply (depicted
in green) with its relay output, as required by As previously mentioned, the supervisor:
T 14.3.4 and T 15.2.2. 1. Monitors the system to detect failures.
2. Transitions the system to a safe state in
The ASB itself consists of the following main case of a single failure (T 15.3.3).
parts: 3. Provides EBS status signals to the Au-
Supervisor: The supervisor monitors the tonomous System.
status of the ASB and performs the initial For this purpose it needs sensors in the me-
checks for the system. In case of failure the chanical part of the EBS to monitor the sta-
CPU activates the EBS and/or its redundant tus of the system. Sensor signals could be
system (T 15.3.3). for example:
SDC logic part: The SDC’s logic was previ- Hydraulic brake line pressure (e.g. for ini-
ously used to latch the SDC open, but since tial checkup)
the 2023 rules, this is not required for the Pneumatic tank pressure (e.g. for system
AS anymore. In this example it contains continuous monitoring)
only a HW-Watchdog which is used to open Etc.
the SDC in case of CPU stalls.
Supervising the supervisor:
Mechanical part: The mechanical part of The supervisor is monitoring the system for
the ASB is defined as the connection be- failures to fulfill T 15.3.3. As it is a critical
tween the electrical system and the vehi- part it becomes also a single point of fail-
cle’s brake system. It stores the energy for ure and thus needs monitoring. Common ap-
emergency brake activation and releases it proaches for the supervisor supervision are:
to the brake system in case of an activated External Watchdog (recommended): A
EBS (T 15.2.1). It may also contain addi- good solution is the use of an external
tional actuators to provide dosed braking watchdog as in the example. It cannot
during operation. be deactivated by SW and can easily be
Depending on the system it also must in- checked at startup for proper function.
clude some sensors for monitoring and the Internal Watchdog: Using the internal
initial check sequence (T 15.3.1). watchdog is not recommended and only
In the following sections the above men- possible if a watchdog event will lead to an
tioned parts and some more detailed design open SDC. Furthermore, it needs to be en-
aspects regarding the rules will be described. sured in the SW design that it is not deac-
tivated accidentally.
Second CPU: A second CPU in the vehicle
9.2 EBS Supply concept can be used, if it can communicate with
the supervisor and if it is able to open the
Figure 6 shows the EBS supply concept as
SDC independently of the supervisor. In
required by Rule T 15.2.2 (green path). Ad-
this case a heartbeat is sent between both
AS_close_SDC
CPU for monitoring
SDC logic SDC_status ASSI
Watchdog
WD_is_ready
Vehicle
SDC
RES 1
TS_Activation_Button
External / Cockpit
Shutdown_circuit SDC_status
WD_is_ready
Watchdog Watch-
dog
&
<100ms
To_SDC_relay
AS_close_SDC &
Figure 7: SDC logic diagram
SDC
Mechanical disconnect
for manual driving mode
SDC logic CPU for monitoring
Pressure source Normally colsed Normally closed Cylinder Brake pedal/system Spring
3/2 valve 3/2 valve
Power stage 1
ring Redundancy
n ito
s mo
ou Power stage 2 Spring
n tin
Co
Powerstage
Figure 10: Removal of counterforce, which
Mechanically redundant keeps the brakes opened
EBS Must be checked
during startup
2. Removal of counterforce:
Figure 8: Schematic overview for a fully re- Figure 10 shows an ASB with permanently
dundant EBS applied brakes e.g. by redundant springs.
The application of energy is needed to re-
second output stage which enables the mon- lease the brakes. This could be done
itoring CPU to activate the EBS even if the by pneumatic or hydraulic pressure. For
SDC is failing. In case of failure of the moni- this system no explicit pressure storage is
toring CPU the EBS is activated automatically needed as a loss of pressure results in a
by the watchdog. safe state. Only the springs and the pres-
sure release valves must be designed redun-
On the mechanical side redundancy depends dant. The mechanical connection between
on the chosen system. The following exam- the springs and the brake system must be
ple distinguishes between two scenarios: designed in a way that ensures a sufficient
safety factor in all possible cases.
Power stage 1
To get into manual driving mode the springs
Pressure storage Normally open 3/2 valve Cylinder Brake pedal/system
must be mechanically detachable or, in case
of gas-springs, the pressure must be re-
Mechanical disconnect leasable (keep T 14.8 in mind). The state of
for manual driving mode SDC
the springs might be monitored through the
Redundancy brake pressure built up when brakes are en-
Pressure storage Normally open 3/2 valve Cylinder
gaged. For gas-springs with releasable pres-
sure, the pressure itself must be monitored.
Power stage 2
Non EBS actuator as Redundancy:
Figure 9: Actively applied braking energy If the vehicle is equipped with other actua-
the EBS in case of malfunction. A sufficient of the pneumatic part of the ASB. It consists
way for continuous monitoring is a transfer of the common energy source (denoted in or-
function check (brake pressure vs. actuation ange) including its overpressure protection
force), if the actuator is regularly used dur- (FL1, also see T 9), the EBS (denoted in blue)
ing operation. and its redundancy (denoted in green). The
systems actuates the brake pedal through
two fluidic muscles (MM1, MM2). The re-
9.7 Testability / Technical Inspection dundancy is ensured by the two indepen-
dent pressure tanks CM1 and CM2, which
This section should give you some hints how
are decoupled by the check valves RM1 and
to speed up the technical inspection as there
RM2. Each pressure tank must at least con-
will be limited time for each inspection slot.
tain enough energy to perform an emergency
If it takes too long to sufficiently test the sys-
brake maneuver. Using only one tank is not
tem you will need to requeue.
sufficient as a failure to a single tank may
SCS: also decrease the pressure on the source
As all signals of the ASB are considered to which may not provide enough energy for the
be SCS, it must be possible to bypass these brake maneuver. As both paths have one en-
signals during technical inspection and ma- ergy storage, both need a deactivation mech-
nipulate them. This could either be done by anism. In this case the deactivation is done
using a single connector for each signal or by a manual valve (SJ1, SJ2) which discon-
by providing a breakout box for technical in- nects the pressure source and vents the tank.
spection if using a multi pin connector. Both tanks are equipped with pressure sen-
Accessibility: sors (BP1, BP2) to ensure that sufficient pres-
All parts of the ASB should be easily acces- sure is available to perform the emergency
sible without excessively disassembling the brake maneuvers. If one pressure drops be-
vehicle. Especially all mechanical ASB rele- low its limit, the SDC needs to be opened to
vant parts and all hydraulic/pneumatic parts activate the EBS. This activation will happen
beside the vehicles brake system. by QM1, which fulfills the EBS supply require-
All parts must be properly attached to the ments. QM2 may be actuated in parallel to
vehicle. QM1 or may also be actuated separately as it
does not need to fulfill the EBS requirements.
EBS activation: It could also be a pressure control valve for
During the inspection your EBS will be acti- dosed braking.
vated multiple times. To get this tests done For supplying the whole circuit, there are var-
as fast as possible, your system should be ious different options. One common option
able to perform multiple EBS tests in a row is, to use high pressure paintball bottles.
or you should be able to quickly refill your
system. Another option is to fill the pressure tanks by
a small compressor inside the vehicle. But
here you need to make sure that the com-
pressor is supplied by the ASMS and that it
9.8 Examples does not need too much time to fill the tanks,
as you only got 1 min.
Caution: The renderings in this section For the implementation inside the vehicle it
have been drawn by an electrical engineer is important to always make sure that the
;). They are just for visualization pur- pneumatic system fulfills T 9.
poses and not meant to be a 1:1 blue print
for your own constructions. Certification:
In the rules it is required that especially
This section shall give a rough overview on the high pressure equipment and the tanks
how the implementation of the ASB may look are certified and labeled accordingly. There-
like. It focues on the mechanical part as the fore, you should make sure that the pres-
electrical requirements have already been sure tanks fulfill the legal requirements, are
handled on the past sections. rated properly and are not expired. This will
Pneumatic system: be checked during the competition and may
Figure 12 shows an example implementation cause you a lot of trouble. Keep also in mind
that it is not allowed to transport filled paint-
3 1
FL1
3 1
2
2
1 3
1 3
2
Figure 12: Pneumatic diagram example
Anti-Blocking Slots
Inlet Port
Venting Hole O-Ring required) to perform a steering actuation un-
from reservoir
til the vehicle reaches standstill, see T 14.7.2,
Outlet Port to maintain a stable driving condition.
to Brake Caliper
In addition to the precautions mentioned
above, the steering system also needs to
be designed in a way that the manual actu-
Pressure Inlet
Return Spring Port
ation of the steering system is possible at
the steering wheel whenever the ASMS is
Brake Fluid resistant Transducer Piston switched to the “Off” position. This is espe-
Sealing cially required during manual driving (for de-
tails see chapter 13) and in case the vehicle
Figure 15: Brake actuation through a pres- breaks down during the dynamic events and
sure transducer quickly needs to be removed from the track
by the officials. Especially in the second case
only the ASMS will be switched to the “Off”
quite high. Special care must also be taken
position prior to moving the vehicle in order
when choosing the materials, as they need
to not delay the dynamic events much fur-
to be brake fluid resistant. Thus, especially
ther.
the material of the sealing must be stated in
the ASF.
11 Actuator Decoupling
10 Steering system
In order to ease up the design process it is al-
lowed to disconnect the actuators of the AS
As the steering system is controlled by the
while driving manually. As manual braking
AS some safety precautions are required in
must always be possible, see T 15.1.4, this
order to avoid unintended actuation:
mainly targets the steering actuator in or-
The supply of the steering system (or its
der to enable lower steering forces for man-
power stages) needs to be directly controlled
ual driving. It must always be ensured that
by the ASMS, for details see chapter 3. This
the decoupling adds no additional hazard for
will especially protect the driver from experi-
the driver. Thus, the steering wheel must al-
encing an unintended steering actuation by
ways stay connected and it must be avoided
the AS during manual driving.
that the decoupling mechanism moves while
Additionally the AS shall not perform any ac-
driving, see T 14.8. It should also be con-
tuation of the steering system that would
sidered to implement the mechanism in a
lead to a movement of the steering rack
way that avoids an unintended actuation by
while the vehicle is not R2D, see T 14.7.1, so
the driver. This is not required by the rules
that it is still safe to be around the vehicle
but might cause issues during technical in-
while the ASMS is already switched to the
spection, if there are doubts regarding the
“On” position. Nevertheless, once the vehi-
driver’s safety. In addition it might be ben-
cle is R2D the AS is allowed to actuate the
eficial to implement an easy to check indi-
steering system in any manner even though
cator that provides a feedback of the current
the vehicle might still be in standstill. It
position of the decoupling mechanism (either
needs to be considered that the torque re-
mechanical or electrical) that can be checked
quired to move the steering rack will be quite
right at the starting line before activating the
high in that case. Thus, it is strongly recom-
AS.
mended to not use steering actuators that
need to perform a steering actuation for cal- Implementation hint: For decoupling the
ibration purposes at startup (e.g. in order steering system, an electromagnetic clutch
to determine a reference angle for straight supplied by the ASMS might be a simple and
driving). One exception regarding steering robust option.
only being allowed while R2D applies during
an emergency brake maneuver (EBS is acti-
vated) where the vehicle is not R2D anymore
due to the open SDC: It is allowed (but not