Multifunction joystick apparatus and a method for using same
10073488 ยท 2018-09-11
Assignee
Inventors
Cpc classification
G05G9/047
PHYSICS
International classification
Abstract
A joystick apparatus has a housing and a printed circuit board in the housing. A shaft is pivotably connected to a U-joint assembly to allow movement of the shaft relative to the center position within a circle. A concentric reduced power zone circle is associated with the circle. Operation of the joystick within the reduced power zone circle uses less power than operation outside of the reduced power zone. A knob and a magnet are located on the shaft. A Hall effect integrated circuit detects movement of the magnet in response to corresponding movement of the shaft by a user and generates a corresponding proportional joystick output signal indicative of a direction and an extent of rotation of the shaft. A multifunction joystick control system has a joystick configured to provide multiple operational modalities on a joystick. An electrical interface connects the joystick apparatus and the host central processing unit.
Claims
1. A joystick apparatus comprising: a housing; a printed circuit board in the housing; a U-joint assembly above the printed circuit board in the housing wherein the U-joint assembly has a U-joint rocker pivotably connected to a U-joint slider; a reflector at a center position on the U-joint slider; a shaft having a first end, a second end and a center position, wherein the second end is pivotably connected to the U-joint rocker to allow movement of the shaft relative to the center position within a circle, and wherein the movement of the shaft is in at least one of a forward and a backward direction, a side-to-side direction, an axial direction, or a rotating direction, to provide an end user with selectable functionality; a knob on the first end of the shaft; a magnet on the second end of the shaft; a Hall effect integrated circuit on the printed circuit board wherein the Hall effect integrated circuit detects movement of the magnet in response to corresponding movement of the shaft and further wherein the Hall effect integrated circuit generates a corresponding proportional joystick output signal indicative of the direction of movement of the shaft and an extent of deflection of the shaft; the apparatus further comprising a dome contact on the printed circuit board wherein the U-joint slider contacts the dome contact to close an electrical circuit in response to the end user pressing axially on the knob; a concentric reduced power zone circle within the circle of movement of the shaft wherein operation of the shaft within the reduced power zone circle uses less power than operation outside of the reduced power zone circle; and a first optical switch and a second optical switch on the printed circuit board, wherein each of the first optical switch and the second optical switch is arranged on a respective side of the center position of the reflector, and wherein each of the first optical switch and the second optical switch closes an electrical circuit associated with the first optical switch and the second optical switch in response to the end user rotating the knob to align the reflector with one of the first optical switch and the second optical switch.
2. The apparatus of claim 1 wherein the circle of movement of the shaft facilitates the generation of a non-distorted maximum joystick output signal.
3. The apparatus of claim 1 wherein the U-joint slider is configured to slide vertically in the housing in response to a user axially pressing the knob.
4. The apparatus of claim 1 further comprising: a torsion spring between the housing and the U-joint slider to return the shaft to the center position in response to a user rotating the knob.
5. The apparatus of claim 1 further comprising: a shaft gater on the housing wherein the shaft passes through an opening in the shaft gater.
6. The apparatus of claim 1 further comprising: a slave microcontroller associated with the printed circuit board.
7. The apparatus of claim 1 further comprising: a sealing boot having an opening and a lip, wherein the first end of the shaft passes through the opening, and the lip abuts the housing.
8. The apparatus of claim 1 further comprising: a sealing boot overmolded onto an insert, wherein the sealing boot is silicone rubber, and the insert is plastic.
9. The apparatus of claim 1 further comprising: a centering plunger on the shaft; and a spring on the centering plunger to return the shaft to the center position in response to a user moving the shaft.
10. The apparatus of claim 1 further comprising: keying features in the housing to facilitate alignment during assembly.
11. The apparatus of claim 1 further comprising: keying features to allow the U-joint slider to move axially along the shaft axis and to restrict rotation of the U-joint slider relative to the housing for pushbutton operation.
12. The apparatus of claim 1 further comprising: keying features to allow the U-joint slider to move axially along the shaft axis for pushbutton operation and to allow rotation of the U-joint slider relative to the housing for rotation operation.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
(1)
(2)
(3)
(4)
(5)
(6)
(7)
(8)
(9)
(10)
(11)
(12)
(13)
(14)
(15)
(16)
(17)
(18)
(19)
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
(20) The present invention generally relates to a joystick apparatus and a method for using same. More specifically, the present invention relates to a joystick apparatus that may be configured in various embodiments to provide a multifunction joystick for a particular application and/or for a variety of devices.
(21) To this end, in an embodiment, a joystick apparatus is provided. The apparatus has a housing and a printed circuit board in the housing. A U-joint assembly is positioned above the printed circuit board and has a U-joint rocker pivotably connected to a U-joint slider. The apparatus also has a shaft having a first end, a second end and a center position. The second end is pivotably connected to the U-joint rocker to allow movement of the shaft relative to the center position within a circle. The movement of the shaft is in at least one of a forward and a backward direction, a side-to-side direction, an axial direction or a rotating direction to provide an end user with selectable functionality. The apparatus further has a knob on the first end of the shaft and a magnet on the second end of the shaft. Finally, the joystick apparatus has a Hall effect integrated circuit (IC) on the printed circuit board that detects movement of the magnet in response to corresponding movement of the shaft and generates a corresponding proportional joystick output signal indicative of the direction of movement of the shaft and an extent of rotation of the shaft.
(22) Referring now to the drawings wherein like numerals refer to like parts,
(23) As shown in
(24) The joystick apparatus 100 may also have a printed circuit board (PCB) 120. The PCB 120 may be made from FR4 with copper and/or gold plating. FR4 is a grade designation assigned to glass-reinforced epoxy laminated printed circuit boards. FR4 is a composite material composed of woven fiberglass cloth with an epoxy resin binder that may be flame resistant and/or self-extinguishing. The PCB 120 is a substrate onto which the switch circuitry is laid. The PCB 120 may be an attachment point for a strain relief 125 and a cable assembly 130 (see
(25) The backplate 140 may be made from plastic. The backplate 140 may attach to an underside 147 of the joystick housing 115 and may be keyed to the joystick housing 115 by poka-yoke features to prevent incorrect assembly orientation. A tab 148 may be formed on the backplate 140, and a corresponding notch 149 may be provided in the housing 115. The backplate 140 may also serve to locate and secure the PCB 120. As a result, the backplate 140 may be fixedly attached and/or on-center in the joystick housing 115. Posts 150 may be provided on the backplate 140 as shown in
(26) Referring to the exploded view of an embodiment of the joystick apparatus 100 illustrated in
(27) The PCB 120 may also have other items affixed thereto. For example, the PCB 120 may have a dome contact 170. The dome contact 170 may be made from steel. The PCB 120 has a top surface 171 and a bottom surface 173. The dome contact 170 may be located on the top surface 171 of the PCB 120 and may be actuated by a U-joint slider 175 when a user presses down axially on the knob 105. The user may press downwardly or tap the knob 105 depending on the sensitivity of the joystick apparatus 100 in an embodiment. The force of the user input on the knob 105 is transferred through a shaft 200 to cause the U-joint slider 175 to physically contact and compress the dome contact 170. The dome contact 170 may provide an electrical switch closure when depressed and may also provide haptic feedback to the user. Also, a dome retaining sheet 180 may be assembled over the dome contact 170 and adhered to the top surface 171 of the PCB 120. The dome retaining sheet 180 may maintain the dome contact 170 in a fixed position beneath the actuator feature of the U-joint slider 175. The dome retaining sheet 180 may also prevent unwanted debris from interfering with the operation of the dome contact 170, which may prevent proper switch closure. The dome retaining sheet 180 may be made from an adhesive film.
(28) A microcontroller 185 (shown in
(29)
(30) Moreover, the shaft 200 may be attached to a U-joint slider 175, which also allows the shaft 200 to actuate joystick features of a pushbutton switch feature and a momentary rotation feature. Each feature is described hereinafter. The shaft 200 may be considered the center of the user interface; any input from the user is transmitted through the motion of the shaft 200 to various sensors on the PCB 120 discussed hereinafter.
(31) The magnet 210 may be made from neodymium. The magnet 210 is a crucial component to the proportional joystick output, which uses a Hall effect integrated circuit (IC) 230 (shown in
(32) In an embodiment of the invention, the microcontroller 185 may read an X coordinate and a Y coordinate of the joystick apparatus 100 from the Hall effect IC 230 and may adjust for mechanical offset from a center and/or non-actuated position of the shaft 200. Accordingly, the microcontroller 185 may determine if the joystick apparatus 100 is within a sleep zone as shown in
(33) In an embodiment, the sleep zone circle may have coordinates. For example, a coordinate along the circumference of the sleep zone circle may have a defined X coordinate and Y coordinate of (13,13) at an angle of 45 degrees from the horizontal and/or X axis. Accordingly, for a value (28,28) from the Hall IC at an angle of 45 degrees, the microcontroller 185 may reduce by the defined X coordinate and Y coordinate along the circumference of the sleep zone circle to provide a final calculated output of (15,15).
(34) Additionally, in an embodiment of the invention, coordinate values output by the microcontroller 185 regarding the position of the joystick apparatus 100 may be incremental. That is, coordinate values output may begin with small values such as (1,0) and/or (1,1) and increase toward larger values proportionate to movement and/or actuation of the joystick apparatus 100, rather than jumping from a small value immediately to a large value, for example, that may be along the circumference of the sleep zone circle.
(35) Also, in an embodiment of the invention, if, after reducing the coordinate values read from the Hall effect IC 230 by the corresponding sleep zone coordinates, the resulting coordinates lie outside the maximum output circle and/or range of motion of the joystick apparatus 100 as shown in
(36) The Hall effect IC 230 may contain an indium compound semiconductor crystal, such as indium antimonide. Hall effect ICs used in motion sensing and motion limit switches may offer enhanced reliability in extreme environments. The Hall effect IC 230 and the magnet 210 do not use moving parts. Further, the Hall effect IC 230 does not require physical contact, for example, between the Hall effect IC 230 and the magnet 210, thus extending the life of the Hall effect IC 230 in comparison to traditional electromechanical switches. Additionally, the Hall effect IC 230 and/or the magnet 210 may be encapsulated in an appropriate protective material.
(37) The Hall effect IC 230 may be used to create a proportional joystick output that may correspond to the position of the shaft 200. The magnet 210 may reside in the pocket 235 in the base of the shaft 200. As the shaft 200 is moved during a joystick actuation by the user, the magnet 210 moves above the Hall effect IC 230 located under the PCB 120. The Hall effect IC 230 may be, for example, configured to detect and/or monitor minor fluctuations in magnetic flux density. The fluctuations in magnetic flux density may correspond to the position, rotation and/or deflection of the shaft 200 relative to, for example, the magnet 210. Further, the Hall effect IC 230 may have an internal central processing unit (CPU) that may calculate an X coordinate and/or a Y coordinate for the position of the joystick apparatus 100 based on the magnetic flux measured by each Hall sensor in the array of Hall sensors in and/or on the Hall effect IC 230 as the shaft 200 and/or magnet 210 are moved. The Hall effect IC 230 may thus provide an electrical output proportional to the position, such as an angular position, of the shaft 200. As shown in
(38) As set forth above, the PCB 120 may have various sensors. For example, the Hall effect IC 230 may be mounted on the bottom surface 173 of the PCB 120 to detect changes in the position of the shaft 200. Also, the PCB 120 may have optical switches 250 mounted on the top surface 171 of the PCB 120. The optical switches 250 may be used in an embodiment of the joystick apparatus 100 having a rotating feature described below. As shown in
(39) As shown in
(40) The rocker pins 280 may be made from steel. As previously set forth, the two rocker pins 280 may attach the U-joint slider 175 to the U-joint rocker 215 and may allow pivoting of the U-joint rocker 215. A press-fit between the rocker pins 280 and the U-joint slider 175 and a loose fit between the rocker pins 280 and the U-joint rocker 215 may be provided.
(41) As shown in
(42) The pushbutton and rotation embodiment of the U-joint slider 175 shown in
(43) The pushbutton and non-rotation embodiment of the U-joint slider 175 has the attachment point for the U-joint rocker 215; however, but the U-joint slider 175 may be capable of sliding up-and-down inside the joystick housing 115. As a result, the U-joint slider 175 may function as an actuator for the dome contact 170 on pushbutton embodiments of the joystick apparatus 100 as shown in
(44) The joystick housing 115 may provide attachment, assembly and/or location features for a shaft gater 300, the assembly studs 155, the U-joint slider 175 and the backplate 140. The joystick housing 115 may also have poka-yoke keying features to prevent any misalignment during assembly. As a result, any given component may only be assembled to the joystick housing 115 in one way, and any incorrect orientations may not be allowed.
(45) The joystick housing 115 may be configured in numerous embodiments. One embodiment of the housing 115 may be utilized for non-rotating embodiments of the joystick apparatus 100 (such as those shown in
(46) The torsion spring 290 may be made from music wire. The torsion spring 290 may be used on rotating versions of the product. The torsion spring 290 may be pre-loaded and/or engaged between the joystick housing 115 and the U-joint slider 175. The pre-loading is substantially equal and substantially opposite in the clockwise direction and/or the counter-clockwise direction. As a result, the torsion spring 290 may hold the U-joint slider 175 and other parts in the center rotational position until a user may actuate the rotation feature by turning the knob 105. As the knob 105 is turned, the torsion spring 290 may be loaded that may provide a haptic resistance to the user. When the shaft 200 is released from a rotated position, the torsion spring 290 may relax to its nominal pre-loaded position that may return the shaft 200 to its center rotational position.
(47)
(48) As shown in
(49) In various embodiments, different shaft gaters 300 may be available. One type of shaft gater 300 is a two-way gater which may allow side-to-side movement of the shaft 300. Another type of shaft gater 300 is a four-way gater which may allow side-to-side and up-and-down motion. Finally, a third type of shaft gater 300 is an all-way gater which is circular in shape and may limit the travel to the nominal maximum angle of twenty degrees in any direction. In the various embodiments, all of the shaft gaters may limit the shaft travel to twenty degrees maximum along their allowable axes of motion. However, the two-way shaft gaters may further restrict the motion to allow side-to-side motion, whereas the four-way shaft gaters may further restrict the motion to allow side-to-side and up-and-down motion. Another function of the shaft gater 300 is to provide a bearing surface for the centering plunger 295 to ride. During joystick actuation, the geometry of the shaft gater 300 forces the centering plunger 295 upward along the shaft 300 that may compress the compression spring 310. When the actuation is released, the compression spring 310 may exert force onto the centering plunger 295 which may force the shaft 200 to its center position.
(50) Further, as shown in
(51) The joystick apparatus 100 may also have C-clips 335 that may be made from steel. The C-clips 335 may be installed in an upper position and a lower position on the shaft 200 to keep the sealing boot insert 315 from moving undesirably along the length of the shaft 200. Such placement of the C-clips 335 may ensure that the 0-rings 330 may be engaging to the sealing boot insert 315, and a seal may be maintained.
(52) The joystick apparatus 100 may also have washers 340 that may be made from steel. The washers 340 may be installed between the C-clips 335 and the sealing boot insert 315. The washers 340 may create a complete 360 degree bearing surface for the sealing boot insert 315, as opposed to resting on the C-clips 335 directly, which do not offer as much bearing surface.
(53) The sealing boot 110 may be made from silicone rubber and may be overmolded onto a plastic insert 350. The silicone rubber material may provide a flexible shaft and panel seal that may move with the joystick actuation. The plastic insert 350 may provide a smooth surface to which the shaft 200 and the O-rings 330 may seal to provide the shaft seal. When mounted in an application for a customer, for example, a flat, bottom portion 360 of the sealing boot 110 may be sandwiched between the joystick housing 115 and the customer's panel (not shown). This configuration forms the panel seal, and in conjunction with the shaft seal described above, may allow for an IP67 seal rating, which may maintain integrity even when the joystick functions are being actuated. The plastic insert 350 may also provide a shroud around the compression spring 310 and may set the fixed upper-stop for the compression spring 310. The compression spring 310 may be installed between the sealing boot insert 350 and the centering plunger 295. On joystick actuation, the centering plunger 295 may be forced upward along the shaft 200 that may compress the compression spring 310. When the actuation is released, the compression spring 310 may exert force onto the centering plunger 295, which may force the shaft 200 to its center position.
(54) Further, the knob 105 may be made from plastic. The knob 105 may attach to the shaft 200 and may be held fixedly in place by tightening a set screw (not shown) in a hole 370 in the side of the knob 105 (shown in
(55) In an embodiment of the invention, the joystick apparatus 100 may be a proportional output joystick which provides an X,Y coordinate (approximately 0-80) proportional to the joystick location. The X,Y coordinates may be read from the joystick via an I.sup.2C bus. Features of the embodiment may include the proportional operation of the joystick and the I.sup.2C interface, although other interfaces may be used. With an I.sup.2C interface, the joystick apparatus 100 may communicate over an I.sup.2C bus (2-wire bi-directional serial interface). The host CPU (master) must initiate the data transfers, since the joystick apparatus 100 is a slave device. In an embodiment, the I.sup.2C bus may have a low operating current, for example, 3 mA, max.@ VDD=3.3V. Alternatively, an embodiment of the joystick apparatus 100 may also have a low power sleep mode that may operate at 100 pA, max. @ VDD=3.3V. In the full power mode, power consumption may be higher. As long as the joystick position is outside of the sleep zone (shown in
(56) Turning now to the electrical connections and communication aspects of the joystick apparatus 100,
(57)
(58) As shown in
(59) TABLE-US-00001 TABLE 1 Pin # Signal I/O Description 1 VDD Power Supply 2 SDA I/O I.sup.2C Data Line 3 Spare 4 INTn Out Interrupt Out. Open Drain. Active Low. 5 Pbn Out Pushbutton Out. Open Drain. Active Low. 6 A1n In A1n (LSB) of 7 bit I.sup.2C address 7 SCL In I.sup.2C Clock Line 8 VSS Ground
(60) Pull-Up Resistors
(61) I.sup.2C Signals (SCL, SDA) may require external pull-up resistors, Rp. The connection of the resistors is shown in
(62) TABLE-US-00002 TABLE 2 Rp recommended Bus Load capacitance SCL Frequency 100 pF 200 pF 300 pF 400 pF Standard mode (100 kHz) 6.49 k 3.48 k 2.49 k 2 k Fast mode (400 kHz) 2.26 k 1.4 k 1.1 k
(63) For example, when operating in the standard mode at 100 kHz with a bus load capacitance of 200 pF, the recommended Rp value for the pull-up resistors Rp for I.sup.2C signals SDA & SCL is 3.48 k. Also, the pull-up resistor for the INTn signal shown in
(64) To determine if a proper pull-up value has been selected, one checks the low and high voltage levels for SCL and SDA during I.sup.2C bus activity. The signal levels may meet the following requirements with at least a 0.1V margin: VL, MAX<0.3 VDD VH, MIN>0.7 VDD
(65) Cable/PCB Trace Length
(66) The Cable/PCB Trace Length may vary with I.sup.2C frequency. The I.sup.2C specification specifies a maximum capacitance per signal line (SCL or SDA) of 400 pF. The bus capacitance is the total of wire, PCB traces and pins. A longer cable/PCB trace length may result in a higher bus capacitance. As a result, a lower operating frequency may be used.
(67) I.sup.2C Interface
(68) As previously set forth, the joystick apparatus 100 may, for example, communicate over an I.sup.2C bus (2-wire bi-directional serial interface) in an embodiment. Also, the joystick apparatus 100 may communicate via other interfaces such as SPI and/or analog out, for example. The host CPU 190 is the master device 405 and as such, must initiate the data transfers since the joystick apparatus 100 is the slave device 400.
(69) I.sup.2C Address
(70) The I.sup.2C address may consist of 7 bits (D7-D1) and a bit (D0) indicating whether the bit is a Read (1) or Write (0) cycle. The joystick apparatus 100 may be provided from the factory with the 7-bit device I.sup.2C address of 80H (1000 000X) when A1n (pin 6) is left floating (not connected). The I.sup.2C address may be changed to 82H by pulling A1n to Gnd. If A1n is changed after power-up then a reset command may be sent to the joystick to make active the new value (A1n is only read by the joystick after a power-up or reset command). Changing the I.sup.2C address may be necessary if two joystick apparatus 100 joysticks are connected to the same I.sup.2C bus or if another component is connected to the I.sup.2C bus shared the same I.sup.2C address. In another embodiment, a custom I.sup.2C address may be used.
(71) SDA is a bi-directional signal and is used to read and write the serial data. The SCL signal is the clock generated by the host CPU, to synchronize the SDA data in read and write mode. The maximum I.sup.2C clock frequency is 400 KHz with data triggered on the rising edge of SCL.
(72) The I.sup.2C bus may also have clock stretching. Clock stretching may occur when a device on the bus holds the SCL line low effectively pausing communication. The I.sup.2C slave 400 of the joystick apparatus 100 may stretch the clock to allow more time to load data to be read by the master device 405 in the host CPU 190. The I.sup.2C master 405 may interface with the joystick apparatus 100 to implement clock stretching on a byte level for reliable operation with the joystick.
(73) I.sup.2C Registers
(74) X Register
(75)
(76) Y Register
(77)
(78) Control Register (76h)
(79)
(80) I.sup.2C Read and Write Cycles
(81) Read X & Y Values
(82) When INTn goes low, new X and Y values may be available. To read the X and Y values, the external I.sup.2C master 405 on the host CPU 190 should perform a read sequence of two bytes without providing a register address. The joystick apparatus 100 may send the X-register value followed by the Y-register value for any two byte read without a register address. INTn will go high (inactive) at the beginning of the read of the Y-value (
(83) If a new X and Y value is available before the previous values are read, the new values may over-write the old with the loss of the oldest values. However, to keep the X and Y values paired or in sync, the user may read the X and Y values in the single I.sup.2C sequence as shown in
(84) Power Modes & Sleep Threshold
(85) Power Up Sequence
(86) In an embodiment, during a power-up after the power supply voltage reaches 3.0V, a user may wait the nominal startup time (T.sub.P,W) before communicating with the joystick over the I.sup.2C bus. This wait may also apply to a reset joystick command. At the end of the nominal wakeup time, the joystick apparatus 100 may generate the first pair of XY values and sets INTn low. Thereafter, INTn goes low if the X-value or the Y-value changes.
(87) Full Power Mode
(88) In this mode, an internal measurement occurs every 20 ms. If the X-value or the Y-value changes from the last values output, the INTn output (Pin 5) is set low signaling a new X-value and a new Y-value may be ready to be read. INTn is cleared (Hi-Z) while the Y-value is read. Power consumption is higher in this mode. As long as the joystick position is outside of the sleep zone, the joystick apparatus 100 will operate in this mode. Power consumption may be higher in this mode.
(89) Low Power (Sleep) Mode
(90)
(91) In an embodiment, the joystick apparatus 100 may operate in a low power (sleep) mode. The last X,Y value output before entering the Low power mode is (0,0). As long as the shaft 200 of the joystick apparatus 100 remains within the circle defined by the threshold, the joystick apparatus 100 may remain in the low power mode. When the shaft 200 of the joystick apparatus 100 is moved outside of the sleep zone circle, the joystick apparatus 100 may return to the full power mode, new X,Y measurements may be available every 20 ms and power consumption may increase. Low power (sleep mode) current may be higher if supply voltage drops below 2.9V.
(92) Other variations and/or geometric configurations which are known to one having ordinary skill in the art are possible and are deemed to be within the scope of this disclosure. The materials used for the components of the joystick apparatus 100 may be selected from any suitable material to perform the desired function for operation of the joystick apparatus 100. The materials must also be capable of withstanding environmental conditions that may be encountered. Considerations of performance and/or reliability are also important in the selection of the material. Other materials which are known to one having ordinary skill in the art may be selected and are deemed to be within the scope of this disclosure. Further, known bonding techniques that are suitable for the type of material selected are considered to be within the scope of this disclosure.
(93) As disclosed above, the joystick apparatus 100 may also be manufactured in numerous embodiments. The various embodiments of the joystick apparatus 100 may have additional components which may provide enhanced functionality of the joystick apparatus 100.
(94) Moreover, the present invention is not limited to the specific arrangement of the components of the joystick apparatus 100 illustrated in the figures. It should be understood that various changes and modifications to the presently preferred embodiments described herein will be apparent to those having ordinary skill in the art. Such changes and modifications may be made without departing from the spirit and scope of the present invention and without diminishing its attendant advantages. It is, therefore, intended that such changes and modifications be covered by the appended claims.