in a typical wireline perforating operation , the perforating gun 10 is lowered into a well by way of an electrical cable 12 to position the gun at the desired portion in the reservoir ( fig1 ). conveyance from a truck - mounted reel 14 may be by means of gravity , by fluid pressure , by pushing the gun with small - diameter tubing , or by pushing the gun down with a downhole tractor . once the gun is positioned at the specified depth , electrical detonation power 16 connected to the cable by means of a wireline cable connector 20 to “ fire ” the gun by powering a detonator 11 . “ firing ” of the gun is represented by the detonation of specialized high explosives such as shaped charges that are radially aligned in the gun housing to produce holes in the well casing and / or reservoir to allow a flow of in situ hydrocarbons from the surrounding formation into the well . in prior art low voltage perforating operations using hot wire detonators with primary explosive , typically with 50 ohm input resistance , the shooting power supply 16 produces sufficient voltage , in the range of 10v to 50v at the input of the detonator , to directly initiate these types of explosive devices . however , electro - explosive initiators such as ebw ( exploding bridge wire ) and efi ( exploding foil initiator ) detonators require a discharge voltage in the range of 1000v to 3000v for reliable initiation of a secondary explosive . because most power supplies are limited to below 500v output , it becomes necessary to provide an integral step - up voltage power supply downhole for the ebw and efi type detonators . a basic configuration of such a prior art efi detonator as described by u . s . pat . no . 6 , 752 , 083 by nolan c . lerche et al , is represented by fig2 , and may be composed of three sections : circuitry 22 to boost downhole voltage ( first section ), a capacitor discharge unit ( cdu ) 24 ( second section ) and an explosive housing 26 ( third section ) which includes a small explosive pellet 112 . a support structure 100 consolidates and houses the cooperative components of the first and second sections . an electric cable connector 104 connects a power source 16 to the active elements of the voltage multiplier circuit 22 within the support structure . a bore 162 within the explosive housing is sized to receive a booster explosive 164 proximate of the explosive pellet 112 . in intimate contact with the booster 164 , the end of a detonating cord 166 is clamped within the bore 162 by a threaded collet mechanism 168 . the prior art example shown by fig2 is of a typical efi detonator device typically assembles the three sections 22 , 24 , and 26 in rigid alignment along a common axis making a total length of about 5 inches or greater which is too long to fit through the gun housing service ports of most gun systems . sections 22 and 24 contain close - coupled , high voltage electronic components that are arranged on the same circuit support structure which determines in large part the overall length of the assembly , making it impossible to fit the detonator through a small port plug hole of most guns . the present invention , represented schematically by fig3 a and 3 b are the embodiments of designs that overcome the length disadvantage of prior art such as that of fig2 . in its simplest form , the present invention also has three sections including the voltage multiplier section 30 , a capacitive discharge unit coupled to an efi 32 and an explosive housing 34 which contains one or more small explosive pellets 164 ( fig9 ), where sections 32 and 34 are rigidly attached . distinctively , the voltage multiplying section 30 and the capacitive discharge section 32 are joined by a short section of flexible electrical link 36 about 1 inch in length , for example , capable of carrying high voltage . the prior art contained its electronics on a flex cable for single unit assembly . a flex cable is unnecessary for the section 30 because , unlike section 32 , there is no need for low inductance for the voltage step - up section . moreover , a sturdy circuit board is more robust for handling . in one version of the invention , fig3 a , the explosive housing section 34 is physically angled relative to the capacitive discharge section 32 a . the flexible link 36 allows the first section 30 to pivot relative to the second section 32 a while maintaining electrical connection through two wires . the width ( less than 0 . 70 inch ) of the two sections 30 and 32 a is less than the 13 / 16 - inch diameter opening of a standard perforating gun service port , and fits easily through the opening . the individual lengths of the two sections 30 and 32 a are less than the allowed clearance inside a small diameter 2⅞ inch gun , for example , and are easily placed inside the gun section through a standard service port . by the third section being angled approximately perpendicular to the second section , it too , fits easily inside the gun section , after it is affixed outside the gun to a booster that is connected to flexible detonating cord . fig3 b and 16 show another embodiment of the invention that is suited for larger service ports , such as the common 1⅜ - inch diameter port plug used with a small diameter 2⅞ inch gun . the capacitive discharge section 32 b is in - line with the explosive housing 34 . the larger diameter service port allows easy insertion of an in - line 34 and 32 b with flexible link 36 and voltage multiplier 30 following . partitioning the rigid voltage multiplier section 30 from the rigid unit of sections 32 and 34 is the simplest configuration of the invention and the presently preferred embodiment . however , three or more rigid sections with pivoting electrical connections is also possible , and would allow for more electronic features to fit through a service port . a flow chart of the loading procedure is given in fig4 . a typical loading procedure at the well site would have the assembly of fig3 a or 3 b connected to wireline wires that have been routed from inside of the gun through the service port hole . the electrical connection is normally done with the assembly inside a safety tube to prevent bodily injury in case of accidental firing . after the electrical connection is made , the end of the detonating cord , also routed through the service port from inside the gun , is capped with a booster - shelled explosive , inserted into the explosive housing section 34 and secure by a collet clamp . once the assembly is attached to the booster / detonating cord , the linking cord and explosive housing section of the assembly is inserted through the port plug and rotated until sections 34 and 32 are inside the gun section . finally , section 30 and its connection wires are inserted , enabled by the flexible link that allows section 30 to pivot relative to section 32 . the port plug is then secured to the gun section . a more detailed description of alternative embodiments of a voltage multiplier and accompanying electronics 30 is shown by fig5 and 6 . the electronic components are mounted on a hard circuit board . two input wires 104 a and 104 b are attached to the board and used to make electrical connection to the wireline 12 . a commutating diode allows only positive voltage to power the circuit . a flexible link 36 unsupported by the board attaches to the output side and connects to section 32 . in one embodiment , the link is composed of two short wires ; in another embodiment , the link connects to the second section 32 by an unsupported flexible cable . a unique feature of the fig5 and 6 embodiments is the inclusion of a low - impedance shunt 31 that is electrically in parallel with the input wires , and having a value in the range of 10 to 500 ohms , for example , 50 ohms . for low voltage applications , the first section 30 presents low input impedance onto the wireline . at higher voltages the low impedance shunt 31 opens or maintains a constant current load , presenting higher input impedance for section 30 at higher input voltages . existing high - voltage detonators have high input impedance , typically between 2 , 000 and 50 , 000 ohms , depending on the device . the resulting charging current is therefore much smaller than that presented to a 50 ohm hot - wire detonator , for example . the lower current typical for high - voltage detonators makes it difficult to detect the presence of these types of detonators by monitoring current change at the surface when they are switched onto the wireline . the low impedance shunt 31 allows current to be more easily detected at the surface at low voltages during normal firing sequences , as is now common for conventional hot - wire detonators with 50 ohm resistance . this shunt feature is particularly advantageous when using electronic downhole switches with the present invention to detect a failed or shorted downhole electronic switch when used with high voltage detonators . some typical electronic downhole switches are described in u . s . pat . no . 6 , 283 , 227 by lerche et al and u . s . patent publication no . 2011 / 0066378 filed nov . 3 , 2010 by lerche et al . one embodiment of a low - impedance shunt is a fusing resistor . another embodiment would be a depletion mode field effect transistor ( dfet ) in series with a 50 ohm resistor , as an example . the dfet and series 50 ohm resistor is again placed in parallel with the input wires of the detonator . a current sense resistor also in series with the dfet and limits the current through the dfet to a predetermined level . there are other embodiments where a high voltage , high impedance detonator presents a low impedance with low wireline voltages typical during downhole communication of electronic perforating switches . the low impedance shunt can be part of the electronic switch or anywhere between the switch and the detonator . two embodiments of the present invention second section 32 are represented schematically by fig7 a and 8 a and correspond to fig3 a ( perpendicular alignment with section 34 ). a cdu circuit including a ceramic capacitor 42 and switching component 44 ( spark gap ) mounted on a thin , low inductance flex cable , which may or may not include a more rigid composite section . the circuit is supported along a rigid mechanical support 40 underneath . in one embodiment , a controlled gap 48 of between 0 . 005 - 0 . 015 inches separates the top of an efi 46 and the bottom of an explosive pellet 50 , the fig7 a embodiment engages a small insulated spacer 52 between the efi 46 and the explosive pellet to control the gap 48 spacing . in the fig8 a embodiment , the control gap 48 is a perforation in the flexible cable and support structure between the efi 46 and the explosive pellet 50 abutting the flexible cable / support structure 40 . it is clear to one skilled in the art that other electro - explosive initiators besides an efi can be used , such as an ebw or an scb . two other embodiments of the present invention section 32 are represented schematically by fig7 b and 8 b and correspond to fig3 b ( parallel alignment with section 34 ). here the rigid support 40 only supports the low inductance cable up to the efi 46 , allowing that portion of the cable to be bent as shown . two more embodiments of the present invention section 32 are shown in fig1 which uses a portion of the structural surface of the firing capacitor 42 as an substrate for supporting the bleed resistor 41 and the switching component 44 , all in an integrated cdu ( see fig1 for circuit schematic ). advanced monolythic ceramics , for example , offers such construction . this eliminates the need for the cable support 40 . a separate section of flexible cable , such as a ribbon cable , 43 with an efi 46 is soldered to the firing capacitor surface to attach the cdu to the initiator element . the flexible cable with the efi is coupled , in turn , to the explosive section 34 as in fig3 a and fig1 a . or when after bending as in fig3 b and fig1 b . the most common cause of perforating fatalities is the accidental application of power to the detonator at the surface . sending and correctly detecting an activation signal at the detonator before firing provide an extra degree of safety . an embodiment of the voltage multiplier section 30 is shown in fig1 that adds this extra margin of safety . fig1 differs from fig5 and 6 by the inclusion of a receiver and microprocessor for one - way communication from the surface tool control computer 18 ( fig1 ) to the voltage multiplier section 30 of the detonator . a low voltage is applied at the surface to energize the power supply 35 . next , a downlink activation signal is received and processed by the microprocessor using fsk communication . the microprocessor verifies that it has received the correct activation signal and only then allows the internal high voltage power supply to activate . finally , shooting voltage is applied at the surface to complete the firing sequence , making for safer operations . fig1 is a schematic of an additional feature for the detonator that detects downhole voltage and then uplinks real time voltage levels to the surface computer 18 . the voltage detect feature is on a separate circuit board in front of the voltage multiplier 30 ( fig5 and fig6 ), but could also be incorporated as part of section 30 on a common board as depicted in fig3 and schematically shown in fig1 referring to fig1 , the downhole voltage level is detected and the resulting analog signal is sent to an nd input of a microprocessor . the microprocessor then sends a digital signal to the surface computer 18 in the form of a current induced signal that rides on top of the shooting power supply voltage 16 , known as current loop power line carrier . at the surface , a current viewing resistor ( cvr ) is placed in series with the wireline in order to detect the current deflection . this signal is then processed and the results are displayed in a plot format or as a digital value . the detector unit would automatically send a series of pulses at a selected predetermined interval . one type of uplink signal is a binary weighted manchester represented by fig1 . when surface power supply ( sps ) voltage is detected downhole , a 3 bit preamble , 3 null bits and 8 bit data word is sent uplink as a power line carrier on top of the sps voltage using the manchester format . the bit rate can be chosen to give reliable uplink detection for a given wireline resistance and capacitance values . typically a 100 bits / sec would work for all wirelines . the downhole signal would be an induced current in the range of ( 10 - 100 ) ma . using an 8 bit word , the advantage is a high resolution signal . in another embodiment variation of fig1 , the fig1 embodiment provides a series of diodes , each with a different breakdown voltage . as the downhole voltage from the power supply 16 increases , sequential signals are sent to a microprocessor which tracts the number of such signals . each time a signal is detected a designated pulse sequence corresponding to the particular voltage is transmitted up the wireline and recorded at the surface by a computer 18 . the presence of the detonator is confirmed by monitoring these received signals and the last signal corresponding to the last voltage change gives an approximation to the firing voltage of the detonator . unless there are special provisions , whenever an electronic perforating switch is integrated into a high voltage detonator there is no surface feedback indicating that the detonator is functioning . instrumentation of the following two methods would provide surface status for operation of a high voltage detonator . a simple method for the uplink corresponding to fig1 is shown in fig1 . a series of pulses is uplinked , each pulse having a predetermined weighted value . as an example each pulse could represent 50 volts , and 3 pulses would indicate 150 volts . the disadvantage is that the resolution is not as precise while the advantage would be to only count pulses at the surface . the third section 34 of the invention assembly as schematically illustrated by fig9 attaches the output side of the explosive pellet 50 to an explosive booster 54 that is attached later and is all contained within a housing 56 . the length of section 34 is short enough to fit inside a safety loading tube not shown . the explosive pellet 50 is normally fine particle hns ( iv ) or nona , both commercially available and has been shown to work with efis . a stack of two explosive pellets , one of fine particle hns at the efi interface , topped with hmx or coarser particle hns , for example , is also a variation . furthermore , the explosive pellet can be included as part of section 32 or as part of section 34 . the assembly may also be configured without the explosive pellet . the explosive pellet could be incorporated into the booster and attached separately in the field . although the invention disclosed herein has been described in terms of specified and presently preferred embodiments which are set forth in detail , it should be understood that this is by illustration only and that the invention is not necessarily limited thereto . alternative embodiments and operating techniques will become apparent to those of ordinary skill in the art in view of the present disclosure . accordingly , modifications of the invention are contemplated which may be made without departing from the spirit of the claimed invention .