Renault Twizy

Vehicle Type: RT

Support Overview

Function Support Status
Hardware No specific requirements (except for regen brake light control, see below)
Vehicle Cable OBD-II to DB9 Data Cable for OVMS (1441200 right, or 1139300 left)
GSM Antenna 1000500 Open Vehicles OVMS GSM Antenna (or any compatible antenna)
GPS Antenna 1020200 Universal GPS Antenna (SMA Connector) (or any compatible antenna)
SOC Display Yes
Range Display Yes
GPS Location Yes
Speed Display Yes
Temperature Display Yes
BMS v+t Display Yes
TPMS Display No
Charge Status Display Yes
Charge Interruption Alerts Yes
Charge Control Current limit, stop, SOC/range limit
Cabin Pre-heat/cool Control No
Lock/Unlock Vehicle Mapped to dynamic speed lock
Valet Mode Control Mapped to odometer based speed lock
Others
  • Battery & motor power & energy monitoring
  • Battery health & capacity
  • SEVCON monitoring & tuning (Note: tuning only SC firmware <= 0712.0002 / ~07/2016)
  • Kickdown
  • Auto power adjust
  • Regen brake light
  • Extended trip & GPS logging

Note: regarding the Twizy, V3 works very similar to V2. All telemetry data tables and tuning profiles are fully compatible, and the commands are very similar. Therefore, the basic descriptions and background info from the V2 manual are valid for V3 as well.

Hints on V3 commands vs. V2

  • V3 commands need to be in lower case.
  • When accessing via USB terminal, first issue enable (login).
  • V3 commands are similar to V2 commands, just structured slightly different.
  • Try help, ? and xrt ?. Twizy commands are subcommands of xrt.
  • TAB only works via USB / SSH. Shortcuts can be used generally, e.g. mo t instead of module tasks.
  • A usage info is shown if a command syntax is wrong or incomplete.

Configuration

tba

Custom Metrics

tba

Custom Commands

tba

Twizy Regen Brake Light Hack

Why?

The Twizy recuperation levels are very low by default, regenerative braking is so weak it doesn‘t need to trigger the brake light – so a regen braking indication has been omitted by Renault. The Twizy can be tuned to one pedal driving though with high neutral braking power.

The SEVCON normally can generate a regen braking signal itself. That signal can be configured using the xrt cfg brakelight tuning command. Pin 11 on the SEVCON main connector will go to GND on activation. The problem is, that pin is not connected on the Twizy, using it needs modification of the connector. To my knowledge this hasn‘t been done successfully up to now, so we don‘t even know if the Twizy SEVCON firmware includes that functionality.

How does it work?

The OVMS generates a secondary regen braking signal itself. That signal is used to control a relay to provide power to the brake light independant of the brake pedal.

Integration is simple and does not require to change the existing connections:

../../../_images/brakehack1.png

The Twizy UCH/display recognizes the regen brake light activation despite the foot brake being pushed and turns on the SERV indicator. Depending on your preferences you may see this as a problem or as an indicator for the regen braking.

Switching the 65A line does not avoid the SERV indicator (tested). Most probably the brake light is monitored by the current flowing at the fuse box, so the SERV indicator cannot be avoided without changing that system.

Parts required

  1. 1x DA26 / Sub-D 26HD Plug & housing
  1. 1x 12V Universal Car Relay + Socket
  1. Car wire-tap connectors, car crimp connectors, 0.5 mm² wires, zipties, shrink-on tube, tools

Note: if you already use the switched 12V output of the OVMS for something different, you can use one of the free EGPIO outputs. That requires additionally routing an EGPIO line to the DA26 connector at the expansion slot (e.g. using a jumper) and using a relay module (relay shield) with separate power input instead of the standard car relay.

Build

  1. Solder ~ 40 cm two-core wire to the DA26 plug pins 8 (GND) and 18 (+12V switched), use shrink-on tubes to protect the terminals, mount the housing
  2. Crimp 6.3mm sockets to the other ends of the wire, isolate using shrink-on tube, crimp 6.3mm plugs to the relay coil (pins 85 + 86), isolate using shrink-on tube
../../../_images/brakehack2.jpg ../../../_images/brakehack3.jpg
  1. Extend the relay switch terminals by ~ 30 cm wires, crimp on plugs for the tap connectors
  2. Unmount the Twizy glovebox; locate the red wire on the right above the parking brake:
../../../_images/brakehack4.jpg
  1. Crimp a tap connector onto the red wire and connect it to the relay (pin 30):
../../../_images/brakehack5.jpg
  1. Connect switched +12V likewise to pin 87 of the relay
  • +12V may be taken from the radio or 12V aux socket to simplify things
  • the dedicated brake light supply is fuse no. 23, which is very hard to reach without dismounting the whole fuse holder
  1. Place the relay in the free area on the upper left of the fuse holder (not below the door dampener, that may crush the relay), secure the relay using a ziptie
  2. Pull the OVMS DIAG cable through the glovebox bottom hole and connect it to the relay inputs (pins 85/86, polarity doesn‘t matter)
  3. Do a test: plug in the OVMS (Note: the relay switches on during the first OVMS boot), switch on the Twizy, issue commands:
  • egpio output 1 1 should activate the brakelight
  • egpio output 1 0 should deactivate the brakelight
  • Note: if you‘re using another EGPIO port, use the according port number (3-9) instead
  1. Mount the glovebox and you‘re done.

Configuration

See OVMS web user interface, menu Twizy → Brake Light:

../../../_images/brakehack6.png

Set the port as necessary and the checkbox to enable the brakelight.

For monitoring and fine tuning, use the regenmon web plugin:

https://github.com/openvehicles/Open-Vehicle-Monitoring-System-3/blob/master/vehicle/OVMS.V3/components/ovms_webserver/dev/regenmon.htm