Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

Acquire generated signal with this hardware ?

@ A.Polk

Thank you, this is very interesting and indeed it may be perfect for our application. I'm sending you a PM.

 

@Lynn

 I posted the photo only to show you the waveform, not for you to guess how it was made. ^^

But I think you're pretty close because I know for sure they used switches, and at least 2 power supply. The installation was kind of messy, but it worked.

 

Thank you.

 

 

0 Kudos
Message 11 of 30
(4,471 Views)

Have you used the NI9751 to solve this problem ?

I have an almost same question with yours, which is how to trigger an injector with NI9751, I have the examples but the core code has been locked by NI. I would appreciated if you can help me.

0 Kudos
Message 12 of 30
(3,604 Views)

Have you used the NI9751 to control an injector? I decide to trigger an injector with NI 9751, but I have no idea how to generated a sigal like the picture above. Is that just send an boolean to the I/O?  I'm very lucky because I think you are an expert. I would be appreciated if you can help me!

0 Kudos
Message 13 of 30
(3,605 Views)
@swqwlj

 

Have you downloaded the Powertrain Controls Device Drivers?  You must use the Powertrain Controls FPGA device drivers in the VI Package to interact with all Powertrain Controls cRIO modules.  NI-PCG modules are not supported in the NI-RIO drivers and cannot be interacted with directly via hardware I/O nodes.  Once you have downloaded the drivers, you should be able to use the included chm, context help, and hardware manuals to make progress.

0 Kudos
Message 14 of 30
(3,590 Views)

@A.Polk 

Thanks for your advice!

I know that , I have already configure that driver and now the preparation work has been done, and I also have the examples to programme, but the subVI, something important to me, is locked by NI. So I don't know how to generate the signal in the picture above by 9751.Can you show me an simple example?

0 Kudos
Message 15 of 30
(3,584 Views)

Which picture are you referring to?  Assuming you are talking about the injector current waveform, you would use the IPhaseArray at the RT level to configure up to 8 phases of current control.  Typically, the first phase or two use the high voltage "boost" supply to open the injector with a high peak current, followed by one or more phases of low voltage (battery) current control.  Details on the iPhaseArray can be found in the device driver context help and CHM.  

 

You have several options for triggering the injection.  First, you can use the "one-shot" feature to trigger a single injection event.  This is useful for calibrating your IPhaseArray.  For normal operation, the boolean inputs on the FPGA driver are used to trigger the timing and duration of each pulse.  This can be an engine-synchronous trigger (see our Engine Position Tracking VIs), a simple PWM, or other custom trigger.  For more a more detailed look into creating engine-synchronous pulse strategies, check out the EPTx Extended example, which contains some unlocked VIs you may be interested in.

0 Kudos
Message 16 of 30
(3,570 Views)

You are right, I want to generate a signal, which is inject current waveform, to trigger an injector. It is not refer to the EPT data, it is supposed to be an one shot feature to trigger a single injector event. However, I'm a newbie for cRIO so I'm confused about this simple program. I'll take your advice and I'm very appreciated, I'll have a try. 

Thank you very much!

0 Kudos
Message 17 of 30
(3,564 Views)

@A.Polk

Mr. Polk, I failed and I am still confused about how to control an solenoid injector by NI 9751. 

The first figure is from the example "NI 9751(DI)-RevD.lvproj", and I guessed I should send a series of boolean to the FPGA I/O. So I decicded to send the PWM to the I/O, my VI is shown in figure 2 and figure 3, and I had tried all the possible combinations of the boolean value,as the oscilloscope was connected to DIO1 and DIO2. However,the oscilloscope had no signal shown in the screen. I think I have no truly understanding of NI 9751.

 

My task is to trigger an injector by clicking the mouse, not by EPT(engine position tracking) data, but I think there is something common in these two methods.

 

So my question is how to trigger an injector by NI 9751? Where is wrong in my VI, and how to improve it. I ask so many engineers in NI company but they have no experience about this,the user manual and examples is also unclear.

example.jpgBlock Diagram.jpgFront Panel;jpg

0 Kudos
Message 18 of 30
(3,510 Views)

swqwlj,

 

Take a look at the bottom of your module.  There should be a sticker that shows the hardware revision.  If purchased recently, it should be a RevF5.  Be sure to use the DI Calibrator example that matches the revision of your module.  Before modifying the VIs at all, be sure you can run the examples as-is.  The more recent driver revisions are much more user friendly and hopefully you will find them intuitive.

0 Kudos
Message 19 of 30
(3,506 Views)

swqwlj,

 

If your goal is to run a simple one shot, you won't need to write any code. If you want the DI scope to work for a Rev F5 module, just open the DI Driver Express VI and configure it for the right slot and to have the scope on. Then compile the FPGA VI and run the RT in the NI 9751 Rev F5 Example. Make sure that your RT VI is referencing the correct FPGA VI and then setup the RT interface properly. You'll need to set up an I Phase Array on the Current Profile tab. Then, enable the channel, the module, HV, and Injection, and you can use the One Shot on the RT Front Panel to command one shots to your injector. 

Again, you do not need to write any additional code. You only need to configure and compile the VIs in the project to your specific hardware (cRIO or PXI FPGA target).

 

Adam

0 Kudos
Message 20 of 30
(3,483 Views)