FIELD
[0001] The invention relates to the field of smart doorlock and concerns a doorlock configured
to switch between a locked state and an unlocked state. The invention also concerns
a method for determining a locked state and an unlocked state of a doorlock.
BACKGROUND
[0002] Electromechanical lock and key with identification code, or key with a specific shape
without identification code, are widespread. They enable authorized key holders to
have access to locked rooms if the identification code of the key, or the shape of
the key, corresponds to a predetermined code, or a predetermined shape, in relation
with the electromechanical lock. The key may be an ordinary looking key to insert
into the lock or an access badge to pass in front of the lock.
[0003] In case of a key with an identification code, the electromechanical lock comprises
a processor configured to compare the identification code of the key with the predetermined
code. If the identification code corresponds to the predetermined code, the electromechanical
lock switches from its locked state to its unlocked state.
[0004] Commonly locks are formed with a body that can be easily unscrewed by a locksmith
to facilitate rekeying. The body has the function to lock and unlock the lock. A lock
body may be found under the form of a European cylinder (defined by the DIN18251).
A European cylinder is a type of lock cylinder. There exist other profiles of lock
bodies like the oval cylinder that is used in the Nordic countries. A body may not
be in the form of a cylinder. A lock body may be inserted into a lock or a mortise
lock or a slot-in lock. This function offers the advantage of allowing its change
without altering the boltwork hardware. Removing the body typically requires only
loosening a set screw, then sliding the body from the boltwork.
[0005] As depicted in figure 1, a lock mechanism, or doolock, 5 has a deadbolt 6 that may
be entirely positioned inside the housing of the door 7 in the unlocked state. In
the locked state (state depicted in figure 1), this deadbolt6 projects beyond the
door 7 and is inserted into a slot of the door frame (not represented), thus locking
the door to the frame. The movement of the deadbolt 6 can be mechanically obtained,
for example by a rotation of a key inserted into the doorlock or by rotation of a
handle 8, preferably an indoor handle. The rotation of the key clockwise, respectively
anticlockwise, causes a pin to rotate accordingly, thereby making the deadbolt 6 translate
either outside the door to be inserted into the slot of the door frame, or inside
the door. To switch from the locked state of the door to the unlocked state of the
door, a user has to rotate the key with the corresponding rotation of the key inside
the doorlock, or rotate the indoor handle 8 with the corresponding rotation (which
means with the adapted angular displacement in the corresponding direction 3, 4) to
generate a rotation of the pin that actuates in translation the deadbolt 6. The door
may comprise a handle 9 to activate the latch 2 of the door. This handle 9 (together
with the latch 2) enables to open and close the door in its unlocked state, to enter
or leave the room.
[0006] Therefore, the rotation of the indoor handle enables to make the deadbolt translate
between various positions, from a position totally inserted in the door to a position
where the deadbolt extends beyond the door, so as to be inserted into the corresponding
slot of the door frame, and vice versa depending on the direction of the rotation
of the indoor handle (clockwise and/or anticlockwise).
[0007] However, after having turned the handle clockwise and/or anticlockwise, it is difficult
for a user to estimate the position of the deadbolt in the door or in the slot of
the door frame. The existing doorlocks do not offer the possibility to determine if
the doorlock is locked or unlocked.
[0008] There is consequently a need for a doorlock configured to enable to retrieve the
status of the doorlock to know whether the doorlock is in its locked state of in its
unlocked state.
SUMMARY OF THE INVENTION
[0009] A solution to overcome this drawback is to provide a doorlock enabling to retrieve
the lock status of the doorlock by analyzing the rotation and the direction of the
rotation of the handle.
[0010] To this end, the subject of the invention is a doorlock configured to switch between
a locked state and an unlocked state, the doorlock extending along a first axis between
a first end and a second end, the doorlock comprising:
- a handle positioned at the first end of the doorlock, the handle being mobile in rotation
around the first axis,
- a pin positioned between the first end and the second end of the doorlock, the pin
extending radially from the first axis, the pin being mobile in rotation around the
first axis, and configured to be rotatably driven by a rotation of the handle, thereby
making the doorlock switch between the locked state and the unlocked state,
the doorlock being characterized in that it comprises:
- a PCB secured in an immovable manner inside the handle,
- a ring centered around the first axis, and fixed to the handle so that the rotation
of the handle makes the ring rotate,
- at least one magnet positioned on the ring,
- two reed switches positioned on the PCB, preferably facing the ring,
and in that the PCB comprises a processor configured to determine an angular displacement
of the handle and a direction of the rotation of the handle around the first axis,
based on an electric field generated by the two reed switches when the handle is actuated
in rotation around the first axis.
[0011] Advantageously, the doorlock of the invention comprises at least two magnets, two
adjacent magnets of the at least two magnets forming an angular portion from the first
axis with a predefined angle.
[0012] Advantageously, the processor is further configured to send to a remote control through
a communication link the angular displacement of the handle and the direction of the
rotation of the handle around the first axis.
[0013] Advantageously each of the at least two magnets comprises a north pole and a south
pole superimposed on the north pole according to a second axis parallel to the first
axis, respectively in a first direction and in a second direction, opposite to the
first direction, for two adjacent magnets of the at least two magnets.
[0014] Advantageously the at least two magnets are distributed regularly on the ring.
[0015] Advantageously the processor comprises a memory configured to store a position of
the handle.
[0016] Advantageously the processor is configured to read an identification code of an identification
key and configured to cause the doorlock to switch from the locked state to the unlocked
state if the identification code of the identification key is an authorized code of
the doorlock.
[0017] The invention also relates to a method for determining a locked state and an unlocked
state of a doorlock, the doorlock extending along a first axis between a first end
and a second end, the doorlock comprising:
- a handle positioned at the first end of the doorlock, the handle being mobile in rotation
around the first axis,
- a pin positioned between the first end and the second end of the doorlock, the pin
extending radially from the first axis, the pin being mobile in rotation around the
first axis, and configured to be rotatably driven by a rotation of the handle, thereby
making the doorlock switch between the locked state and the unlocked state,
- a PCB secured in an immovable manner inside the handle, the PCB comprising a processor,
- a ring centered around the first axis, and fixed to the handle so that the rotation
of the handle makes the ring rotate,
- at least one magnet positioned on the ring,
- two reed switches positioned on the PCB, preferably facing the ring,
the method being characterized in that it comprises following steps:
- rotation of the handle about the first axis according to an angular displacement of
the handle and a direction of the rotation of the handle around the first axis,
- generation of a first electrical signal and a second electrical signal by the two
reed switches,
- determination of the angular displacement of the handle and the direction of the rotation
of the handle around the first axis by the processor based on the first electrical
signal and the second electrical signal.
[0018] Advantageously the method of the invention comprises a step of storing a position
of the handle.
[0019] Advantageously the method of the invention further comprises a step of determining
the locked state and the unlocked state of the doorlock from the stored position and
the angular displacement of the handle and the direction of the rotation of the handle.
BRIEF DESCRIPTION OF THE DRAWINGS
[0020] The accompanying drawings illustrate various non-limiting, exemplary, innovative
aspects in accordance with the present descriptions:
- Figure 1 schematically represents a lock mechanism of a door of the prior art;
- Figure 2 schematically represents a doorlock according to the invention;
- Figure 3 schematically represents a doorlock according to the invention;
- Figure 4 schematically represents the working principle of a reed switch included
in a doorlock according to the invention;
- Figure 5 schematically represents a ring of the doorlock according to the invention;
- Figure 6 schematically represents the principle of the doorlock according to the invention;
- Figure 7 schematically represents the principle of the doorlock according to the invention;
- Figure 8 schematically represents the analysis of the direction of the rotation of
the handle of the doorlock of the invention;
- Figure 9 represents an example of the reed switch states for a clockwise rotation
of the handle of the doorlock of the invention;
- Figure 10 represents an example of the reed switch states for anticlockwise rotation
of the handle of the doorlock of the invention;
- Figure 11 represents a block diagram of the steps of a method for determining a locked
state and an unlocked state of a doorlock according to the invention.
[0021] For the sake of clarity, the same elements have the same references in the various
figures.
DETAILED DESCRIPTION
[0022] As previously mentioned, although many of the features of this invention are described
in relation to a door, it is understood that they are generally applicable to any
opening unit, such as a window.
[0023] In order to illustrate the invention, the explanations are related to a door. Note
that these explanations may be applied similarly to any opening unit. A door is an
opening unit enabling the access to a room (or from a room to the outside) through
an aperture. The door is connected to a door frame that frames the aperture and is
fixed to the walls around the aperture. In an unlocked state of the door, the door
is mobile in relation to the door frame, typically mobile in rotation around doors
hinges (or in translation in the case the door and the door frame are configured to
let the door slide through a part of the door frame and into the wall). The door may
be in an open configuration or a closed configuration. In the closed configuration,
the door covers the aperture (i.e. no one can go through the aperture). Typically
the door is equipped with a lock mechanism. The lock mechanism has a latch that is
either inserted into a slot of the door frame (the door is closed) or retracted inside
the door (the door is no longer attached to the door frame and may be open). In the
closed configuration, the latch is inserted into the slot of the door frame. In existing
lock mechanisms, a lock clutch is connected to the latch. The lock clutch is usually
engaged with both the indoor and outdoor door knobs. This enables a user to activate
the lock clutch to make the latch move by moving one of the door knobs or handles.
Therefore a user has to move a door knob of the door to switch from the closed configuration
of the door to the open configuration of the door. Indeed, the lock clutch being engaged
with the knob, the movement of the knob leads to the movement of the latch. Moving
the door knob makes the latch retract into the door. The user can pull or push the
door to open it.
[0024] In the closed configuration of the door, the lock mechanism can be either in a locked
state or an unlocked state. The unlocked state corresponds to the case discussed above.
The door may be open by a user when activating a door knob and pushing or pulling
the door. As explained in the introduction, the lock mechanism has a deadbolt entirely
positioned inside the locking mechanism in the unlocked state. In the locked state,
this deadbolt projects beyond the lock mechanism and is inserted into a slot of the
door frame, thus locking the door to the frame. To switch from the locked state of
the door to the unlocked state of the door, a user has to rotate the key with the
corresponding rotation of the key inside the lock mechanism, or rotate the indoor
handle with the corresponding rotation (which means with the adapted angular displacement
in the corresponding direction).
[0025] This previous case corresponds to a single-point lock mechanism (i.e. with a single
deadbolt). The invention similarly applies to a multi-point lock mechanism. A multi-point
lock, also known as a safety lock, provides extra security as it distributes the locking
points (i.e. a plurality of deadbolts) over the entire door. The most common multi-point
lock is the three-point lock composed of a main deadbolt in the center and two other
bolts at the top and at the bottom actuated by a rod. Some multi-point locks may have
up to ten locking points.
[0026] Figure 1 schematically represents a lock mechanism of a door of the prior art and
was discussed in the introduction.
[0027] Figure 2 schematically represents a doorlock 10 according to the invention. The doorlock
10 is configured to switch between a locked state and an unlocked state.
[0028] The doorlock extends along a first axis X between a first end 11 and a second end
12. The doorlock comprises a handle 13 positioned at the first end 11 of the doorlock,
the handle 13 being mobile in rotation around the first axis X. The doorlock comprises
a pin 14 positioned between the first end 11 and the second end 12 of the doorlock,
the pin 14 extending radially from the first axis X, the pin being mobile in rotation
around the first axis X, and configured to be rotatably driven by a rotation of the
handle 13 or by a rotation of an associated key inserted into the outdoor handle at
the second end 12, thereby making the doorlock switch between the locked state and
the unlocked state.
[0029] The doorlock 10 may be configured to cooperate with at least one identification key
17. The doorlock 10 may comprise at its second end 12 a key hole 16 shaped to accept
insertion of the identification key 17. A rotation of the identification key may lead
to the rotation of the pin, thereby making the doorlock switch between the locked
state and the unlocked state. Alternatively, or in addition, the doorlock 10 may comprise
a processor configured to read an identification code of the identification key 17
and configured to cause the doorlock 10 to switch from the locked state to the unlocked
state if the identification code of the identification key 17 is an authorized code
of the doorlock 10. The processor of the doorlock 10 may comprise an algorithm that
is able to generate a plurality of codes. When inserting the identification key 17
into the key hole or having the identification key 17 or a smartphone close to the
doorlock 10, (i.e. until about 10 meters of the doorlock, for example thanks to the
BLE technology (acronym of Bluetooth
™ Low Energy technology)), one of the code generated by the algorithm of the processor
is transmitted from the processor to the identification key 17 when this one is inserted
into the key hole 16. In return, the processor should receive from the identification
key 17 an authorized code, that is to say an identification code corresponding to
the code transmitted by the processor. There is a communication between the doorlock
10 and the identification key 17. And if the processor receives from the identification
key 17, as a response to its code, an authorized code, the identification key 17 is
considered as an authorized key for switching between the locked state and the unlocked
state. The communication between the identification key and the doorlock may use a
direct electrical contact, an RF communication link (NFC
™, Bluetooth
™, Wi-Fi
™, Zigbee
™ or other low power RF communication standard or proprietary means), an optical or
an acoustical communication means.
[0030] More details of the core of the invention are given thereafter.
[0031] Figure 3 schematically represents a doorlock according to the invention. According
to the invention, the doorlock 10 comprises a PCB 18 (Printed Circuit Board) secured
in an immovable manner inside the handle 13. The doorlock 10 comprises a ring 19 centered
around the first axis X, and fixed to the handle 13 so that the rotation of the handle
13 makes the ring 19 rotate. In other words, a clockwise rotation of a defined angle
of the handle 13 around the first axis X makes the ring 19 rotate clockwise of the
same defined angle around the first axis X. Similarly, an anticlockwise rotation of
another defined angle of the handle 13 around the first axis X makes the ring 19 rotate
anticlockwise of the same another defined angle around the first axis X.
[0032] The doorlock 10 comprises at least one magnet, but preferably at least two magnets
20 positioned on the ring 19. The doorlock 10 comprises two reed switches 23 positioned
on the PCB 18, preferably facing the ring 19. A reed switch is an electrical switch
operated by an applied magnetic field. The reed switch is closed when a magnet is
closed of the reed switch and the reed switch is open when the magnet is too far.
This principle is described in detail below.
[0033] The PCB 18 comprises a processor configured to determine an angular displacement
of the handle 13 and a direction of the rotation of the handle 13 around the first
axis X, based on an electric field generated by the two reed switches 23 when the
handle 13 is actuated in rotation around the first axis X.
[0034] Figure 4 schematically represents the working principle of a reed switch included
in a doorlock according to the invention. A reed switch is an electrical switch operated
by an applied magnetic field. The reed switch is closed when a magnet is closed of
the reed switch (on the left hand side of the figure) and the reed switch is open
when the magnet is too far (on the right hand side of the figure). This should be
clear to a person skilled in the art but it may be nevertheless noted that the state
of the reed switch is not the state of the doorlock.
[0035] The operating mode of the reed switch described above is an example of a so-called
"normally opened" reed switch (i.e. a reed switch that is normally in its open state
and is closed when an magnetic field is applied in its vicinity). The invention similarly
applies to a so-called "normally closed" reed switch (i.e. a reed switch that is normally
in its closed state and is open when a magnetic field is applied in its vicinity).
[0036] As the magnet 20 are positioned on the ring 19, when rotating the handle, the ring
rotates similarly and so do the magnets 20 that pass in front of the reed switches
positioned on the PCB. The rotation of the handle leads to the approach and distancing
of a magnet in regards of a reed switch. Each reed switch changes accordingly its
state between open and close.
[0037] Figure 5 schematically represents the ring 19 of the doorlock according to the invention.
In a preferred embodiment, each of the at least two magnets 20 comprises a north pole
and a south pole superimposed on the north pole according to a second axis Y parallel
to the first axis X, respectively in a first direction and in a second direction,
opposite to the first direction, for two adjacent magnets 20 of the at least two magnets.
This alternance of the north and south pole ensures that between two adjacent magnets
the magnetic field is zero, which causes the reed switch to open. This technical feature
ensures all reed switches are open when passing between two magnets. The reed switch
is closed when it approaches a magnet. Nevertheless, this alternance of the poles
is not compulsory.
[0038] Figure 6 schematically represents the principle of the doorlock according to the
invention. In this figure, the magnets 20 are labelled from 1 to 6 and the reed switches
23 are labelled A and B and installed on the main PCB. With this configuration, the
processor of the doorlock is configured to analyse the angular distance of the rotation
(how many degrees compared to the previous position) and its direction (clockwise
or anti-clockwise), as explained thereafter.
[0039] Figure 7 schematically represents the principle of the doorlock according to the
invention. This figure depicts a non-limitative example of the ring having 6 magnets.
The invention applies similarly with less than 6 magnets, for example 2 or 3, or with
more than 6 magnets, for example 10 or 12. The magnets are preferably distributed
regularly on the ring.
[0040] As mentioned before, the doorlock 10 comprises at least two magnets 20 positioned
on the ring 19. As depicted, two adjacent magnets 20 of the at least two magnets form
an angular portion 21 from the first axis X with an angle 22 predefined by the position
of the magnets. In this example the angle is 60°. Should the ring have 12 magnets,
the angle 22 would be 30°.The angle 22 may take other values depending on the position
of the magnets 20 on the ring 19.
[0041] The two reed switches 23 are placed on the PCB 18, forming an angular portion from
the first axis X with an angle 24. For the sake of explanation, the angle 24 is 45°
in the depicted example, but it could have other values, for example 40° or 50°. In
the depicted example, the magnets and reed switches have a 15° precision since there
are 4 reed switch events for a 60° rotation. Also, the angle 22 may be less than the
angle 24. A person skilled in the art understands that the values of the angles 22,
24 depend on the position of the magnets 20 on the ring 19, the distance of the PCB
from the ring and the distance between between the reed switches. These geometrical
parameters may be adapted according to the desired accuracy of the detection. This
means that, when considering the angular portion 21 having an angle 22 of 60° during
the anticlockwise rotation of the handle (i.e. the rotation of the ring 19), the first
magnet 20-1 of the two adjacent magnets delimiting the said angular portion pass in
front of the first reed switch 23-1, then pass in front of the second reed switch
23-2, and then the second magnet 20-2 of the two adjacent magnets delimiting the said
angular portion pass in front of the first reed switch 23-1, then pass in front of
the second reed switch 23-2. There are 4 events that can be noted:
- 20-1 in front of 23-1;
- 20-1 in front of 23-2;
- 20-2 in front of 23-1;
- 20-2 in front of 23-2.
[0042] Figure 8 schematically represents the analysis of the direction of the rotation of
the handle of the doorlock of the invention, based on the relative movement of the
magnets passing in front of the two reed switches.
[0043] The indoor handle 13 is turned clockwise in one of these cases:
- Reed switch A is at the high level + reed switch B has a rising level;
- Reed switch A is at the low level + reed switch B has a falling level;
- Reed switch B is at the high level + reed switch A has a falling level;
- Reed switch B is at the low level + reed switch A has a rinsing level.
[0044] The indoor handle 13 is turned anti-clockwise in one of these cases:
- Reed switch A is at the low level + reed switch B has a rising level;
- Reed switch A is at the high level + reed switch B has a falling level;
- Reed switch B is at the low level + reed switch A has a falling level;
- Reed switch B is at the high level + reed switch A has a rising level.
[0045] Figure 9 represents an example of the reed switch states for a clockwise rotation
of the handle of the doorlock of the invention. When considering a case wherein the
magnets are placed every 60 degrees on the ring of the doorlock, it means that during
a 60° rotation, the two reed switches will measure four changes of state (4 events).
This means that the indoor handle turns 15° for each event on reed switches (see figure
9 and figure 10).
[0046] Let now consider the following initial condition for the clockwise rotation: reed
switches A and B are low which means that the two reed switches are between two magnets
(see figure 9):
- Turning clockwise, reed switch A rises and B is low,
- Continue the rotation, reed switch B rises, A remains high,
- Continue the rotation, reed switch A falls, B remains high,
- Continue the rotation, reed switch B falls, A remains low, the initial conditions
are back.
[0047] Figure 10 represents an example of the reed switch states for an anticlockwise rotation
of the handle of the doorlock of the invention.
[0048] Let now consider the following initial condition for the anticlockwise rotation:
reed switches A and B are low which means that the two reed switches are between magnets
(see figure 10):
- Turning anticlockwise, reed switch B rises and A is low,
- Continue the rotation, reed switch A rises, B remains high,
- Continue the rotation, reed switch B falls, A remains high,
- Continue the rotation, reed switch A falls, B remains low, the initial conditions
are back.
[0049] Therefore, as the level of the electrical signal from each of the two reed switches
depends on the magnetic field to which it is subjected, analyzing the evolution of
the signal indicates the direction of the rotation (clockwise and anticlockwise) and
the angle of the rotation performed by the handle.
[0050] The processor of the doorlock may comprise a memory configured to store a position
of the handle. After analyzing the evolution of the signal and determining the direction
and the angle of the rotation, and based on the previously stored position of the
handle, it is possible to determine an updated position of the handle, that can also
be stored in the memory.
[0051] The processor may further be configured to send to a remote control through a communication
link the angular displacement of the handle and the direction of the rotation of the
handle around the first axis. The processor may also calculate, based on the previous
stored position of the handle, its angular displacement and the direction of the rotation
whether the doorlock is in its locked or unlocked state. This information can be further
sent to a remote control, for example to a smartphone via a web application.
[0052] Figure 11 represents a block diagram of the steps of a method for determining a locked
state and an unlocked state of the doorlock 10 according to the invention. According
to the invention, the method comprises following steps:
- rotation (step 100) of the handle 13 about the first axis (X) according to an angular
displacement of the handle and a direction of the rotation of the handle around the
first axis,
- generation (step 110) of a first electrical signal and a second electrical signal
by the two reed switches 23,
- determination (step 120) of the angular displacement of the handle and the direction
of the rotation of the handle around the first axis by the processor based on the
first electrical signal and the second electrical signal.
[0053] The method may further comprise a step 130 of storing a position of the handle.
[0054] The method may further comprise a step 140 of determining the locked state and the
unlocked state of the doorlock from the stored position and the angular displacement
of the handle and the direction of the rotation of the handle.
[0055] The examples disclosed in this specification are therefore only illustrative of some
embodiments of the invention. They do not in any manner limit the scope of said invention
which is defined by the appended claims.
1. A doorlock (10) configured to switch between a locked state and an unlocked state,
the doorlock extending along a first axis (X) between a first end (11) and a second
end (12), the doorlock comprising:
- A handle (13) positioned at the first end (11) of the doorlock, the handle (13)
being mobile in rotation around the first axis (X),
- A pin (14) positioned between the first end (11) and the second end (12) of the
doorlock, the pin (14) extending radially from the first axis (X), the pin being mobile
in rotation around the first axis (X), and configured to be rotatably driven by a
rotation of the handle (13), thereby making the doorlock switch between the locked
state and the unlocked state,
the doorlock being
characterized in that it comprises:
- a PCB (18) secured in an immovable manner inside the handle (13),
- a ring (19) centered around the first axis (X), and fixed to the handle (13) so
that the rotation of the handle (13) makes the ring (19) rotate,
- at least one magnet (20) positioned on the ring (19),
- two reed switches (23) positioned on the PCB (18), preferably facing the ring (19),
and
in that the PCB (18) comprises a processor configured to determine an angular displacement
of the handle (13) and a direction of the rotation of the handle (13) around the first
axis (X), based on an electric field generated by the two reed switches (23) when
the handle (13) is actuated in rotation around the first axis (X).
2. The doorlock (10) according to claim 1, wherein the at least one magnet (20) is at
least two magnets (20), two adjacent magnets (20) of the at least two magnets forming
an angular portion (21) from the first axis (X) with a predefined angle (22).
3. The doorlock (10) according to claim 1 or 2, wherein the processor is further configured
to send to a remote control through a communication link the angular displacement
of the handle and the direction of the rotation of the handle around the first axis.
4. The doorlock (10) according to any one of claim 2 or 3, wherein each of the at least
two magnets (20) comprises a north pole and a south pole superimposed on the north
pole according to a second axis (Y) parallel to the first axis (X), respectively in
a first direction and in a second direction, opposite to the first direction, for
two adjacent magnets (20) of the at least two magnets.
5. The doorlock (10) according to any one of the claims 2 to 4, wherein the at least
two magnets (20) are distributed regularly on the ring (19).
6. The doorlock (10) according to any one of the claims 1 to 5, wherein the processor
comprises a memory configured to store a position of the handle.
7. The doorlock (10) according to any one of the claims 1 to 6, wherein the processor
is configured to read an identification code of an identification key and configured
to cause the doorlock (10) to switch from the locked state to the unlocked state if
the identification code of the identification key is an authorized code of the doorlock
(10).
8. A method for determining a locked state and an unlocked state of a doorlock (10),
the doorlock extending along a first axis (X) between a first end (11) and a second
end (12), the doorlock comprising:
- A handle (13) positioned at the first end (11) of the doorlock, the handle being
mobile in rotation around the first axis (X),
- A pin (14) positioned between the first end (11) and the second end (12) of the
doorlock, the pin extending radially from the first axis (X), the pin (14) being mobile
in rotation around the first axis, and configured to be rotatably driven by a rotation
of the handle (13), thereby making the doorlock switch between the locked state and
the unlocked state,
- a PCB (18) secured in an immovable manner inside the handle (13), the PCB comprising
a processor,
- a ring (19) centered around the first axis (X), and fixed to the handle (13) so
that the rotation of the handle makes the ring rotate,
- at least one magnet (20) positioned on the ring (19),
- two reed switches (23) positioned on the PCB (18), preferably facing the ring,
the method being
characterized in that it comprises following steps:
- rotation (100) of the handle (13) about the first axis (X) according to an angular
displacement of the handle and a direction of the rotation of the handle around the
first axis,
- generation (110) of a first electrical signal and a second electrical signal by
the two reed switches (23),
- determination (120) of the angular displacement of the handle and the direction
of the rotation of the handle around the first axis by the processor based on the
first electrical signal and the second electrical signal.
9. The method of claim 8, further comprising a step (130) of storing a position of the
handle.
10. The method of claim 9, further comprising a step (140) of determining the locked state
and the unlocked state of the doorlock from the stored position and the angular displacement
of the handle and the direction of the rotation of the handle.