It is 100% torque control with no braking effect for partial throttle or throttle closed (partial throttle just gives partial torque, throttle closed gives 0 torque).FelixSphere wrote:Really an amazingly great job Lebowski. I am pulling my hat. But I still have a question. Maybe I was just too stupid to find it in the posts, but....how does the controller behave ? Is it a pure torque control or speed control ? I am currently using a Kelly KBX which also claims to support "torque", but in reality it is not a real torque mode. As I am using it in an electric trial bike the following happens: Open throttle -> Motor accelerates (so far not too bad ) Close throttle completely, motor runs freewheel (perfect). But if I do not close the throttle completely the controller brakes the motor. Before I start to build a controller, I want to be 100% sure that the controller behaves 100% torque controlled. Means Opening the throttle accelerates, closing the throttle has no braking effect. Thanks a lot for any experience or feedback.
liveforphysics wrote:second it doesn't spin it up to peak RPM instantly.
put that in your signature mateArlo1 wrote:If you need cruise control you are going to slow.
I could use my Cycle Analyst, sure. Set max speed/current. You're still hanging onto the throttle all the time tho' - a pushbutton solution would be best IMO.Animalector wrote:Cycle analyst will still work just fine and allow quick changing of the current settings speeds etc.
Edit... I think....
Sorry if OT, but you might want to consider the ESP32 (SJA1000 CAN), & there's a CAN driver now: https://hackaday.io/project/20204-esp32-can-driver (no shield, WiFi & loads of power).Arlo1 wrote:I have a CAN project I could use help with. PM me. I'm going to use a Arduino and a sheild
The CAN bus is used for sharing throttle information between different (similar) controller IC's. 3 words (6 bytes) are transmitted and received, 2 containing throttle infor of the 2 throttles and the 3 word, only one bit is used for forward/reverse. It does not confirm to any higher CAN automotive protocol or anything like that. You cannot read out registers or anything like that, some info is available though via the RS232 (motor speed, voltages, current etc).FelixSphere wrote:Hi all, just received my chips from Lebowski will start building a controller next week once the pcbs touch down. I read myself through the manual and the thread but could not find help on the CAN options. Usually with CAN you call or write to receivers and their registers. In this case I guess this is somehow serial over CAN ? What I would like to achieve is to read some values like rpm, amps, etc and control throttle. So....what else offers the CAN interface (e.g braking, reverse ?) Or can I even write acceleration curves to it, kinda "configuration" ? Or ... has anybody built an e.g Arduino (Duo supports CAN) sample application ? Appreciate any input As I am coming from hardware and software engineering I would love to share a project for a CAN/Bluetooth/WiFi/Display/Whatever unit with you.
Thanks in advance.
No negative throttle = regen.FelixSphere wrote:OK, got you. I guess the throttle values will become negative when I go into reverse, right ? So it seems I need to get/set the values from serial, which is not a big deal technically. But it looks like I can's get the rpms, Will continuous reading of the serial affect any other tasks of the controller ?
You can find some information in the manual, topic "j) CAN Setup", page 21.bobc wrote: 2) I'd be very interested in what RS232 info is available while running - is that in one of the threads? can someone point to it? If not can lebowski give us a precis? (e.g. baudrate & data description/format) I'm sure I should have seen it somewhere & have simply missed it......
Two controllers will not be synced, what happens is they share throttle data.FelixSphere wrote:ok, but ..... how do you sync two controllers: one turns clockwise and the other one counterclockwise ?
Throttle values are transmitted over CAN, as the CAN bus has error detection for transmission errors. You don't want sudden full power because the RS232 has a read error !FelixSphere wrote:OK, got you. I guess the throttle values will become negative when I go into reverse, right ? So it seems I need to get/set the values from serial, which is not a big deal technically. But it looks like I can's get the rpms, Will continuous reading of the serial affect any other tasks of the controller ?
It doesn't really tell much about the controller capabilities (it says 'FOC algorithm') but not much more. It seems to have hardware current protection with I did not add to my board. My board should be seen as a demonstrator board, like you can buy demonstrator boards for FPGA's and things like that. My board is a fully funtional controller and uses all the capabilities of the controller IC but it does not have additional overcurrent protection or interfaces to commercial power stages.hal2000 wrote:Is this work by elis over in diy electric car similar to your brain board, if so could you compare and contrast the two. http://advantics.fr/umc-drive-3-0-unive ... ontroller/