detection anti-pinching

General discussion relating to the library modules supplied with the compiler

Moderators: David Barker, Jerry Messina

Post Reply
sygma22
Posts: 30
Joined: Tue May 27, 2008 1:47 pm
Location: FRANCE
Contact:

detection anti-pinching

Post by sygma22 » Thu Jul 24, 2008 1:18 pm

Hello,

J' have a problem with detection anti-pinching.
A signal of 12 Volt modulated in PWM.

J' placed in Parallel a small resistance network with the recovery of the tension towards the Moteur exit.

I thus recover well this signal decreased with 4,7 Volts (crenels maximum) in analogical entry on A0.

Only I n' do not arrive has well to configure the functions of
- adc. Read (0) or - ReadMean, setfreq.

Because normally, if I block the engine with the hand, l' intensity the beam becomes more important!

Here my configuration for a Quartz with 20 MHz. ADC.SetAcqTime (11) ADC.SetConvTime (FOSC_32). Anybody could it m' to help?
My first interest is working with a PWM signal.

Motor : 24 Volts 4 or 5 A.

richardb
Posts: 306
Joined: Tue Oct 03, 2006 8:54 pm

Post by richardb » Thu Jul 31, 2008 9:06 am

could you post again in french.
Hmmm..

sygma22
Posts: 30
Joined: Tue May 27, 2008 1:47 pm
Location: FRANCE
Contact:

Detection anti-pincement / sortie Moteur avec un signal PWM

Post by sygma22 » Thu Jul 31, 2008 11:39 am

Bonjour,

Un signal PWM est injecté sur un moteur forcé manuellement à l'arrêt..

J'ai placé un réseau de résistance sur cette sortie moteur pour obtenir ce même PWM signal de 12 V ----> +0 - 5 Volts.

Si je bloque le moteur manuellement, je dois avoir une intensité traversant la bobine du moteur (P = U * I) plus importante.

Seulement quand j'Analyse le Spectre du signal pendant cette phase, je ne detecte aucun chagement du signal car, normalement, la moyenne des crêtes (volt) diminue en sortie du moteur puisque la puissance dissipée reste constante d'où : si P reste constant = I > et U <.

D'avance merci pour votre réponse.
Cordialement, Stéphane. :( :? :(
My first interest is working with a PWM signal.

Motor : 24 Volts 4 or 5 A.

richardb
Posts: 306
Joined: Tue Oct 03, 2006 8:54 pm

Post by richardb » Sat Aug 02, 2008 8:56 am

sorry i still dont understand what you want to know.
Hmmm..

sygma22
Posts: 30
Joined: Tue May 27, 2008 1:47 pm
Location: FRANCE
Contact:

Also Thank's, it's not have been with not courage !

Post by sygma22 » Sat Aug 02, 2008 10:53 pm

Danke ![/quote]
My first interest is working with a PWM signal.

Motor : 24 Volts 4 or 5 A.

Post Reply