National Instruments D000017 Rev B Скачать руководство пользователя страница 16

Drivven, Inc. 

 

Throttle Driver Module Kit 

  © Drivven, Inc. 2009 

• Throttle Driver Module Kit User’s Manual • D000017 • Rev B 

16

 

Sub VI Documentation 

 
throttle_revb.vi 

This VI is for interfacing directly with the Drivven Throttle Driver module and for providing a 
control interface to the LabVIEW RT level.   
 
The FPGA VI must be placed within a Single Cycle Loop (SCL) of a LabVIEW FPGA block 
diagram.  The SCL must execute at the default clock rate of 40 MHz. 
 
The FPGA VI requires a pre-synthesized netlist file having a matching name and an extension of 
.ngc.  The netlist file must be located in the same directory as the matching VI.  The installer will 
place this file in the LabVIEW addons directory along with the FPGA VI. 
 
The PinInput and PinOutput clusters are wired to LabVIEW FPGA I/O nodes which are configured 
for a cRIO controller chassis or a cRIO R-Series expansion chassis.  Refer to the LabVIEW 
FPGA documentation for details about creating and configuring FPGA I/O nodes. 
 

Connector Pane 

 

 

Controls and Indicators 

 

 

ThrottleControl

 This cluster contains the main enable Boolean, watchdog Boolean and 

PWM parameters for each H-Bridge channel. 
 

 

 

ModuleEnable

 If a throttle driver module is inserted in the proper slot, externally 

powered, and ModuleEnable is TRUE, then software begins communicating with 
the module and allows the module to operate.  When the module is properly 
recognized, then the ModulePresent Boolean within the ThrottleData cluster will 
be set to TRUE. 
 

 

 

WatchdogIn

 WatchdogIn must be toggled at a rate greater than or equal to 

10Hz.  This should only be performed at the RT level.  DO NOT toggle the 
watchdog at the FPGA level.  Toggling the watchdog at the FPGA level would 
bypass the software safety feature for which it is intended. 
 

 

 

Throttle1Period

 The time period between leading edges of the PWM pulse train 

to h-bridge circuit 1.  Throttle1Period is entered in terms of 4 MHz clock ticks.  
This provide a maximum period of 8.192 milliseconds or a minimum frequency of 
122 Hz, and a resolution of 250 nsec. 
 

 

 

Throttle2Period

 The time period between leading edges of the PWM pulse train 

to h-bridge circuit 2.  Throttle2Period is entered in terms of 4 MHz clock ticks.  
This provides a maximum period of 8.192 milliseconds or a minimum frequency 
of 122 Hz, and a resolution of 250 nsec. 
 

 

 

Throttle1PulseWidth

 The time during each Throttle1Period in which the PWM 

pulse train to h-bridge circuit 1 is active.  This value is signed, and represents 
direction of current flow through the h-bridge circuit.  A positive value represents 
positive current flowing from terminal H1B to H1A.  Throttle1PulseWidth is 
entered in terms of 4 MHz clock ticks.  While Throttle1PulseWidth is 0, h-bridge 
circuit 1 will remain inactive.  While Throttle1PulseWidth is greater than or equal 
to Throttle1Period, h-bridge circuit 1 will remain fully active.  This condition 

Содержание D000017 Rev B

Страница 1: ...ivven Inc 12001 Network Blvd Bldg E Suite 110 San Antonio Texas 78249 USA Phone 210 248 9308 Web www drivven com E mail info drivven com Throttle Driver Module Kit User s Manual D000017 Rev B March 20...

Страница 2: ...v B 2 Contents Introduction 3 Pinout 4 Hardware 5 Powering the Module 5 Platform Compatibility 6 H Bridge Drivers 8 Analog Inputs 8 Software Installer 12 Creating a LabVIEW Project 14 Sub VI Documenta...

Страница 3: ...A VI for controlling two H Bridge driver channels independently Also provided are a set of RT VIs which allow the user to calibrate the throttle control algorithm in engineering units The FPGA VI may...

Страница 4: ...Drivven Inc Throttle Driver Module Kit Drivven Inc 2009 Throttle Driver Module Kit User s Manual D000017 Rev B 4 Pinout...

Страница 5: ...ew terminal connector The terminals are labeled BATT 0 and GND 9 Typical power sources will be from automotive 12V or 24V battery systems However the module can accept power from a range of 6V to 32V...

Страница 6: ...is must be connected to the PXI FPGA card via a SHC68 68 RDIO cable The CompactRIO modules insert into the R Series expansion chassis This platform is shown in Figure 1b below Figure 1b PXI platform c...

Страница 7: ...ications of NI modules may not apply when used in a system with Drivven modules Warranted specifications are guaranteed for all NI modules except thermocouple modules when used in a system with Drivve...

Страница 8: ...ic Throttle Driver Module provides two external analog inputs for accepting 0 5V signals The primary purpose of these inputs is for measuring potentiometer voltages A regulated 5V output and ground te...

Страница 9: ...ver when two electronic throttle bodies are used only one position signal from each throttle may be connected to the module and redundant throttle position is not available However the additional posi...

Страница 10: ...onic throttle bodies Table 1 Connection table specific for standard Bosch DV E5 electronic throttle bodies DV E5 Pin Description Module Terminal Throttle1 Throttle2 Description 1 Motor T2 T4 H1A H2A 2...

Страница 11: ...Diameter mm Bosch Part Number 32 0 280 750 148 40 0 280 750 149 60 0 280 750 151 68 0 280 750 152 The following connector parts for standard Bosch throttle bodies are available through Drivven if a t...

Страница 12: ...and open the example project to experiment with the module or use as a starting point for a new application All software files example projects and documentation are installed to C Program Files Nati...

Страница 13: ...vx vi along with additional calibration values One or two instances of this VI may be used depending on the number of throttle driver channels being utilized The resulting period and pulsewidth output...

Страница 14: ...click on the RT target within the project and navigate to New Targets and Devices 8 Within the Add Targets and Devices dialog select the appropriate radio button depending on whether you already have...

Страница 15: ...ed in the block diagram when connecting the module VI PinInput and PinOutput clusters to FPGA I O nodes The example application discussed below should be consulted for further details about connecting...

Страница 16: ...module to operate When the module is properly recognized then the ModulePresent Boolean within the ThrottleData cluster will be set to TRUE WatchdogIn WatchdogIn must be toggled at a rate greater than...

Страница 17: ...le2Period h bridge circuit 2 will remain fully active This condition should be avoided Otherwise an over current or over temp fault will result ThrottlePinInput These Boolean controls must be connecte...

Страница 18: ...revx vi may be used for monitoring or control purposes If the external analog inputs are used for position control feedback then they must be converted to throttle angle by means of a transfer functio...

Страница 19: ...ed ThetaLHErrThresh deg Limp home compensation uLHc is updated when ThetaR is within ThetaLHErrThresh degrees of ThetaLH above or below ULH V Voltage added or subtracted to the PID output when ThetaR...

Страница 20: ...ned integer of 4 MHz clock ticks required to achieve the PWM duty cycle calculated by the throttle_rt_control vi Should be wired to the FPGA to the throttle_revx vi ThrottleControl cluster for the des...

Страница 21: ...nput 2 Battery V The filtered battery voltage supplied to the module Temperature C The filtered internal module temperature ModulePresent When TRUE then software has properly detected a Throttle Drive...

Страница 22: ...Drivven Inc 2009 Throttle Driver Module Kit User s Manual D000017 Rev B 22 Fault2 When TRUE then an over current or over temperature fault has occurred with h bridge circuit 2 and operation will be i...

Страница 23: ...onic throttle bodies typically have stiffer spring return rates applied to angles below the limp home region 3 A limp home compensation value is added to the PID value to assist with travel through th...

Страница 24: ...It is recommended that the user begin control calibration with zero for all Lead Lag PID and compensation calibration parameters Begin tuning PID gains for angles above ThetaLH Then introduce TLead an...

Страница 25: ...turing products in an environmentally responsible manner NI recognizes that eliminating certain hazardous substances from our products is beneficial to the environment and to NI customers For addition...

Страница 26: ...the signal cable as close to the module as possible Placing the ferrite elsewhere on the cable noticeably impairs its effectiveness Determine the clamp on ferrite beads to install based on your applic...

Отзывы: