Skip to content

Pre v0.3x hw changes#61

Draft
martinroger wants to merge 16 commits into
mainfrom
pre-v0.3x-HW-changes
Draft

Pre v0.3x hw changes#61
martinroger wants to merge 16 commits into
mainfrom
pre-v0.3x-HW-changes

Conversation

@martinroger

@martinroger martinroger commented Mar 5, 2026

Copy link
Copy Markdown
Owner
  • DNPs updated based on minbuild
  • Removal of unused Vsense circuits from board
  • Internal harness schematic
  • Pull-up on boot line to avoid wake-ups in download mode
  • Insertion of 40106 inverter Schmitt triggers, double pass before 4050 with protection diodes to 12V_PROTECTED (Should resolve ITF - Finalize denoising circuit on pulse buffer #58 )

@martinroger martinroger linked an issue Mar 5, 2026 that may be closed by this pull request
2 tasks
@martinroger martinroger marked this pull request as draft March 5, 2026 22:08
@martinroger martinroger moved this to In progress in VX Dash Mar 5, 2026
@martinroger

martinroger commented Mar 8, 2026

Copy link
Copy Markdown
Owner Author
  1. 40106 used as a wave shaper with the 4050. Inputs protected to stay within VDD+0.5V with RC stage and BAT54SW diodes :
image
  1. RPM and WaterT channels swapped around to simplify layout
image
  1. DNP load emulators to minimum build
image
  1. Excluded two VSENSE from board because they are not used. Option to use one of the ADS inputs as a 3V3 reference voltage for comparison.
image
  1. Added pull up and made capacitor optional on Boot button circuit to avoid accidental startups in "Download mode" when capacitor is fully discharged.
image

Layout for 40106 added near the 4050
image

@martinroger martinroger marked this pull request as ready for review March 8, 2026 13:11
@martinroger martinroger requested a review from Alex-XNR March 8, 2026 13:11
@martinroger martinroger self-assigned this Mar 8, 2026
@martinroger martinroger moved this from In progress to In review in VX Dash Mar 8, 2026
@martinroger martinroger linked an issue Mar 8, 2026 that may be closed by this pull request
@Alex-XNR

Alex-XNR commented Mar 8, 2026

Copy link
Copy Markdown
Collaborator

Something I've noticed/thought about on the original pulse buffer circuit is that both input and output signals are capacitively loaded quite heavily with the 100nFs. This may cause ringing and slower slew rates (and put stress on the line driver).
For simplicity sake, it could be that by just adding 100ohm resistors in series with the input and output signals without any capacitance (or very small <1nF to make an RC network) would help out here. Space for parallel resistors (100k maybe) could also help to terminate/load the line and prevent ringing.

Perhaps worth allowing for both the proposed Schmitt-trigger circuit as well as a more simple option, to rule it out?

@martinroger

martinroger commented Mar 8, 2026

Copy link
Copy Markdown
Owner Author

Something I've noticed/thought about on the original pulse buffer circuit is that both input and output signals are capacitively loaded quite heavily with the 100nFs. This may cause ringing and slower slew rates (and put stress on the line driver).

Yeah, I think the 100nF input + output strategy was some poor mistake on my side. For board number 2 (the "min build), I actually built it without the output caps and with 22pF input caps only, and it is the board that was used to get the CAN logs and that shows the rare-but-not-absent occasional pulse "panic". I still need to try and trace the odometer to see if some of the pulse surges were missed by the fast metrics signals but still integrated in the pulse counter.

I don't have logs of the original "100nF" board 1 on an actual drive because I didn't receive the displays in time for that. I should try and remedy this in the coming weeks, pending the punishing repair of the water pump...

image

For simplicity sake, it could be that by just adding 100ohm resistors in series with the input and output signals without any capacitance (or very small <1nF to make an RC network) would help out here. Space for parallel resistors (100k maybe) could also help to terminate/load the line and prevent ringing.

Where would you put the parallel resistors ?

Perhaps worth allowing for both the proposed Schmitt-trigger circuit as well as a more simple option, to rule it out?

I can definitely try to add some room for the pads. It's getting a bit crowded but not unfeasible. 100Ohm resistors as close as possible to the 4050, I imagine ?

@martinroger

Copy link
Copy Markdown
Owner Author

Ok, it's not pretty but it should be functional :
image
When using solder bridges JP13-15, C65-67 can be used for a small extra capacitance with a 0-Ohm on R143-145. In those cases, BAT54SW and the 40106 should be left unpopulated.
Also 100k added for each input to ground, and an inline 100R (I still need to assign a component to it, but for now 0603 as usual).

PCB is getting crowded and not so pretty, but I guess given this is not yet production release, we can do some de-populating once there is something that works fine.

image image

@martinroger martinroger marked this pull request as draft March 9, 2026 22:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

Status: In review

Development

Successfully merging this pull request may close these issues.

ITF - occasional starts in Download mode ITF - Finalize denoising circuit on pulse buffer ITF - Generate Lite build BOM

2 participants