DSM CAS Signal DAQ Measurement
Moderators: jsmcortina, muythaibxr
DSM CAS Signal DAQ Measurement
I hooked my DSM CAS up to my MicroDAQ to test it's signal. I used analog inputs on the DAQ with the Crank and Cam inputs. The CAS was powered by a 2 AMP power supply.
Here is what the signal looked like:
I kept the speed constant with a drill.
To me it doesn't look very good. It is possible that I didn't acquire the signal properly. Would this signal be digital?
Update 03/28/2017
You can see it working properly at the end of this post http://www.msextra.com/forums/viewtopic ... 24#p498224
Here is what the signal looked like:
I kept the speed constant with a drill.
To me it doesn't look very good. It is possible that I didn't acquire the signal properly. Would this signal be digital?
Update 03/28/2017
You can see it working properly at the end of this post http://www.msextra.com/forums/viewtopic ... 24#p498224
Last edited by jsdevel on Tue Mar 28, 2017 1:01 am, edited 2 times in total.
-
- Site Admin
- Posts: 39617
- Joined: Mon May 03, 2004 1:34 am
- Location: Birmingham, UK
- Contact:
Re: DSM CAS Signal
Sounds like you missed out the necessary pullup resistors.
James
James
I can repair or upgrade Megasquirts in UK. http://www.jamesmurrayengineering.co.uk
My Success story: http://www.msextra.com/forums/viewtopic ... 04&t=34277
MSEXTRA documentation at: http://www.msextra.com/doc/index.html
New users, please read the "Forum Help Page".
My Success story: http://www.msextra.com/forums/viewtopic ... 04&t=34277
MSEXTRA documentation at: http://www.msextra.com/doc/index.html
New users, please read the "Forum Help Page".
Re: DSM CAS Signal
Doh! I certainly did. I hooked the crank/cam output wires directly to the DAQ. Would a resistor in parallel to ground keep the signal from floating? Do you have a circuit I could follow?
Re: DSM CAS Signal
check the hardware manual about open collector hall /optical sensors and pull ups
Linfert Performance/321 Motorsports
SCCA 2019 SM National Champion Crew Chief
SCCA 2023 FP National Champion Tuner/electrical engineer
100s of MS systems built installed and tuned
Support the developers!
SCCA 2019 SM National Champion Crew Chief
SCCA 2023 FP National Champion Tuner/electrical engineer
100s of MS systems built installed and tuned
Support the developers!
Re: DSM CAS Signal
I gather that I'll need to replicate the transistor/resistor circuit from 5.2.4 on a breadboard then?
-
- Site Admin
- Posts: 39617
- Joined: Mon May 03, 2004 1:34 am
- Location: Birmingham, UK
- Contact:
Re: DSM CAS Signal
That pull-down would ensure the signal is ground permanently. Not what you want.jsdevel wrote:. Would a resistor in parallel to ground keep the signal from floating?
James
I can repair or upgrade Megasquirts in UK. http://www.jamesmurrayengineering.co.uk
My Success story: http://www.msextra.com/forums/viewtopic ... 04&t=34277
MSEXTRA documentation at: http://www.msextra.com/doc/index.html
New users, please read the "Forum Help Page".
My Success story: http://www.msextra.com/forums/viewtopic ... 04&t=34277
MSEXTRA documentation at: http://www.msextra.com/doc/index.html
New users, please read the "Forum Help Page".
-
- Site Admin
- Posts: 39617
- Joined: Mon May 03, 2004 1:34 am
- Location: Birmingham, UK
- Contact:
Re: DSM CAS Signal
The hardware manual covers cam inputs. See those sections.
James
James
I can repair or upgrade Megasquirts in UK. http://www.jamesmurrayengineering.co.uk
My Success story: http://www.msextra.com/forums/viewtopic ... 04&t=34277
MSEXTRA documentation at: http://www.msextra.com/doc/index.html
New users, please read the "Forum Help Page".
My Success story: http://www.msextra.com/forums/viewtopic ... 04&t=34277
MSEXTRA documentation at: http://www.msextra.com/doc/index.html
New users, please read the "Forum Help Page".
Re: DSM CAS Signal
Thanks James! Also, I realized that I connected the signal wires to analog inputs on my DAQ. Is the output of my CAS digital? (Sorry up front for being a noob)
Re: DSM CAS Signal
I don't think I had the crank/cam signals attached to my DAQ properly. Also, I was powering my CAS with a PS while the DAQ was powered by my laptop (running off of batter). I believe this is the proper configuration that I should be using.
Re: DSM CAS Signal
For a noob like myself, I must say that Chapter 4 of this http://www.mccdaq.com/pdfs/DAQ-Signal-Connections.pdf manual is providing some excellent clarification and instruction
-
- Site Admin
- Posts: 39617
- Joined: Mon May 03, 2004 1:34 am
- Location: Birmingham, UK
- Contact:
Re: DSM CAS Signal DAQ Measurement
To get a signal from the CAS you need a pullup resistor as I said earlier. E.g. 1k 1/4W from signal line to 5V
James
James
I can repair or upgrade Megasquirts in UK. http://www.jamesmurrayengineering.co.uk
My Success story: http://www.msextra.com/forums/viewtopic ... 04&t=34277
MSEXTRA documentation at: http://www.msextra.com/doc/index.html
New users, please read the "Forum Help Page".
My Success story: http://www.msextra.com/forums/viewtopic ... 04&t=34277
MSEXTRA documentation at: http://www.msextra.com/doc/index.html
New users, please read the "Forum Help Page".
Re: DSM CAS Signal DAQ Measurement
I think I get it now. So an open collector switches to ground when on and is otherwise floating. That's why the pull up resistor to 5v is needed to keep the signal either 0v or 5v correct?
Re: DSM CAS Signal DAQ Measurement
Success! Thanks for the help guys!
I was able to successfully measure the signal from my CAS and verify that it's working properly. Interestingly enough, I was able to acquire the signal without the pull-up resistors. Another oddity is that using a power drill completely skewed the reading (lots of missing teeth, false fires). I'm thinking the drill was a major source of EMI. Turning the disk by hand with a screwdriver made for a nice clean signal as you can see below.
Previously on my MS install I had been using the 12v source/ground for the CAS; however, powering the CAS with the 5v from the DAQ worked just fine. Would it be preferable to power the CAS from the 5v/ground pair on the megasquirt?
Here is how I had the CAS connected to my DAQ:
Here's the signal I was able to capture with DAQami (using Channel A0 for Cam and B0 for Crank):
I was able to successfully measure the signal from my CAS and verify that it's working properly. Interestingly enough, I was able to acquire the signal without the pull-up resistors. Another oddity is that using a power drill completely skewed the reading (lots of missing teeth, false fires). I'm thinking the drill was a major source of EMI. Turning the disk by hand with a screwdriver made for a nice clean signal as you can see below.
Previously on my MS install I had been using the 12v source/ground for the CAS; however, powering the CAS with the 5v from the DAQ worked just fine. Would it be preferable to power the CAS from the 5v/ground pair on the megasquirt?
Here is how I had the CAS connected to my DAQ:
Here's the signal I was able to capture with DAQami (using Channel A0 for Cam and B0 for Crank):
Re: DSM CAS Signal DAQ Measurement
Attaching my DAQami configuration used for this test.