APPARATUS FOR CONTROLLING CHARGING OF MAIN CAPACITOR OF FLASH UNIT

Abstract: In an apparatus for controlling charging of a main capacitor of a flash unit, comparison means (27 to 36, 40 and 42) are used to detect the timing at which a voltage V across a main capacitor (16) reaches a reference voltage V₁ at which flash photographs can be taken, and a timer is used to detect the fact that a predetermined time period has elapsed after such detection so that the charging of the main capacitor is stopped (Steps 106, 108, 124 to 128 and 118 to 122). When the voltage V across the main capacitor drops to the reference voltage V₁ as the result of spontaneous discharge, recharging is performed (Steps 130 to 136), and thus the above processing is repeated. When such processing is performed over a predetermined time period or predetermined times, recharging is no more performed. In an apparatus having another arrangement, flash photography is permitted (Steps 200 to 214 and 216) if a predetermined value is greater than the time period that has elapsed until the ensuing shutter release after the voltage V across the main capacitor C M has reached the reference voltage V₂ (> V₁) at which flash photographs can be taken, but if the aforesaid time period is not less than said predetermined value, flash photography is inhibited to restart the charging of the main capacitor (Steps 200 to 214, 222 and 224).

Description: BACKGROUND OF THE INVENTION Field of the Invention The present invention relates to an apparatus for controlling charging of a main capacitor of a flash unit according to the generic part of claim 1 and 3. Description of the Prior Art In general, modern photographic cameras are remarkably automated and are provided with a multiplicity of functions, and it is common practice to incorporate a plurality of one-chip microcomputers (hereinafter referred to as "CPU" or "CPUs") in a single photographic camera. Therefore, in the field of built-in flash cameras, it is particularly desired to minimize the number of parts. A conventional type of apparatus for controlling charging of a main capacitor of a flash unit is arranged to detect in two steps the fact that a voltage V developed across the main capacitor has reached the level of a reference voltage. That is to say, when V > V₁, a neon glow lamp is turned on and flash photography is enabled and, when V = V₂ (V₂ > V₁) , charging is stopped. After one cycle of flash photography has been completed, the aforesaid operation is again performed. However, since the voltage V developed across the main capacitor is detected in two steps, it is necessary to incorporate two voltage comparing circuits and therefore the number of parts must be increased. As the remaining capacity of the batteries drops, the time period taken until the level of the voltage V across the main capacitor reaches the level of a predetermined reference voltage V₂ is excessively extended and therefore the power consumption of a DC/DC converter and other circuits also increases. As a result, the number of flashes is reduced. There are some instances where, after the stop of charging, photographs are taken at intervals which are equal to or longer than the elapsed time period until the level of the voltage V across the main capacitor reaches the level of the reference voltage V₁ as the result of spontaneous discharge, (hereinafter referred to as "spontaneous-discharge period"). For example, an animal which is moving past a predetermined position at night may need to be automatically detected and photographed. In this case, however, it has been impossible to take flash photographs and therefore built-in flash cameras are not suitable for use in photography under these conditions. From the US-A-4 422 016, an apparatus for controlling the charging of a main capacitor of a flash unit is known. This apparatus comprises a DC/DC-converter which charges the main capacitor. The energy transfer rate of that DC/DC converter is regulated by contolling the duty cycle of the input current of an inverter transformer of the DC/DC converter. The time period for charging the main capacitor is controlled by a timer circuit which outputs definite start and stop signals for starting and stopping the oscillating operation of the DC/DC-converter. SUMMARY OF THE INVENTION It is therefore an object of the present invention to provide an apparatus for controlling charging of a main capacitor of a flash unit in which apparatus the number of parts can be reduced but the number of flashes can be increased. It is another object of the present invention to provide an apparatus for controlling charging of a main capacitor of a flash unit in which apparatus, in spite of its reduced number of parts, flash photographs can be taken even at intervals which are not shorter than the spontaneous discharge period of the main capacitor. The invention is set out in claims 1 and 3 with further embodiments in the dependent claims. In accordance with the first aspect of the present invention, there is provided an apparatus for controlling charging of a main capacitor of a flash unit which apparatus is arranged, as shown in Fig. 1A, to employ a single comparison means to detect the fact that the voltage V across a main capacitor C M has reached the reference voltage V₁ at which flash photographs can be taken and then to employ a timer to detect the fact that a predetermined time period has elapsed after such detection so that the charging of the main capacitor C M is stopped. In this arrangement, the comparison means is one in number and the CPU is provided with a timer function as a portion of the processing program executed by the CPU. It is accordingly possible to provide the following advantages: a reduction in the number of parts, a reduction in the size of a printed circuit board to be incorporated in a camera, a lowering in the failure rate of the camera, and a reduction in the cost of production. In addition, even in a case where, because of a drop in the remaining capacity of batteries, a long time period is required until the voltage V across the main capacitor C M reaches the predetermined voltage V₂ which is higher than the reference voltage V₁, the timer is used to detect the passage of a predetermined time period so as to stop charging. Accordingly, it is also possible to provide the advantage of a reduction in power consumption and hence an increase in the number of flashes. In accordance with the second aspect of the present invention, there is provided an apparatus for controlling charging of a main capacitor of a flash unit which apparatus is arranged, as shown in Fig. 1B, to employ comparison means to detect the fact that the level of the voltage V across the main capacitor C M has reached the level of the reference voltage V₁ and to perform recharging when the level of the voltage V drops to the level of the reference voltage V₁ as the result of spontaneous discharge after completion of charging. Accordingly, in addition to the advantage achieved in the first aspect of the present invention, there is another advantage in that flash photographs can be taken by means of a simple construction at intervals which are not shorter than the spontaneous-discharge period without the need for a complicated operation in which initialization must be performed by turning on a flash switch after being turned off once. Moreover, in accordance with a third aspect of the present invention, there is provided an apparatus for controlling charging of a main capacitor of a flash unit which apparatus is arranged, as shown in Fig. 1C, to permit flash photography if the time period required until the ensuing shutter release after the voltage V across the main capacitor C M has reached the reference voltage V₂ (> V₁) at which flash photographs can be taken is less than a predetermined value, and to inhibit flash photography to restart the charging of the main capacitor C M if the aforesaid time period is not less than the predetermined value. It is therefore possible to accomplish the advantages achieved in the first and second aspects of the invention. In this case, the reason why the number of flashes increases is that it is possible to prevent charging and discharging from being repeated many times. BRIEF DESCRIPTION OF THE DRAWINGS Fig. 1A is a block diagram illustrating the construction of a first aspect of the present invention; Fig. 1B is a block diagram illustrating the construction of a second aspect of the present invention; Fig. 1C is a block diagram illustrating the construction of a third aspect of the preferred invention; Fig. 2 is a circuit diagram of the electronic flash circuit of a preferred embodiment of the invention in accordance with the first aspect thereof; Fig. 3 is a flow chart illustrating a process sequence of the steps executed by the CPU shown in Fig. 2; Fig. 4 is a flow chart illustrating a process sequence of the steps executed by a CPU in a preferred embodiment of the invention in accordance with the second aspect thereof; Fig. 5 is a circuit diagram of the electronic flash circuit of another preferred embodiment of the invention in accordance with the second aspect thereof; Fig. 6 is a flow chart illustrating a process sequence of the steps executed by the CPU shown in Fig. 5; Fig. 7 is a circuit diagram of the electronic flash circuit of still another embodiment of the invention in accordance with the second aspect thereof; Fig. 9 is a timing chart illustrating the voltage V across the main capacitor in comparison with variations in a flag F; Fig. 8 is a schematic illustration of a portion of the storage area of the RAM of the CPU shown in Fig. 2; Fig. 10 is a flow chart of a process sequence of the steps executed by a CPU in the invention in accordance with the third aspect thereof; and Fig. 11 is a timing chart similar to Fig. 10, illustrating the voltage V developed across the main capacitor. DESCRIPTION OF THE PREFERRED EMBODIMENTS Preferred embodiments of the present invention will be described below with reference to the accompanying drawings. 1) EMBODIMENT OF THE FIRST ASPECT OF THE INVENTION The following is a detailed description of a preferred embodiment of a first aspect of the present invention. Fig. 2 is a circuit diagram illustrating the electronic flash circuit incorporated in a photographic camera which is disclosed, for example, in U.S. Patent Application No. 934,055. The terminal voltage of a series of batteries 10 is applied to a DC/DC converter 14 through a flash switch 12 and, after being boosted, this applied voltage is stored as electric charge in a main capacitor 16. An oscillation circuit which constitutes the DC/DC converter 14 is turned on and off by the control signal output from an output terminal C of a CPU 18, thereby providing control over the starting and stopping of the charging of the main capacitor 16. The CPU 18 is actuated by the direct application of the terminal voltage of the batteries 10. An input terminal A of the CPU 18 is connected to a battery voltage input terminal of the DC/DC converter 14 and thus the CPU 18 is capable of detecting the opening and closing of the flash switch 12. Buses LP and LN are connected to the voltage output terminals of the DC/DC converter 14. A xenon discharge tube 20 and a trigger circuit 22 are connected in parallel between the buses LP and LN. When a flash sync contact 24 is closed in a state wherein the level of the voltage V developed across the main capacitor 16 is equal to or higher than the level of the reference voltage V₁, a high voltage is applied to a trigger electrode 26 to cause discharge to take place, thereby causing the xenon discharge tube 20 to flash. A neon glow lamp 27 and a resistor 28 are connected in series between the buses LP and LN. When the voltage V developed across the main capacitor 16 reaches the aforesaid reference voltage V₁, the neon glow lamp 27 is turned on. Voltage dividing resistors 30, 32 and 34 are connected in series between the bus LN and the connection of the neon glow lamp 27 and the resistor 28. The base of an NPN transistor 36 is connected to the connection of the voltage dividing resistors 32 and 34. The emitter of the NPN transistor 36 is connected to the bus LN and the collector of the same is connected to the positive pole of the batteries 10 via the flash switch 12. Also, the collector of the NPN transistor 36 is connected to an input terminal B of the CPU 18. When the neon glow lamp 27 is OFF (V < V₁), the NPN transistor 36 is held in its OFF state and the potential at the input terminal B is held at a high level. When the neon glow lamp 27 is turned on (V ≧ V₁), the NPN transistor 36 is turned on and the potential at the input terminal B goes to a low level. Accordingly, the CPU 18 can utilize such variations in the potential at the input terminal B to detect a point in time at which the level of the voltage V momentarily coincides with the level of the reference voltage V₁. A zener diode 40 and a capacitor 42 are connected in parallel between the bus LN and the connection between the voltage dividing resistors 30 and 32. The zener diode 40 is provided for voltage clipping and the capacitor 42 is provided for noise elimination. The CPU 18 is a one-chip microcomputer provided with a timer function, and a timer interrupt takes place at predetermined intervals of, for example, 30 milliseconds. As illustratively shown in Fig. 8, the values of timers T and T t which correspond to predetermined addresses of the RAM of the CPU 18 are incremented each time an timer interrupt occurs (the timer T t is used in an embodiment of the second aspect of the invention which will be described later). In Fig. 8, flags F₁, F₂ and F₃ (the flag F₃ is used in an embodiment of the second aspect of the invention which will be described later) each represent a time period during which the main capacitor 16 is being charged, and each of the flags F₁, F₂ and F₃ varies as shown in Fig. 9. Fig. 9 illustrates a preferred embodiment of the second aspect of the invention. In the present embodiment, charging and discharging are not repeated.) Also, the CPU 18 is adapted to write a state of charging C into a predetermined address of its RAM, and a main CPU (not shown) for controlling the entire circuit causes an interrupt to occur in the CPU 18. At the time of such an interrupt, the main CPU reads out the state of charging C through data transfer and, only when charging is completed (C = 2), the main CPU provides control over flash photography. The flow of the program written in the ROM of the CPU 18 will be described below with reference to Fig. 3. This program is executed each time a timer interrupt for incrementing the timer T occurs. Also, in an initialized state, that is, when the flash switch 12 is open, a command indicative of charging is output from an output terminal C of the CPU 18. Therefore, immediately after the flash switch 12 has been closed, charging is started. When the flash switch 12 is open, the process proceeds from Step 100 to Step 102, in which the value of the timer T is cleared and the flags F₁ and F₂ are reset. Then, in Step 103, the value representative of the state of charging C is reset to "0" (no charging), and the process returns to the routine which was executed immediately before this interrupt. When the flash switch 12 is closed, the process proceeds from Step 100 to Step 104, in which judgement is made as to whether or not the potential at the input terminal B has dropped to a predetermined level. Initially, the process proceeds to Steps 106 to 112 since negative judgement is made in Step 104 because V < V₁ and because the flags F₁ and F₂ are reset in Step 102. In Step 112, it is normally judged that T < T₁, and the process proceeds to Step 114. In Step 114, after the value of the state of charging C has been set to "1" (on charge), the process returns to the processing that was executed immediately before this interrupt The time period T₁ is, for example, 30 seconds, and is allocated to allow judgement to be made as to whether or not the battery is dead. When the potential at the input terminal B rises to the predetermined level within the time period T₁ after the flash switch 2 has been turned on, the process proceeds from Step 104 to Step 116 in which the value of the timer T is cleared and the flag F₁ is set to "1". In the next interrupt, the process proceeds from Step 104 through Step 106 to Step 118 in which the value of the timer T is compared with the value of the time period T₂. The value of the time period T₂ is, for example, 0.5 seconds and, if T < T₂, the process returns to the processing that was executed immediately before this interrupt. If the level of the voltage V developed across the main capacitor 16 becomes V < V₁ as the result of the spontaneous discharge thereof, flash photography may become impossible within a short time between the moment at which charging is stopped by turning on a release switch and the point at which the emission of flash light is started. The time period T₂ is used as a waiting time period allocated to allow prevention of occurrence of such a phenomenon . If it is judged in Step 118 that T = T₂, the process proceeds to Step 120 in which the value of the timer T is cleared and the flag F₁ is reset with the flag F₂ being set. In the following Step 122, the value of the state of charging C is set to "2" (charging completed), and the process returns to the processing that was executed immediately before this interrupt. In the following interrupt, the process proceeds from Step 104 through Steps 106 and 108 to Step 124 in which the value given by the timer T is compared with a time period T₃. The time period T₃ is, for example, 16 seconds, and is allocated to allow judgement to be made as to whether or not charging should be stopped. If T < T₃, the process returns to the processing which was executed immediately before this interrupt. If it is judged in Step 124 that T = T₃ , the process proceeds to Step 126 in which the CPU 18 supplies a control signal to the DC/DC converter 14 to stop the oscillation circuit, thereby stopping the charging of the main capacitor 16. Then, in Step 128, the timer interrupt is inhibited, and the process returns to the processing which was executed immediately before this interrupt. After the flash switch 12 has been turned off once by this inhibition of the timer interrupt, the processing shown in Fig. 3 is not executed again until the flash switch 12 is turned on once more. In this state, if the flash sync contact 24 is turned on, an interrupt routine (not shown) is executed so that C = 0 is set, the flags F₁ and F₂ being reset, the timer T being cleared, and the timer interrupt being enabled. Accordingly, when a flash photograph is taken, the aforesaid processing is restarted. In a case where it is in Step 112 that T = T₁ , that is, in a case where V = V₁ is not obtained even after the time period T₁ has elapsed following the ON operation of the flash switch 12, the process proceeds to Step 138 in which the value of the state of charging is set to C = 3 (representative of the fact that use of the flash unit has ceased). Then, in Step 140, the timer interrupt is inhibited, and the process returns to the processing which was executed immediately before this interrupt. 2) EMBODIMENT OF THE SECOND ASPECT OF THE INVENTION The following is a description of a preferred embodiment of the second aspect of the invention. The hardware arrangement in this embodiment is the same as that of the embodiment of the first aspect of the invention. As shown in Fig. 4, in the software arrangement of this embodiment, Steps 102A, 104A, and 128A are substituted for Steps 102, 104 and 128 illustrated in Fig. 3, and also Steps 110 and 130 to 136 are added. More specifically, a new flag F₃ is added, and in Step 102A the flag F₃ is also reset. In addition, in Step 104A, when the potential at the input terminal B drops to the predetermined level and the flag F₃ is "0", the process proceeds to Step 116. If not, the process proceeds to Step 106. In Step 128A, the value of the timer T is cleared, the flag F₂ is reset, and the flag F₃ is set. Then, the process returns to the process which was executed immediately before this interrupt. In the next interrupt, the process proceeds from Step 104A through Steps 106, 108 and 110 to Step 130 in which judgement is made as to whether the potential at the input terminal B has risen to the predetermined level. If negative judgement is made in Step 130, the process returns to the processing that was executed immediately before this interrupt. When the level of the voltage V across the main capacitor 16 drops to the level of the reference voltage V₁ as the result of spontaneous discharge thereof, affirmative judgement is made in Step 130, and the process proceeds to Step 132 in which the value of the timer T is compared with the value of a time period T₄. The time period T₄ is allocated to allow judgement to be made as to whether or not the batteries are dead. If T > T₄, the process proceeds to Step 134 in which the CPU 18 supplies a control signal to the DC/DC converter 14 to activate the oscillation circuit and thereby to cause it to restart the charging of the main capacitor 16. Then, in Step 136, the flag F₃ is reset and the state of charging C is set to C = 1 (on charge), and the process returns to the processing which was executed immediately before this interrupt. In the following interrupt, the process proceeds from Step 104A to Step 116 and subsequently the above-mentioned processing is repeated. In this manner, as shown in Fig. 9, when the time period T₂ has elapsed after V = V₁ has been achieved following the starting of charging, charging is completed and flash photography becomes possible. Thereafter, when V = V₁ is again achieved as the result of spontaneous discharge, charging is resumed and the above-described processing is repeated. If it is judged in Step 112 that T = T₁ or if it is judged in Step 132 that T ≦ T₄, that is, if V = V₁ is not achieved when the time period T₁ has elapsed after the flash switch 12 has been turned on or if the level of the voltage V across the DC/DC converter 16 hardly rises and thus drops to the level of V = V₁ within the time T₄ following the stop of charging, the process proceeds to Step 138 in which the state of charging C is set to C = 3 (the fact that use of any flash unit has ceased). Then, in Step 140, the timer interrupt is inhibited, and the process returns to the processing which was executed immediately before this interrupt. Accordingly, this preferred embodiment provides the effect that enables a simple construction to be used to detect the dead state of the batteries even during the repetition of charging and discharging. In this case, if the flash sync contact 24 is turned on, an interrupt routine (not shown) is used to set the state of charging C to C = 0 (no charging), reset the flags F₁ to F₃, and clear the timer T. (3) ANOTHER EMBODIMENT OF THE SECOND ASPECT OF THE INVENTION The following is a description of another embodiment of the second aspect of the invention. The hardware arrangement of this embodiment is as shown in Fig. 5. This embodiment does not include the constituent elements 27, 28, 30, 32, 34, 36, 38, 40 or 24 which are illustrated in Fig. 2. Instead, a CPU 18A includes an A/D converter 18a and an LCD driver. Voltage dividing resistors 50 and 52 are connected in series between the buses LP and LN, and a potential V M (charging level) at the connection of the resistors 50 and 52 is supplied to an analog input terminal D of the A/D converter 18a. An LCD panel 54 is connected to an output terminal E of the LCD driver of the CPU 18A. The ON/OFF signal of a light metering switch (not shown) is input as an interrupt signal to an input terminal F of the CPU 18A, and the ON/OFF signal of a release switch 55 is input to an input terminal G of the CPU 18A. As shown in Fig. 6, in the software arrangement, Steps 102B, 104B and 130B are substituted for Steps 102A, 104 and 130 shown in Fig. 4, and Steps 107 and 142 are added. More specifically, a timer T t is newly incorporated and, in Step 102B, the timers T and T t are cleared. Accordingly, as shown in Fig. 9, the timer T t is started immediately after the start of charging. In Step 104B, judgement is made as to whether or not the charging level V M is higher than the level V₁ at which flash photography is enabled and as to whether or not the flag F₃ is "0". In addition, in Step 107 inserted between Steps 106 and 108, judgement is made as to whether T t > T₅. T₅ is a value which is two to three times greater than, for example, T₄, and is allocated to allow judgement to be made as to whether or not charging is automatically stopped in order to prevent the batteries from discharging when a photographer forgets to turn off the flash switch 12. If it is judged in Step 107 that T t < T₅, the process proceeds to Step 108, in which the same processing as that described previously in connection with Fig. 4 is executed. If it is judged in Step 107 that T t ≧ T₅, Steps 138 and 140 are executed, and the timer interrupt is inhibited as described previously. When the light metering switch is turned on and the potential at the input terminal F of the CPU 18A reaches the high level, this inhibition is cancelled by an interrupt routine (not shown), thereby restarting charging control. In Step 130B, it is judged from numerical values that, as the result of spontaneous discharge, the charging level V M has become lower than the potential V₁ at which flash photography is enabled. Moreover, in Step 142, indication bars equivalent in number to the charging level V M are displayed on the LCD panel 54 before the process returns to the processing which was executed immediately before this timer interrupt. Of the indication bars illustrated in Fig. 5, short ones correspond to the state wherein charging has not yet been completed while long ones correspond to the state wherein charging has been completed. Accordingly, a photographer can check whether or not flash photography is possible; the extent of any insufficiency in charge; or the remaining capacity of the batteries in general terms with reference to the speed at which indication bars displayed increase in number. 4) ANOTHER EMBODIMENT OF THE SECOND ASPECT OF THE INVENTION The following is a description of another embodiment of the second aspect of the invention. The hardware arrangement of this embodiment is as shown in Fig. 7. More specifically, instead of the LCD panel 54 shown in Fig. 5, the anode of an LED 56 is connected to the positive pole of the batteries 10 and the cathode of the LED 56 is connected to an output terminal J of a CPU 18B. One terminal of a buzzer 58 employing a piezoelectric element is connected to an output terminal K of the CPU 18B, and the other terminal of the buzzer 58 is grounded. This CPU 18B includes a signal generator whose signal output can be switched on and off by the program stored in the CPU 18B, and such signal output is provided at the output terminal K. Although the software arrangement is not shown, in the flow chart shown in Fig. 6, the processing in Step 142 is modified as follows. More specifically, if the charging level V M is equal to or higher than the level of the reference voltage V₁, the level of the voltage at the output terminal J goes to the low level and the LED 56 is turned on. The signal generator is turned on and the buzzer 58 emits alarm sounds. The alarm sounds and the emission of the LED 56 inform a photographer of flash readiness. The other portion of the software arrangement is the same as that shown in Fig. 6. 5) EMBODIMENT OF THE THIRD ASPECT OF THE INVENTION An embodiment of the third aspect of the invention will be described below with reference to Figs. 10 and 11. The hardware arrangement of this embodiment may be constituted by that of any of the above-described embodiments, but, by way of example, the following description is made in conjunction with the hardware arrangement illustrated in Fig. 5. The software arrangement of this embodiment is illustrated in Fig. 10. In brief, as shown in Fig. 11, when the level of the voltage V developed across the main capacitor reaches the level of the reference voltage V₂ ( > V₁), charging is stopped. If the time period T which passes between the point at which charging is stopped and the point at which a release switch 55 is turned on is less than a fixed value T₆, flash photography is permitted. If the value of the time period T is equal to or greater than the fixed value T₆, charging is restarted and, after V = V₂ has been achieved, flash photography is enabled. A more detail of this software arrangement will be described below with reference to Fig. 10. In a similar manner to that of the previously-described embodiment, the processing of Fig. 10 is executed each time an timer interrupt for incrementing the timer T occurs. In a case where both the flash switch 12 and the release switch 55 are OFF, after Steps 200 to 206 have been executed, the process returns to the processing which was executed immediately before this interrupt. In Step 206, the level of charge is displayed as "zero". When the flash switch 12 is turned on, the process proceeds from Step 200 to Step 208 in which charging is started, and in turn proceeds to Steps 204 and 206. Then, the process returns to the processing which was executed immediately before this interrupt. In the ensuing interrupt, Steps 200 to 206 are executed and thus the charging level to be displayed is increased. If it is judged in Step 202 that charging is completed, that is, V = V₂ , the process proceeds to Step 210 in which charging is stopped and the timer T is cleared. The process proceeds from Step 204 to Step 206, and returns to the processing which was executed immediately before this interrupt. In the subsequent interrupt, Steps 200 to 206 are executed. When the release switch 55 is turned on, the process proceeds from Step 204 to Step 212 in which, on the basis of the signal supplied from the main CPU (not shown), judgement is made as to whether or not the emission of the flash lamp is needed. If it is judged that the emission is not needed because of the sufficient intensity of ambient light, the process returns to the processing which was executed immediately before this interrut. If it is judged that emission is needed, the process proceeds to Step 214 in which the value of the timer T, that is, the value of time period which passes between the point at which charging is stopped and the point at which the release switch 55 is switched on is equal to or greater than the fixed value T₆. If it is judged that that value of the timer T is less than the fixed value T₆, the process proceeds to Step 216 in which a signal indicative of the permission of flash photography is supplied to the main CPU (not shown) - Thus, exposure and film winding are performed. The process proceeds to Step 218 in which judgement is made as to whether a flash lamp has been flashed, that is, whether The voltage V M illustrated in Fig. 5 has reached substantial zero. If the flash lamp has been flashed, the process proceeds to Step 220 in which the value of the timer T is set to T₆, and then returns to Step 208 in which charging is restarted. Step 220 is provided for causing the process to proceed from Step 214 to Step 222 when the release switch 55 is turned on prior to the completion of charging. If flashing does not occur because of a failure of the flash lamp or the like, recharging is not needed. Accordingly, the process returns from Step 218 to the processing which was executed immediately before this interrupt. Subsequently, Steps 200 to 206 are executed. If it is judged in the aforesaid Step 214 that T ≧ T₆, the process proceeds to Step 222 in which the LCD panel is caused to display flash unreadiness. Then, in Step 224, the process waits for the release switch 55 to be turned off, and the process returns to Step 208 in which charging is restarted. Therefore, flash photography is inhibited until charging is completed. The initial value of the timer T is T₆. Accordingly, even if the release switch 55 is turned on when the flash switch 12 is OFF, the process proceeds from Step 200 through Steps 201 to 204, 212 and 214 to Step 222 in which flash photography is not permitted. It will be readily understood by those skilled in the art that the present invention embraces various modifications and alternatives in addition to the above-described embodiments. In each of the above-described embodiments, for the purpose of illustration, the level of the reference voltage V₁ is set to the voltage level at which flash photography is enabled. However, the level of the reference voltage V₁ may be set to a voltage level which is slightly higher than the one at which flash photography is enabled so that judgement may not need to be made as to the passage of the time period T₂. Alternatively, it is also possible to adopt an arrangement which allows the reference time period T₅ to be set by a photographer at his own discretion. Moreover, while the flash switch 12 is open, the CPU 18 may be arranged to output no charging command through its output terminal C and, instead, the following Steps may be executed between Steps 100 and 104 shown in Fig. 3. In brief, a new flag F₄ is added, and in Step 102 this flag F₄ is also reset. 1) If the flag F₄ has been reset, the process proceeds to Step 104. 2) If the flag F₄ has been reset, judgement is made as to whether flash photography is enabled. When it is judged that it is enabled, a charging command is outputted through the output terminal C to start charging, and then sets the flag F₄. Subsequently, the process proceeds to Step 104. At this point in time, if the batteries are dead or a system switch or main switch (not shown) is OFF, it is judged that photographing is impossible. If not, it is judged that photographing is possible. The aforesaid processing is also applicable to the flow charts shown in Figs. 4 and 6. Moreover, in Fig. 6, a charging frequency CN may employed. For example, in Step 102, the charging frequency CN may be reset to "0", and the following processings may be executed between Steps 132 and 134: 1) CN is incremented; and 2) if CN reaches a predetermined value, e.g., 2, the process proceeds to Step 138 but, if not, the process proceeds to Step 134.

Claims: Apparatus for controlling a charging of a main capacitor (16) of a flash unit, comprising: a DC/DC converter (14); said main capacitor (16) to which the output voltage of said DC/DC converter (14) is applied; a timer (T) for outputting a charging stop command (126) when a predetermined time period (T3) has elapsed following the reception of a timer start-up command and control means responsive to said charging stop command (126) for stopping the oscillatory operation of said DC/DC converter (14) to thereby stop the charging of said main capacitor (16), characterized by comparison means for outputting said timer start-up command by detecting the fact that the level of the voltage (V) developed across said main capacitor has reached the level of a reference voltage (V1) at which flash photography is enabled. Apparatus according to claim 1, characterized in that said control means is responsive to an initial issuance of said charging stop command (126) and responsive to the ensuing issuance of said timer start-up command for starting the oscillatory operation of said DC/DC converter (14) to thereby restart the charging of said main capacitor (16). Apparatus for controlling charging of a main capacitor (16) of a flash unit, comprising: a DC/DC converter (14); said main capacitor (16) to which the output voltage of said DC/DC converter (14) is applied; a release switch (55) for outputting a photographing command at the time of shutter release; a timer (T) for measuring the time period, characterized by comparison means for outputting a timer start-up command by detecting the fact that the level of the voltage (V) developed across said main capacitor has reached the level of a reference voltage (V1) at which flash photography is enabled wherein said timer (T) is arranged to measure the time period which elapses from the reception of said timer start-up command until the reception of said photographing command; and control means arranged to permit flash photography if the measurement of said time period is less than a predetermined value (T6) and to start the operation of said DC/DC converter (14) to restart the charging of said main capacitor (16) after completion of flash photography, but to inhibit flash photography if said measurement of said time period is not less than said predetermined value (T6) and to start the operation of said DC/DC converter (14) in order to restart the charging of said main capacitor (16). Apparatus according to one of claims 1 to 3, characterized in that each of said timer (T) and said control means is constituted by a microcomputer (18, 18A). Apparatus according to one of claims 1 to 4, characterized in that said comparison means includes: a neon glow lamp (27) having one end connected to one end of said main capacitor (16); a resistor (28) connected at one end thereof to the other end of said neon glow lamp (27) and connected at its other end to the other end of said main capacitor (16); and means for outputting said timer start-up command (B) when detecting the timing at which the level of said voltage (V) developed across said resistor exceeds the level of said reference voltage (V1). Apparatus according to one of claims 1 to 4, wherein said comparison means includes: a first resistor (50) connected at one end thereof to one end of said main capacitor (16); a second resistor (52) having one end connected to the other end of said first resistor (50) and the other end connected to the other end of said main capacitor (16); an A/D converter (18a) for performing analog to digital conversion of the voltage (VM) across one of said first resistor (50) and said second resistor (52); and means for outputting said timer start-up command when detecting the timing at which the level of the output voltage of said A/D converter (18a) momentarily coincides with the level of said reference voltage (V1). Apparatus according to claim 6 further comprising level displaying means (54) controlled by said control means for displaying the level of charging which is the value corresponding to said output value of said A/D converter (18a). Apparatus according to claim 6 or 7 further comprising a light emitting device (56) controlled by said control means for emitting light at the time that said output value of said A/D converter (18a) exceeds said reference value (V1) at which flash photography is enabled. Apparatus according to one of claims 2 to 8 further comprising a second timer (Tt) arranged to output a recharging completion command when the time period that elapses after a predetermined time during an initial charging cycle reaches a predetermined period of time (T5), said control means responding to said recharging completion command to inhibit the ensuing restart of charging. Apparatus according to one of claims 2 to 9 further comprising a counter for counting the frequency (CN) of charging, said control means inhibiting the ensuing restart of charging (138) in a case where the count (CN) of said counter reaches a predetermined frequency of charging.

Inventors: KOBAYASHI, TAKEO, NISHIDA, TAKAO
Applicants: ASAHI KOGAKU KOGYO KABUSHIKI KAISHA
Application year: 1987
Main classification: H05B41
IPC codes: H05B41