Diagnostic testing system for an exercie machine
TECHNICAL FIELD 
     The present invention relates to exercise equipment and more particularly to a diagnostic testing system for an exercise machine which allows various components of the machine to be checked for maintenance. 
     BACKGROUND OF THE INVENTION 
     Health club facilities typically perform little or no preventive maintenance on their exercise equipment resulting in unnecessary and costly repairs. Perhaps even more important than repair costs is the negative impact that out of service or malfunctioning equipment has on a health club&#39;s membership. It is the more sophisticated computer controlled exercise equipment that is used to draw customers into the club and to keep them as satisfied dues paying members. One reason for the lack of maintenance is that the facility operators usually have very little technical training and hence are often leery of sophisticated, computer controlled exercise equipment. To reduce equipment down time as well as to prolong the operation of exercise equipment, health club facilities are in great need of a means to increase the reliability of the equipment. A properly maintained exercise machine not only reduces repair costs and increases the machine&#39;s availability but more importantly insures the safety of persons using the machine. 
     SUMMARY OF THE INVENTION 
     In accordance with the present invention, the disadvantages of prior exercise machines have been overcome. The exercise machine of the present invention includes a diagnostic testing system which facilitates testing of the machine&#39;s components to insure that the machine is properly maintained. 
     The exercise machine of the present invention is computer controlled and includes a display for providing information to the user as well as a keypad which allows the user to select various exercise options such as the duration of an exercise or the level of difficulty of an exercise. The exercise machine also includes a test input button located in the machine&#39;s computer housing at a position which is accessible by authorized personnel. The test input button is coupled to the computer control which responds to actuation of the button by entering a diagnostic test mode. 
     In the diagnostic test mode, a number of tests may be performed to check the operation of various components of the exercise machine. Individual tests are provided, for example, to check the display, the keypad, sound generation system, opposition force providing means, and speed sensing means. Another test is used to display accounting data which reflects the use of the machine. For example, the displayed accounting data may include data representing the length of time the machine has been in use as well as data representing the total number of exercise movements performed on the machine such as the number of strokes performed on a rowing machine or the number of repetitions performed on a weight lifting machine. An additional test is provided to clear certain memory locations of the machine. 
     The diagnostic testing system of the present invention allows an operator of a health club facility to troubleshoot an exercise machine thereby avoiding costly repairs. To facilitate the performance of the testing, the system may further display messages instructing the operator as to how each diagnostic test is to be performed. In addition, the usage accounting data accumulated by the machine may be used to automatically alert the operator of the facility that the machine is in need of a service check. 
     These and other objects and advantages of the invention, as well as details of an illustrative embodiment, will be more fully understood from the following description and the drawings. 
    
    
     BRIEF DESCRIPTION OF THE DRAWINGS 
     FIG. 1 is a perspective view of a rowing exercise machine employing the diagnostic testing system of the present invention; 
     FIG. 2 is a perspective view of the display and keypad of the exercise machine shown in FIG. 1; 
     FIG. 3 is a block diagram of the exercise machine of FIG. 1; and 
     FIGS. 4A-4B form a flowchart illustrating the operation of the diagnostic testing system of the present invention. 
    
    
     BEST MODE FOR CARRYING OUT THE INVENTION 
     The diagnostic testing system of the present invention may be implemented on any computer controlled exercise machine such as the rowing machine 10 shown in FIG. 1. The rowing machine 10 of FIG. 1 includes a seat 12 which is movable along an elongated rail 14. To use the machine, an individual sits upon the seat 12 with his or her feet secured in a pair of stationary foot rests 16 and grasps an exercise handle 18. The exercise handle 18 is connected to a cable 20 which may be pulled from or drawn into a cabinet 22. The rowing machine 10 may be as shown in detail in U.S. patent application Ser. Nos. 762,709 filed Aug. 5, 1985, Ser. No. 848,705 filed Apr. 4, 1986, and Ser. No. 848,684 filed Apr. 4, 1986, incorporated herein by reference, such that the cable 20 is wound about a cable drum contained in the cabinet 22, the cable drum being mounted on a shaft to which a flywheel is coupled. When the cable is drawn out from the cabinet 22 by a user, rotation is imparted to the shaft and in turn to the flywheel. Rotation of the flywheel is opposed by a brake unit 23, depicted in block form in FIG. 3, which creates a force to oppose the exercising movements of the user. 
     As shown in FIG. 2, the rowing machine 10 includes a CRT display 24 for providing information to the user during an exercise. The machine 10 also includes a keypad 26 having a plurality of alphanumeric keypad switches which allow a user to enter information to the rowing machine such as the duration of an exercise, or the level of difficulty of an exercise. 
     As shown in FIG. 3, the rowing machine 10 includes a computer control 28 housed in the cabinet 22. The computer control 28 is responsive to information entered by the user on the keypad 26, the speed of the flywheel as measured by a speed sensor 30, and a beginning of stroke signal provided by a beginning of stroke detector 32 to control, through a brake control circuit 34, the amount of force to be provided by the brake unit 23 to oppose the exercising movements of a user. The computer control 28 is coupled to the keypad 26, speed sensor 30, beginning of stroke detector 32 and brake control circuit 34 through an input/output interface 36. The controller 28 further communicates with a sound processor 38 through the interface 36 in order to generate various sounds to be provided by one or more speakers 40 during the performance of a given exercise. For example, the sound processor 38 may generate sounds simulating the swishing sounds of a boat or an oar moving through water. The controller 28 controls the CRT display 24 through a video processor 41 to provide video graphics to the user during an exercise. Details of the sensor 30, detector 32, video processor 41 and display 24 as well as the sound processor 38, speaker 40, control circuit 34 and brake unit 23 may be obtained from the U.S. patent application Ser. Nos. 762,709 filed Aug. 5, 1985, Ser. No. 848,705 filed Apr. 4, 1986 and Ser. No. 848,684 filed Apr. 4, 1986. 
     The computer control 28 includes a microprocessor 42 which is coupled through an address bus 43 and a data bus 45 to the machine&#39;s memory which may be comprised of a ROM 47 and RAM 49. The ROM 47 stores among other things the software according to which the processor 42 operates to control the rowing machine. The RAM 49 is used as a scratch pad memory and to further accumulating machine usage data. For example, each time a rowing event is completed, the microprocessor 42 increments a value stored in the RAM 49 representing the number of rowing events performed on the machine. The microprocessor 42 also monitors the length of each rowing event and updates a value stored in the RAM 49 at the completion of each event to accumulate the total time the machine 10 has been in use. Further, each time a stroke is detected by the beginning of stroke detector 32, the microprocessor updates another value stored in the RAM 49 to accumulate data representing the total number of exercising movements, i.e. strokes, performed on the machine 10. It is noted that if the exercise machine were a weight lifting machine other usage data might be accumulated in the RAM 49 such as the number of weight lifting repetitions performed. 
     The microprocessor 42 is also coupled to a test button 44 which initiates the operation of various diagnostic tests to allow the components of the machine 10 to be checked for maintenance. The test button 44, as shown in FIG. 1, is contained inside the cabinet 22 and may be accessed by authorized personnel through a locked door (not shown) on the cabinet or the like. When actuated, the test button 44 provides a nonmaskable interrupt (NMI) which is applied to the microprocessor 42. The microprocessor 42 responds to an NMI by entering a diagnostic test mode if not already in that mode. If the machine is operating in the diagnostic test mode, the microprocessor 42 responds to an NMI by performing the next diagnostic test as discussed in detail below with reference to FIGS. 4A-4B. 
     As shown in FIG. 4A, upon receipt of an NMI, the microprocessor, at block 46, determines whether the machine is operating in the self-test mode or not. If the machine is not already in the self-test mode, the processor 42 at block 48 sets the contents of a test number counter to x=1 and sets a self-test flag. If the processor determines at block 46 that the machine is already in the self-test mode, the processor at block 50 increments the counter value x by 1. Thereafter, at block 52, the processor determines whether x is less than or equal to 6, there being 6 diagnostic tests performed. If x is less than or equal to 6, the processor goes to block 54. If x is greater than 6, the processor 42 exits the diagnostic test mode subroutine and goes to a &#34;rower not in use&#34; state at block 56. 
     The first diagnostic test is performed if it is determined by the processor at block 54 that x is equal to 1. The first test is used to check the video display 24 and more particularly the colors displayed thereon. The processor 42 at block 58 displays a color bar chart for the first test. The color chart depicts a bar of color for each color which may be displayed on the CRT 24 with each bar labelled with the name of the color that the bar is suppose to be. The personnel performing the diagnostic test may adjust various color pots on the display 24 if the colors of the bars on the chart do not correspond to the labels attached thereto. The processor 42 may also, at block 58, display instructions to the operator identifying the particular color pots which may be adjusted to correct the colors on the display. The color bar chart displayed at block 58 remains on the display 24 until the processor 42 receives another NMI from the test button 44 as determined at block 60. 
     In response to the second NMI, the processor 42 at block 50 increments x to x=2 and from blocks 52 and 54 proceeds to block 62 so that the second diagnostic test may be performed. The second diagnostic test is used to check the keypad 26 and the speed sensor 30. If x is equal to 2 as determined at block 62, the processor at block 64 displays &#34;SWITCH TEST&#34; and various instructions on the CRT display 24. The instructions indicate that if the keypad 26 is to be checked, the operator should press one of the key switches and if the speed sensor is to be checked, the operator should pull back on the handle 18. If it is determined at a block 66 that a key of the keypad 26 has been pressed, at block 68, the processor 42 displays on the CRT 24 the number or message associated with the pressed key. For example, if the yes key 70 is pressed, the microprocessor 42 causes the display 24 to display the word YES. If the word or number displayed on the CRT 24 does not correspond to the pressed key, the operator can check the key switch corresponding to that key to determine whether it is operational or not. If it is determined at block 66 that a key has not been pressed but at block 68 it is determined that the flywheel is turning, the microprocessor 42 at block 74 displays the speed of the flywheel as determined by the speed sensor 30. If the speed sensor is operating properly, the speed displayed on the CRT 24 will increase rapidly in proportion with the pulling out of the handle 18 and then drop off as the handle is returned to its starting position while the flywheel coasts to a stop. If rapid acceleration of the displayed speed is not seen, the operator may adjust the speed sensor 30. The microprocessor 42 while displaying the speed on the CRT 24 may also display instructions telling the operator what to do in the event rapid acceleration is not seen. At block 76, the processor 42 determines whether another NMI has been received or not and, if not, the processor returns to block 64. 
     In response to a third NMI, the microprocessor 42 at block 50 increments the counter to x=3 and at block 78 begins the third diagnostic test to check the sound generating system. In the third test, the processor 42 generates at block 80 the sounds generated during a typical exercise routine. For example, for the rowing machine 10 the microprocessor might cause the sound processor 38 to generate through the speaker 40 the sound &#34;tone-swish-swish-tone . . . &#34; until another NMI is received as determined at block 82. If the sounds generated are not correct, the operator may adjust the sound system. 
     In response to the fourth NMI, the processor increments the counter at block 50 to x=4 to initiate the fourth diagnostic test at block 84. In the fourth test, the processor 42 at block 86 displays &#34;BRAKE TEST&#34; and various instructions telling the operator to press a key corresponding to a desired exercise difficulty level. When the operator has selected a difficulty level as determined at block 88, the processor 42 at block 90 controls the brake unit 24 through the brake control circuit 34 to apply a force associated with the difficulty level selected. At block 90, the level selected is also displayed on the CRT 24 along with instructions to the operator to pull back on the handle 18 to determine whether the opposition force provided by the brake unit 23 is indeed the force associated with the selected difficulty level. Thereafter, the operator may select a different difficulty level or go on to the fifth diagnostic test by pressing the test button 44 to generate another NMI. 
     In response to the fifth NMI received as determined by the processor 42 at block 92, the processor at block 50 increments x to x=5 to initiate at block 94 the fifth diagnostic test. In the fifth diagnostic test, the processor 42 at block 96 displays on the CRT 24 the usage accounting data stored in the RAM 49 as discussed above. The usage accounting data may, for example, include the total hours and minutes the rowing machine 10 has been used, the number of events completed and the number of exercising movements performed such as strokes for a rowing machine or repetitions for a weight lifting machine. The usage accounting data is displayed on the CRT 24 until another NMI is received by the microprocessor 42 as determined at block 98. 
     In response to the sixth NMI, the processor 42 increments at block 50 the counter to x=6 and proceeds to block 100 to display on the CRT 24 the message &#34;CLEAR INITIALS AND DISTANCE YES NO&#34;. By pressing the yes button 70 on the keypad 26, the operator may clear the initials of the top rower and his distance previously stored in the RAM 49. Thereafter, in response to a subsequent NMI as determined at block 102, the processor 42 at block 50 increments the counter to x=7 and from block 52 goes to block 56 exiting the diagnostic test mode subroutine. 
     The six diagnostic tests illustrated with respect to the flowchart of FIGS. 4A and 4B are just examples of the tests which may be performed by a diagnostic testing system for an exercise machine according to the present invention. Further, the processor 42 may be controlled to monitor the usage accounting data stored in the RAM 49 after the completion of each exercise event by comparing the accounting data to reference data in order to determine whether the machine has been operating for a given amount of time or has had performed thereon a given number of exercising movements which would indicate that the machine is ready for a service check. If the usage accounting data is greater than the reference data indicating that the machine should be checked, the processor 42 may control the display 24 to display a message indicating that the machine should be serviced. If the processor 42 is coupled to a main health club computer having its own display, the message may be displayed on the main computer&#39;s display as opposed to the display 24 to alert the operator directly that servicing of the machine is required.