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. ChapmanF

    ChapmanF Senior Member

    Joined:
    Mar 30, 2008
    24,902
    16,209
    0
    Location:
    Indiana, USA
    Vehicle:
    2010 Prius
    Model:
    IV
    You did mention thinking and guessing that, but depressing and holding the pedal, then operating the switch in isolation, would be a simple way to confirm or disconfirm the guess.

    When you write "the solenoid behind the switch", why do you think there is a solenoid behind the switch? What would such a solenoid do?
     
  2. RGeB

    RGeB Member

    Joined:
    Apr 18, 2021
    119
    20
    0
    Location:
    Australia
    Vehicle:
    Other Hybrid
    Model:
    N/A
    What I called "the solenoid" is probably better called "the relay" described in post #11above by Elektroingenieur
     
  3. ChapmanF

    ChapmanF Senior Member

    Joined:
    Mar 30, 2008
    24,902
    16,209
    0
    Location:
    Indiana, USA
    Vehicle:
    2010 Prius
    Model:
    IV
    In post #11, Elektroingenieur was responding to my question about whether the "relay" from Gen 3 had been integrated into the stop light switch for the later models.

    In Gen 3, the item, although called a "relay", is solid-state electronics (I think) with multiple inputs, and operates silently. At any rate, too quietly for me to hear. The only click sound a Gen 3 makes near the top of the brake pedal stroke is from the SMC and SRC valves inside the brake actuator, nothing to do with the switch.

    Perhaps it is possible that in later models, Toyota has reverted to an actual clicking relay integrated into the stop light switch, but that would surprise me somewhat.
     
    #23 ChapmanF, Oct 10, 2022
    Last edited: Oct 10, 2022
  4. RGeB

    RGeB Member

    Joined:
    Apr 18, 2021
    119
    20
    0
    Location:
    Australia
    Vehicle:
    Other Hybrid
    Model:
    N/A
    In post #11, Elektroingenieur wrote about several things, including RAV4 HV models.
    I can only say what I see and hear.

    After some reading and experimenting, I have the data refresh rate down to 0.6-0.8 seconds. Not as good as I hoped (only about 7 PIDs per second), but good enough to assist the discussion. From the latest log there can be no doubt that the stop light PID does not activate at (gentle) brake pedal pressures, enough to activate the stroke sensor and the friction brakes (gently, but enough to feel in my seat-of-the-pants meter). When the brake pedal is pressed a little harder it causes pressure in the regulator pressure sensor, and the brake lights also illuminate.

    It would probably not be an issue in an old car. I remember a MG Magnette: beautiful car but you really had to push the pedal to get a response from the drum brakes in those days. Then some of the early disc brakes were quite lethal when they engaged, but you still had to push the pedal a ways to engage them. All good for a brake light switch mounted near the pedal arm.

    But in hybrids, drivers are encouraged to brake gently to maximize regeneration. The car is still slowed, but as I have shown a brake light switch mounted near the pedal is now less fit for purpose. IT is much harder to adjust,and keep in adjustment, with the required finesse. Hopefully TMC will think about using stroke sensor output (or whatever actually activates the brakes in future) to activate the stop light, as suggested above.

    This graph is from a raw log, so it looks a little different to those above. I did not log regen braking as it comes from a separate ECU (which may sow down the data rate). But from the logs above, regen torque generally follows a request from regen cooperation. So this should still help.

    Brake4.jpg
     
  5. ChapmanF

    ChapmanF Senior Member

    Joined:
    Mar 30, 2008
    24,902
    16,209
    0
    Location:
    Indiana, USA
    Vehicle:
    2010 Prius
    Model:
    IV
    I have not looked up the formal requirements (even for just one jurisdiction, like the US), but it could be possible that existing regulations might complicate the matter.

    That is, Toyota engineers might very well say "look, we already have both a transducer for degrees of pedal stroke, and a transducer for fluid pressure in the master cylinder, and both of those are inputs to this excellent ECU that we have that could easily use those inputs to turn the brake lights on", and the regulatory authorities in one jurisdiction or another might still say "that's all very well, but our book says you need an independent switch mounted on the pedal bracket that turns the brake lights on with no reliance on any of that other stuff."
     
  6. Elektroingenieur

    Elektroingenieur Senior Member

    Joined:
    Jan 8, 2017
    2,515
    3,268
    9
    Location:
    California
    Vehicle:
    2016 Prius
    Model:
    Three Touring
    I don’t know of a regulation that requires an independent switch, as such, but it’s a reasonable design choice.

    In the U.S., FMVSS No. 108 (49 CFR § 571.108), Table I-a, requires that stop lamps “Must be activated upon application of the service brakes.” Australian Design Rule 31/04, incorporating UNECE Regulation No. 13-H/01, has a similar requirement (at Appendix A, paragraph 5.2.22.1). I believe these regulations require the stop lamps to be activated even when the service brakes are applied in a fail-safe mode after a malfunction of the skid control ECU. As New Car Features (for RAV4 HV models) describes, “[W]hen the [electronically controlled brake] system is not operating, the brake fluid pressure generated in the brake master cylinder by the depression of the brake pedal works as a back-up mechanism to ensure braking force.”

    Considering Toyota’s history with electronic throttle control, I could also imagine the appeal of a proven design with redundant elements to detect when the driver has applied the brake pedal and to communicate that information directly to input circuits of both the skid control ECU and the hybrid vehicle control ECU. As mentioned above, the stop light switch assembly isn’t just a simple switch: it has two non-contact sensors, two power supply connections, and two connections to inputs of each ECU.

    Even if the regulators might allow it, I’m not sure I’d be comfortable with a design in which the hybrid vehicle control ECU would depend on a multiplex-bus message from the skid control ECU to cancel cruise control or to activate the brake override system, which limits motive power when the brake pedal is applied.
     
  7. RGeB

    RGeB Member

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

    Wouldn't this show up in the stroke sensor, and so meet the quoted regulations?

    Of course, both an ECU and a switch mounted near the brake pedal can be used. This should ensure that the brake lights always operate with the brakes, and comfort anyone who does not trust multiplex-bus messages (and might therefore not use dynamic cruise control or any of the CAN-dependent safety features in recent Toyotas?).

    Here is another log. It has a bit slower refresh because of the added PIDs, but it is still interesting and taken with those above I think it shows:
    1. Stroke sensor basal reading is 1.24 -1.25V.
    2. Stroke sensor above basal reading (eg 1.29V detected) causes friction and/or regen braking (depending on car speed, regen cooperation etc).
    3. Stroke sensor above 1.4V corresponds with brake light (operated by a separate switch).
    4. Stroke sensor above 1.5V corresponds with increased regulator pressure.

    I hope it helps someone.

    Brake5.jpg
     
  8. RGeB

    RGeB Member

    Joined:
    Apr 18, 2021
    119
    20
    0
    Location:
    Australia
    Vehicle:
    Other Hybrid
    Model:
    N/A
    ChapmanF, you were right that my guess about that clunk was wrong. It is quite audible while sitting in the car in park. It clunks at stroke sensor voltage of 1.35-1.36, well below the brake pedal pressure to activate the brake light (and it seems to correspond with first detectable pressure in the wheel cylinder while parked). All visible in a live display of those PID readings while parked.

    I don't think this alters the main messages in the thread at all, but I wanted to acknowledge that you were right that the clunk is not the brake light relay.
     
  9. ChapmanF

    ChapmanF Senior Member

    Joined:
    Mar 30, 2008
    24,902
    16,209
    0
    Location:
    Indiana, USA
    Vehicle:
    2010 Prius
    Model:
    IV
    If you watch the various solenoid status readings in the data list when that click happens, you may be able to discern which one(s) the click involves. That's how I worked out that it was SMC and SRC in Gen 3.

    The information might be of interest to others with the later system in your model.
     
  10. RGeB

    RGeB Member

    Joined:
    Apr 18, 2021
    119
    20
    0
    Location:
    Australia
    Vehicle:
    Other Hybrid
    Model:
    N/A
    It certainly makes sense that the loud clunk when the brake pedal is pushed comes from the switching solenoid valves (diagram attached). There are also quiet clicks when only the stop light switch plunger is prodded (the brake pedal being held in for this purpose), but it is necessary to get ones head near the brake pedal and listen carefully to hear those. I have not tried to relate them to any PID outputs.

    Brakes.png
     
  11. ChapmanF

    ChapmanF Senior Member

    Joined:
    Mar 30, 2008
    24,902
    16,209
    0
    Location:
    Indiana, USA
    Vehicle:
    2010 Prius
    Model:
    IV
    Those diagrams look very much like the Gen 3 Prius arrangement. I wasn't sure whether 2019 RAV4s would be using that arrangement, or something more like what the Gen 4 Prius uses, which is quite different.
     
  12. bwilson4web

    bwilson4web BMW i3 and Model 3

    Joined:
    Nov 25, 2005
    27,660
    15,661
    0
    Location:
    Huntsville AL
    Vehicle:
    2018 Tesla Model 3
    Model:
    Prime Plus
    Hummm, let me climb into the fridge to see if the light goes out when the door is closed. <GRINS>

    Bob Wilson
     
  13. ChapmanF

    ChapmanF Senior Member

    Joined:
    Mar 30, 2008
    24,902
    16,209
    0
    Location:
    Indiana, USA
    Vehicle:
    2010 Prius
    Model:
    IV
  14. RGeB

    RGeB Member

    Joined:
    Apr 18, 2021
    119
    20
    0
    Location:
    Australia
    Vehicle:
    Other Hybrid
    Model:
    N/A
    Bob, I checked - my fridge light works every time (geez it is cold in there, and no PIDs). Shame the same does not apply to Toyota HV brake lights yet, but we can hope for the future.

    ChapmanF, my diagram was for the AVA (gen 4 rav4 HV) so the AXA (gen 5 rav4 HV) may well have the greater complexity of the gen 4 prius (probably they all have the solenoid clunk). Thanks for the link to the diagram from Elektroingenieur; it shows nicely why the brake pedal stroke sensor should also be suitable for brake light control during emergency braking.
     
  15. RGeB

    RGeB Member

    Joined:
    Apr 18, 2021
    119
    20
    0
    Location:
    Australia
    Vehicle:
    Other Hybrid
    Model:
    N/A
    The Toyota service technician said that the stop light was fine. I think the sophisticated test applied was to press the brake pedal firmly and confirm that the stop light illuminated. (Even though I explained the concern in detail to the service consultant, it was probably not passed on to the technician). It is your choice whether to trust someone who: (a) could not manage a 5-wheel rotation according to the Toyota owner's manual, even though an enlarged copy of the correct method was placed on the front seat; (b) 'forgot' to reconnect the dashcam that was disconnected for some reason during the service; and (c) inflated tyres to pressures way above those specified by Toyota.

    If you want to check your own car, it is easy in a dim garage where you can see the glow from stop lights in the rear view mirror. If you press the brake down very gently and hear the solenoid clunk before the stop light comes on, your brakes are coming on before your stop lights activate. No need to climb into the fridge!

    ChapmanF, it is a bit off topic, but I looked more into PID refresh rates. Basically the rate-limiting stage is not the 500 Kbaud 11 bit CAN bus, or the OBD reader UART at 115.2 Kbaud, or BT3 at 24 Mbps. What matters is the match between unregulated features of the serial port protocol (SPP, which operates under BT to handle the RS232 data from the UART) in the OBD reader, the OBD software and the host device. Data rates down to 8-10 Kbps have been measured. This explains why (allowing for the full cycle of request, receipt, processing and transmission of roughly 125 bit PID response frames) users experience below 60 PIDs/sec. Although I don't know much about BLE, I understand that it uses GATT, which is typically slower than SPP in BT. Rates can be faster over USB, but even there, something in the software seems to throttle the refresh rates, which vary a lot between OBD apps. There are claims of gateway modules that limit data rates from CAN to OBD, but I have not seen evidence for this. When sellers of OBD systems say "maximum X PIDs/sec" what they mean is "You will never get anything approaching X PIDs/sec". Of course, none of this matters when one just wants a few gauges, but as you say it is a limitation when one wants logs of multiple sensor readings at sub-second intervals (eg to study braking).