background image

Manual OC32/NG 

VPEB  

Control your Miniature World 

 

Page 14 of 48 

Version 1.0 – December 15

th

, 2017 

2017 Leon van Perlo  

4

 

Power Supplies 

 

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Fig 6: Connecting Power Supplies to the OC32/NG 

 

4.1

 

General 

 

Both the OC32 itself and the devices that the OC32 controls (e.g. signals, motors, relay’s) 
obviously need a power supply to operate. In many cases you can use the same power supply 
for the OC32 and the devices it controls. 
Note that 

any

 power supply delivered to the OC32, be it for the OC32 itself or for the 

controlled devices, must be a 

positive DC

 Voltage. 

 

Attention: Connecting an AC voltage or reversing the + and – connections of a DC power 
supply will inevitably result in a defect in the module that is beyond guarantee. Be sure 
therefore about the kind of power supply you connect the OC32 to. 

 

4.2

 

Some words about power supplies: 

 

We often get the question if a model railroad transformer can be used for the OC32. Model 
railroad transformers rarely provide a proper DC voltage. You can use them conveniently, 
but with a some consideration and simple modification. More about that later on. 
 
For less than €20,= already you can buy a properly stabilized, configurable, switching and 
therefore economical DC power supply that can provide 2-3 Amps. This is more current than 
an average model railroad transformer supplies, so think twice if it is worth the effort and 

PWR

Sink 0..7

Source 0..7

Sink 16..23

Source 16..23

Sink 8..15

Source 8..15

Sink 24..31

Source 24..31

Power Jumper Jp1 (0..15)

K1

K5A

K5B

GND

GND
(2x)

Vp2
(2x)

GND
(2x)

Vp1
(2x)

Power Jumper Jp2 (16..23)

PWR

Sink 0..7

Source 0..7

Sink 16..23

Source 16..23

Sink 8..15

Source 8..15

Sink 24..31

Source 24..31

Power Jumper Jp1 (0..15)

K1

K5A

K5B

GND

GND
(2x)

Vp2
(2x)

GND
(2x)

Vp1
(2x)

Power Jumper Jp2 (16..23)

Control your Miniature World   

VPEB  

Manual OC32/NG 

2017 Leon van Perlo 

Version 1.0 – December 15

th

, 2017 

Page 35 of 48 

6.2

 

Multiple power-supplies, different voltages 

 
Even in case you have several pieces of equipment which require different power voltages, 
you can drive them from the same OC32. Multiple DC power supplies can be used 
simultaneously. 
First the OC32/NG has two separate power planes for driving loads. You can separate Vp1 
and Vp2 and drive each section with it’s own power supply. This works for all drivers (sink, 
source, ADM’s). 

 

6.2.1

 

Multiple power-supplies using Sink-drivers 

 
In addition to the fact that you have two power groups on the OC32/NG, when using Sink 
Drivers the number of different power supplies is virtually unlimited. The load is connected 
between the plus pole of the power supply and the output of the OC32 (Sink Driver). As long 
as the minus pole of all power supplies are connected to each other and to the GND of the 
OC32 the plus pole of each of those power supplies can be used to feed one or more 
separate accessories. The plus pole of the load is connected to the plus pole of its power 
supply while the minus pole of the load is connected to the output of the OC32. 
 
There is however one additional point of interest: 
 
In the Sink Drivers free-wheeling diodes are integrated to facilitate inductive loads to be 
switched-off without damage, like solenoids or relays. These diodes reside between the 
output (Anode) and Vp (Cathode). When using different power supplies, the consequence of 
this is that 

always the power supply providing the highest voltage in the Vp group shall 

be connected to Vp

 
In most cases it is not desirable to use that highest voltage for the internal power of the 
OC32 also. A lower power should by used to operate the OC32. To achieve that, PWR and 
Vp have to be connected separately. The power jumper JP1/JP2 on the OC32 print has to be 
removed. The highest voltage has to be connected to Vp. The lower voltage has to be 
connected to PWR. 

 

6.2.2

 

Multiple power-supplies using Source-drivers 

 
Unlike the case when using Sink Drivers, it is not possible to connect more than one power 
supply to the Source Drivers in one Vp group. The Source Driver obtains the power from Vp 
and only one voltage can be connected to Vp. 
 
When using both Source and Sink Drivers for different outputs but in the same Vp group it 
is possible to use different power supplies as described in 

 

6.2.1 above, but 

the highest 

voltage has to be connected to Vp, being the voltage used by the Source Driver. 

All 

devices driven by the source driver will be driven with the same and highest Voltage. 

 

6.2.3

 

High power Voltage 

 
The Sink and Source drivers can deliver/withstand up to 50V. It may not be wise to use such 
a high voltage because this approaches the voltage levels that are harmful to the human 
body when touched. More over in the miniature world there are hardly any devices requiring 
such a high voltage. 
If you need to use a voltage above 15V for your loads it is advisable to separate Vp and 
PWR. If the voltage is higher than 25V the separation is mandatory because the voltage 
stabilizer of the OC32 is not specified to handle more than 25V. 

Summary of Contents for OC32/NG

Page 1: ...r 15 th 2017 2017 Leon van Perlo This page is intentionally left blank Author Leon J A van Perlo Version 1 0 Date December 15 th 2017 OC32 NG Manual VPEBVan Perlo Elektronica Besturingstechniek VPEBVa...

Page 2: ...y information contained herein may not be copied or distributed in whole or in parts in whatever form without the explicit written approval of the original author The making of copies and prints by us...

Page 3: ...nctions since all functions are made in software and the OC32 and the OC32 NG run 100 identical software The OC32 NG however integrates the options previously offered by the OC32 DS32 combination and...

Page 4: ...rivers 500mA TBD62083 31 6 1 2 Source Drivers 500mA TBD62783 31 6 1 3 Sink and Source Drivers TBD62083 TBD62783 32 6 1 4 Resistor Array 5V outputs 32 6 1 5 OC32 ADM SI 4 8A power sink driver 33 6 1 6...

Page 5: ...array A resistor array is the preferred choice if the input port s are to be activated by a push button or the contacts of a relay A resistor array can also be used if the event input is to be activa...

Page 6: ...protocol is extremely simple just a few characters for a control command and control is unidirectional The OC32 can send command to the external Device but the external Device cannot send anything ba...

Page 7: ...ptocoupler between both systems Output Voltage V Rs k 6 1 0 7 5 2 4 9 3 9 12 6 8 15 10 18 12 24 18 Q x GND Extern systeem 4k7 Rs Fig 40 External system with Voltage conversion Table 2 Series resistor...

Page 8: ...the user So configuration needs to be done through one of the serial interfaces 1 The DCC Interface can also be added afterwards by the user All components needed are through hole so not SMD You need...

Page 9: ...y goes back into the idle position Take care some relays are polarity sensitive It is important to connect the right pole to Vp and to the OC32 output The power supplied by Vp needs to match the volta...

Page 10: ...anual OC32 NG 2017 Leon van Perlo Version 1 0 December 15 th 2017 Page 39 of 48 6 4 6 Decouplers OC32 I O Pin OC32 ADM SI 4 8A Sink Driver Solenoids may draw up to 1 5A or more That is too much for th...

Page 11: ...t SMD types also Fig 28 Connecting LEDs antiparallel in 5V mode Q x 1 Q x Q x 1 Q x Fig 29 Connecting LEDs antiparallel in 500mA mode Vp Rv Q x 1 Q x Rv Vp Rv Q x 1 Q x Rv Fig 30 LEDs on the barriers...

Page 12: ...n like decouplers turnout coils and motors Below you find a number of examples of devices to be found in the miniature world are presented 6 4 1 LED s with common anode OC32 I O Pin 500mA Sink Driver...

Page 13: ...Manual OC32 NG 2017 Leon van Perlo Version 1 0 December 15 th 2017 Page 13 of 48 Reset jumper Only used to start the bootloader RS485 Termination jumpers Power jumpers DCC Low pass jumper only with DC...

Page 14: ...wo power groups on the OC32 NG when using Sink Drivers the number of different power supplies is virtually unlimited The load is connected between the plus pole of the power supply and the output of t...

Page 15: ...is the GND of the communications port that your PC uses to control the layout The 0V GND as stated above of your miniature world has to be connected to the GND connection of the OC32 All points in fig...

Page 16: ...nterface is hardly ever needed it has been removed to protect the OC32 from unintended errors Control your Miniature World VPEB Manual OC32 NG 2017 Leon van Perlo Version 1 0 December 15 th 2017 Page...

Page 17: ...ex situations like 3 LEDs on the barrier of an automatic railroad crossing AHOB which are driven with two outputs and two wires Control your Miniature World VPEB Manual OC32 NG 2017 Leon van Perlo Ver...

Page 18: ...he examples of section 6 4 There is explained which driver you need for specific types of devices 6 1 1 Sink Drivers 500mA TBD62083 This is the default driver delivered with the OC32 NG module A load...

Page 19: ...nel Full H bridge When changing drivers please observe the following Remove and install drivers only when power is OFF Remove IC s carefully without excessively bending pins Install either regular dri...

Page 20: ...PC Table 1 below shows which settings of the dip switch correspond to which address For the record this is the standard numbering starting from 0 If your software starts numbering from 1 onwards you...

Page 21: ...extended addressing shall also be supported by your software When extended addressing used the address is no longer selected by the DIPswitches but instead by a configuration setting in the OC32 flash...

Page 22: ...connectors both the one on the OC32 and on the U485 have the same pin layout so pin 1 connects to 1 pin 2 to 2 and if applicable pin 3 to 3 The whole will look like the one below figure 12 Fig 11 Term...

Page 23: ...al converter is limited and therefore there may be a limitation to the number of modules you can connect this way Up to 10 units should normally work fine If you want to connect more modules than your...

Page 24: ...ultiple OC32 NG s Other options Of course you can combine options 1 and 2 as described above Since the two RJ45 s and the 3 pole connector are electrically connected effectively every OC32 NG can be u...

Reviews: