SYSTEM AND METHOD FOR CONFIGURING ELECTRICAL CONTACTS IN ELECTRICAL DEVICE
20170338609 ยท 2017-11-23
Assignee
Inventors
Cpc classification
H01R13/6456
ELECTRICITY
H01R29/00
ELECTRICITY
A24F40/90
HUMAN NECESSITIES
International classification
H01R29/00
ELECTRICITY
Abstract
A system is provided, including a primary device and a secondary device, the primary device having electrical contact pins configured to engage electrical contacts on the secondary device to allow for the exchange of power and data between the devices; the primary device having n electrical contact pins, where n is a positive integer greater than two; the devices are constructed such that the pins of the primary device are engageable with the contacts of the secondary device in a plurality of m distinct electrical orientations, wherein m is a positive integer less than n; and the primary device is configured to determine which of the m orientations the secondary device is in relative to the primary device by comparing voltages measured between at least m different pairs of contacts with a voltage record stored in a memory in the primary device.
Claims
1.-15. (canceled)
16. A system, comprising: a primary device and a secondary device, the primary device having n electrical contact pins, where n is a positive integer greater than two, configured to engage electrical contacts on the secondary device to allow for exchange of power and data between the primary and secondary devices, the primary and secondary devices being constructed such that the electrical contact pins of the primary device are engageable with the electrical contacts of the secondary device in a plurality of different relative orientations comprising m distinct electrical orientations, where m is a positive integer greater than one but less than n, the primary device comprising a controller and switches configured to allow different contact pins to be connected to the controller, and the controller being configured to apply a current to different pairs of electrical contact pins and comprising a non-volatile memory configured to store a voltage record, to compare measured voltages between the different pairs of electrical contact pins with the voltage record to determine which of the m distinct electrical orientations the secondary device is in relative to the primary device, and to close a plurality of the switches in response to a determined orientation of the secondary device.
17. The system according to claim 16, wherein the primary device and the secondary device are constructed such that a number of physically allowed relative orientations is greater than m.
18. The system according to claim 16, wherein n is equal to five.
19. The system according to claim 16, wherein the secondary device has five electrical contacts.
20. The system according to claim 19, wherein the five electrical contacts comprise a power contact, an electrical ground contact, a data transmission contact, a data reception contact, and a redundant contact connected to electrical ground.
21. The system according to claim 16, wherein the secondary device has an external housing having a cross section in a shape of a regular polygon with a protrusion on at least one side of the polygon.
22. The system according to claim 21, wherein the polygon is a decagon.
23. The system according to claim 16, wherein the primary device comprises a socket, wherein the electrical contact pins are provided in the socket, and wherein the socket is shaped to allow the secondary device into the socket to engage the electrical contact pins in the plurality of different relative orientations.
24. The system according to claim 23, wherein the primary device comprises a bearing surface outside of the socket, and wherein the bearing surface is configured to engage the secondary device and to prevent some relative orientations of the plurality of different relative orientations between the electrical contact pins of the primary device and the electrical contacts of the secondary device.
25. The system according to claim 16, wherein n is greater than three and m is equal to three.
26. The system according to claim 16, wherein the plurality of different relative orientations consists of five allowed relative orientations.
27. The system according to claim 16, wherein the primary device further comprises a current limiting resistor connected in parallel with a current limiting switch between a power source and the electrical contacts on the secondary device, and wherein the controller is further configured to hold the current limiting switch open during an orientation determination operation.
28. The system according to claim 16, wherein the primary device is a charging device configured to charge a secondary battery in the secondary device.
29. The system according to claim 16, wherein the secondary device is an electrically operated smoking system.
30. A method of configuring electrical contacts in primary device configured to engage with a secondary device, the primary device having n electrical contact pins, where n is a positive integer greater than two, configured to engage electrical contacts on the secondary device to allow for exchange of power and data between the primary and secondary devices, the primary device comprising a controller and switches allowing different contact pins to be connected to a measuring component within the primary device and to electrical ground, the primary and secondary devices being constructed such that the electrical contact pins of the primary device are engageable with the electrical contacts of the secondary device in a plurality of different relative orientations comprising m distinct electrical orientations, where m is a positive integer greater than one but less than n, the controller being configured to apply a current to different pairs of electrical contact pins and comprising a non-volatile memory configured to store a voltage record, to compare measured voltages between the different pairs of electrical contact pins with the voltage record to determine which of the m distinct electrical orientations the secondary device is in relative to the primary device, and to close a plurality of the switches in response to a determined orientation of the secondary device, and the method comprising, when the secondary device is engaged with the primary device, sequentially closing different pairs of switches from the plurality of switches to connect at least m different pairs of electrical contacts on the secondary device to the measuring component within the primary device, and comparing voltages measured by the measuring component with a voltage record stored in a memory in the primary device.
Description
[0023] These and other aspects of the apparatus will become apparent from the following exemplary embodiments that are described with reference to the following figures in which:
[0024]
[0025]
[0026]
[0027]
[0028]
[0029]
[0030]
[0031]
[0032]
[0033]
[0034]
[0035] The secondary device is illustrated schematically in
[0036]
[0037]
[0038] The primary device is configured to supply power to the secondary device, and to exchange data with the secondary device through the contact pins. The data connection is configured to download data from the secondary device such as usage statistics, operational status information and the like. In addition, the data connection is configured to upload data from the primary device to the secondary device such as operating protocols. The operating protocols may include power supply profiles to be used when supplying power from the secondary power supply to the heater. Data may be communicated from the secondary device 100 to the primary device 400 and stored in, for example, control electronics in the primary device. Data may then be communicated out of the primary device 400 via the USB connector. The primary device can be switched between different configurations such that contact pins in the primary device perform different functions in different configurations, as will be described.
[0039]
[0040]
[0041] The primary device is constructed to allow each of the five pins to be connected to each of: the power output from the charging system, electrical ground, and the data reception and data transmission ports of the CPU in the primary device, depending on the orientation of the secondary device in the primary device. The end user can insert the secondary device into the socket in the primary device in any mechanically possible orientation without needing to worry about the correct electrical configuration.
[0042] In this example there are five mechanically allowed orientations, labelled P1, P2, P3, P4 and P5, because five orientations are prevented by the interaction of the button and the bearing surface.
[0043] It can be seen that the five mechanically allowed orientations comprise only three distinct electrical configurations. Electrically P1 is equivalent to P2, and P3 is equivalent to P4. Accordingly the primary device needs to be able to switch between three different electrical configurations.
[0044] In order to configure the pins in the primary device correctly, the primary device must first be able to determine which of the three possible electrical configurations the orientation of the secondary device corresponds to. It can also be seen that in all five configurations one of pin 406 or 408 is connected to one of the ground contacts 308 or 304 and that the power contact 302 is always connected to one of pins 410, 402 and 404.
[0045]
[0046] The orientation detection process proceeds to determine which of pins 410, 402 and 404 is connected to the battery of the secondary device. In a first stage, S1, it is assumed that the secondary device is in orientation P1 or P2 so that the switches associated with contact pins 410 and 406 are closed. The voltage from the voltage divider is then recorded. Then in stage S2 orientation P3 or P4 is assumed and the switches associated with pins 402 and 408 are closed and the voltage at the voltage divider recorded. Finally in stage S3 orientation P5 is assumed and the switches associated with pins 404 and 406 are closed and the voltage at the voltage divider recorded. The recorded voltages are compared with a threshold value and as a result of the comparison given either a high value or 1 or a low value of 0. Table 1 below shows the resulting voltages depending on the actual orientation of the secondary device.
TABLE-US-00001 TABLE 1 Actual orientation S1 value S2 value S3 value P1 or P2 1 0 0 P3 or P4 0 1 0 P5 0 0 1
[0047] It can be seen that each distinct electrical configuration corresponding to a particular orientation or orientations of the secondary device relative to the primary device has a unique result from stage S1, S2 and S3. The CPU can compare the recorded result with a database stored in memory to deduce the correct electrical configuration for the electrical contact pins.
[0048] Before describing how the primary device configures the electrical contact pins, and alternative orientation detection method will be described with reference to
[0049] The voltage source 605 in the primary device is connected, through a resistor 608, to each of contacts pins 410, 402 and 404, through respective switches 610. Contact pins 406 and 408 are connected to ground through respective switches 612. Switches 610 and 612 are transistors controlled by CPU 606. The CPU is configured to measure the voltage at each of pins 410, 402 and 404 when they are connected to the voltage source 605. Again the voltages are compared to a low threshold to give them a binary value. When the output voltage is zero the CPU must be connected to a ground contact on the secondary device
[0050] As before pairs of switches are closed in sequence to provide a voltage sequence recorded by the CPU. The voltage sequence recorded is compared with sequence data stored in memory to allow the orientation of the secondary device relative to the primary device to be deduced.
[0051] As before the switches are switched according to stages S1, S2 and S3. Table 2 shows the resulting values recorded by the CPU.
TABLE-US-00002 TABLE 2 Actual orientation S1 value S2 value S3 value P1 or P2 1 0 1 P3 or P4 1 1 0 P5 0 1 1
[0052] Again it can be seen that each of the electrically distinct relative orientations between the primary and secondary devices provides a unique voltage sequence.
[0053] Once the orientation of the secondary device relative to the primary device is known, the primary device must then configure to contact pins to connect them to the correct function within the primary device.
[0054] The power source, indicated by Vcc, may need to connect pins 40, 402 and 404 depending on the orientation of the secondary device. Accordingly switches 610 are provided to selectively connect the Vcc to one of these pins. All of the pins 402, 404, 406, 408 and 410 may need to be able to connect to electrical ground depending on the orientation of the secondary device. Accordingly switches 612 are provided between ach of the pins and electrical ground. The data transmission line, indicated by Tx may need to connect to pin 410, 402 or 408. The data receiving line Rx may need to connect to pin 404, 406 or 408. A first tri-state switch 802 is provided to selectively connect Tx to pin 410 or 402 or neither. A second tri-state switch 804 is provided to connect Rx to pin 404 or 406. A third tri-state switch 806 is also provided to connect pin 408 to Tx or Rx or neither.
[0055] In this example each of the switches 610 and 612 is a MOSFET. Operation of each switch is controlled by CPU in the primary device. The primary device may store the correct configuration of switches 610, 612, 802, 804 and 806 for each determined orientation of the secondary device in a non-volatile memory. The CPU can then simply look up the switch configuration from the memory and control the switches accordingly.
[0056] A current limiting resistor 810 is also provided to ensure that only limited current is used in the orientation detection process. A shorting switch 812, which is also a transistor, is provided for shorting out the current limiting resistor during a charging process. The shorting switch is also controlled by the CPU.
[0057] The described embodiment is just one example of many possible embodiments that could implement the invention. It is of course to be understood that the specification is not intended to be restricted to the details of the above embodiments which are described by way of example only. Although the invention has been described in relation to an electrically heated smoking system comprising a smoking device and a charging device, it should be clear that any primary and secondary devices that exchange power and data over different electrical contacts could be used to implement the invention.