PDA

View Full Version : ABS brake Pic code with 16f917 mcu



Foodie
- 25th November 2009, 10:02
We have made a construction for a mechatronic course. The construction is like this:

http://i7.photobucket.com/albums/y290/Foodie/ABS_Bremse.png

Our problem is simply the code for the 16f917 mcu, which we are gonna program with pic code.

We need to convert the analog signal from the electric motor (tachometer), to digital signal. The axel will be powered by a drilling machine. The digital output should be computed and the solenoid should react to that input.

Like if the digital signal reads zero very quickly (quick deacceleration), the solenoid should brake with a pulse to prevent the "wheel" from blocking. And if the axel doesnt spin and you brake, the solenoid shouldnt brake with a pulse, but just normal.


We have completly newbs at this, and understand absolutely nothing, so plz we would appreciate language that everyone understands :)

If someone knows of a website or something else, plz link to it :P

Thx in advance :)

Acetronics2
- 25th November 2009, 10:26
Hi, Foodie

Something like that ???

http://www.vgies.com/downloads/EME31_TD4_enonce.pdf

...

remember : Google is your friend ...

Alain

PS: BTW : which programming language, max speed and deceleration of your device, solenoid characteristics ... etc, etc, etc ...

RePS : It's YOUR Homework, no ??? ... Help on How to realize the " functions " in PIC Language is a Honorable Forum matter ...

Doing YOUR Work means you give us money .... Ok ???

Foodie
- 25th November 2009, 11:29
Since this is a support forum i guess its the right place? And noone demands you to help, i was just asking here, since this is a Pic Basic support forum? Or am i wrong?

And we dont understand french...

Acetronics2
- 25th November 2009, 12:58
Hi Foodie ...

You do not understand at all , I think ...

A SUPPORT forum is to help people to understand the compiler use ...

NOT to give them " ready to burn " programs ...


Here, you are explaining What you want to see your MACHINE doing ...



We have completly newbs at this, and understand absolutely nothing


so, Understand we also are totally newbies, and we do not understand anything to Physics, Mechanics Or Dynamics ... or even Solidworks, but ONLY informatics and electronics.

"Foucault" will be the extreme limit ...




If someone knows of a website or something else, plz link to it :P


That was exactlywhat done ... it seems. Was the only link returned by Google, BTW ...



And we dont understand french...


so, may be you can understand how translators work ???


A little ( just a little ...) effort from you is welcome ... isn't it ???

Alain

PS : that reminds me someone coming from Germany with surprising projects ... Pseudo was : "Selbstdual" ...

rePS: May be we ALSO could understand German ... with a little effort. Danish is too much ( Pastries only ... )


Other links :

http://www.conatex.com/mediapool/betriebsanleitungen/BAD_2003649.pdf

http://books.google.fr/books?id=CB9GaAU1dwsC&printsec=frontcover&source=gbs_v2_summary_r&cad=0#v=onepage&q=&f=false

...

Archangel
- 26th November 2009, 20:58
ABS on a car works by comparing all the wheel speeds and pulsing the brake on the slow one. You have only a single "wheel" so a different tact is in order, you could compare the RPM vs time to a lookup table and pulse the brake if the curve is too fast, or you could give your BRAKE some room to travel against spring tension and sense if the travel is consistent with over braking, and if it is pulse the Brake then. Easy to do using interrupts.