In-depth review of the TSAL : design and explanation

If you enjoy reading my blog and would like to support me, please consider making a donation here on paypal. Your support helps me continue creating content and allows me to make it even better. Thank you! You can also join my discord

I aim to totally breakdown the TSAL from the Formula student competition. This card for beginning team can be tricky to design.

Introduction

This article sums up everything I did personnaly on the TSAL, when I was working in a formula student team. This TSAL was suited for rule of the FSG 2023. I don’t guarentee that this TSAL model will be rule compliant and everything need to be well understood by your team in order to pass scrutineering.
This guide is more about what are the key component of the TSAL and how do they work.

Card overview

We will know go in detail in each the component of the TSAL. The TSAL is composed of a green light and a red light. Each light is ruled by a set of condition and design principle on how do they need to light. Our card and the following article is written with positive logic convention : logic 0 is 0V.

Green light main rules

The green light need to be turned on when every power relay in the car is opened :

  • Precharge
  • AIR negative pole
  • AIR positive pole
  • less than 50V are detected on the AIR in the TSAC on the vehicle side.

The schematic above represent the classical relays distribution inside the TSAC.

Red light main rules

The red light need to flash whenever the voltage on the pole of the DC-link capacitor are above 60V DC (other value for AC)

Green light latching

This set of rule are the trickier, I will largely justify this point.

TSAL guarentee the security of the vehicle. In this sense it needs to cover any failure, because one can be electrotuded if the TSAL mislead somebody into thinking that the vehicle is safe ! for this aim two seemingly complex rule are written, the EV4.10.13 and EV4.10.14. I will explain how to implement it and why are they here.

Without the Latching mechanism, as an exemple we will break each component at a time and see if we can notice a problem thanks to the TSAL.

  • Red light voltage detect signal is always below 60V : TSAL is off when green goes off. We can detect failure.
  • Red light voltage detect signal is always over 60V : TSAL is flashing orange and green at startup. We can detect failure.
  • one AIR signal is always opened : We cannot proceed to detect this failure !
  • one AIR signal is always closed : the TSAL green is off at start. We can detect failure.
  • The green voltage detect signal is always below 60V : We cannot proceed to detect this failure !
  • The green voltage detect signal is always over 60V : The TSAL green is off at start. We can detect failure.

Following the list up here, at startup we cannot detect already two cases of the 6 breakout. We want to be sure that the TSAL won’t show green if there is still voltage outside of the TSAC. This case can become dangerous if chained with other issue. So we need to detect this state. The only way to decide wether the AIR is opened or if the cable is not connected is to compare AIR state with wether or not we want it to be closed.

To do this we need to have the intentionnal state of the AIR coming to the TSAL. Since the intentionnal state are SCS compliant we can detect if they are shorted to ground, to supply or open circuit. Thanks to this we erase any issue with it concerning connectivity. (We need to have this feature on the VCU).

Relay intentionnal fault truth Table

The following Table translate the Latching rule into an actual truth table that enable us to detect wether or not a Relay output is faulty (following the intentionnal state). The relays are normally opened so sending 12V will closed them.

RelayIntSCS OutputInt_LogicRel_LogicCommentary
Closed12V010No issue
Opened12V111Faulty
Closed0V000the intentional state of the used (auxiliary) contact is opened
Opened0V001No issue
SCS Truth table Relays fault detection

Voltage detection intentionnal fault truth Table

The same goes for detecting if the voltage detection is faulty. if the intentionnal relay state leading to a voltage detection differs from the actual reading of our voltage detection it means there is a fault in our detection.

The intentionnal relay state leading to a voltage detection is set to logic 1 when :

  • Intentionnal AIR 1 is closed (12V input)
  • Intentionnal AIR 2 is closed (12V input)

The following Table translate the Latching rule into an actual truth table that enable us to detect wether or not our Voltage detection system is faulty. Our voltage detection mechanism send logic 1 when no voltage is detected (VoltageAir_logic).

VoltageAIRIntDetectVoltageAir_LogicSCSCommentary
50 V100No issue
50 V000No intentionnal voltage
0 V111Faulty
0 V010No issue
SCS truth table Voltage fault detection

Card breakdown

Now we will go on every different system and explain their behavior.

Non SCS signal input

This system detects each state of secondary relays. We send 5V to one of the end of the relay through a resistance and if it is pulled down it means that the relays is closed. 5V means relay opened and 0V means relays closed. A LED is implemented in a way that when relay is closed the LED light up.

SCS signal input

Rules states that all the other input of the card need to be SCS rule compliant. The explanation on this section will be pretty quick because this implementation of SCS signal has already been detailed in another article.

  • Pull down to detect open circuit.
  • Add buffer to signal to get back to low impedence signal.
  • Detect if the signal lies between 0.75V and 4.25V.

Red light mechanism

The Red light lightning mechanism need to be totally separated from the green light mechanism. This contraption is based on NE555 for timing. We trigger a NMOS to directly power drive the red light.

Green light mechanism

Rules states that green light should have a latching mechanism. This mechanism makes the green light more complex to design. In the next section, I will breakdown every part of the green light

Green light lightning condition

The green light Condition is just a AND between all 4 input. A LED is implemented in a way it lights up when the condition is valid

Green ligh fault condition

I will explain each part of this scheme :

  • Upper Left section is the one that detect if Relays signal is different from intentionnal relays (cf. SCS Truth table Relays fault detection)
  • Lower Left section detects if Air Voltage detection is at fault. (cf. SCS truth table Voltage fault detection)
  • Mid Right section make a global NOR between the 4 differents system (3 relays and voltage detection). It needs to be a NOR because a logic 1 means no error (cf. Latching falling edge mechanism)
  • When no SCS fault is detected SCS compliance is high so we ADD after the signal Inversion

A LED is implemented in a way that it lights up when error is detected. (NOR output to 0V or SCS compliance to 0)

Latching inition mechanism

The Latching and D-latch init mechanism are designed in a way that the latching can be reset only thanks to a LV power cycle. the system is based on a standard automotive D-latch.

The following time table shows how PRE,CLR, INT(output) and Int del(INT trigger) works :

Intentionnal fault delay

The formula student rule state that we can have a delay between the fault detection and the detection (to counteract mis-reading of an error). We have also implemented a inition security that force the system to latch when the system is faulty at start. PRE is low during all the inition phase that force C21 to charge even if Int_Log is already in fault state (LOW) at start.

This system delay “Int log” from a value that we can choose with the Varystor. A led is implemented in a way that she lights up when INT is low. (system triggered)

Green light LED driver

A comparison is done between the latching result and the lightning condition to drive a MOSFET.

LED indicator sum up

I will sum up each LED indicator with their respective lightning condition

  • INT LED : Lights up when system is latched down due to error
  • Light_cond LED : Lights up when relays are in a configuration that indicates safe operation (without latching TSAL is light up green)
  • Int_log LED : Lights up when SCS or Relays configuration error is detected. (just before latching down)
  • Relays LED : Lights up when relays is closed.
  • Intentionnal relays LED : lights up when relays should be closed.
  • VoltageAIR LED : lights up when voltage is under 60V.
  • DC-Link LED : lights up when voltage is above 60V. (equivalent of TSAL red is flashing)

Card rooting breakdown

The rooting is pretty standard I will just show some screen shot before the download link. The card got components on both side (capacitor and resistance on other side only).

Download links

The bill of material doesn’t include resistor, capacitor and SMD led that are all standard component.

Disclaimer

Until I update this post to give feedback about the actual making of this board., this file is given “as is”, I may have done mistake in the making.

If you want to produce this exact card please keep my logo on it. It isn’t related to my former FS team, it just means that I made it ^^.

If you have liked this article and want to keep update on the next article and project feel free to join my discord !


Comments

7 responses to “In-depth review of the TSAL : design and explanation”

  1. Cat Pares Avatar
    Cat Pares

    Hello , I wanted to ask you some questions about your design. Did you had one high voltage battery or two (one high voltage and one low voltage).Also do you think we should design TSAC before TSAL?Thank you .

    1. Hello,
      at the time I were in the team we had two batteries one for HV and one for LV. Much more easier even if we need to keep in mind to charge the little one.

      In my own opinion, I don’t think that both are that related, the first thing you need to do is to design your global architecture of your electrical harness. You need to know how many signal are coming out and in from each of your system (like TSAC, TSAL, BSPD, etc…).
      One part of the TSAL is in the TSAC so you need to keep this in mind but, it shouldn’t be a problem if your vision of the electrical harness is clear in your mind. Actual design is much easier when you know exactly what is input, output and behavior of each system.

      1. Cat Pares Avatar
        Cat Pares

        Thank you so much for your quick answer .So your pcb is connected to both low and high voltage batteries? What are the signals that are used ?

        1. Our TSAL (and I think most of the TSAL used) are composed of at least two PCB, my article is only about the pcb that make computation to trigger the different led. To acquire the state of you battery voltage you need another isolated pcb inside the TSAC (rule) that know battery voltage on car side of the AIR (called TSAL voltage on the figure Enclosure of Tractive System Accumulator System ) I could also write something about this one but it is only a board that send a signal when >50V are detected (comparator, isolated power suppply and Solid State relays to isolate everything).
          Since the board I breakdown on this article gather every signal needed to be rule compliant on the TSAL you can guess where are the other high voltage isolated pcb (Raw_DC-Link_in and VoltageAIR connector).
          For security purpose I would mix High voltage and low voltage only on separate specific board (by the way you need to follow a set of rule to make this kind of High voltage / Low voltage board rule compliant).

  2. Robin S. Avatar
    Robin S.

    Hello, thank you for sharing this design, its very helpful.
    I have a question regarding EV4.3.6, wouldnt a separation of the TS voltage require more spacing and a clear cut in the pcb marking the TS area?
    I believe the DC-Link capacitor and the AIRs are connected to TS+/- ?
    Best regards.

    1. Hello,
      Yes when you need to deal with High voltage and low voltage on the same PCB you need to have clear cut and required spacing, but this board doesn’t contain any High voltage.
      Any voltage comparison made to know the state of high voltage component are made on isolated PCB and only the signal is brought back to the main board (the one from the article) (connector J9 and J4).
      For AIR, I use auxiliary contact which is a galvanically isolated contact from the HV contact (that is why I bring 5V to contact), you can see these auxiliary contact on the Enclosure of Tractive System Accumulator System figure (labelled AIR+1 AIR+0, etc…)

      You can also read the other answer, I just wrote in comment section about HV signal for more information.

      1. Robin S. Avatar
        Robin S.

        Hello,
        that is a clever way of isolating HV und LV. I will try to convince my team next year to give me space in the TS enclosure :).
        Another question or rather clarification on my part:
        Are AIR_1, AIR_2 and PreCharge directly connected to the coil part of the relay (Enclosure of Tractive System Accumulator System, pin 6 or 1)? Or do you get this information from the PreCharge circuitry/Shutdown Circuit?

        Again thank you for helping.
        My team is currently building a CV car and i have nobody to ask my trivial questions.
        Best Regards.

Leave a Reply

Your email address will not be published. Required fields are marked *