FOC_KING - 84V 150A, open source vesc6 board V2.0.1. JLCPCB order

Your link help me to know what kind of specs is the component, but LCSC show it: “The part does not exist”


I will find another to replace it

thanks Bro

image
Vesc project L1 = 22U
C1046 = 10n
C356925 = 15mA 10uH ±10% 1.15Ω 0805 Inductors

Which one is correctly, 22U or 10uH ?

I don’t get what this is all about?
C7171 is certainly available:
TAJA106K016RNJ Kyocera AVX Capacitors | 10uF 16V 3Ω@100kHz ±10% CASE-A-3216-18(mm) Tantalum Capacitors | LCSC Electronics

1 Like

He wants to solder the smd parts himself, so it might not be available as a part from lcsc.

2 Likes

Please feed us with your progress, and in case of any problems, ask for help :slight_smile: I’m sorry that the assembly guide is not completely up to date - ask if anything is unclear.

i am will put ein version 2.0.1 in a board this week so we will know if everything works as intended. On the test bench it seams to work.

4 Likes

Still I would advise you to use the “single_bridge_duty” command which I have added to the Vesc firmware. It allows you to “probe” each phase - whether the phase works using low amperage like 0.1A. You don’t fry the board if there’s a short, and you get a chance to fix it.
Assembly Guide (see section 8)

3 Likes

I would like to use the opportunity to thank some of the very helpful people on this thread in this forum that makes it all possible…

If you can forgive me for going off topic, I would also like to advertise that I’m professionally out of work at the moment, as I quit my job about a month ago. (I generally liked to job, but not how project management was handled)

Job application
I’m an engineer living in Aarhus, Denmark. If any of you have suggestions of a job where I might fit in, please reach out. I am very open to remote work also, if that is a possibility.

My LinkedIn profile

Thanks

6 Likes

I receiced more parts today :star_struck:. So far I’ve only verified the power supply (without load) and the pill (without IMU, I must have failed to solder it properly :frowning:) individually.

The pill runs as expected so far. The PSU, without load has a very high ripple (>700mV) on 12V (blue), 5V (orange) is stable.

I also refered to Update assembly instructions for 1.0 release · Issue #8 · nordstream3/FOC · GitHub which has some helpful pictures for assembly.

3 Likes

And Shambler, does the push button work as expected? Did you try that?

Hi Jens,

first of all very nice project you have here!
I registered because I possibly stumbled across an issue:
You made a split termination for the can bus. Is there a special reason you chose 2x 100Ohm instead of 2x 60Ohm resistors for this? I am not an expert on that, but I only find references with 60Ohm…

So in the schematics it looks like this:
image

Benjamin Vedders Vesc6.4 schematics look like this:
image

I think the split termination is something I copied directly from the Cheap Focer 2 design. As you can see, Ben Vedder doesn’t use 120 ohm termination either, but close to 2 x 100 ohms (220 ohms)

Sorry, I can’t give you a proper answer. It’s something I took from another design (Cheap Focer 2)

I would probably be a good idea to switch to Ben Vedders’s schematics for the CAN circuit in a future FOC_KING version. I guess C1 and C2 caps are not necessary, and should be removed.

Wouldn’t it be better to follow the standards instead of following Vedder’s design?

hello. i ordered some pcb without IMU unit. i want to ask if it will work without IMU unit? should i change anything? thank alot

not yet but i order one it will arrive this week

yes that works

2 Likes

you can’t just assume ppl will use thier own brainpower :smiley:

If I’m not misstaken vesc implements low speed CAN. Where its recommended that each node is terminated. For high speed CAN usually the first node and the last node are the only ones terminated.

It all depends on the amount of devices on the buss. the 120 Ohm termination assumes that theres not alot of devices on the same buss (maybe 1-3 at most).

Since each node should have its own termination, each new termination puts the resistors in parallell effectivly decreasing the termination resistance.
So for 220 Ohm, with 4 devices present the termination is roughly 55 ohms. The lower you go, the higher load is on the buss, eventually it just becomes too much to drive. I’m guessing Benjamin has looked at the waveforms for most common VESC setup and ended up with 220 Ohm as a good value. If there are even more CAN nodes then this value could be bumped up further.

3 Likes

As far as I could find now, you can adjust the CAN speed in VESC.
Low speed CAN is 125Kbit/s only. So if you want to support let’s say 1Mbit/s CAN, as far as I understand, you want to have proper termination in place (actually because of the signal on the lines start to reflect at the line ends with higher frequencies, which can cause quite some errors)

Browsing a bit around, I can find some people, especially some trying to hook up several VESCs over CAN bus, that seem to have issues related to the communication between the controllers.

I guess you are right linsus, the resistors are chosen for a special usecase (originally in the VESC schematic, but also in the cheap focer). However, if you ask me, this should be pointed out in the ‘specs’ section, especially since the CAN bus is normally chosen because of its reliability…

Ideally ofc you keep the specs, but change the resistors to 60Ohm. The capacitors are also good, its for noise filtering. In an even more ideal case, you add a switch for the termination, so people can daisy-chain how they want (now I ask too much, I know it :smile: )

How to get the VESC updated source for FOC_KING

If any of you tried to get the source code for FOC_KING and failed at doing that, the reason is that there’s an error in the patch command stated in the documentation. The “p1” flag should be “p2” instead.

The correct patch command is:
patch -p2 -d ./bldc-release_6_05/ < vesc_foc_king20_bmi270.patch

Sorry, I’m not able to update the documentation, because I (hopefully temporarily) cannot access my github account. :worried:

2 Likes