Commit Graph
97 Commits
Author SHA1 Message Date
Damien Maguire ff7efc2bcb Update README.md 2025-05-07 09:30:01 +01:00
Damien Maguire de35467a6e Add 3d step file of V1
Note this board has errors.
2025-02-08 18:07:13 +00:00
Damien Maguire cd36497502 Update README.md 2025-01-17 13:54:46 +00:00
Damien Maguire e2321a434f Update PCB design and Schematic to latest 2025-01-17 13:52:53 +00:00
Damien Maguire 3b65ddb5fb Update README.md 2025-01-08 18:52:24 +00:00
Damien Maguire 3c07788f8a Update README.md 2024-10-24 12:32:21 +01:00
Damien Maguire 7dbbf18e95 Update schematic with gate psu progress 2024-10-24 12:30:54 +01:00
Damien Maguire 1ba5159e86 Merge pull request #9 from kustusch/master
Update Gate Driver schematic
2024-08-29 18:48:50 +01:00
kustusch 44aa8396cf Update Gate Driver schematic 2024-08-27 23:23:58 -04:00
Damien Maguire 336c724bc9 Merge pull request #8 from davefiddes/master
Oil Pump Control Investigations
2024-08-18 19:22:08 +01:00
David J. Fiddes 7f142b26b6 Decode oil pump operating status fields
Run the oil pump for about a minute at full speed and
capture the log in short-run.ods. This allows various
status parameters to be graphed against time.

It looks like 30_Byte3 ramps up first and the graph
follows the pitch which can be heard from the motor.
Label this as Motor_Speed.

The 2A_Byte1 values ramp up next and this reflects the
observed behaviour when emptying the old oil out of
my drive unit where there was a perceptible delay
between the motor spinning up and the fluid flow. This
value ramps down with a lag after the Speed_Request
returns to 0.

The 2A_Byte2 value looks like the best guess for the
pump pressure. It peaks a bit after the flow and RPM
have stabilised and tails away steadily. This would
likely be expected in my drive unit which only has a
small amount of oil it it currently. No idea if the value is
from a sensor or some sort of clever fusion from the 3-
phase motor controller.
2024-08-18 18:37:57 +01:00
David J. Fiddes d862f4f4c5 Output oil pump status in CSV format
To allow easier analysis of the oil pump status fields output in
CSV. Also change the update to have no delay between requesting
each status value but maintain 100ms between each group of
requests.
2024-08-18 18:37:56 +01:00
David J. Fiddes d571620ad8 Decode oil pump temp, voltage and current status
Lots of fields had the same value after an overnight cold soak with a 40 degree offset from the drive-unit case temp. Running the pump causes some temps to increase but other stay the same.

Supply voltage and current tested with a bench power
supply. Values track measured values quite accurately.
2024-08-18 18:37:56 +01:00
David J. Fiddes fcdcf44ab6 Add an Arduino sketch to control the Tesla oil pump
This Arduino sketch connects to the oil pump over LIN using the
hardware serial on an ESP32. According to the captures taken of
the LIN of a running inverter there is 1 outgoing command and
4 status requests. The outgoing command appears to be the
desired speed of the pump. The incoming status messages are
currently not understood so are just printed out as hex values.

The speed can be changed by supplying a numeric value between
0 and 255 followed by CR/LF.
2024-08-18 18:37:56 +01:00
Damien Maguire b005e6c57c Update README.md 2024-08-15 10:38:29 +01:00
Damien Maguire 0993c994e8 Add schematic gate driver
Add a very early schematic of the M3 drive unit gate driver section. NOT FINAL!
2024-08-15 10:37:39 +01:00
Damien Maguire 5183d77143 Create test.a 2024-08-15 10:36:34 +01:00
Damien Maguire 77877c5196 Update README.md 2023-03-30 15:28:25 +01:00
Damien Maguire 32c9496754 Merge pull request #7 from davefiddes/master
Add details of gate drive PSU ready
2023-03-25 19:47:24 +00:00
David J. Fiddes 487d4d77ae Add details of gate drive PSU ready
The isolated gate drive PSU centered around T1 reports
back when it is running via GPIO83. This signal shows
up on the opto-isolator U7 at TP28 and TP43 near the
MCU.

Also document TP133 and TP134 which relate to resolver exciter output.
2023-03-25 12:17:06 +00:00
Damien Maguire a5e0482c35 Update README.md 2023-03-19 12:55:29 +00:00
Damien Maguire 6203eedebc Add temp sensor data
A first attempt at calibrating some of the temperature sensors in the Model 3 rear drive unit inverter and motor.
2023-03-19 12:54:40 +00:00
Damien Maguire e83857da88 Correct Phase B current sensor pin
Correct msitake in pin assignment for the phase B current sensor output.
2023-03-11 10:58:57 +00:00
Damien Maguire 92691dd4a1 Add pinouts
Added pin details for resolver, oil pump and throttle pedal.
2023-01-28 18:44:56 +00:00
Damien Maguire a112e9192c Merge pull request #6 from davefiddes/master
Fix swapped Vehicle and Party CAN bus signals
2022-09-23 11:58:20 +01:00
David J. Fiddes 7ce519397b Fix swapped Vehicle and Party CAN bus signals
Running a TI C2000 example transmitting using the CANA
peripheral (GPIO_5_CANRXA and GPIO_4_CANTXA) results in
output on the Vehicle CAN interface not Party CAN as
expected.

This swaps the pins in the PinMap spreadsheet but does not
update M3_TMS_PINOUTDIAG1.pdf

Tests:
 - Cross-check official Tesla M3 wiring harness and connector
   with wiring diagram 2019.1_Model3-SOP3-1LHDandRHD
   from the Tesla Service Manual.
2022-09-23 11:30:57 +01:00
Damien Maguire 464a39b3c2 Merge pull request #5 from davefiddes/master
Fix ADC input for 12V supply monitoring
2022-03-21 15:18:38 +00:00
David J. Fiddes 9d058c3e47 Fix ADC input for 12V supply monitoring
The pin for 12V DC supply monitoring is not ADCIN14 but
ADCINC4 instead.

It seems that ADCIN14 may be used for monitoring a 1.65V
mid-rail reference and calibrating ADCs (per TI
documentation). Not 100% certain so leaving this line blank
for now.

Tests:
 - Power the inverter from a variable bench supply and load a
   program to display the output of ADCINC4. Log values at
   different supply voltages to determine the gain of 205.88
   counts per volt.
2022-03-20 12:04:14 +00:00
Damien Maguire a687d3ef49 Merge pull request #4 from davefiddes/master
Add details of main inverter wiring harness
2022-02-14 08:31:10 +00:00
David J. Fiddes 0de3242fde Add details of main inverter wiring harness
This expands the rear inverter connector pinout to include the
wiring harness colours found on the Tesla harness (1067968-
02-E). Also, add details of the connector pin numbering and
physical layout. With these changes it is possible to test and
modify Tesla wiring harnesses more easily.

Add details of missing Stator Temp + and - signal.

Remove the PDF in favour of an ODS spreadsheet to allow
easier future revision.

Tests:
 - Cross check against Tesla wiring harness with a multimeter
2022-02-13 17:53:23 +00:00
Damien Maguire cad39290d3 Merge pull request #3 from davefiddes/master
Start a list of test points on the M3 inverter board
2022-02-10 17:01:53 +00:00
David J. Fiddes cf9e687d85 Start a list of test points on the M3 inverter board
A basic list of test points from inspection and measurement of
the board and gleaned from Damien's videos.
2022-02-10 14:57:09 +00:00
Damien Maguire 39f2b6ec93 Update README.md 2021-10-18 18:39:41 +01:00
Damien Maguire ecda39bf7e Add USB to JTAG adapter design files 2021-10-18 18:38:50 +01:00
Damien Maguire 7ff4b357af Create test.a 2021-10-18 18:37:55 +01:00
Damien Maguire f16a690744 Fix CAN GPIO error 2021-10-03 13:54:18 +01:00
Damien Maguire a97ad9ba6f Merge pull request #2 from davefiddes/master
LIN captures of Tesla FW control of M3 Oil Pump
2021-10-01 11:41:50 +01:00
David J. Fiddes 7f3c5c5a51 LIN captures of Tesla FW control of M3 Oil Pump
The change contains captures of the LIN interface connecting
the main M3 inverter to the oil pump. They were captured
with Saleae Logic 2.3.37 from power on of the inverter. The power supply was low (circa 11V) and the pump appeared stalled.

Startup_Oil_Pump_Disconnected - No oil pump connected
Startup_Oil_Pump_Connected - Normal operation from cold
Startup_Oil_Pump_Hairdrier-1 - Warm the oil pump casing
for about 30 seconds with a hair drier.
Startup_Oil_Pump_Hairdrier-2 - Warm the oil pump casing for 2-3 minutes with a hair drier.
2021-10-01 11:27:46 +01:00
Damien Maguire d6d8d3a6e6 Merge pull request #1 from davefiddes/master
Document details of the M3 inverter JTAG connector
2021-09-22 17:38:50 +01:00
David J. Fiddes b9c2463608 Document details of the M3 inverter JTAG connector
Compiled from these forum posts:
https://openinverter.org/forum/viewtopic.php?p=14739#p14739
https://openinverter.org/forum/viewtopic.php?p=19474&sid=5ffd673af86430a29c9e03ae60ca0871#p19474
and from board inspection.

The pin number is different from the previous notes but
matches the Hirose datasheet pin numbering.

Pin 8 and Pin 2 are verified to be no connect via magnifier. All
other pins have adjacent traces.
2021-09-22 16:33:52 +01:00
Damien Maguire 92da835930 Update README.md 2021-05-08 10:08:59 +01:00
Damien Maguire b19cdedd2f Add files via upload 2021-05-08 10:07:44 +01:00
Damien Maguire 9291f9014f Create test.a 2021-05-08 10:07:13 +01:00
Damien Maguire 2573cb2e3a Add files via upload 2021-05-08 09:26:35 +01:00
Damien Maguire 2f1a5edf3e Update README.md 2021-02-08 09:18:52 +00:00
Damien Maguire cac8200931 Update README.md 2020-12-11 09:06:16 +00:00
Damien Maguire 3503d36811 Add files via upload 2020-12-11 09:04:44 +00:00
Damien Maguire 0059958898 Update README.md 2020-12-02 09:08:00 +00:00
Damien Maguire 94a161b5f6 Add files via upload 2020-12-02 09:06:44 +00:00
Damien Maguire 72f63eb5a0 Add files via upload 2020-11-25 18:50:47 +00:00