1. Attachments are working again! Check out this thread for more details and to report any other bugs.

Do brake lights come on each time you apply the brakes?

Discussion in 'Knowledge Base Articles Discussion' started by RGeB, Oct 7, 2022.

  1. RGeB

    RGeB Member

    Joined:
    Apr 18, 2021
    119
    20
    0
    Location:
    Australia
    Vehicle:
    Other Hybrid
    Model:
    N/A
    The short answer is NO.

    The longer answer is not necessarily in brake-by-wire Toyota HVs, to my great surprise. See the log below. The car computers decide when to light the stop lamp, and they do not always light it each time you press the brake (even though cooperative braking is activated, and both regenerative and hydraulic friction braking are operating, and the car decelerates).
    Brake.jpg

    I thought the brake light should warn of (impending) car deceleration. Every deceleration. It seems that Toyota engineers have other ideas.

    In the past I just shook my head at those who cannot distinguish a public road from a race track:
    (i) They think that dangerous overtaking brings them some reward on public roads; and/or
    (ii) They get annoyed if you leave a safe distance to the vehicle in front, so they have to fill that gap; and/or
    (iii) They get really annoyed by gentle acceleration and braking, as on their imaginary race track everything must be done like a startled rabbit.

    Now I am less certain. Maybe they just want to be in front because my brake lights sometimes fail to give the expected warning?

    If you are looking for the PIDs:

    The brake light is called “Status of the Stop Light SW” in the Brake ECU or “Status of the Stop Light Switch” in the Hybrid control ECU. (Lots of other likely-looking brake light status PIDs never change from 0.)

    The brake pedal PID is “Stroke Sensor (V)”; but not “Voltage of Stroke sensor (V)”. The “Regulator Pressure Sensor ...” (several PIDs work) soon follows (and I understand that the car computers use both to gauge driver braking demand).
     
  2. bisco

    bisco cookie crumbler

    Joined:
    May 11, 2005
    108,658
    49,371
    0
    Location:
    boston
    Vehicle:
    2012 Prius Plug-in
    Model:
    Plug-in Base
    is that legal down under?
     
  3. ChapmanF

    ChapmanF Senior Member

    Joined:
    Mar 30, 2008
    23,788
    15,433
    0
    Location:
    Indiana, USA
    Vehicle:
    2010 Prius
    Model:
    IV
    The answers to this question probably need to be broken out by model and generation.

    Gen 1 Prius:

    The US wiring diagram clearly shows that the 15 amp STOP fuse directly supplies the stop light switch on the brake pedal bracket, which directly supplies the stop lamps at the rear of the car. It also is routed to the STP input (S2 position 6) of the shift lock ECU, so that ECU can know when the brake lights are activated.

    Gen 2 Prius:

    The US wiring diagram shows that the 7.5 amp STOP fuse directly supplies the stop light switch on the brake pedal bracket, which directly supplies the stop lamps at the rear of the car. It also is routed to the STP inputs of the HV control ECU (H15 position 3), the power source control ECU (P6 position 1), and the skid control ECU (S8 position 14) so those ECUs can know when the stop lights are activated.

    Gen 3 Prius:

    The US wiring diagram shows the 10 amp STOP fuse supplying the stop light switch on the brake pedal bracket and also the stop light control relay. The open-when-not-braking output of the stop light switch goes to the STP input of the stop light control relay, and the relay output directly supplies the stop lamps at the rear of the car.

    The stop light switch output also goes to the STP inputs of the skid control ECU (A58 position 33) and the power management control ECU (A22 position 23). The output of the relay also goes to the skid ECU (STP2 input, A58 position 6), so that ECU can tell when you have pressed the pedal activating the switch, and also can confirm that the relay output has responded.

    The "relay" is, in fact, an electronic thing with more than one input, so there can be more ways than just the brake pedal switch to activate it and light the stop lights. Its terminals labeled ACC and ESSI in the wiring diagram are wired to terminals STPO and EXO of the skid ECU, respectively (though, on one of the drawings, those wires are shown as existing only in cars with the Dynamic Radar Cruise Control feature). On cars with DRCC, anyway, the skid ECU is able to trigger the stop light relay when braking because of DRCC.

    Those ACC and ESSI connections to the relay seem to be documented a little sparsely in the repair manual; Elektroingenieur looked into what information is available.

    Gen 4 Prius:

    I haven't got a wiring diagram for one of those.

    What car were you experimenting on?

    Because the stop light switch is just a simple electrical switch mounted on the brake pedal bracket, I would expect in your graph to see the "Stop Light I/O" closely correlated with pedal stroke sensor values above a certain value, and that does seem to be roughly what I see. By very slowly applying the pedal, it probably would be possible to pin down the approximate stroke sensor reading where the separate and independent stop light switch tends to make/break contact.

    I am puzzled by something around second 433, when (unless I am going crosseyed) a brief blip of the stroke sensor seems high enough to have coincided with stop lights (at other moments in the graph) but the graph does not show "stop light I/O" there. Without more information about the data collection and graphing, I couldn't be sure what to think about that.

    If the stop switch seems to be making contact late (coinciding with too high a stroke sensor value), the position of the switch on the pedal bracket is adjustable.

    Although the switch is shown in the diagrams as a plain mechanical switch (and surely they were, for the longest time), there was a recent thread where somebody took one apart and found it to be a contactless version made with a permanent-magnet plunger and Hall ICs.
     
    #3 ChapmanF, Oct 7, 2022
    Last edited: Oct 7, 2022
  4. RGeB

    RGeB Member

    Joined:
    Apr 18, 2021
    119
    20
    0
    Location:
    Australia
    Vehicle:
    Other Hybrid
    Model:
    N/A
    I am using a 1999 AWD rav4 HV (AXAH54), logging Toyota PIDs at 1 second intervals using OBDLink with MX+.

    Because the car has dynamic cruise control, I figure the stop light must be controlled electronically (it is reputed to work when the brake pedal is not pushed - I have not checked this). I assume there is a similar system in all brake-by-wire Toyota hybrids with dynamic cruise control (but I may be wrong).

    I don't think it is as simple as adjusting a switch on the brake pedal. I can't find any PID for such a switch. I tried "Status of the ... Brake Operated Indicator Light, Stop Light System Indicator Light, Stop Light Relay Output". All stay on 0 with brake on or off. Moreover, the log shows that some events (like the one ChapmanF mentions between 430-440 sec) do not trigger the stop light at stroke sensor levels that do trigger in other events. Other logs (not pasted here) have the same effect.

    Bisco, I don't know if it is legal but it is certainly not desirable, in any jurisdiction, (to me).
     
  5. ChapmanF

    ChapmanF Senior Member

    Joined:
    Mar 30, 2008
    23,788
    15,433
    0
    Location:
    Indiana, USA
    Vehicle:
    2010 Prius
    Model:
    IV
    1999 seems surprisingly early for a RAV4 HV with dynamic radar cruise. That feature didn't appear in the Prius line until Gen 3, did it?

    In Gen 3 Prius, the DRCC is indeed able to light the stop lights when the pedal is not pushed. That is because the stop light relay has multiple inputs, as described above in post #3 and seen in the wiring diagram.

    I had been wondering how slow the polling rate was; at 1 per second, some of what I'm seeing in the graph might be artifacts of that.

    It may not be necessary that every mechanical switch in the car has a PID reporting its status. That said, referring to the Gen 3 wiring diagram and repair manual, the switch is wired to both the skid ECU and the power management control ECU, and the repair manual shows that the data lists for both ECUs do include PIDs reporting it. It's called "Stop Light SW" in the ABS/VSC/TRAC data list, "Stop Light SW M-CPU" in the Cruise Control data list, "Stop Light SW 1 (M CPU)", "Stop Light SW 1 (S CPU)", and "Stop Light SW 2 (M CPU)" in the Radar Cruise data list, and "Stop Light Switch" in the Hybrid Control data list.

    The ABS/VSC/TRAC data list also includes a PID called "Stop Light Relay Output". It is not clear to me whether this shows the status of the STP2 input, A58 position 6, that monitors the output of the relay, or of the STPO/EXO outputs that allow the skid ECU to trigger the relay for DRCC purposes. That might not be too hard to pin down.

    There is also an ABS/VSC/TRAC active test called "Stop Light Relay" that clearly seems intended to trigger the relay. The diagrams don't all agree on whether those wires exist in the harness in cars without DRCC, so it's possible that in those cars the active test might have no effect.
     
    #5 ChapmanF, Oct 7, 2022
    Last edited: Oct 7, 2022
  6. RGeB

    RGeB Member

    Joined:
    Apr 18, 2021
    119
    20
    0
    Location:
    Australia
    Vehicle:
    Other Hybrid
    Model:
    N/A
    Thanks ChapmanF.

    Sorry, my bad typing / mind for dates, should be: 2019 AWD rav4 HV (AXAH54). Where do the years go?

    Sounds like PID "Stop Light SW / Switch" should be on when the stroke sensor (and pressure regulator) goes up.

    Here is a log from another journey, where it sometimes does not. This is not uncommon. These 'anomalies' last for 2-3 seconds, much longer than the log interval. They are fairly common braking times, during which the vehicle behind has probably traveled 10-30 meters. Of course, the ECU may not update the PID as fast, but that seems unlikely for brakes. Maybe it explains why the tailgaters are so eager to pass?
    brake2.jpg

    But I do take the point that the stop light itself may be turning on (even in non-cruise control mode, and in normal driving with gentle braking) even if the PID for it is off. It is hard to find a volunteer to lie on the roof while I drive, for long enough to be sure.

    As you suggest, I will collect some logs with reduced logging intervals; and look again at the relay status PID. As mentioned above, I think I have tried before and found it always returns 0.

    Perhaps someone else with a (recent) Toyota HV and an OBD tool will contribute their log?
     
    #6 RGeB, Oct 8, 2022
    Last edited: Oct 8, 2022
  7. Elektroingenieur

    Elektroingenieur Senior Member

    Joined:
    Jan 8, 2017
    2,515
    3,258
    9
    Location:
    California
    Vehicle:
    2016 Prius
    Model:
    Three Touring
    A suction cup on the rear window was good enough for an ICE high-speed train; it should do for your car.
    The computers can turn on the stop lights—to warn other drivers when the vehicle is slowing or stopping on its own, without brake pedal input from the driver—but they don’t have a monopoly on doing so.

    At least for AXAH54L models built for the U.S. market, the “Stop Light (HV Model)” pages in the Electrical Wiring Diagram (more info) show that the center stop light and rear combination lights are connected to the OUT terminal of the stop light switch assembly, for which the Repair Manual on-vehicle inspection procedure states:

    Tester Connection: A40-1 (OUT) - A40-2 (GND)
    Condition: Brake pedal not depressed
    Specified Condition: 1.5 V or less​
    Condition: Brake pedal depressed
    Specified Condition: 11 to 14 V​

    The stop light switch assembly is connected to the hybrid vehicle control, certification, and skid control ECUs, but all except one of these connected terminals is identified in the Repair Manual as an ECU input. The exception is the STPO terminal of the skid control ECU, described (with a schematic diagram) in the troubleshooting procedure for brake system diagnostic trouble code C1380, in which Toyota writes:

    When any of the following conditions are met, the skid control ECU (brake booster with master cylinder assembly) sets the drive output (STPO) ON which operates the stop light control relay (stop light switch assembly) and turns on the stop lights.

    Illumination Conditions:
    • Pre-collision brake is operating.*
    • The dynamic radar cruise control system is operating and is applying the brakes.*
    • Secondary collision brake is operating.
    • Brake hold is operating.
    *: w/ Pre-collision System​

    Note that this list doesn’t include “Driver is pressing the brake pedal.” In that case, the stop light switch assembly turns on the brake lights without computerized help, just as on the Prius models @ChapmanF kindly described.
     
  8. The Professor

    The Professor Senior Member

    Joined:
    Apr 5, 2018
    598
    809
    0
    Location:
    UK
    Vehicle:
    2017 Prius
    Model:
    Excel
    Just went out and tested this with the wife in her car behind me. Fits exactly with what Elektroingenieur said.

    The brake lights came on every time I pressed the brake pedal, even extremely gently. We tested this at least 20 times in a range of circumstances. As best as we can tell, brake pedal ALWAYS means brake lights, which also makes the most sense.

    They also came on, on their own, when the dynamic cruise control was slowing me down.

    They kept the brake lights on, after I released the brake pedal, when the hill start assist is working - i.e. when stopped on a hill and you release the brake pedal, the brake lights remain on until you move forward.

    We didn't test pre-collision.
     
    Mendel Leisk likes this.
  9. meeder

    meeder Active Member

    Joined:
    Jul 8, 2019
    239
    161
    0
    Location:
    Doesburg, The Netherlands
    Vehicle:
    Other Hybrid
    Model:
    N/A
    Interesting experiment.
    I will see if I can reproduce this on my Euro spec Corolla (2019).
    I am especially interested when the brake lights are on when using adaptive cruise control.
     
    Mendel Leisk likes this.
  10. ChapmanF

    ChapmanF Senior Member

    Joined:
    Mar 30, 2008
    23,788
    15,433
    0
    Location:
    Indiana, USA
    Vehicle:
    2010 Prius
    Model:
    IV
    Or maybe a couple wires poked into the brake light connection at the back, with a resistor and LED up front where you can see it.

    Hmm... "stop light control relay (stop light switch assembly)". Does that mean that where Gen 3 has two separate parts, a "stop light switch" and a "stop light control relay":

    A26A28.png

    this later model has essentially integrated both into one assembly that sits on the pedal bracket and has additional inputs? Or are there still two separate parts, with the lights in back really connected to OUT of the relay, and not directly to the switch? Or is there no relay, and the ECU's STPO output has the current capacity to drive the lights directly? Would you be comfortable posting any sort of minimal diagram excerpt showing what's going on there?

    On parts.toyota.com, I can find a couple different part numbers claiming to be the brake light switch, but when I image search for either 84340-49105 or 84340-09291 there are pictures of more different-looking switches than you can shake a stick at; it seems people post images of "brake light switches" without much regard to specifics.
     
  11. Elektroingenieur

    Elektroingenieur Senior Member

    Joined:
    Jan 8, 2017
    2,515
    3,258
    9
    Location:
    California
    Vehicle:
    2016 Prius
    Model:
    Three Touring
    That would work, too, but it wouldn’t be nearly as exciting.
    That’s right, but there is only one external input. As on fourth-generation Prius cars, the switch and relay have been integrated into the stop light switch assembly. On RAV4 HV models, it’s shown as having a seven-position connector:
    1. OUT, connected in parallel to the stop lights and to an input of the skid control ECU (STP)
    2. GND, connected to ground point AA
    3. L, connected in parallel to inputs of the skid control ECU (STP2), hybrid vehicle control ECU (STP), and certification ECU (STP1)
    4. ACC, connected to an output of the skid control ECU (STPO)
    5. L, connected to an input of the hybrid vehicle control ECU (ST1-)
    6. B, fed from the ECU-IG2 NO.3 fuse, controlled by the IG2 NO.2 relay
    7. B, fed from the unswitched STOP fuse
    I imagine “ACC” refer to adaptive cruise control, a main reason for having an external input to the assembly, and not to accessory power, which isn’t involved here.

    According to the Repair Manual, DTC C1380, Stop Light Control Relay Malfunction, is output by the skid control ECU when IG1 is at least 9.5 V and either “stop light drive output (STPO) is ON and STP is OFF for 2 seconds or more” (INF code 761) or “stop light drive output (STPO) is OFF and the input signals for STP and STP2 differ for 5 seconds or more” (INF code 762).

    In New Car Features, the Stop Light Switch topic says that “non-contact type stop light switch assembly with high durability is used,” and “2 magnetic sensors are installed and they output stop light illumination signals and cruise control system cancel signals.” There is also a cross-section view.
     
  12. fuzzy1

    fuzzy1 Senior Member

    Joined:
    Feb 26, 2009
    17,302
    10,149
    90
    Location:
    Western Washington
    Vehicle:
    Other Hybrid
    Model:
    N/A
    I'd hope not every deceleration in the normal natural ebb and flow of traffic, as drivers let off the gas, glide, coast, or do mild downshifts, would light up the brake lights. That would be far too many brake lights.

    At least, not without some change to show deceleration rate, e.g. slow vs fast blinking brake lights. My first Prius was struck from behind in a traffic jam where everyone, all four freeway lanes, had their brake lights on for a gradual slowdown. Then traffic suddenly went from very light to very hard braking, but without any warning from changing brake lights because all the lights were already on. I was caught slightly unawares, but with sufficient stopping distance. Same for the guy behind me. But not for the novice teenager in the car behind him, with a car full of her volleyball teammates, who created a change reaction collision. Variable rate flashing brakelights would have provided better warning for everyone.

    If every deceleration is to trigger brake lights, then such variable flash rates will be even more important.
     
  13. Trollbait

    Trollbait It's a D&D thing

    Joined:
    Feb 7, 2006
    22,032
    11,503
    0
    Location:
    eastern Pennsylvania
    Vehicle:
    Other Non-Hybrid
    Guessing they're aftermarket, but I have seen brake lights that flash on first application. Current EVs with one pedal driving ability use deceleration rate to determine when they need to turn on the brake lights. Just having the lights flash under when under heavy deceleration should be something easy to implement.

    I say should be, because it was possible to bring early i3s to a stop without the brake lights ever coming on under the right conditions.
     
  14. RGeB

    RGeB Member

    Joined:
    Apr 18, 2021
    119
    20
    0
    Location:
    Australia
    Vehicle:
    Other Hybrid
    Model:
    N/A
    First, many thanks for all this input.

    As promised I have logged at faster speed (0.2 seconds) with only 14 PIDs. Actual polling rates are a bit of a dark art depending on the OBD modem device, the Android interface device, the software, the number of PIDs, the ECUs involved (and probably other factors). Nevertheless, as far as I can tell from the files, the MX+ is keeping up. As said before, the relay status PID always returns 0. Here are the logs, one just a zoomed region of the other:
    Brakes3.jpg
    Obviously, the stop light PID is O sometimes when the brake pedal is pressed (stroke sensor PID) and Regen co-op is operating, and friction brakes are on (wheel cylinder PID) and regen torque is being applied at the front wheels and the car is decelerating. In my view this is exactly as stated in the first post, and not desirable.

    If any pattern emerges, it is that the stop light seems to be linked to regulator pressure, not stroke sensor or wheel cylinder pressure.

    In no particular order:

    I should have said "I thought the brake light should warn of (impending) car deceleration through use of the brake pedal. Every deceleration through use of the brake pedal. It seems that Toyota engineers have other ideas."

    These insights from TIS are really useful. Thanks again ChapmanF and Elektroingenieur. Personally, I find it very hard to locate (all) relevant information in TIS. In the end, TIS is what someone at TMC thinks should happen (and why); or maybe what that person wants us to think. Then there are real-world tests. OBD logs. I find them much simpler (even allowing for uncertainty about what some PIDs mean, polling rates etc).

    I am not confident that any of the suggested methods to check what brake lights are really doing will be reliable (for me) with the (intermittent, relatively brief) scenario detailed above. When the stop light PID is O during normal braking, it seems reasonable to assume that the stop light is off; but one could probably install something like a photosensor to check, log it, and superimpose on the OBD log. This is a bit beyond my resources.
     
  15. ChapmanF

    ChapmanF Senior Member

    Joined:
    Mar 30, 2008
    23,788
    15,433
    0
    Location:
    Indiana, USA
    Vehicle:
    2010 Prius
    Model:
    IV
    I wonder if some of what's bothering RGeB could be a faulty, sluggish, or sticky brake light switch.

    At some point maybe one gets away both from fancy OBD logs and from speculating about what some person wants us to think, and just engages in the kind of real-world test where the brake pedal gets held down with one hand and the brake light switch plunger gets poked in and out with a finger.
     
  16. RGeB

    RGeB Member

    Joined:
    Apr 18, 2021
    119
    20
    0
    Location:
    Australia
    Vehicle:
    Other Hybrid
    Model:
    N/A
    Correction: The car CAN PIDs through the MX+ are only changing every 3-4 seconds, no matter what is set for polling interval, or reduced number of PIDs logged. By contrast, readings in the same software from the android device sensors (like pitch) change at every poll. I am still trying to understand this, but it does reinforce ChapmanF's earlier concern about poll frequency.

    I also take the point above, but I can't guess what is the right amount to hold or poke to test the scenario raised.
     
  17. ChapmanF

    ChapmanF Senior Member

    Joined:
    Mar 30, 2008
    23,788
    15,433
    0
    Location:
    Indiana, USA
    Vehicle:
    2010 Prius
    Model:
    IV
    I would start by approaching it simply, and complicate it only if simple somehow fails.

    Up near the top of the brake pedal bracket should be something that looks possibly like this:

    [​IMG]

    The brake pedal arm keeps the plunger pressed in, when you are not pressing the pedal.

    With one hand, you can hold the brake pedal down far enough to make room for a finger over that plunger. And holding the pedal there will allow the finger to press the plunger in (as it is when the pedal is released) and let the plunger out (as it is when the pedal is pressed).

    And that will keep the various pedal-related variables, like stroke sensor and regulator pressure, from being distractions, and reveal what happens when the switch plunger moves in and out.

    When the plunger is pressed in, there should not be brake lights. When the plunger is let out, there should be brake lights. The plunger should not feel sluggish or sticky to move, and the lights should respond to it without delay.

    With the car in a dark place with a light-colored wall or something behind it, so it is easy to see when the brake lights are on, this test shouldn't be any more complicated than it was in a 1970s Ford.
     
    #17 ChapmanF, Oct 8, 2022
    Last edited: Oct 8, 2022
  18. RGeB

    RGeB Member

    Joined:
    Apr 18, 2021
    119
    20
    0
    Location:
    Australia
    Vehicle:
    Other Hybrid
    Model:
    N/A
    Thanks again ChapmanF. I got down, pushed, prodded, and photographed the switch.

    SW.jpg
    When the push is gentle (but evidently enough to activate friction and regen brakes and decelerate the vehicle) the (brown) spring-loaded switch plunger moves out slightly to stay in contact with the arm on the pedal mechanism. But there is no click.

    When the push goes further, the plunger comes out more, and there is a click (I assume from the solenoid behind the switch).

    The switch does not stick; it simply does not operate the brake lights at gentle pressures that are evidently enough to activate friction and regen brakes and decelerate the vehicle. That strikes me as the same thing documented in the (fancy?) OBD logs.

    I take your earlier point that the switch is adjustable (maybe that black thread). I will ask about that at the next service (which is soon).

    In terms of the original proposition, it seems to support the fact that the regen and friction brakes are controlled in a different way than the brake lights, with the consequence that the vehicle can fail to show brake lights while decelerating as a result of braking. Whether this is "within spec" or a "fault that has developed with time", I suspect that many (Toyota HV, and probably other) vehicles would show it if the owners bothered to check. I am still looking into those slow OBD polls.
     
  19. ChapmanF

    ChapmanF Senior Member

    Joined:
    Mar 30, 2008
    23,788
    15,433
    0
    Location:
    Indiana, USA
    Vehicle:
    2010 Prius
    Model:
    IV
    That is a fact, but in exactly the same way it's been a fact for 50 years of Toyotas.

    [​IMG] fj.jpg

    The friction brakes in a 1970 FJ Cruiser are controlled in a different way than the brake lights. The brakes are actuated by the fluid pressure when the brake pedal moves the master cylinder piston. The brake lights are actuated by the electric switch that closes when the pedal moves away from the switch plunger on the pedal bracket.

    The pedal has always needed to move slightly (and therefore generate slight fluid pressure) before that switch closes.

    There will generally be some specification in the manual for how that switch position needs to be adjusted. I don't have a RAV4 manual, but here's what's in a Gen 3 Prius manual:

    stsw.png

    So if the switch doesn't work right, it should be replaced, and if it isn't adjusted properly, it should be adjusted, and if it is adjusted properly, it's just working the way they've been working for half a century or more.

    The best way to isolate what that click may or may not be is to hold the brake pedal steadily down with one hand, as suggested, and use another finger to push and release the switch plunger. If the click accompanies the pushing and releasing of the plunger, it is something to do with the switch. Otherwise, the click is something else.
     
    #19 ChapmanF, Oct 9, 2022
    Last edited: Oct 9, 2022
  20. RGeB

    RGeB Member

    Joined:
    Apr 18, 2021
    119
    20
    0
    Location:
    Australia
    Vehicle:
    Other Hybrid
    Model:
    N/A
    Thanks again ChapmanF. As mentioned and photographed, the orange/brown rod is already protruding (within the range you mention) and in contact with the arm on the pedal mechanism at rest, so I don't think it could be adjusted out without depressing the brake pedal. Maybe the threaded black shroud could go in to lengthen to plunger travel, but I will leave that to a mechanic at the Toyota dealership. As mentioned, I think the click comes from the solenoid behind the switch. I guess one could say that is "something to do with the switch".

    The potential for error may be old, but the amplitude differs in old (hydraulic only) versus new (brake-by wire) designs. Moreover, the potential to avoid the problem is clearer in brake-by-wire cars.

    I wonder why TMC does not avoid this problem by operating the brake lights from the brake pedal stroke sensor(s). This would:
    (i) Operate the brakes and the brake lights from the same sensor(s), so they always work together;
    (ii) Have built-in redundancy as the stroke sensor and stroke sensor 2 report +ve and -ve voltage shifts from the same pedal movement;
    (iii) Allow some money saving: by eliminating a switch, mounting bracket and operating arm.

    Or keep the mechanical switch as an extra layer of redundancy.

    I understand that the car computers use both stroke sensor and regulator pressure outputs to gauge driver braking demand, but I do not think that regulator pressure can go up without a stroke sensor signal (unless there is a fault in both stroke sensors).

    Because the stroke sensor reports on pedal position (not simply an I/O switch), this method would allow several levels of brake signal, if that was considered to be legal and useful. Hopefully the industry and international legislators would settle on common thresholds and signals before implementation. Warning signals that are not clear and consistent just create confusion. I do not think it would reduce the incidence or outcomes of tailgating.

    The mechanisms discussed above for brake light illumination during autonomous braking would be retained of course.

    Ah well, maybe in the future.