SMA wire resistance measurement
11519947 · 2022-12-06
Assignee
Inventors
Cpc classification
F03G7/065
MECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
G01R27/02
PHYSICS
F03G7/0614
MECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
International classification
Abstract
An apparatus is disclosed for measuring the resistance of a shape memory alloy, SMA, wire. The apparatus comprises: an SMA wire; a sense resistor connected in series with the SMA wire; a measurement circuit configured to perform a measurement indicative of the potential difference across at least the SMA wire; and a measurement switch between the SMA wire and the sense resistor. The measurement switch is configured to connect either to the measurement circuit such that the measurement circuit can perform the measurement or to a circuit that bypasses the sense resistor.
Claims
1. An apparatus for measuring the resistance of a shape memory alloy (SMA) wire, the apparatus comprising: an SMA wire; a sense resistor connected in series with the SMA wire; and a measurement circuit configured to perform a measurement indicative of the potential difference across at least the SMA wire scaled relative to a reference potential; wherein the reference potential is connected to a supply potential at the opposite side of the sense resistor from the SMA wire such that the reference potential is equal to the supply potential.
2. The apparatus of claim 1, further comprising a sample and hold circuit, wherein the sample and hold circuit is configured to sample a voltage for inputting to the measurement circuit.
3. The apparatus of claim 2, wherein the sample and hold circuit comprises a capacitor for storing charge during a settling time of the measurement circuit.
4. The apparatus of claim 3, comprising at least one discharge switch arranged in parallel to the capacitor, and wherein the at least one discharge switch is configured to selectably connect the capacitor to a terminal for at least partially discharging the capacitor.
5. The apparatus of claim 1, wherein the measurement circuit comprises an amplifier, and wherein the amplifier is configured to amplify the difference between potential difference across at least the SMA wire and an offset potential.
6. The apparatus of claim 5, comprising: a digital-to-analog converter, wherein the digital-to-analog converter is configured to generate and supply the offset potential to the amplifier.
7. The apparatus of claim 1, comprising a drive switch configured to allow current to flow through the SMA wire when closed, and wherein the measurement circuit is connected to a terminal between the drive switch and the SMA wire such that the measurement circuit is configured to perform the measurement indicative of the potential difference across the SMA wire but not across the drive switch.
8. A method of measuring the resistance of a shape memory alloy (SMA) wire, the method comprising: allowing current to flow through an SMA wire and a sense resistor connected in series with the SMA wire; and performing a measurement indicative of the potential difference across at least the SMA wire scaled relative to a reference potential; wherein the reference potential is connected to a supply potential at the opposite side of the sense resistor from the SMA wire such that the reference potential is equal to the supply potential.
Description
(1) Implementations of the present techniques will now be described, by way of example only, with reference to the accompanying drawings, in which:
(2)
(3)
(4)
(5)
(6)
(7)
(8)
(9)
(10)
(11) Broadly speaking, the present techniques provide apparatus and methods for measuring the resistance of a shape memory alloy (SMA) wire. The SMA wire may be in an SMA actuator or SMA actuator assembly which comprises a static part and a moveable part that moves relative to the static part. The SMA actuator assembly may be provided in any device, such as: a smartphone, a camera, a foldable smartphone, a foldable smartphone camera, a foldable consumer electronics device, an image capture device, a 3D sensing device or system, a servomotor, a consumer electronic device, a mobile computing device, a mobile electronic device, a laptop, a tablet computing device, an e-reader (also known as an e-book reader or e-book device), a computing accessory or computing peripheral device (e.g. mouse, keyboard, headphones, earphones, earbuds, etc.), a security system, a gaming system, a gaming accessory (e.g. controller, headset, a wearable controller, etc.), an augmented reality system, an augmented reality device, a virtual reality system, a virtual reality device, a wearable device (e.g. a watch, a smartwatch, a fitness tracker, etc.), a medical device (e.g. an endoscope), a drone (aerial, water, underwater, etc.), an aircraft, a spacecraft, a submersible vessel, a vehicle, and an autonomous vehicle. It will be understood that this is a non-exhaustive list of example devices. It will also be understood that while some of the following description explicitly mentions cameras or miniature cameras, this is merely one illustrative example device which may incorporate SMA actuators.
(12) Miniature cameras are included in a wide range of consumer electronic devices. The miniature camera comprises an image sensor positioned orthogonally to the optical axis of a lens barrel. Actuators are commonly attached to the lens to achieve two functions: an actuator that moves the lens along its optical axis with respect to the image sensor in response to a control signal from the electronic device provides autofocus; and an actuator that moves the lens barrels in the two directions orthogonal to its optical axis in response to a control signal from the electronic device provides optical image stabilisation. Example devices are shown in International Patent Publication Nos. WO2007/113478, WO2007/113478, WO2011/104518, WO2012/066285 and WO2014/076463.
(13) One method of providing the driving force is to use shape memory alloy (SMA). A shape memory alloy is a material that changes shape over temperature as it transitions from a martensite to an austenite phase. When the wire is heated it shortens in length and when it cools it becomes more elastic and can be stretched by applying a force. In an actuator an SMA wire is used so that it can respond quickly when heated, typically by applying an electric current and relying on the resistance of the wire to dissipate power. The SMA is returned to a longer state by taking advantage of its elasticity when cooled and applying an opposing force, which might be provided by resilient means or another SMA wire.
(14) For positioning applications, it is essential to be able to measure the length of each SMA wire. This is complicated because a wire can be several different lengths at a given temperature dependent on the stress that is applied to it, which is generally unknown in a complex actuator design with several wires providing the movement. The measure of length is typically achieved by measuring resistance as it is directly related to the length and diameter of the wire.
(15) Knowledge of the resistance is also required as precisely changing the length will need a calculated change in wire temperature and therefore the wire needs to be driven by a precise amount of power. Typically, wires are driven by a pulse, where the width is changed to deliver the desired amount of power—i.e. a pulse width modulated (PWM) control. The measurement of resistance for a wire necessarily requires an electric potential and it is therefore common to measure the resistance whilst the wire is being driven. In a miniature camera actuator pulse width can be of the order of ˜1 μs in duration. Measuring the resistance of the wire accurately over such a short time period is challenging.
(16) In the prior art, the SMA wire is driven in series with a sense resistor. To determine the resistance either the potential difference across the sense resistor or the potential difference across the SMA wire to ground is measured. The system is configured so that the potential difference measured is compared to an offset value. The small difference between the potential measured and the offset is then amplified to improve accuracy.
(17) There are a number of drawbacks to this approach:
(18) One drawback is that this approach assumes the drive voltage is constant and is known precisely, which means that any noise or power dependent ripple on the voltage source is a major cause of error in resistance measurement. The mathematical transformation from the potential difference to wire resistance requires the drive voltage as an input.
(19) Another drawback is that this system can only measure the resistance of the SMA wire summed with any other parasitic series resistances, including the MOSFET resistance used to switch power into the wire.
(20) Another drawback is that the settling time of the amplifier needs to be less than the minimum drive time. Given the significant amplifier gain required, this can be technically challenging, requiring an amplifier with a wide bandwidth.
(21) Accordingly, an alternative method of measuring the resistance is required.
(22) It is an object of the present techniques to overcome one or more of these problems and to produce an improved method of measuring the resistance of an SMA wire, or at least to produce a commercially attractive, novel and inventive alternative.
(23) A schematic of a prior art drive circuit is shown in
(24) The sensing side of the circuit is connected between the sense resistor and the SMA wire to measure the potential difference Vw across the SMA wire to ground. The potential difference Vw is fed into an amplifier along with an offset potential Voff generated by a digital-to-analog converter DAC, which can generate a value between a reference potential Vref and ground. The reference potential Vref is nominally equal to the supply potential Vm. The amplifier is configured so that it amplifies the difference between the offset potential Voff and the potential difference Vw so that the gain Gw is applied to a lower potential and the accuracy of the measurement is increased. The gain Gw is controlled by choosing suitable values for the resistors of the measurement circuit which have resistances R1 and R2. The output is fed into an analog-to-digital converter ADC, which scales the result against the reference potential Vref and outputs the value to a control algorithm. The control algorithm may be run by the control system. The control algorithm may determine the resistance Rw based on the output of the sensing side of the circuit.
(25) There are a number of drawbacks to the circuit shown in
(26)
As mentioned above, the potential difference Vw is measured scaled relative to the reference potential Vref. Rewriting the above equation in terms of the measured ratio of the potential difference Vw to the reference potential Vref gives:
(27)
(28) Hence, it is necessary to know the ratio of the supply potential Vm to the reference potential Vref. As an approximation, this ratio can be assumed to be constant at 1. However, one source of inaccuracy is that the supply potential Vm can vary over time and so is not necessarily equal to Vref. The mathematical transformation from the ADC output (i.e. the measured ratio of the potential difference Vw to the reference potential Vref) to the SMA wire resistance Rw requires ratio of the reference potential Vref to the supply potential Vm as an input.
(29)
(30) As shown in
(31) The SMA wire and the sense resistor are between a connection at the supply potential Vm and ground GND. The drive switch NFET (although it is not essential for the drive switch to be implemented as an NFET) is between the SMA wire and ground GND. The drive switch has a resistance Rds(on).
(32) When the drive switch is activated (i.e. closed), current is able to flow through the SMA wire, thereby heating it. A controller is configured to control opening and closing of the drive switch. The controller may use a PWM power drive. There is a potential difference Vs across the sense resistor.
(33) The measurement circuit is connected between the sense resistor and the SMA wire so as to measure the potential difference Vw across the SMA wire to ground. The potential difference Vw is connected to the measurement circuit. In one example, the measurement circuit comprises an amplifier. The potential difference Vw may be connected to the amplifier of the measurement circuit. An offset potential Voff may be connected to the amplifier. The offset potential Voff is generated by a digital-to-analog converter DAC. The digital-to-analog converter DAC is configured to generate a value between the reference potential Vref and ground GND.
(34) The amplifier may be configured to amplify the difference between potential difference Vw across at least the sense resistor and an offset potential Voff. The amplifier amplifies the difference between the offset potential Voff and the potential difference Vw so that the gain Gw is applied to a lower potential and the accuracy of the measurement is increased. The gain Gw is controlled by choosing suitable values for the resistors of the measurement circuit which have resistances R1 and R2. In particular, the gain Gw can be controlled according to the following formula:
Gw=1−R2/R1
(35) The output of the amplifier (GwVw+Voff) is connected to an analog-to-digital converter ADC. The analog-to-digital converter ADC is configured to scale the output of the amplifier against the reference potential Vref. The analog-to-digital converter ADC is configured to output the scaled value to a control algorithm. The control algorithm may be run by the controller. The control algorithm may determine the resistance Rw based on the output of the scaled value output be the measurement circuit.
(36) As shown in ringed part of
(37) The apparatus shown in
(38)
(39) This equation is independent of the supply potential Vm. The modification shown in
(40) As explained above, placing an SMA wire in series with a sense resistor allows the resistance Rw of the SMA wire to be measured. However, there is a drawback that this can be inefficient because the sense resistor consumes power as well as the SMA wire.
(41) In one embodiment, the resistance value Rs of the sense resistor is no more than about 20%, and optionally no more than about 10% of the resistance Rw of the SMA wire. This reduces the power consumed by the sense resistor, thereby improving the power efficiency.
(42) In an alternative embodiment, the resistance Rs of the sense resistor is within 20%, and optionally within 10%, of the resistance Rw of the SMA wire at standard temperature and pressure. The resistance Rs of the sense resistor may be equal to the resistance Rw of the SMA wire at standard temperature and pressure. By providing that the resistance Rs is close to or approximately equal to the resistance Rw, the measurement accuracy is increased. This is because such a configuration increases the voltage change to be measured.
(43)
(44) As shown in
(45) As shown in
(46) As shown in
(47) The apparatus shown in
(48) Optionally, the frequency for heating the SMA wire is greater than the frequency of taking the resistance measurements. As mentioned above, a controller is configured to control voltage pulses supplied to the SMA wire. Some pulses are for heating the SMA wire, so as to control its length. Other pulses are for measuring the resistance of the SMA wire. The frequency of pulses for heating is greater than the frequency of pulses for measurements.
(49) For example, the SMA wire may be controlled (i.e. supplied with pulses for heating) approximately on a 40 kHz PWM frequency. Meanwhile, resistance measurement is only required at around 2.5 kHz. The measurement pulses may be separated from the drive pulses (i.e. heating pulses) in the waveform of pulses supplied by the controller. Optionally, the measurement pulses have a length of the order of 1 μs. This means that a measurement can be performed without significantly adding heat to the SMA wire.
(50) As illustrated in
(51) As shown in
(52) The resistance Rw of the SMA wire can be measured according to the following process. The measurement switch S1 is connected between terminals 1 and 2 such that the sense resistor is switched into the circuit. A short measurement pulse is fed through the SMA wire and the sense resistor by activating the drive switch between ground GND and the SMA wire. The short pulse charges capacitor C1, which is coupled to a high impedance amplifier. The switch S1 can then be switched again so that the SMA wire is available to be driven for actuation. Although S1 is switched, the capacitor remains charged up and holds the level constant through the period covering the settling time of the amplifier. The rest of the circuit is configured as in earlier examples and thereby an efficient and quick method of measuring the resistance Rw is realised. The system can wait until the output of the amplifier has settled before triggering the ADC to measure the amplifier output.
(53)
(54) The method comprises supplying measurement activation signals so as to activate the measurement circuit to perform a measurement indicative of the resistance of the SMA wire. The measurement pulses may be synchronised with the measurement activation signals. In particular, they are caused to occur at the same rate. Each measurement activation signal may be supplied a period of time after a corresponding measurement pulse is supplied. This period of time allows the amplifier of the measurement circuit to settle.
(55)
(56) As shown in
(57) This configuration allows the voltage across the SMA wire and the voltage across the sense resistor to be sampled simultaneously. The resistance Rw of the SMA wire can then be calculated as a ratio of the two voltages because the resistance of the sense resistor is accurately known. This apparatus can measure the resistance independently of the supply potential Vm.
(58) As shown in
(59) The output of the sample and hold elements are fed into two amplifiers. The amplifier of the measurement circuit is configured to measure the potential difference across at least the SMA wire Vw. The amplifier of the further measurement circuit is configured to measure the potential difference Vs across the sense resistor using signals from measurement switches S2 and S3. Reference/offset voltages are fed into the amplifiers in the same manner as described in previous examples. These reference voltages may be different from each other as long as they are known and are selected to give good sensitivity and accuracy in the measurement of the potential differences Vs and Vw.
(60) In the circuit shown in
(61) In particular, the potential difference Vs across the sense resistor and the potential difference Vw across the SMA wire and the drive switch NFET follow the following equations:
(62)
(63) Accordingly, the resistance R can be calculated as:
(64)
(65) As shown in
(66) Such an apparatus is expected to take advantage of the aforementioned improvements in accuracy and timing and additionally reduce or remove parasitic resistance error. The parasitic error may otherwise be cause by the resistance Rds(on) of the drive switch NFET. The measurement is less susceptible to error caused by parasitic resistance of the drive switch NFET. This system can measure the resistance Rw of the SMA wire alone, rather than the resistance Rw of the SMA wire summed with other parasitic series resistances, including the MOSFET resistance used to switch power into the SMA wire.
(67) As shown in
(68) The amplifier of the measurement circuit configured to measure the potential difference across the SMA wire Vw using signals from measurement switches S3 and S4. The mathematical transformation from the output of the analog-to-digital converter ADC to wire resistance Rw is independent of the resistance Rds(on) of the drive switch NFET.
(69) In particular, the potential difference Vs across the sense resistor and the potential difference Vw across the SMA wire and the drive switch NFET follow the following equations:
(70)
(71) Accordingly, the resistance Rw of the SMA wire can be calculated as:
(72)
(73) An exemplary sequence for measuring the potential difference Vw at a point in time using the apparatus shown in
(74) In the drive state (i.e. for heating the SMA wire) the measurement switch S2 connects between terminals 2 and 3, and the measurement switch S3 connects between terminals 2 and 3 so that the sense resistor is bypassed, and the measurement switch S4 connects between terminals 2 and 3. When a measurement is required, the measurement circuits are armed by switching the measurement switches S2, S3 and S4 between terminals 1 and 2 and sending a short measurement pulse into the circuit via the drive switch NFET. The measurement pulse charges the capacitors C1, C2 and C3, which store the charge and via the high impedance buffer hold the lines into the two amplifiers at a constant voltage, so that a measurement can be made independently of the settling time of the amplifier. The values of capacitance and the high impedance buffers are selected so that there is not a significant leakage current for the duration of the measurement.
(75) It should be appreciated that once the measurement pulse has been delivered, the measurement switches S2, S3 and S4 can each respectively be returned to connections between terminals 2 and 3, so that further drive signals do not affect the resistance measurement.
(76)
(77) The method comprises supplying measurement activation signals so as to activate the measurement circuit and the further measurement circuit to perform a measurement indicative of the resistance of the SMA wire. The measurement pulses may be synchronised with the measurement activation signals. In particular, they are caused to occur at the same rate. Each measurement activation signal may be supplied a period of time after a corresponding measurement pulse is supplied. This period of time allows the amplifier of the measurement circuit and the amplifier of the further measurement circuit to settle.
(78)
(79) As shown in
(80) A further improvement to the apparatus is shown in
(81)
(82) The method comprises supplying measurement activation signals so as to activate the measurement circuit and the further measurement circuit to perform a measurement indicative of the resistance of the SMA wire. The measurement pulses may be synchronised with the measurement activation signals. In particular, they are caused to occur at the same rate. Each measurement activation signal may be supplied a period of time after a corresponding measurement pulse is supplied. This period of time allows the amplifier of the measurement circuit and the amplifier of the further measurement circuit to settle.
(83) The method comprises connecting (i.e. closing) the discharge switches S5-S7 so as to at least partially discharge the capacitors C1-C3. Once the capacitors C1-C3 have been discharged, the discharge switches S5-S7 are disconnected (i.e. opened).
(84) The circuits in
(85) As shown in
(86) The exemplary apparatuses described above may be combined in a system with an actuator. In particular, the actuator may comprise the SMA wire. The system may comprise the above-described controller. The controller may be configured to control current flow through the SMA wire so as to control a length of the SMA wire for actuation. The measurement circuit is configured to output the measurement to the controller, and the controller is configured to control the current flow based at least partly on the measurement.
(87) An optical device may comprise a lens and the system described above. The actuator is for actuating the lens of the optical system. The optical device may be a miniature camera, for example in a mobile phone.
(88) The circuits herein described are meant merely by way of example of the present techniques and are not intended to be limiting. Features shown in different Figures can be combined in the same apparatus. For example, the feature of connecting the measurement circuit to a terminal between the SMA wire and the drive switch (shown in
(89) Those skilled in the art will appreciate that while the foregoing has described what is considered to be the best mode and where appropriate other modes of performing present techniques, the present techniques should not be limited to the specific configurations and methods disclosed in this description of the preferred embodiment. Those skilled in the art will recognise that present techniques have a broad range of applications, and that the embodiments may take a wide range of modifications without departing from any inventive concept as defined in the appended claims.