Login| Sign Up| Help| Contact|

Patent Searching and Data


Title:
CAMERA HAVING ELECTRICALLY POWERED MEMORY RESTORATION
Document Type and Number:
WIPO Patent Application WO/1981/003228
Kind Code:
A1
Abstract:
In a photographic camera, an electrically powered memory device (65) stores data obtained by sensing detectable means on a filmstrip, but loses stored data upon a power diminution below a minimum level necessary for memory retention. When electrical power is resumed, a film drive (27) is operated to rewind the filmstrip at least until the detectable means previously sensed during film advance have been returned past the filmstrip sensing device (35.) Then the film drive (27) is operated to re-advance the filmstrip substantially the same distance it was rewound. During re-advance, the sensing device (35) again senses the detectable means to restore lost data to the memory device (65).

Inventors:
HARVEY D (US)
Application Number:
PCT/US1981/000473
Publication Date:
November 12, 1981
Filing Date:
April 10, 1981
Export Citation:
Click for automatic bibliography generation   Help
Assignee:
EASTMAN KODAK CO (US)
International Classes:
G03B1/12; G03B1/60; G03B7/24; G03B17/00; G03B17/36; G03B17/42; (IPC1-7): G03B1/18; G03B1/60; G03B17/36; G03B7/08
Foreign References:
US3444795A1969-05-20
US4021828A1977-05-03
US4174888A1979-11-20
DE2833550A11979-02-15
Download PDF:
Claims:
1. A camera comprising: drive means (27) for advancing and rewinding a filmstip; an electrically powered memory device (65) for storing data obtained from the filmstrip during film advance, which memory device loses such stored data upon reduction in power below a minimum level, characterized by a control means (35,43,55) having a cycle of operation which includes actuating the drive means first to rewind the film at least to a position at which the lost information is accessable, and then to advance the film, toward its position at reduction of power, and means (73,77) for actuating said control means after a resumption of power to said memory device.
2. A camera according to Claim 1, wherein said means for actuating the control means includ es power sensing means (73) for sensing resumption δf power after a reduction of power below the minimum level.
3. A camera according to Claim 2, wherein said power sensing means includes a trigger circuit (73) which assumes a stable state in response to resumption of power and means (77) responsive to said stable state for providing an actuating signal to said control means.
4. A camera according to Claim 3, wherein said control means includes: means (55), responsive to the actuating signal, for actuating the rewind function of the drive means (27) , filmstrip sensing means (35) for determining that the filmstrip has been rewound to a position near the beginning of the filmstrip, BbT R 4^ OMP means (35,55) responsive to the filmstrip sensing means, for stopping the rewind function of the drive means and beginning the advance function in response to the filmstrip being rewound to a position near the beginning of the filmstrip, means (35,61) for determining the length of filmstrip rewound in the rewind function, and means (35,55,63) for stopping the advance function when the amount of film advanced is the same as the amount rewound.
5. A camera according to Claim 4, wherein the filmstrip sensing means is a means for sensing an increase in tension on the filmstrip from a camera takeup spool.
6. A camera according to Claim 4 wherein the filmstrip sensing means is a means (35) for sensing a transverse edge of the filmstrip associated with the beginning of the filmstrip.
7. A camera according to Claim 4 wherein the filmstrip sensing means is a means for sensing indicia on the filmstrip indicative of and located near the beginning of the filmstrip.
8. A camera according to Claim 4 wherein the means for determining the length of filmstrip rewound in the rewind function includes means (35,61) for counting perforations passing said filmstrip sensing means (35) .
Description:
CAMERAHAVINGELECTRICALLYPOWEREDMEMORY

RESTORATION

The present invention generally relates to

5 apparatus for restoring lost data to an electrically powered memory device in a photographic camera. More particularly, the invention rel fes to apparatus for restoring film-related data that is lost from storage in the memory device because of a power diminution or

10 a power interruption resulting, for example, from a weak or dead battery in the camera.

It is known to provide an electrically powered memory device in modern cameras, especially 35mm cameras. It is also known to store data

-^- obtained from a filmstip in such a memory .device.

For example, as disclosed in US-PS 4,021,828, granted February 3, 1975, after a camera is loaded with fresh film, an electrically responsive counter is set to a value corresponding to the total number of frames on

2o the filmstrip. A sprocket wheel engaging successive sprocket holes in the filmstrip makes one rotation each time the filmstrip is advanced a single frame length. A differentiating circuit, coupled with the sprocket wheel, applies an output pulse to the

25 counter each time the sprocket wheel makes one rotation. The output pulses are counted up or down with respect to the value set in the counter to enable an indicator to display the number of exposed or unexposed frames.

30 DE-OS 28 33 550, published

February 15, 1979, discloses a pair of electrodes arranged on opposite sides of the path of successive sprocket holes in a filmstrip advanced in the camera. A pulse generating circuit, coupled with the 5 electrodes, applies an output pulse to a counter each time the electrodes detect a sprocket hole. The

O O..MPPII V V//ii OO > -'- -

count of output pulses is used to control film metering and, following advance of the filmstrip a frame length, to display the number of frames still available for exposure.

Information other than frame count may also be made obtainable from a filmstrip. For example, the filmstrip can include film characteristic data, such as film speed, exposure latitude, color balance or length.

10 In the structure shown in both U.S. 4,021,828 and DE-OS 28 33 550, the various battery powered elements, -other than the counter which stores the pulse count, may be disconnected from the battery during the time interval between successive film ^ winding operations to prevent wasteful consumption of the battery. The counter is not disconnected from electrical power because it has a volatile memory.

In cameras which store data from a filmstrip, in a volatile memory, if the battery

20 source of electrical power becomes weak or dies> causing the stored data to be lost, the lost data is not restored upon replacing the used battery with a fresh one. If the stored data is a pulse count related to film frames, and if the battery failure 5 occurs before all of the available film frames have been exposed, then, after replacing the used battery with a fresh one and exposing the next available film frame, the pulse count will be incorrect. An improper pulse count will, of course, result in the 0 indicator displaying an incorrect number. In cameras such as that disclosed in DE-OS 28 33 550, a lost count may affect film metering. Any other data stored in the volatile memory, such as film speed, would also be lost. 5 It is the object of the invention to provide a camera having the capability of restoring to a

memory device, data originally obtained from a filmstrip and lost due to electrical failure while the filmstrip is still in the camera.

This object is accomplished, by providing a control means having a cycle of operation which includes actuating a drive means of the camera first to rewind the film, at least.to a position at which the lost information in accessible, and then to advance the film toward its position at reduction of power. The camera also includes means for actuating the control means after a restoration of power to the memory device.

According to a preferred embodiment of the present invention, the means for actuating the control means is automatically responsi-ve to the resumption of electrical power above a predetermined level. As a result, replacing a weak or dead battery in the camera with a fresh one will automatically restore lost data to the memory. Moreover, should the battery voltage drop below the minimum leveL for memory retention, for example when the battery becomes quite cold, resumption of the battery voltage to a predetermined level, after the battery becomes warmer, automatically restores lost data to the memory.

Still other aspects of the invention and more specific features will become apparent to those skilled in the art from the following description of the preferred embodiment considered together with the accompanying drawings.

Fig. 1 is a perspective view of various elements of a still picture camera including a data restoration device constructed in accordance with a preferred embodiment of the present invention; Fig. 2 is a schematic block diagram of electrical circuitry and computer hardware suitable

for use with the camera depicted in Fig. 1;

Figs. 3 and 3A are a flow chart illustrating a general sequence or main routine for a computer which controls operation of the camera in Fig. 1;

Figs. 4, 4A, and 4B are a flow chart illustrating a film autoload subroutine for the computer;

Figs. 5, 5A, and 5B are a flow chart illustrating a data restoration subroutine for the

10 computer;

Fig. 6 is a flow chart illustrating an interrupt routine for the computer;

Fig. 7 is a schematic block diagram of electrical circuitry and computer hardware suitable -, - for use with an alternate embodiment of the present invention;

Fig. 8 is a flow chart illustrating a general sequence or main routine for a computer in the alternate embodiment; and

Fig. 9 is a flow chart illustrating an .

20 interrupt routine for such computer.

A data restoration device according to a preferred embodiment of the present invention is incorporated in a still picture camera, for example, 5 a 35mm camera. Because such cameras are well known, this description will be directed in particular to elements forming part of or cooperating directly with apparatus embodying the present invention. It is to be understood, however, that camera elements not 0 specifically shown or described may take various forms known to those skilled in the camera art.

Referring now to Fig. 1, there are shown various elements of a still picture camera provided with a data restoration device in accordance with the 5 present invention. The camera in Fig. 1 is battery operated and has a chamber defined within its housing

for receiving a film cartridge 3. The cartridge 3 is a conventional one, except for a binary coded area 5 having a code notch located in at least one of four different code positions aligned in the coded area. The presence or absence of a code notch in each of the four possible code positions defines a four-bit binary number (in 0's and l's) which represents a photographic characteristic of a filmstrip 7 in the cartridge 3. In Fig. 1, the cartridge 3 is shown as having two code notches 9a and 9b in the code area

5. The presence of these code notches at two of the four possible code positions and the absence of a code notch at the two remaining code positions defines a four-bit binary number representing the maximum number of available film frames, for example 36 frames, on the filmstrip 7. A hinged back door 11 forming part of the camera housing is provided with four biased-open notch sensing switches S 1, S 2, SW3, and SW4, located on an interior face 13 of the back door. The four switches S 1-S 4 operate to. detect the presence or absence of respective code notches in the four code positions in the coded area 5 of the cartridge 3. When the back door 11 is closed in Fig. 1, the two switches SW1 and SW3 are closed upon contact with the coded area 5 and the two switches SW2 and SW4 remain open (because they extend into the code notches 9a and 9b) .

In Fig. 1, there is shown a biased-open switch SW5, located on the interior face 13 of the back door 11. The switch SW5 operates upon closing the back door 11 to detect whether a film cartridge is loaded in the camera. When the back door 11 is closed, the switch SW5 will be closed by contact with the film cartridge 3. If no film cartridge is present in the cartridge receiving chamber, the

switch SW5 will remain open after the back door 11 is closed.

A conventional diaphragm shutter 15, shown in Fig. 1, may consist of a ring of three to five inter-leaving thin metal blades 17 that come together to form a diaphragm. The blades 17 may be located behind a picture-taking lens, not shown, to permit the use of interchangeable lenses. On completely depressing a shutter release 19 to an exposure position, the blades 17 swing outward, leaving a clear hole for light to pass through and onto a film frame on the filmstrip 7. At the termination of film exposure, the blades 17 close and the hole disappears, leaving an opaque diaphragm once again. Adjacent the blades 17, there is shown a biased-open switch SW6 for detecting whether the blades are open or closed. The switch SW6 is closed upon closing the blades 17 and re-opens upon opening the blades. The shutter release 19 is coupled with two normally open switches SW7 and SW8. When the shutter release .19 is only partially depressed to a standby position, in which the blades 17 remain closed, the switch SW7 is closed. However the switch SW8 remains open. In contrast, complete depression of the shutter release 19 to the exposure position, in which the blades 17 are temporarily opened, causes both switches SW7 and SW8 to close.

After the film cartridge 3 is loaded in the camera in Fig. 1, a reduced width leader tongue 21, forward of the film leader 23, is manually secured to a take-up spool 25. The take-up spool 25 is permanently rotatably mounted in a spool receiving chamber defined within the camera housing. A film drive means, for example, conventional motor-driven film transport 27 operates to advance the filmstrip 7 from the cartridge 3, across an exposure or imaging

plane, and onto the take-up spool 25. When reversed, the film transport 27 operates to rewind the filmstrip 7 from the take-up spool 25 back into the cartridge 3. As is well known, the film transport 27 is coupled with the shutter release 19 to prevent unintended exposure of a film frame during film advance or film rewind and may be coupled with the diaphragm shutter 15 to re-tension or cock the blades 17 (for the next exposure) automatically during film advance. The film transport 27 is provided with a reversible-drive electric motor and a polarity control for motor reversal, shown schematically as 29, and with a transmission, shown schematically as 31 and coupled to the take-up spool 25 and to a shaft extension 33 of a supply spool within the cartridge 3. Although not shown, the transmission 31 includes a suitable gear train and respective advance and rewind clutches which permit the take-up spool or the supply spool to rotate freely as the other is positively driven. •

Film advance and film rewind are monitored in the camera by a sprocket hole sensor 35, shown schematically in Fig. 1 as comprising a light-emitting diode (LED) 37 and a phototransistor 39. Details of such a sprocket hole sensor are disclosed in U.S. Patent No. 4,174,888, though other designs such as a mechanical sensor or an electrical sensor may be used. The LED 37 and the phototransistor 39 are positioned in such a way that a beam of infrared light projected by the LED onto the phototransistor extends across the path of a row of successive sprocket holes 41 in the filmstrip 7. With such an arrangement, an output pulse may be generated in dependence on whether the projected light beam passes through a sprocket hole or is intercepted by an intervening film surface. In the

preferred embodiment, the phototransistor 39 is coupled with an inverter circuit 33 comprising, for example, a NOT gate 45 and a fixed resistor 47, whereby a high signal is produced whenever the projected light beam falling on the phototransistor is intercepted by a film edge. Accordingly, during film advance in Fig. 1, the sprocket hole sensor 35 first operates to detect a leading transverse edge 49 of the film leader 23 and then operates to detect respective trailing edges 51 of successive sprocket holes 41. During film rewind, the sprocket hole sensor operates to detect respective trailing edges 53 of the sprocket holes.

Referring now to Fig. 2, as the filmstrip 7 is advanced or rewound in the camera, the resulting high signals are inputted from the sprocket hole sensor 35 and the inverter circuit 43 to a typical digital microcomputer (MC) 55. The MC 55 controls operation of the film transport 27 for film advance and film rewind and for metering the filmstrip 7 to advance successive film frames into an exposure position. The details of this operation are described below in connection with the flow charts in Figs. 3-6. An indicator 57, located in a camera viewfinder 59 in Fig. 1, is coupled with the MC 55 to display the number of film frames available for exposure each time a film frame is advanced to the exposure position and to display a warning signal indicating a film break, a film jam, or disengagement of the leader tongue 21 of the filmstrip 7 from the take-up spool 25. The indicator 57 may be constructed of any suitable display means, ^ such as liquid crystals or LED's. As depicted in Fig. 2, the MC 55 includes an "A" DOWN-counter 61 operable during film advance to count down respective high signals produced by the sprocket hole sensor 35 and the

0"P

inverter circuit 43. Such count down in the "A" counter 61 begins from a value corresponding to the maximum number of film frames available on the filmstrip 7. This value is inputted to the MC 55 by the switches SW1-SW4 upon closing the back door 11 of the camera. An "R" UP DOWN-counter 63 in the MC 55 is operable during film rewind to count up the high signals from zero and is operable during film re-advance, following film rewind, to count down the high signals from the count obtained during film rewind. The details of such operations are described below in connection with the flow charts in Figs. 3-5. The count of high signals in the "A" counter 61 and/or in the "R" counter 63 is stored in the form of binary numbers (0's or l's) in a random-access memory (RAM) 65, coupled with the MC 55. The RAM 65 has a greater capacity than either the "A" counter 61 or the "R" counter 63, which allows other data read from film in the camera, such as film speed or film type, to be temporarily stored in the RAM. As in prior art devices, however, the data stored in the RAM (or for that matter, in the "A" and "R" counters) will be lost (a) upon a voltage diminution below a minimum level, such as 1.5 volts, necessary for memory retention or (b) upon a power cut-off, resulting, for example, from a weak or dead battery in the camera. A memory having this characteristic is commonly known as a volatile memory.

A central processing unit (CPU) 67 in the MC 55 receives data in the form of binary numbers and performs arithmetic operations on the data in accordance with previously stored instructions in a read-only memory (ROM) 69. The ROM 69 has a nonvolatile memory, whereby all stored data remains intact upon electrical power being discontinued to the MC 55. A power SR (set-reset) flip-flop 71 is

coupled with the MC 55, the two switches SW5 and SW7, and with a Schmitt Trigger 73. The power flip-flop 71 has a set state in which electrical power from the battery is provided to the MC 55, and has a clear or reset state in which such electrical power is discontinued to the MC. The Schmitt Trigger 73 is a bistable (two-state) circuit which assumes a low state whenever the input voltage from the battery to the Schmitt Trigger drops below the minimum level, e.g. 1.5 volts, necessary to retain stored data in the RAM 55 and assumes a high state upon a voltage resumption above such minimum level to a working or predetermined level, e.g., 4 volts. The voltage resumption occurs, for example, when a weak or dead battery in the camera is replaced with a fresh one, or when a battery weakened by exposure to excessive cold resumes its working strength after it becomes warmer. When the Schmitt Trigger 73 assumes its high state upon the voltage resumption, or when either one of the switches SW5 or SW7 has just been closed by closing the back door 11 (after the film cartridge 3 is loaded in the camera) or by depressing the shutter release 19 to its standby position, respectively, a trigger pulse is applied to the power flip-flop 71. The trigger pulse causes the power flip-flop to assume its set state, whereupon, electrical power from the battery is provided to the MC. For purposes which will become apparent below in connection with a description of the flow chart in Fig. 3, the Schmitt Trigger 73 and the switch SW5 operate to inform the MC 55 by input pulses from respective one-shot ( onostable) multivibrators (MV) 75 and 77 that electrical power provided to the MC resulted from the Schmitt Trigger assuming its high state or from the switch SW5 being closed. When the Schmitt Trigger 73 assumes its low state upon a

voltage diminution below the minimum level for memory retention in the RAM 65, the MC 55 disables the film transport 27 and applies a trigger pulse to the power flip-flop 71. Such trigger pulse causes the power flip-flop to assume its clear state, whereupon, electrical power is discontinued to the MC. The MC will similarly apply the trigger pulse to the power flip-flop (to power off the MC) as the final step in the flow charts in Figs. 3, 3A, and 6. In Fig. 2, a status SR (set-reset) flip-flop

79, coupled with the MC 55, has a clear state indicating a film break, a film jam, or disengagement of the leader tongue 21 of the filmstrip 7 from the take-up spool 25, and has a set state indicating the nonoccurence of such problems. The status flip-flop assumes either the clear state or the set state upon receiving respective trigger pulses from the MC.

Although not shown in Fig. 2, the switch SW5 and the one-shot MV 75, the Schmitt Trigger 73 and the one-shot MV 77, the switch SW7, the power « flip-flop 71, the RAM 65, and the status flip-flop 79 are all coupled with the battery in the camera and can continue to operate even though electrical power

- is discontinued to the MC 55. The remaining elements, shown outside of the MC in Fig. 2, are disabled whenever electrical power is discontinued to the MC.

OPERATION The operation of the camera depicted in Figs. 1 and 2 is best understood by reviewing Figs. 3-6, which are flow charts illustrating various routines and subroutines for the MC 55. Programming a computer is a skill well understood in the art. The following description is written to enable a programmer having ordinary skill in the art to prepare an appropriate program for the MC 55. The

particular details of any such program would of course depend upon the architecture of the particular computer selected. Main Routine Referring now to Figs. 3 and 3A, which are a flow chart of the main or general sequence routine for the MC 55, it will be recalled from the above description of Fig. 2 that the power flip-flop 71 will assume its set state to power on the MC upon any one of the following occurrences:

(1) When the switch SW5 is closed by contact with the film cartridge 3 upon closing the back door 11 of the camera;

(2) When the Schmitt Trigger 73 assumes its high state in response to a power resumption above the minimum level for memory retention in the RAM 65, to the predetermined level, e.g., 4 volts; and

(3) When the switch SW7 is closed by - depressing the shutter release 19 at least to its standby position. Therefore, assuming the MC 55 is powered on in Fig. 3, the first decision in the main routine is: "has the switch SW5 just been closed (as evidenced by an input pulse from the one-shot MV 75 to the MC)?" If the answer is yes, an autoload subroutine is called for. Autoload Subroutine

Referring now to Figs. 4, 4A, and 4B, which are a flow chart of the autoload subroutine, the first step in Fig. 4 is to read the condition of the switches SW1 - SW4 to determine the maximum number of film frames available in the film cartridge 3. The "A" counter 61 is set to a value in accordance with such maximum number and corresponding data is provided to the RAM 65. The film transport 27 is

then operated in a film advance mode, initially to wind the reduced width leader tongue 21 of the filmstrip 7 onto the take-up spool 25. In Fig. 4A, a one second time period is begun upon film advance and a first decision is made: "has the sprocket hole sensor 35 detected the leading edge 49 of the film leader 23 within such one second period?" If the answer to the first decision is no, another decision is made: "has the one second time period elapsed?" If the answer to the other decision is no, the first decision is made again. If the answer to the other decision is yes, this indicates a film break, a film jam, or disengagement of the leader tongue 21 from the take-up spool 25. Therefore, the film transport 27 is disabled, a warning signal is displayed for one second or more in the indicator 57, and the MC 55 applies a trigger pulse to the status flip-flop 79, causing such flip-flop to assume its clear state (which indicates an outstanding problem relating to film advance). Then, in Fig. 4B, the final steβ orders return to the main routine, after the step in the main routine calling for the autoload subroutine. In the main routine in Fig. 3, the MC 55 applies a trigger pulse to the power flip-flop 71, which causes such flip-flop to assume its clear state, powering off the MC.

Referring back to the autoload subroutine in Fig. 4A, if the answer to the first decision regarding detection of the leading edge 49 of the film leader 23 is yes (as evidenced by a high signal from the sprocket hole sensor 35 and the inverter circuit 43), a 200ms time period is begun and a new decision is made: "has the sprocket hole sensor 35 detected the trailing edge 51 of a sprocket hole 41 within such 200ms time period?" If the answer to the new decision is no, another decision is made: "has

th.e 200ms time period elapsed?" If the answer to the other decision is no, the decision regarding detection of the trailing edge 51 of a sprocket hole 41 is made again. If the answer to the other decision is yes, this indicates a film break or a film jam, whereupon, as described above, the film transport 27 is disabled, a warning signal is displayed by the indicator 57, the status flip-flop 79 assumes its clear state and, in the main routine, the MC 55 is powered off. If the answer to the decision regarding detection of the trailing edge 51 of a sprocket hole 41 is yes (as evidenced by a high signal from the sprocket hole sensor 35 and the inverter circuit 43) , the "A" counter 61 is decremented (i.e., the high signal is counted down) and corresponding data is provided to the RAM 65. Then, the decision is made: "is the first film frame in an exposure position?" The answer to this decision is obtained first by interrogating the RAM 65 for data regarding the number of sprocket holes 41 advanced past the sprocket hole sensor 35 and then performing an arithmetic operation on the data to determine whether such number is of a value consistent with advance of the first frame to the exposure position. For example, with a 35mm roll of film, the first frame will be in the exposure position after the first 24 sprocket holes have been detected. If the answer to the decision regarding the first film frame in the exposure position is no, the 200ms time period is begun again. If the answer is yes, the MC 55 applies a trigger pulse to the status flip-flop 79, causing such flip-flop to assume its set state (which indicates the nonoccurrence of a problem relating to film advance). In Fig. 4B, the film transport 27 is disabled and, for one second or more, the indicator 57 displays the maximum number of

o.y.

film frames available in the cartridge 3. Then, the final step orders return to the main routine, after the step in the main routine calling for the autoload subroutine. In the main routine, the MC 55 is powered off.

Main Routine - continued

Referring back to the main routine in Fig. 3, if the answer to the first decision regarding closing of the switch SW5 is no, a second decision is made: "has the Schmitt Trigger 73 assumed its high state (as evidenced by an input pulse from the one-shot MV 77 to the MC 55)?" If the answer is yes, indicating the MC was powered on in response to a power resumption, a data restoration subroutine is called for.

Data Restoration Subroutine

Referring now to Figs. 5, 5A, and 5B, which are a flow chart of the data restoration subroutine, the first step in Fig. 5 is to set the "R" counter 63 to a value equivalent to zero and to operate the film transport 27 in the film rewind mode. Then, a 200ms time period is begun and a first decision is made: "has the sprocket hole sensor 35 detected the trailing edge 53 of a sprocket hole 41 within such 200ms period?" If the answer is yes (as evidenced by a high signal from the sprocket hole sensor 35 and the inverter circuit 43), the "R" counter 63 is incremented (i.e., the high signal is counted up), and the 200ms time period is begun again. If the answer to the first decision is no, another decision is made: "has the 200ms time period elapsed?" If the answer to the other decision is no, the first decision is made again. If the answer to the other decision is yes, this normally indicates the filmstrip 7 has been rewound at least until the leading edge 49 of the film leader 23 is returned

past the sprocket hole sensor 35. Otherwise, the yes decision indicates a film break or a film jam has occurred during such rewind. In either event, the film transport 27 is disabled and the autoload subroutine is called for. The autoload " subroutine, as described above, first operates to re-advance the first film frame to the exposure position and then orders return to the data restoration subroutine, after the step in the data restoration subroutine calling for the autoload subroutine. In Fig. 5A, the next step in the data restoration subroutine is the decision: "is the status flip-flop 79 in its set state?" If the answer is no, i.e., the status flip-flop is in its clear state, this indicates an outstanding problem has occurred during the data restoration or autoload subroutines relating to film rewind or film re-advance, such as a film break or a film jam. Therefore, in Fig. 5B, the final step in the data restoration subroutine orders return to the main routine, after the step in the main routing calling for the data restoration subroutine. In the main routine, the MC 55 applies a trigger pulse to the power flip-flop 71 which causes such flip-flop to assume its clear state, powering off the MC. Referring back to the data restoration subroutine in Fig. 5A, if the answer to the decision regarding the state of the status flip-flop 79 is yes, i.e., the status flip-flop is in its set state (as ordered in the autoload subroutine to indicate the nonoccurrence of any problem relating to film movement) , the "R" counter 63 is now decremented in accordance with the previous decrement of the "A" counter 61 in the autoload subroutine. This permits the "R" counter to take into account re-advance of the filmstrip 7 during the autoload subroutine. Then, the film transport 27 is operated in the film advance mode

and, in Fig. 5B, a 200ms time period is begun and a new decision is made: "has the sprocket hole detector 35 detected the trailing edge 51 of a sprocket hole 41 within such 200ms time period?" If the answer to the new decision is no, another decision is made: "has the 200ms time period elapsed?" If the answer to the other decision is no, the decision regarding detection of the trailing edge 51 is made again. If the answer to the other decision is yes, this indicates a film break or a film jam, whereupon, the film transport 27 is disabled, a warning signal is displayed for one second or more in the indicator 57, and the MC applies a trigger pulse to the status flip-flop 79 causing such flip-flop to assume its clear state

(which indicates an outstanding problem relating to film re-advance). Then, the final step, as described above, orders return to the main routine, after the step in the main routine calling for the data restoration subroutine. In the main routine, the MC o

55 is powered off. Referring back to the data restoration subroutine in Fig. 5B, if the answer to the decision regarding detection of the trailing edge 51 of a sprocket hole 41 is yes (as evidenced by a high signal from the sprocket hole sensor 35 and the inverter circuit 43), the "R" and "A" counters 61 and 63 are decremented (i.e., the high signal is counted down) and corresponding data in accordance with decrement of the "A" counter is provided to the RAM 65. Then, the decision is made: "is the "R" counter at a value equivalent to zero?" If the answer is no, another decision is made: "has the "R" counter underflowed?" If the answer to the other decision is no, i.e., the "R" counter is at a value greater than zero, the 200ms time period is begun again. If the answer to the other decision or to the decision

regarding the "R" counter being at a value equivalent to zero is yes, this indicates, respectively, that the filmstrip 7 first has been re-advanced to the same extent it was rewound and then it has been advanced beyond such extent, or the filmstrip merely has been re-advanced to the same extent it was rewound. In either event, the lost data (regarding the number of sprocket holes 41 initially advanced past the sprocket hole sensor 35) has been restored during film re-advance to the RAM 65. Therefore, the next decision is made: "is a film frame in the exposure position?" The answer to this decision, as described above, is obtained by interrogating the RAM 65 regarding the number of sprocket holes 41 advanced past the sprocket hole sensor 35 and depends upon the maximum number of film frames available in the film cartridge 3. For example, with a 35mm roll of film, the first film frame will be in the exposure position after the first 24 sprocket holes have been detected and respective successive film frames will be irf) the exposure position each time 8 more sprocket holes have been detected. If the answer to the decision regarding a film frame in the exposure position is no, the 200ms time period is begun again. If the answer is yes, the film transport 27 is disabled and, for one second or more, the indicator 57 displays the number of film frames available for exposure. Then, the final step orders return to the main routine, after the step in the main routine calling for the data restoration subroutine. In the main routine, the MC 55 is powered off. Main Routine - continued

Referring back to the main routine in Fig. 3, if the answer to the second decision regarding the Schmitt Trigger 73 assuming its high state is no, this indicates that the MC 55 was

powered on by depressing the shutter release 19 at least until the switch SW7 is closed. Then, a third decision is made: "is the status flip-flop 79 in its set state?" If the answer is no, i.e., the status flip-flop is in its clear state, this indicates an outstanding problem has occurred during film movement, such as a film break or a film jam, whereupon, the data restoration subroutine is called for to rewind as much of the filmstrip 7 as is possible back into the film cartridge 7 before opening the back door 11 of the camera. If the answer to the third decision regarding the state of the status flip-flop 79 is yes, i.e., the status filp-flop is in its set state (as ordered in the autoload subroutine), a fourth decision is made: "is the shutter release 19 depressed to the exposure position?", that is, "are switches SW7 and SW8 closed?" If the answer to the fourth decision is no, another decision is made: "is the shutter release 19 depressed only to the standby position?", that s, "is just the switch SW7 closed?" If the answer to the other decision is yes, the fourth decision is made again. If the answer to the other decision is no, indicating the shutter ' release 19 is no longer depressed, the MC 55 applies a trigger pulse to the power flip-flop 71, causing such flip-flop to assume its clear state, powering off the MC. If the answer to the fourth decision regarding depression of the shutter release to the exposure position is yes, another decision is made: "is the shutter 15 closed?", that is, "is the switch SW6 closed?" If the answer to the other decision is no, which indicates the exposure interval has not yet terminated, the other decision is made again. If the answer to the other decision is yes, which indicates the exposure interval has terminated, the next

decision is made: "is the "A" counter 61 at a value equivalent to zero?" If the answer to such next decision is yes, which indicates the last film frame has been exposed, the filmstrip 7 is rewound back into the film cartridge 3 and the MC 55 is powered off, as described above. If the answer to such next decision is no, indicating the exposed film frame was not the last available frame, the film transport 27 is operated in the film advance mode and a 200ms time period is begun, in Fig. 3A. Then, a new decision is made: "has the sprocket hole sensor 35 detected the trailing edge 51 of a sprocket hole 41 within such 200ms time period?" If the answer to the new decision is no, another decision is made: "has the 200ms time period elapsed?" If the answer to the other decision is no, the decision regarding - detection of the trailing edge 51 of a sprocket hole 41 is made again. If the answer to the other decision is yes, this indicates a film break or a film jam, whereupon, the film transport 27 is *"\ disabled, the status flip-flop 71 assumes its clear state, and the MC 55 is powered off. If the answer to the decision regarding detection of the trailing edge 51 of the sprocket hole 41 is yes, the "A" counter 61 is decremented and corresponding data is provided to the RAM 65. Then, the decision is made: "is a film frame in the exposure position?" If the answer is no, the 200ms time period is begun again. If the answer is yes, the film transport 27 is disabled and, for one second or more, the indicator 57 displays the number of film frames available for exposure. Then, the MC 55 is powered off. Interrupt Routine

The interrupt routine, depicted as a flow chart in Fig. 6, operates to suspend the on-going routine or subroutine and is called for whenever the

Schmitt Trigger 73 assumes its low state upon a power diminution below the minimum level for memory retention in the RAM 65. In the interrupt routine, the film transport 27 is disabled and the MC 55 applies a trigger pulse to the power flip-flop 71 which causes such flip-flop to assume its clear state, powering off the MC. At this time, the camera user should check the battery in the camera.

It will be recalled from the description of the preferred embodiment that the Schmitt Trigger 73 has two functions, namely:

(1) Whenever the Schmitt Trigger 73 assumes its low state upon a power diminution below the minimum level for memory retention in the RAM 65, the interrupt routine is called for to power off the MC 55.

(2) Whenever the Schmitt Trigger 73 assumes its high state upon a power resumption above the minimum level to the predetermined level, a trigger pulse is applied to the power flip-flop 71 to power on the MC 55, and an input pulse is provided by the one-shot MV 77 to the MC, causing the MC to initiate the data restoration subroutine.

Thus, in the preferred embodiment, MC 55, the sprocket hole sensor 35 and the inverter circuit 43 constitute a control means which controls operation of the drive means, i.e., film transport 27, to restore data to the volatile memory, RAM 65. The trigger 73 and the one-shot MV 77 also together with the MC 55 constitute a means for automatically actuating the control means in response to resumption of power after a reduction of power below the minimum level.

An alternate embodiment shown in Fig. 7 differs from the preferred embodiment in Fig. 2 in two respects. First, the Schmitt Trigger 73* only

serves (in its low state) to call for the interrupt routine. The Schmitt Trigger 73*, in its high state, has no affect on the MC 55 or on the power flip-flop 71. In Fig. 7, the Schmitt Trigger 73* is not coupled with the MC 55 via a one-shot MV and is not coupled with the power flip-flop 71 (as in Fig. 2). Second, the status SR (set-reset) flip-flop 79* has a preferential state, which is its clear state. Such clear state is assumed by the status flip-flop 79' upon a power resumption, following a power cut-off. Interrupt Routine

The interrupt routine, depicted as a flow chart in Fig. 9, is called for whenever the Schmitt Trigger 73' assumes its low state upon a power diminution below the minimum level for memory retention in the RAM 65. In the interrupt routine, the MC 55 disables the film transport 27. Then, the MC 55 applies a trigger pulse to the status flip-flop 79 1 , causing such flip-flop to assume its clear state, which indicates the power diminution. I§ the final step, the MC 55 applies a trigger pulse to the power flip-flop 71 which causes such flip-flop to assume its clear state, powering off the MC. Main Routine In the alternate embodiment, the power flip-flop 71 will assume its set state to power on the MC 55 upon either of the following occurrences:

(1) When the switch SW5 is closed by contact with the film cartridge 3 upon closing the back door 11 of the camera; and

(2) When the switch SW7 is closed by depressing the shutter release 19 at least to its standby position.

In Fig. 8, which is a flow chart of the main routine, assuming the MC 55 is powered on, the first decision is: "is the shutter release 19 depressed at

O

least to the standby position?", that is, "is the switch SW7 closed?". If the answer to the first decision is no, this indicates the MC 55 was powered on by closing the switch SW5 (as evidenced by an input pulse from the one-shot MV 75 to the MC) .

Therefore, the autoload subroutine is called for. If the answer to the first decision is yes, a second decision is made: "is the status flip-flop 79' in its set state?" If the answer to the second decision is no, i.e., the status flip-flop is in its clear state, this indicates an outstanding problem has occurred during film movement, such as a film break or a film jam, or otherwise there has been a power resumption following a power diminution below the minimum level for memory retention in the RAM 65 or following a power cut-off. In either event, the data restoration subroutine is called for. If the answer to the second decision is yes, the main routine for the alternate embodiment proceeds exactly as the main routine, in Fig. 3, for the preferred embodiments.

The present invention has been described in detail with particular reference to a preferred embodiment and to an alternate embodiment, but it will be understood that other variations and modifications can be affected within the spirit and scope of the invention.

For example, in both described embodiments, stopping of the rewind function is triggered by sensing a transverse edge of the filmstrip associated with the beginning of the filmstrip, i.e., leading edge 49 of the film leader 23. Other aspects of the filmstrip could also be sensed for this purpose. For example, the camera could sense an increased tension on the filmstrip associated with resistance to disconnecting of the filmstrip from the take-up spool

or indicia specially placed on the film to trigger a sensing mechanism.

The preferred embodiments show inputting film length from indicia on the outside of the cartridge. However, such indicia could be positioned on the film leader along with other indicia (such as film speed) and returned to a volatile memory by the data restoring device.

The preferred embodiments show highly preferred automatic operation upon resumption of power. However, it is within the scope of the invention that the means for actuating the control means to initiate the data restoring cycle can be operated manually, after recognition by an operator (for example, from a signal to that effect) that the data has been lost.