Digilent Cerebot MC7 Скачать руководство пользователя страница 6

Cerebot MC7™ Board Reference Manual 

 

 

Copyright Digilent, Inc. All rights reserved. 

Other product and company names mentioned may be trademarks of their respective owners.

 

Page 

6

 of 

22

 

 

These outputs from the bridges are available on connectors J14 & J15 or J16 & J18.  Connectors J14 & J15 are 
screw terminal connectors for wire attachment. Connectors J16 & J18 are 6-pin JST connectors used by the gear 
head motors available from Digilent. 

Connectors J14 & J16 provide the outputs VMOT1 and VMOT2, while J15 & J18 provide the outputs VMOT3 and 
VMOT4. 

 

Current and Voltage Feedback 

Each of the four half bridges is configured for monitoring the current flow through the low side transistor of the 
bridge. A voltage proportional to the bridge current is applied to one of the A/D inputs on the dsPIC 
microcontroller for each half bridge. 

A 10 milli-ohm (0.01 ohm), 1% current sense resistor is connected between the source of each low side FET and 
ground. A differential amplifier with a fixed gain of 21 and an offset voltage of 1.0V is used to buffer and amplify 
the voltage across the current sense resistors before being applied to the inputs to the A/D converter. The 
following formula relates the voltage applied to the A/D converter input to the sensed bridge current: 

V = (0.21 * I) + 1.0 

Refer to Appendix C for tables showing data measured from an example board. 

In addition to the bridge current, the output voltage of each half bridge can be monitored as well. The output 
voltage of each half bridge can be connected via a voltage divider to one of the inputs to the A/D converter. The 
voltage divider ratio is as follows: 

Vo = 2.2/17.2 * Vi = 0.128 * Vi 

The voltage monitoring can be enabled/disabled via jumpers JP9-JP12. 

The current/voltage monitoring signals are connected to the A/D converter inputs in the following way: 

IMON1 

AN0 

IMON2 

AN1 

IMON3 

AN2 

IMON4 

AN3 

 

VMON1 

AN10 

VMON2 

AN11 

VMON3 

AN12 

VMON4 

AN13 

 

Over-current Detection 

The Cerebot MC7 provides an over-current monitoring mechanism for detecting excessive current flow through 
any of the half bridge circuits. 

Four comparators are used to monitor the current measurement from each half bridge compared to a fixed 
reference voltage. The outputs of these comparators are OR’d together and applied to external interrupt INT1 on 
the dsPIC microcontroller. 

Содержание Cerebot MC7

Страница 1: ...o the dsPIC A D converter to measure voltage and current for closed loop feedback control These half bridges can be used to control two brushed DC motors two bi polar stepper motors one brushless DC m...

Страница 2: ...nations to drive various external loads such as brushed DC motors brushless DC motors stepper motors and so on A switching 5V 4A regulator with input voltage up to 24V is provided on the board to simp...

Страница 3: ...ject use the Configure Select Device menu to specify the dsPIC device in use Ensure that the device is set to dsPIC33FJ128MC706A To use the on board programming debugging circuit it must be selected a...

Страница 4: ...power supply place a shorting block on JP14 labeled REG To select USB power from the USB debug connector place a shorting block on JP15 labeled USB Note that the dsPIC and other circuitry on the board...

Страница 5: ...nd a low side transistor drive input The NTMD4820N FETs are rated for a maximum VDS of 30V maximum VGS or 20V and maximum drain current ID of 8A at 25 C 6 4A at 70 C t 10s or 6 4A continuous drain cur...

Страница 6: ...e voltage across the current sense resistors before being applied to the inputs to the A D converter The following formula relates the voltage applied to the A D converter input to the sensed bridge c...

Страница 7: ...he network nodes at each end of a network provide 120 ohm termination The Cerebot MC7 provides the termination resistor and jumpers to enable disable this resistor depending on the location of the boa...

Страница 8: ...an external power supply For the first case Install shorting blocks on JP5 and JP8 to connect the VS servo power bus to the REG5V0 power bus This connection allows for operation from a single high vol...

Страница 9: ...modules that provide various kind of I O interfaces The Pmod line includes such things as button switch and LED modules connector modules LCD displays high current output drivers and many others There...

Страница 10: ...ach time a byte is sent from the master to the slave a byte is sent from the slave to the master The master generates the serial clock on the SCK line and the slave uses that as the clock to shift the...

Страница 11: ...g clock The Cerebot MC7 board provides an external 8Mhz crystal for use with the XT oscillator option This crystal is on the bottom of the board Oscillator options are selected via configuration macro...

Страница 12: ...A TDI AN13 RB13 half bridge 4 voltage sense RB14 29 JB 09 U2RTS AN14 RB14 shared with BTN2 RB15 30 JB 10 AN15 OCFB CN12 RB15 RC12 39 N A OSC1 CLKIN RC12 crystal connection RC13 47 N A PGED2 SOSCI T4CK...

Страница 13: ...3 SDI2 CN9 RG7 SPI 2 Selectable via JP2 RG08 6 JB 02 SDO2 CN10 RG8 SPI 2 Selectable via JP3 RG09 8 JB 01 SS2 CN11 RG9 SPI 2 7 N A MCLR on board program debug circuit 9 N A VSS 10 N A VDD 19 N A AVDD 2...

Страница 14: ...11 half bridge 2 voltage sense N A RB12 27 TCK AN12 RB12 half bridge 3 voltage sense N A RB13 28 TDI AN13 RB13 half bridge 4 voltage sense N A RC12 39 OSC1 CLKIN RC12 crystal connection N A RC13 47 PG...

Страница 15: ...otor 1 quadrature encoder input 12 RB04 N A AN4 QEA IC7 CN6 RB4 motor 1 quadrature encoder input 13 RB03 N A AN3 INDX CN5 RB3 half bridge 4 current sense 14 RB02 N A AN2 SS1 CN4 RB2 half bridge 3 curr...

Страница 16: ...1 44 RD10 JB 07 IC3 INT3 RD10 45 RD11 JB 08 IC4 INT4 RD11 46 RD00 JC 01 OC1 RD0 Servo S1 47 RC13 N A PGED2 SOSCI T4CK CN1 RC13 motor 2 quadrature encoder input 48 RC14 N A PEGC2 SOSCO T1CK CN0 RC14 m...

Страница 17: ...otor Encoder 1 Connector J16 is a six pin JST connector that provides connection to VMOT1 and VMOT2 for use as an h bridge to drive a motor These are the same signals as on J14 Connector J16 also prov...

Страница 18: ...the shorting block to enable the termination resistor remove it to disable the termination resistor JP7 Do Not Use JP9 JP10 JP11 JP12 Voltage Monitoring Disconnect These jumpers are used to enable di...

Страница 19: ...ay be trademarks of their respective owners Page 19 of 22 Appendix C Measured Current Monitoring Data Half Bridge 1 IMON1 Current amps Voltage volts 0 0 997 0 5 1 11 1 1 213 1 5 1 318 2 1 424 2 5 1 53...

Страница 20: ...tage volts 0 1 028 0 5 1 139 1 1 242 1 5 1 348 2 1 45 2 5 1 556 3 1 662 3 5 1 77 4 1 88 4 5 1 99 5 2 106 5 5 2 223 6 2 344 Over Current Trip 5 87 Half Bridge 3 IMON3 Current amps Voltage volts 0 1 003...

Страница 21: ...y names mentioned may be trademarks of their respective owners Page 21 of 22 Half Bridge 4 IMON4 Current amps Voltage volts 0 0 967 0 5 1 077 1 1 181 1 5 1 282 2 1 389 2 5 1 493 3 1 6 3 5 1 707 4 1 81...

Страница 22: ...nley Court Pullman WA 99163 U S A Application of Council Directives EMC 2004 108 EC Standards EMC EN55022 2010 EN55024 2010 Product Name Cerebot MC7 Product Model Number Digilent P N 210 185 Digilent...

Отзывы: