System and method for determining product count information using magnetic sensor

The rack design with magnetic sensors and processors accurately counts items on store shelves, addressing inefficiencies and errors in current methods, ensuring optimal inventory management and theft detection.

JP2024118452APending Publication Date: 2024-08-307-ELEVEN INC
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
JP2024022543
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-02-20
Filing Date
2024-02-19
Publication Date
2024-08-30

AI Technical Summary

Technical Problem

Current inventory tracking methods for store shelves are labor-intensive, prone to human error, and result in inaccurate data, leading to inefficient use of shelf space and lost revenue.

Method used

A rack design using magnetic sensors to detect the position of magnets along the length of the rack, determining item counts through a circuit board with sensors that generate voltage values based on magnet position, processed by a processor to accurately count items, including non-standard sizes, and a master controller to monitor data interactions and detect theft.

Benefits of technology

Enables real-time, accurate inventory monitoring, reduces human error, ensures timely restocking, and detects theft, thereby optimizing shelf utilization and reducing shrinkage.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024118452000001
    Figure 2024118452000001
Patent Text Reader

Abstract

To provide a system and a method for determining product count information using a magnetic sensor.SOLUTION: In a system, a rack (view 200a) includes a longitudinal track 122 storing a plurality of packs 202 of cigarettes, a shoe 106 movably attached to the track, a magnet carrier 124 coupled to the shoe and holding a magnet 126, and a longitudinal circuit board 120 arranged along the track. The circuit board includes an array of sensors 122 along a length of the track. Spacing between each pair of sensors equals a thickness of a pack stored in the rack. The system includes: a memory storing voltage values generated in accordance with a position of the magnet with respect to the sensors; and a processor configured to monitor voltage values generated by the sensors, detect that a specific sensor has generated a maximum voltage value, and determine the number of packs to be stored in the rack on the basis of a specific number of packs corresponding to the specific sensor.SELECTED DRAWING: Figure 2A
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] FIELD OF THE DISCLOSURE This disclosure relates generally to data processing, and more particularly to systems and methods for determining product count information using magnetic sensors. [Background technology]

[0002] Managing inventory on store shelves is a challenging task. Inaccurate data about how much product remains on store shelves often leads to underutilization of shelf space and lost revenue. Current inventory tracking procedures are labor intensive, time consuming and error prone. Efficient and accurate tracking of products on store shelves is needed. Summary of the Invention

[0003] Currently, the only way to count the amount / number of items (e.g., cigarette packs) stored in a shelf / rack is to manually inspect the rack and count the number of items stored in the rack. For example, to count the number of cigarette packs stored in a cigarette rack, a store clerk must open the rack and manually count the number of packs stored in the rack. A typical store has hundreds of such racks arranged across several shelves. Thus, tracking items stored across several racks / shelves becomes labor intensive and tedious. Furthermore, current methods for tracking inventory on store shelves are prone to human error. Moreover, inaccurate and / or infrequent inspection and recording of product quantities can lead to underutilization of shelf space and lost revenue, and can further lead to inaccurate inventory tracking and replenishment. Thus, conventional techniques are flawed, at least in part, because they rely on human operation.

[0004] The system and method implemented by the system disclosed herein provides a technical solution to the above-mentioned technical problem by implementing a technique for effectively and efficiently managing inventory on store shelves. The disclosed system and method provide several practical applications and technical advantages. For example, the disclosed system provides a practical application of determining count information about products stored in racks placed on store shelves by using a rack design that uses magnetic sensors to detect the position of magnets along the length of the rack to determine item counts in the rack. For example, an embodiment of the present disclosure provides an intelligent rack design used to count packs of cigarettes or other products stored in the rack. The rack comprises a shoe movably mounted to the rack such that the shoe is pushed back toward the rear end of the rack with each cigarette pack loaded into the rack at the front of the shoe, a magnet coupled to the shoe, and a longitudinal circuit board disposed along the length of the rack. The circuit board includes an array of sensors along the length of the rack, each sensor generating a voltage value based on the position of the magnet relative to the sensor. In one embodiment, for any number of cigarette packs stored in the rack, the spacing between each pair of sensors corresponds to the thickness of the cigarette packs stored in the rack, such that the magnet is directly above one of the sensors. In this case, each of the sensors generates a maximum voltage value when the magnet is directly above said sensor. The circuit board further includes a processor, the processor is configured to monitor the voltage values ​​generated by at least a subset of the sensors of the sensor array, detect when a particular sensor of the sensor array generates a maximum voltage value, and determine the number of cigarette packs actually stored in the rack based on the particular pack number corresponding to the particular sensor detected to generate the maximum voltage value. This embodiment provides the technical advantage of accurately counting standard size cigarette packs or another product / item stored in the rack in real time.This helps avoid human error that would otherwise be associated with a human counting the items stored within the rack. Additionally, by quickly and accurately determining product count information for items stored within the rack, the disclosed system and method allows for effective and accurate monitoring of shelf inventory, allowing for immediate replenishment of shelves when needed, thereby avoiding underutilization of shelf space.

[0005] The disclosed system and method provides an additional practical application of intelligently counting non-standard sized cigarette packs or other items stored in a rack using a single rack design by interpolating the distance between pairs of sensors based on the voltage responses of the sensors. In this rack design, the magnets are longitudinal magnets arranged in conjunction with the shoes such that the longitudinal axes of the magnets are parallel to the longitudinal circuit board. Based on monitoring the voltage values ​​generated by at least a subset of the sensors, the processor detects that the first sensor generated a first maximum absolute voltage value and the second sensor generated a second maximum absolute voltage value. The processor determines a position of the shoe / magnet along the length of the rack based at least in part on a first distance of the first sensor from a front end of the rack and a second distance of the second sensor from the front end of the rack, the position of the shoe including the distance of the shoe from the front end of the rack. The processor determines the number of cigarette packs of a particular thickness stored in the rack based on the position of the shoe along the length of the rack. By using a single rack design to count items of different thicknesses that can be stored in a rack, the disclosed systems and methods save costs that would otherwise be associated with designing and manufacturing customized rack designs for different sized items.

[0006] The disclosed system and method provide an additional practical application of quickly and accurately detecting theft of products from store shelves using a master controller that detects items removed from the rack based on an intelligent rack design and monitors data interactions related to the removed items processed by an interaction device. As described according to an embodiment of the present disclosure, the master controller is communicatively coupled to a rack that stores products (such as cigarette packets among other items) and an interaction device configured to process data interactions related to the items stored in the rack. The master controller includes a processor configured to receive from the rack a first message indicating that a first number of items have been removed from the rack and a universal product code (UPC) associated with a type of item stored in the rack. The processor monitors communication signals received from the interaction device, the communication signals indicating data interactions occurring at the interaction device. Based on monitoring the communication signals received from the interaction device, the processor determines whether the first number of packs removed from the rack have been processed with one or more data interactions by the interaction device within a preset time. In response to determining that the first number of packs removed from the rack have not been processed with one or more data interactions by the interaction device within a preset time, the processor transmits an alert message including the rack number of the rack, the number of items removed from the rack, and a UPC associated with the type of items stored in the rack. Additionally, the alert message may include the identity of the user operating the interaction device when the items were removed from the rack. Timely detection and alerting of potential theft, together with the identity of the user operating the interaction device, helps to quickly identify the party responsible for the theft and recover the stolen products. Additionally, the system may deter potential thieves from stealing products, which also helps with shrinkage reduction. [Brief description of the drawings]

[0007] For a more complete understanding of this disclosure, reference is now made to the following brief description, taken in conjunction with the accompanying drawings and detailed description, where like reference numerals represent like parts. [Figure 1] FIG. 1 illustrates an exemplary rack for storing multiple cigarette packs, according to certain embodiments of the present disclosure. [Figure 2A] 2A and 2B show two different views of a rack for storing multiple cigarette packs according to certain embodiments of the present disclosure. [Figure 2B] 2A and 2B show two different views of a rack for storing multiple cigarette packs according to certain embodiments of the present disclosure. [Diagram 3] FIG. 3 is a diagram illustrating a schematic diagram of the circuit board shown in FIG. 1 in accordance with certain embodiments of the present disclosure. [Figure 4] FIG. 4 illustrates a flow chart of an exemplary method for determining the number of cigarette packs stored in a rack, according to certain embodiments of the present disclosure. [Diagram 5] FIG. 5 illustrates an example arrangement of magnets relative to a sensor array, in accordance with certain embodiments of the present disclosure. [Figure 6] FIG. 6 illustrates example plots of voltage responses for each magnet shown in FIG. 5 in accordance with certain embodiments of the present disclosure. [Figure 7] FIG. 7 illustrates a flow chart of an exemplary method for determining the number of non-standard sized cigarette packs stored in a rack, according to certain embodiments of the present disclosure. [Figure 8] FIG. 8 illustrates a flow chart of an exemplary method for determining the number of standard size cigarette packs stored in a rack, according to certain embodiments of the present disclosure. [Figure 9] FIG. 9 is a schematic diagram of a system for detecting theft of cigarette packs, according to a particular embodiment of the present disclosure. [Figure 10]FIG. 10 illustrates a flow chart of an exemplary method for detecting theft of cigarette packs stored in a rack, according to certain embodiments of the present disclosure. [Figure 11] FIG. 11 is a diagram illustrating an example network topology for connecting the multiple racks shown in FIG. 1 in accordance with certain embodiments of the present disclosure. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0008] [System Overview] FIG. 1 illustrates an exemplary rack 100 for storing multiple cigarette packs, according to certain embodiments of the present disclosure. Although the present disclosure will be described in detail with respect to cigarette packs, it also applies to other products that may be stored on a rack.

[0009] As shown in FIG. 1, the rack 100 includes a longitudinal track 112 having a shoe 106 movably mounted thereon to move back and forth on the track 112 between a front end 102 and a rear end 104 of the rack 100. The rack 100 is designed to store a number of cigarette packs 202 along the length of the rack 100 (as shown in FIGS. 2A and 2B) between the front end 102 and the rear end 104 of the rack 100. FIGS. 2A and 2B show two different views 200a and 200b, respectively, of the rack 100 storing a number of cigarette packs 202. As shown in FIGS. 2A and 2B, the cigarette packs 202 are positioned adjacent to the front end 108 of the shoe 106 (the front end 108 of the shoe as shown in FIG. 1) such that the shoe 106 is pushed back towards the rear end 104 of the rack 100 when each pack 202 is loaded into the rack 100. A mechanism (not shown) is coupled to the shoe 106 for driving the shoe 106 towards the front end 102 of the rack 100 to press a forward-most pack 202a stored in the rack 100 against the front wall 114 of the rack 100 near the front end 102 of the rack 100. In some embodiments, the mechanism may include a coil spring coupled to the shoe 106 for driving the shoe 106 towards the front end 102 of the rack 100. As shown in FIG. 1, when there are no packs 202 stored in the rack 100, the shoe 106 is positioned at the front end 102 of the rack 100 adjacent the front wall 114. With reference to FIGS. 2A and 2B, when a cigarette pack 202 is loaded into the rack 100, the shoe 106 is pushed back on the track 112 along the length of the rack 100 towards the rear end 104 of the rack 100.

[0010] A typical store will generally have a number of racks 100 arranged next to each other in one or more shelves, with different subsets of the racks 100 storing different types of cigarette packs 202 .

[0011] The embodiments of the present disclosure discuss a technique for intelligently counting cigarette packs 202 stored in a rack 100.

[0012] Referring back to Figure 1, the rack 100 further includes an elongated circuit board 120 disposed along the length of the rack 100. As shown in Figure 1, the circuit board 120 includes an array of sensors 122 disposed along the length of the circuit board 120, with the spacing between each pair of the sensors 122 corresponding to a preselected spacing. In one embodiment, the spacing between each pair of the sensors 122 is equal to the thickness of the cigarette packs 202 stored within the rack 100. For example, the thickness of most cigarette packs 202 is 23.5 mm. Thus, each pair of the sensors 122 may be spaced 23.5 mm apart.

[0013] As shown in FIG. 1, the rack 100 may further include a magnet carrier 124 positioned or attached adjacent to the rear end 110 of the shoe 106 such that the magnet carrier 124 moves back and forth along the length of the rack 100 along the movement of the shoe 106. The magnet carrier 124 is designed to hold the magnet 126 at a preselected distance above the circuit board 120. The magnet carrier 124 is sized such that at any time, the magnet 126 is positioned directly above one of the sensors 122. Each sensor 122 generates a voltage signal corresponding to the strength of the magnetic field associated with the magnet 126 as detected by the sensor 122. The magnetic field associated with the magnet 126 as detected by the sensor 122 changes as the magnet moves closer to or further away from the sensor 122. Thus, in certain embodiments, the voltage signal generated by the sensor 122 corresponds to the position of the magnet 126 relative to the sensor 122. In one example, each of the sensors 122 is a Hall effect sensor. Although certain embodiments of the present disclosure describe aspects of the present invention with respect to Hall effect sensors, those skilled in the art will appreciate that other types of sensors capable of generating a voltage signal corresponding to the detected strength of a magnetic field may be used.

[0014] The magnet 126 may correspond to one of several combinations of shapes and sizes. In one embodiment, the magnet 126 is a cylindrical magnet that is positioned with the magnet carrier 124 such that the longitudinal axis of the magnet is perpendicular to the longitudinal axis of the circuit board 120. In this case, the sensor 122 generates a maximum voltage value when the magnet 126 is positioned directly above or closest to the sensor 122. In this case, the sensor 122 may not generate a voltage signal or may generate a minimum voltage value when the magnet 126 is not positioned directly above the sensor 122. In an alternative embodiment, the magnet 126 is a cylindrical magnet that is positioned with the magnet carrier 124 such that the longitudinal axis of the magnet 126 is parallel to the circuit board 120. In this case, when the center of the magnet 126 is positioned directly above the sensor 122 and the poles of the magnet 126 are positioned on either side of the sensor 122, the sensor 122 generates no voltage signal (e.g., 0 millivolts (mv)). In this case, the sensor 122 may generate a positive voltage value when the magnet 126 (e.g., the center of the magnet) is positioned on one side of the sensor 122 on the rack 100 (e.g., toward the front end 102 or the rear end 104) and may generate a negative voltage value when the magnet 126 (e.g., the center of the magnet) is positioned on the other side of the sensor 122 on the rack (e.g., toward the front end 102 or the rear end 104). Additionally, the sensor 122 may generate a larger absolute value as the magnet 126 moves away from the sensor 122.

[0015] As mentioned above, the spacing between each pair of sensors 122 is equal to the thickness of the cigarette packs 202 stored in the rack 100. Furthermore, the magnet carrier 124 is designed such that at any time (e.g., for any number of packs 202 stored in the rack 100), the magnet 126 is positioned directly above one of the sensors 122. For example, in an embodiment in which the magnet 126 is positioned with the magnet carrier 124 such that the longitudinal axis of the magnet is perpendicular to the circuit board 120, the magnet carrier 124 is designed such that at any time, the magnet 126 is positioned directly above one of the sensors 122. This means that at any given time, one of the sensors 122 produces the maximum voltage value. In an alternative embodiment, when the magnet 126 is positioned with the magnet carrier 124 such that the longitudinal axis of the magnet 126 is parallel to the circuit board 120, the magnet carrier 124 is designed such that at any time (e.g., for any number of packs 202 stored in the rack 100), the center of the magnet 126 is positioned directly above one of the sensors 122. This means that at any given time, one of the sensors will either produce a "0" voltage value, or a minimum voltage value.

[0016] In an alternative embodiment, the magnet 126 is coupled (e.g., attached or embedded) to the shoe 106 such that the magnet moves back and forth along the length of the rack 100 with the movement of the shoe 106. It may be noted that the discussion in the embodiments of the present disclosure applies regardless of whether the magnet 126 is disposed within the magnet carrier 124 or directly coupled to the shoe 106. For example, when the magnet 126 is coupled to the shoe 106, the magnet 126 can be positioned with the shoe 106 such that the magnet 126 is positioned directly above one of the sensors 122 at any time. In this embodiment, when the magnet 126 is a cylindrical magnet, the magnet 126 can be positioned with the shoe 106 such that the longitudinal axis of the magnet is perpendicular to the longitudinal axis of the circuit board 120. In an alternative embodiment, the magnet 126 can be positioned with the shoe 106 such that the longitudinal axis of the magnet 126 is parallel to the circuit board 120.

[0017] In certain embodiments, each sensor 122 is oriented on circuit board 120 such that the plane of sensor 122 is perpendicular to the direction of the magnetic field at the poles of magnet 126. For example, each sensor 122 is oriented on circuit board 120 such that the plane of sensor 122 is coplanar with the plane of magnet 126 through which the magnetic flux flows. For example, when magnet 126 is a cylindrical magnet, this means that the plane of each sensor 122 is coplanar with the circular planes at either end of the cylindrical magnet through which the magnetic flux flows.

[0018] In one embodiment, the sensor 122 may have multiple measurement planes, any one of which may be used to measure the magnetic field generated by the magnet 126. In such a case, the sensor 122 may be oriented with respect to the magnet 126 such that one of the measurement planes of the sensor 126 is perpendicular to the direction of the magnetic field at the poles of the magnet 126 .

[0019] In an alternative embodiment, the sensor 122 outputs a digital magnetic flux density, for example in millitesla (mT), in which case the magnetic flux density measurement produced by the sensor 122 corresponds to the strength of the magnetic field associated with the magnet 126 as detected by the sensor 122. Although this disclosure discusses an embodiment using a sensor 122 that outputs a voltage measurement, it may be noted that any of the embodiments apply when a sensor 122 that outputs a magnetic flux density measurement is used.

[0020] 3 illustrates a schematic diagram 300 of the circuit board 120 of FIG. 1 according to certain embodiments of the present disclosure. As shown in FIG. 3, the circuit board 120 includes an array of sensors 122 (depicted as 122a-122n), an array of signal pins 302, a processor 304, a memory 306, and a network interface 308. Each sensor 122 is electrically coupled to one of the signal pins 302 and outputs a voltage signal 310 (depicted as 310a-310n) generated by the sensor 122 to the signal pin 302. The processor 304 is communicatively coupled to the array of signal pins 302, the memory 306, and the network interface 308. In certain embodiments, the processor 304 is configured to execute instructions 320 to intelligently count the number of cigarette packs 202 stored in the rack 100 based on voltage values ​​322 corresponding to the voltage signals 310 generated by at least a subset of the sensors 122. Each sensor 122 is assigned a preselected sensor number 324 that corresponds to the location of the sensor 122 on the circuit board 120. For example, the sensor number 324 assigned to each sensor 122 is equal to the number of packs 202 stored in the rack 100 when the magnet 126 is directly over the sensor 122. For example, the first sensor 122a on the circuit board 120, which is the first sensor from the front end 102 of the rack, is assigned the number "1" to represent one cigarette pack 202 stored in the rack. The last sensor 122n on the circuit board 120 adjacent the rear end 104 of the rack 100 is assigned the number "n" to represent the "n" number of packs 202 stored in the rack. Each signal pin 302 is assigned the same number as the sensor 122 that is electrically coupled to the signal pin 302.

[0021] The memory 306 is configured to store a voltage value 322 corresponding to the voltage signal generated by the sensor 122 and received at the signal pin 302. Additionally or alternatively, the memory 306 may be configured to store instructions 320 (e.g., software programs / code) executed by the processor 304 to implement operations described in embodiments of the present disclosure, including operations for counting cigarette packs 202.

[0022] The processor 304 includes one or more processors operatively coupled to the memory 306. The processor 304 is any electronic circuit, including, but not limited to, a state machine, one or more central processing unit (CPU) chips, a logic unit, a core (e.g., a multi-core processor), a field programmable gate array (FPGA), an application specific integrated circuit (ASIC), or a digital signal processor (DSP). The processor 304 may be a programmable logic device, a microcontroller, a microprocessor, or any suitable combination thereof. The processor 904 is communicatively coupled to the memory 306 and is in signal communication with the memory 306. The one or more processors 304 are configured to process data and may be implemented in hardware or software. For example, the processor 304 may be an 8-bit, 16-bit, 32-bit, 64-bit, or any other suitable architecture. Processor 304 may include an arithmetic logic unit for performing arithmetic and logical operations, processor registers that provide operands to the ALU and store results of ALU operations, and a control unit that retrieves instructions from memory and executes instructions by directing the cooperative operation of the ALU, registers, and other components.

[0023] The one or more processors 304 are configured to implement various instructions 320. For example, the one or more processors 304 are configured to execute the instructions 320 to implement certain operations described in this disclosure. In this manner, the processor 304 may be a special purpose computer designed to implement the functions disclosed herein. In one or more embodiments, the functions of the processor 304 are implemented using a logic unit, an FPGA, an ASIC, a DSP, or any other suitable hardware. The processor 304 is configured to operate as described with reference to FIGS. 1-10. For example, the processor 304 may be configured to perform at least a portion of the methods 400 and 700 as described in FIGS. 4 and 7, respectively.

[0024] The memory 306 may include one or more disks, tape drives, or solid state drives, and may be used as overflow data storage to store programs when such programs are selected for execution and to store instructions and data read during program execution. The memory 306 may be volatile or non-volatile and may include read only memory (ROM), random access memory (RAM), ternary content addressable memory (TCAM), dynamic random access memory (DRAM), and static random access memory (SRAM).

[0025] The memory 306 is operable to store, among other things, voltage values ​​322 generated by the sensors 122, sensor numbers 324, and instructions 320 for implementing the functionality described herein. As described in more detail below, the memory 306 may further store a distance (dn) 326 of each sensor (n) 122 from the front end 102 of the rack 100, a voltage response 328 of each sensor 122 based on voltage values ​​generated by the sensor 122 for different positions of the magnet 126 relative to the sensor 122, and a slope 330 of a response curve associated with the voltage response 328 of each sensor 122. The instructions stored in the memory 306 may include any suitable set of instructions, logic, rules, or code operable to implement the functionality disclosed herein.

[0026] The network interface 308 is configured to enable wired and / or wireless communication. The network interface 308 is configured to communicate data between the circuit board 120 and other devices, systems, or domains (e.g., a master controller, a cloud infrastructure, etc.). For example, the network interface 308 may include a Wi-Fi interface, a LAN interface, a WAN interface, a modem, a switch, or a router. The processor 304 is configured to send and receive data using the network interface 308. The network interface 308 may be configured to use any suitable type of communication protocol, as will be appreciated by those skilled in the art.

[0027] The processor 304 is configured to monitor a voltage value corresponding to the voltage signal received at the signal pin 302 and determine the number of cigarette packs 202 stored in the rack 100 based on the voltage value corresponding to the voltage signal generated by the sensor 122.

[0028] Counting a standard size cigarette pack 202 when the longitudinal axis of the magnet 126 is perpendicular to the circuit board 120 As mentioned above, depending on the number of packs 202 stored in the rack 100, only one of the sensors 122 generates a maximum voltage value. The maximum voltage value generated by the sensors 122 may correspond to a voltage value or a range of voltage values ​​generated by the sensors 122 when the magnet 126 is directly above the sensors 122. As mentioned above, the spacing between each pair of sensors 122 is equal to the thickness of the cigarette packs 202 stored in the rack 100. Furthermore, the magnet carrier 124 is designed such that at any time (e.g., for any number of packs 202 stored in the rack 100), the magnet 126 is positioned directly above one of the sensors 122. This setup causes the magnet 126 to be positioned directly above one of the sensors 122, causing each sensor 122 to generate a maximum voltage value, regardless of how many cigarette packs 202 are stored in the rack 100. For example, when the first pack 202 is loaded into the rack 100, the magnet 126 is positioned directly above the first sensor 122a, causing the sensor 122a to generate a maximum voltage value. As the rack 100 is loaded with each additional cigarette pack 202, the shoe 106 moves rearward toward the rear end 104 of the rack 100, moving the magnet 126 to a position directly above the next sensor 122 on the circuit board 120 until the pack 202 is fully loaded into the rack 202, positioning the magnet 126 directly above the last sensor 122n on the circuit board 120 adjacent the rear end 104 of the rack 100. Because the spacing between each pair of sensors 122 is equal to the thickness of the packs 202 stored in the rack, it is possible to position the magnet 126 directly above one of the sensors 122, regardless of the number of packs 202 stored in the rack. In one embodiment, when the rack is empty and the shoe is positioned adjacent to the front wall 114, the magnet 126 is not positioned above any of the sensors 122, meaning that none of the sensors generate a valid voltage value, indicating that the rack is empty.

[0029] 4 is a flow chart of an exemplary method 400 for determining the number of cigarette packs stored in the rack 100, according to certain embodiments of the present disclosure. The method 400 may be performed by the processor 304, as shown in FIG. 3 and described above.

[0030] At operation 402, the processor 304 monitors voltage values ​​322 corresponding to voltage signals 310 generated by at least a subset of the sensors 122 in the circuit board 120. For example, the processor 304 monitors the voltage values ​​322 generated by the subset of sensors 122 by monitoring the voltage signals 310 received at signal pins 302 electrically coupled to the sensors 122 and measuring the voltage values ​​322 corresponding to the voltage signals 310 with a voltage measurement device (not shown). For example, the circuit board 120 may include a voltage measurement device (e.g., a voltmeter) that measures the voltage signals 310 received at the signal pins 302.

[0031] It may be noted that only a subset of the sensors 122 in the array of sensors 122 may generate a measurable voltage signal 310. For example, when a magnet 126 is positioned over a particular sensor 122, depending on the strength of the magnetic field generated by the magnet 126, the particular sensor 122 and one or more neighboring sensors 122 of the particular sensor 122 may generate a measurable voltage signal 310. The magnetic field may be too low or nonexistent at the remaining sensors 122, such that the remaining sensors 122 may not generate a measurable voltage signal 310.

[0032] At operation 404, the processor 304 checks whether a maximum voltage value is detected from one of the sensors 122. For example, the processor 304 may monitor the signal pins 302 to check whether any one of the signal pins 302 is receiving the maximum voltage value. Upon detecting the maximum voltage value at the signal pin 302, the method 400 proceeds to operation 406.

[0033] At operation 406, based on monitoring the voltage signal 310 received at the signal pin 302, the processor 304 detects that a particular sensor 122 has generated a maximum voltage value. As discussed above, the sensor 122 generates a maximum voltage value when the magnet 126 is located directly above or closest to the sensor 122.

[0034] In operation 408, the processor 304 determines the number of cigarette packs 202 actually stored in the rack 100 based on the particular sensor 122 detected as generating the maximum voltage value. As described above, each sensor 122 is assigned a particular number (e.g., sensor number 324) of the packs 202 located in the rack 100 based on the position of the sensor 122 on the circuit board 120, and the particular number corresponding to each sensor is equal to the number of packs stored in the rack 100 when the magnet is above or closest to the sensor. Furthermore, each signal pin 302 is assigned the same number as the sensor 122 electrically coupled to the signal pin 302. Based on the signal pin 302 that received the voltage signal having the maximum voltage value, the processor 304 determines the particular number corresponding to the particular sensor 122 that generated the maximum voltage value. The processor assigns the particular number corresponding to the particular sensor 122 as the number of cigarette packs actually stored in the rack 100.

[0035] It may be noted that the method discussed with reference to Figure 4 may be used to count cigarette packs 202 of any thickness, so long as the spacing between each pair of sensors 122 is equal to the thickness of the cigarette packs stored in the rack. Most standard size cigarette packs have a thickness of 23.5mm. Thus, in one embodiment, the spacing between each pair of sensors 122 may be set to 23.5mm, which allows an apparatus such as that shown in Figures 1, 2A and 2B to be used to count most standard size packs 202.

[0036] It may be noted that the processor 304 may be configured to count packs periodically, at pre-scheduled times, in response to receiving a command (e.g., from a master controller) and / or in response to detecting a particular event (e.g., a change in a sensor producing a maximum voltage value).

[0037] Counting non-standard size cigarette packs 202 with fixed spacing between pairs of sensors 122 The embodiments of the present disclosure describe techniques for intelligently counting cigarette packs 202 of any thickness by interpolating the distance between pairs of sensors 122 based on the voltage response of the sensors 122. The techniques discussed in this disclosure allow for counting packs 202 of any thickness using a single device (rack 100) as shown in Figures 1, 2A, 2B and 3. By using a single design of the rack to count items of different thicknesses that can be stored within the rack, the disclosed system and method saves processing resources and network bandwidth that would otherwise be associated with implementing customized rack designs for packs of different sizes.

[0038] For ease of illustration and discussion, the exemplary embodiments of the present disclosure describe the determination of pack count assuming that the spacing between each pair of sensors 122 is 20 mm and that each sensor has a voltage response range of -100 mv to +100 mv. However, one skilled in the art can appreciate that other sensor spacings and sensors having other response ranges may be used. For example, the spacing between each pair of sensors may be 23.5 mm, which is the thickness of a standard pack of cigarettes (even if non-standard size cigarette packs 202 are stored in the rack 100). Furthermore, it may be noted that one or more sensors 122 in the array of sensors 122 disposed on the circuit board 120 may have different voltage response curves and different response ranges. Furthermore, it may be noted that while the embodiments of the present disclosure describe techniques for counting the number of cigarette packs 202 stored in the rack 100, the same techniques may be used to count other items that may be stored in the rack 100.

[0039] When the rack 100 is loaded with cigarette packs 202 of non-standard thickness, the magnet 126 may assume any position along the length of the circuit board 120. This means that for a particular number of packs 202 stored in the rack 100, the magnet 126 may be positioned above one of the sensors 122 or between a pair of sensors 122. As will be explained in more detail below, as part of determining the count of packs 202 stored in the rack 10, the processor 304 uses the voltage response of one or more sensors 122 to determine the actual position of the magnet 126 between successive pairs of sensors 122. The voltage response of each sensor 122 represents the voltage value generated by the sensor 122 for different positions of the magnet 126 relative to the sensor 122. In a particular embodiment, the magnet 126 is selected as a cylindrical magnet arranged with the magnet carrier 124 such that the longitudinal axis of the magnet 126 is parallel to the circuit board 120.

[0040] In certain embodiments, each sensor 122 is oriented on circuit board 120 such that the plane of sensor 122 is perpendicular to the direction of the magnetic field at the poles of magnet 126. For example, each sensor 122 is oriented on circuit board 120 such that the plane of sensor 122 is coplanar with the plane of magnet 126 through which the magnetic flux flows. For example, when magnet 126 is a cylindrical magnet, this means that the plane of each sensor 122 is coplanar with the circular planes at either end of the cylindrical magnet through which the magnetic flux flows.

[0041] In one embodiment, sensor 122 may have multiple measurement planes, any one of which may be used to measure the magnetic field generated by magnet 126. In such a case, sensor 122 may be oriented with respect to magnet 126 such that one of the measurement planes of sensor 126 is perpendicular to the direction of the magnetic field at the poles of magnet 126.

[0042] In an alternative embodiment, the sensor 122 outputs a digital magnetic flux density, for example in millitesla (mT). In this case, the magnetic flux density measurements generated by the sensor 122 correspond to the strength of the magnetic field associated with the magnet 126 detected by the sensor 122. It may be noted that although this disclosure discusses an embodiment using a sensor 122 that outputs a voltage measurement, any of the embodiments apply when a sensor 122 that outputs a magnetic flux density measurement is used. For example, as part of determining the count of pucks 202 stored in the rack 100, the processor 304 may use the magnetic flux density response of one or more sensors 122 (e.g., instead of a voltage response) to determine the actual position of the magnet 126 between successive pairs of sensors 122. In this case, all voltage measurements may be replaced with magnetic flux density measurements.

[0043] FIG. 5 illustrates an example configuration 500 of magnets 126 relative to an array of sensors 122, according to certain embodiments of the present disclosure.

[0044] 5, the magnet 126 is an elongated cylindrical magnet with a longitudinal axis 502 of the magnet 126 parallel to the circuit board 120. The exemplary configuration 500 includes sensors 122 (shown as S1, S2, S3, S4, S5) disposed on the circuit board 120. It may be noted that in the following description, the reference numbers "122" and "S1-S5" may be used interchangeably to refer to the sensors. In this configuration, the sensor 122 does not generate a voltage signal (e.g., a 0 millivolt (mv) value) when the center 504 of the magnet 126 is positioned above the sensor 122 and the magnetic poles 506 and 508 of the magnet 126 are positioned on either side of the sensor 122. The sensor 122 may generate a positive voltage value when the magnet 126 (e.g., center 504 of the magnet 126) is positioned on one side of the sensor 122 on the circuit board 120 (e.g., left or right along the length of the circuit board 120) and may generate a negative voltage value when the magnet 126 (e.g., center 504 of the magnet) is positioned on the other side of the sensor 122 on the circuit board 120 (e.g., left or right along the length of the circuit board 120). For example, the sensor 122 may generate a positive voltage value when the center 504 of the magnet 126 is positioned to the left of the magnet 126 along the length of the circuit board 120 and generate a negative voltage value when the center 504 of the magnet 126 is positioned to the right of the magnet 126 along the length of the circuit board 120. Additionally, the sensor 122 may generate larger absolute voltage values ​​as the magnet 126 moves away from the sensor 122 on either side of the sensor 122.

[0045] FIG. 6 illustrates an example plot 600 of voltage responses for each magnet shown in FIG. 5, according to certain embodiments of the present disclosure. The X-axis illustrates the position of the magnet 126 along the length of the rack 100, including the distance from the front end 102 of the rack. In alternative embodiments, the distance on the X-axis may be measured from the front end of the circuit board 120. It may be noted that the front end of the circuit board 120 may or may not coincide with the front end 102 of the rack 100. In any case, the following method works when the distance is measured from the front end 102 of the rack or from the front end of the circuit board 120. The following discussion assumes that the distance is measured from the front end 102 of the rack 100.

[0046] As shown in FIG. 6, each pair of sensors 122 are spaced 20 mm apart, with S1 at 30 mm, S2 at 50 mm, S3 at 70 mm, S4 at 90 mm, and S5 at 110 mm from the front end 102 of the rack. The Y-axis shows the voltage response (e.g., in millivolts (mv)) for each of sensors S1-S5 as the magnet moves from the front end 102 of the rack 100 to the rear end 104 of the rack 100. As shown in FIG. 6, each sensor 122 produces 0 mv when the magnet 126 is located above the sensor 122, produces a positive voltage value when the magnet 126 is positioned within a particular distance to the left of the sensor 122, and produces a negative voltage value when the magnet 126 is positioned within a particular distance to the right of the sensor 122. As can be seen from the exemplary plot 600, when the magnet 126 is positioned beyond a certain distance on either side of each sensor 122, the sensor 122 does not detect the magnetic field associated with the magnet 126 and therefore generates a 0mv voltage. As shown in the exemplary plot 600, the voltage range of each sensor 122 is -100mv to +100mv. The following discussion assumes that the length of the magnet is the same as the spacing between each pair of sensors, which in this example is 20mm. In this case, when the center of the magnet 126 is positioned above a particular sensor 122, the adjacent sensor generates half or approximately half of the maximum absolute voltage value. For example, when the center 504 of the magnet 126 is positioned above S2, S2 generates 0mv and the adjacent sensors S1 and S3 generate -50mv (or approximately -50mv) and +50mv (or approximately +50mv), respectively. Furthermore, when the center of the magnet 126 is positioned at the midpoint of two consecutive sensors 122, the two sensors generate a maximum or approximately maximum absolute voltage value. For example, when the center 504 of the magnet 126 is positioned approximately halfway between S1 and S2, S1 and S2 generate -100mv (or approximately -100mv) and +100mv (or approximately +100mv), respectively.

[0047] It may be noted that other lengths may be selected for the magnets 126. In one embodiment, the maximum spacing between each pair of sensors 122 is equal to the length of the magnets 126.

[0048] To determine the number of pucks 202 stored in the rack 100, the processor 304 is configured to first determine the position of the magnet 126 along the length of the rack 100 by calculating the distance (d) of the magnet from the front end 102 of the rack. The processor 304 then calculates the number of pucks 202 stored in the rack based on the determined distance of the magnet from the front end of the rack 100.

[0049] The memory 306 may store a voltage response 328 for each sensor 122 based on the voltage values ​​322 generated by the sensor 122 for different positions of the magnet 126 relative to the sensor 122. For example, the memory 306 stores the voltage responses 328 for sensors S1-S5 as shown in FIG. 6. Additionally or alternatively, the memory 306 may store a slope 330 of a response curve associated with the voltage response 328 for each sensor 122. For example, the memory 306 stores the slope 330 of each of the response curves associated with the sensors S1-S5. The slope 330 associated with the response curve of the sensor 122 indicates the amount of voltage change recorded by the sensor for every mm of distance that the center of the magnet 126 moves away from the sensor 122. As can be seen from the exemplary plot 600, the slope associated with the response curve of each sensor S1-S5 is linear. This linear characteristic of the response curve associated with the sensor 122 is used below to determine the position of the magnet between the two sensors 122. Additionally, the memory 306 may store the distance (dn) 326 of each sensor n from the front end of the rack 100. For example, the memory stores d1=30 mm, d2=50 mm, d3=70 mm, d4=90 mm, and d5=110 mm.

[0050] 7 is a flow chart of an exemplary method 700 for determining the number of non-standard size cigarette packs stored in the rack 100, according to certain embodiments of the present disclosure. The method 700 may be performed by the processor 304, as illustrated in FIG. 3 and described above.

[0051] At operation 702, the processor 304 monitors voltage values ​​322 corresponding to the voltage signals 310 generated by at least a subset of the sensors 122. For example, the processor 304 monitors the voltage values ​​322 generated by the subset of the sensors 122 by monitoring the voltage signals 310 received at signal pins 302 electrically coupled to the sensors 122 and measuring the voltage values ​​322 corresponding to the voltage signals 310 with a voltage measurement device (not shown). For example, the circuit board 120 may include a voltage measurement device (e.g., a voltmeter) that measures the voltage signals 310 received at the signal pins.

[0052] It may be noted that only a subset of the sensors 122 in the array of sensors 122 may generate a measurable voltage signal 310. For example, when a magnet 126 is positioned above a particular sensor 122, depending on the strength of the magnetic field generated by the magnet 126, the particular sensor 122 and one or more neighboring sensors of the particular sensor 122 may generate a measurable voltage signal 310. The magnetic field may be too low or nonexistent at the remaining sensors 122, such that the remaining sensors 122 do not generate a measurable voltage signal 310.

[0053] At operation 704, the processor 304 detects that the first sensor 122 generated a first maximum absolute voltage value and the second sensor 122 generated a second maximum absolute voltage value, where the first maximum absolute voltage value and the second maximum absolute voltage value are the two largest voltage values ​​from among the voltage values ​​322 generated by the sensors 122 in the array. For example, from among the subset of sensors 122 that generate voltage values, two sensors 122 of the subset may generate the largest two voltage values ​​of all voltage values ​​generated by the subset of sensors 122. In other words, the processor 304 is configured to select the two sensors 122 that are detected to have generated the two largest voltage values ​​from the voltage values ​​generated by the subset of sensors 122.

[0054] At operation 706, the processor 304 checks whether the first sensor 122 and the second sensor 122 are consecutive sensors 122 on the circuit board 120. The processor 304 may make this determination based on the signal pins 302 that received the first and second maximum absolute voltage values. For example, each signal pin 302 may correspond to a pin number. As described above, each signal pin 302 is electrically coupled to a single sensor 122 and receives a voltage signal generated by that sensor 122. The pin number of the signal pin 302 may correspond to a location of the sensor 122 electrically coupled to the signal pin 302. For example, signal pin 1 may correspond to sensor S1, signal pin 2 may correspond to sensor S2, and signal pin n may correspond to sensor Sn. Thus, the processor 304 may determine the location of the first sensor 122 and the second sensor 122 on the circuit board 120 by examining the pin numbers of the signal pins 302 that received the respective voltage signals 310 from the first sensor 122 and the second sensor 122. When the pin numbers of the two signal pins corresponding to the first sensor 122 and the second sensor 122 are consecutive, the processor 304 determines that the first sensor 122 and the second sensor 122 are consecutively arranged on the circuit board 120. On the other hand, when the pin numbers of the two signal pins corresponding to the first sensor 122 and the second sensor 122 are not consecutive, the processor 304 determines that the third sensor 122 is arranged between the first sensor 122 and the second sensor 122 on the circuit board 120. It may be noted that based on the design of the rack 100 described in this disclosure, only the above two alternatives are possible for the arrangement of the first sensor 122 and the second sensor 122 that generate the two maximum voltage values. In other words, the first sensor 122 and the second sensor 122 are consecutively arranged on the circuit board 120, or a single third sensor 122 is arranged between the first sensor 122 and the second sensor 122.

[0055] When the processor 304 determines that the first sensor 122 and the second sensor 122 are not consecutive sensors and that the third sensor 122 is disposed between the first sensor 122 and the second sensor 122, the method 700 proceeds to operation 708. At operation 708, the processor 304 determines a location of the third sensor 122 disposed between the first sensor 122 and the second sensor 122. As described above, the memory 306 stores the distance 326 of each sensor 122 from the front end of the rack 100. The processor 304 may determine the location of the third sensor 122 by retrieving the distance 326 of the third sensor 122 from the front end of the rack 100 from the memory 306. For example, referring back to FIG. 5, if the first sensor is S2 and the second sensor is S4, then the third sensor disposed between S2 and S4 is S3. The processor 304 retrieves the distance 326 of the sensor S3 from the front end of the sensor from the memory 306. For example, referring back to the exemplary plot 600 shown in FIG. 3, the distance of S3 from the front end of the sensor is 70 mm.

[0056] In operation 710, the processor 304 determines a position of the shoe 106 along the length of the rack 100 based at least in part on the distance of the third sensor 122 from the front end of the rack 100. As described above, the position of the shoe 106 corresponds to the position of the magnet 126 along the length of the rack 100. Thus, the processor 304 determines the position of the magnet 126 along the length of the rack 100. The assumption here is that when the first sensor 122 and the second sensor 122 generate the two largest voltage values, then the magnet 126 is positioned above the third sensor 122 that is located between them. As described above, when the center of the magnet 126 is positioned above a particular sensor 122, the adjacent sensor generates half (or approximately half) of the maximum absolute voltage. For example, when the center 504 of the magnet 126 is positioned above S3, S3 generates 0 mv (or approximately 0 mv), and the adjacent sensors S2 and S4 generate -50 mv (or approximately -50 mv) and +50 mv (or approximately +50 mv), respectively. Thus, when S2 and S4 generate the two maximum absolute voltage values ​​of 50 mv or approximately 50 mv, it can be assumed that the center of the magnet 126 is positioned above S3. In this case, the position of the magnet 126 is the same as the position of S3. Thus, the processor 304 determines the distance 326 of the third sensor from the front end of the rack 100 as the distance (dm) of the magnet 126 from the front end of the rack 100. For example, the processor 304 determines the distance (dS3=70 mm) of the sensor S3 from the front end of the rack 100 as the distance (dm) of the magnet from the front end 102 of the rack 100.

[0057] In one embodiment, as an optional confirmation step, the processor 304 may detect that the third sensor 122 generates a voltage value of 0mv or approximately 0mv, which serves as confirmation that the center of the magnet 126 is positioned above the third sensor 122.

[0058] If the processor 304 determines at operation 706 that the first sensor 122 and the second sensor 122 are consecutive sensors, then the method 700 proceeds to operation 712 .

[0059] In operation 712, in response to determining that the first sensor 122 and the second sensor 122 are consecutive sensors on the circuit board 120, the processor 304 determines a position of the magnet 126 between the first sensor 122 and the second sensor 122 based on the positions of the two sensors 122 on the circuit board, the voltage responses of the two sensors 122, and the actual voltage values ​​322 generated by the two sensors. The assumption here is that the magnet 126 (e.g., the center of the magnet 126) is positioned between the two consecutive sensors 122 when the two consecutive sensors 122 generate the two maximum absolute voltage values. For example, if the first and second consecutively positioned sensors are S2 and S3, respectively, this indicates that the center of the magnet 126 is positioned between the sensors S2 and S3.

[0060] If the magnet 126 (e.g., the center of the magnet 126) is positioned between the first sensor 122 and the second sensor 122, the processor 304 may determine the distance (dm) of the magnet 126 (e.g., the center of the magnet 126) from the front end 102 of the rack 100 based on the following equation (1):

number

[0061] As discussed above, the memory 306 stores the distance 326 of each sensor 122 from the front end of the rack 100. The memory 306 also stores the slope 330 of the response curve associated with the voltage response 328 of each sensor 122. Thus, in the above example, the processor 304 retrieves the values ​​of dS1, SlopeS1, dS2 and SlopeS2 from the memory to calculate the distance (dm) of the magnet 126 from the front end of the rack 100. As discussed above, the determined position of the magnet 126 corresponds to the position of the shoe 106 along the length of the rack 100.

[0062] Referring back to FIG. 6 , in an exemplary calculation of dm, assuming the first sensor is S2 and the second sensor is S3, if dS1=50 mm, SlopeS1=(−10) mv / mm, dS2=70 mm, SlopeS2=(+10) mv / mm, VS1=−100 mv, and VS2=+100 mv, then dm may be calculated according to the following equation (a):

number

[0063] Thus, the distance of the magnet 126 from the front end of the sensor is 60 mm.

[0064] At operation 714, the processor 304 determines the number of cigarette packs 202 actually stored in the rack based at least in part on the distance (dm) of the magnet 126 from the front end of the rack 100 (e.g., the dm determined in the previous operation 712).

[0065] The processor 304 may determine the number (N) of packs 202 actually stored in the rack based on the following equation (2):

number

[0066] In a particular embodiment, for a particular thickness of pucks 202, the memory 306 stores the distance (D) 332 that the magnet 126 travels for each puck 202 loaded into the rack 100. It may be noted that the value of D 332 will be different for pucks or products of different thicknesses.

[0067] Following the example from the previous paragraph, if dm=60mm and D=20mm, the number of packs actually stored in the rack (N) can be calculated as follows: N=(60) / 20=3 packs

[0068] In certain embodiments, the value of D332 may be determined in a calibration step. For example, in response to receiving a command to calibrate the rack 100, the processor 304 may initiate a calibration mode. While the processor 304 is in the calibration mode, a user (e.g., a store clerk) may load a known number of pucks 202 of a particular thickness into the rack 100. Each time a particular number of pucks 202 of a particular thickness are loaded into the rack 100, the processor 304 calculates the distance (dm) of the magnet 126 from the front end 102 of the rack 100 for the known number of pucks 202 stored in the rack 100. The processor 304 may determine the distance (D) 332 that the magnet 126 travels for each puck 202 of a particular thickness that is loaded into the rack 100 based on values ​​of dm associated with at least two different known numbers of pucks 202 loaded into the rack 100.

[0069] For example, in a first step, while the processor 304 is in calibration mode, the user loads one puck 202 of a particular thickness into the rack 100. In response, the processor calculates dm=20 mm. In a second step, the user loads three pucks 202 of the same particular thickness into the rack 100. In response, the processor calculates dm=60 mm. The processor 304 may determine the distance (D) 332 that the magnet 126 will travel for each puck 202 of a particular thickness that is loaded into the rack 100 based on the following equation (3):

number

[0070] Continuing with the above example, the processor 304 may calculate D332 as follows: D=(60-40) / (3-1)=20mm / pack

[0071] This means that for each puck 202 of a particular size that is loaded into the rack 100, the magnet 126 moves 20 mm along the length of the rack 100.

[0072] Once the processor 304 has determined the value of D332 for a puck 202 of a particular thickness, the processor 304 exits the calibration mode and stores the determined value of D332 in memory 306 for subsequent use in calculating pucks 202 of the same particular thickness actually stored in the rack 100. It may be noted that because the value of D332 will be different for pucks 202 having different thicknesses, the calibration steps described above may need to be performed before storing pucks 202 of an uncalibrated thickness in the rack 100.

[0073] It may be noted that although the method 700 is described with respect to counting the number of cigarette packs 202, the method 700 may be used to count any product / item of uniform thickness that may be stored within the rack 100.

[0074] Counting a Standard Size Cigarette Pack 202 When the Longitudinal Axis of the Magnet 126 is Parallel to the Circuit Board 120 8 is a flow chart of an exemplary method 800 for determining the number of standard size cigarette packs stored in the rack 100, according to certain embodiments of the present disclosure. The method 800 may be performed by the processor 304, as illustrated in FIG. 3 and described above.

[0075] At operation 802, the processor 304 monitors voltage values ​​322 corresponding to the voltage signals 310 generated by at least a subset of the sensors 122. For example, the processor 304 monitors the voltage values ​​322 generated by the subset of the sensors 122 by monitoring the voltage signals 310 received at signal pins 302 electrically coupled to the sensors 122, as well as by measuring the voltage values ​​322 corresponding to the voltage signals 310 using a voltage measurement device (not shown). For example, the circuit board 120 may include a voltage measurement device (e.g., a voltmeter) that measures the voltage signals 310 received at the signal pins 302.

[0076] It may be noted that only a subset of the sensors 122 in the array of sensors 122 may generate a measurable voltage signal 310. For example, when a magnet 126 is positioned over a particular sensor 122, depending on the strength of the magnetic field generated by the magnet 126, the particular sensor 122 and one or more neighboring sensors of the particular sensor 122 may generate a measurable voltage signal 310. The magnetic field may be too low or nonexistent at the remaining sensors 122, such that the remaining sensors 122 do not generate a measurable voltage signal 310.

[0077] At operation 804, the processor 304 checks whether two maximum voltage values ​​322 are detected across the voltage values ​​322 generated by the subset of the sensors 122. For example, the processor 304 may receive two maximum voltage values ​​322 at two of the signal pins 302. If the processor 304 detects two maximum voltage values ​​322 at two of the signal pins 302, the method 800 proceeds to operation 806.

[0078] At operation 806, the processor 304 detects that the first sensor 122 generated a first maximum absolute voltage value and the second sensor 122 generated a second maximum absolute voltage value, where the first maximum absolute voltage value and the second maximum absolute voltage value are the two largest voltage values ​​from among the voltage values ​​322 generated by the sensors 122 in the array. For example, from among the subset of sensors 122 that generate voltage values, two sensors 122 of the subset may generate the largest two voltage values ​​of all voltage values ​​322 generated by the subset of sensors 122. In other words, the processor 304 is configured to select the two sensors 122 that are detected as having generated the two largest voltage values ​​from among the voltage values ​​322 generated by the subset of sensors 122.

[0079] As mentioned above, the magnet carrier 124 may be designed such that for any number of pucks 202 stored in the rack 100, the center of the magnet 126 is positioned above one of the sensors 122 when the spacing between each pair of sensors 122 is equal to the thickness of the pucks 202 stored in the rack 100. As also mentioned above, when the center 504 of the magnet 126 is positioned above a particular sensor 122, the adjacent sensor generates half (or approximately half) of the maximum absolute voltage. For example, when the center 504 of the magnet 126 is positioned above sensor S3, sensor S3 generates 0 mv (or approximately 0 mv) and adjacent sensors S2 and S4 generate -50 mv (or approximately -50 mv) and +50 mv (or approximately +50 mv), respectively. Thus, it may be assumed that the center of the magnet 126 is positioned above S3 when S2 and S4 generate the two maximum absolute voltage values ​​of 50 mv or approximately 50 mv. In this case, the position of magnet 126 is the same as that of S3.

[0080] Thus, at operation 808, in response to detecting that the first sensor 122 generates a first maximum absolute voltage value and the second sensor 122 generates a second maximum absolute voltage value, the processor 304 determines that the magnet 126 (e.g., the center of the magnet 126) is positioned above the third sensor 122 disposed between the first sensor 122 and the second sensor 122, and the first sensor 122, the third sensor 122 and the second sensor 122 are consecutive sensors 122 on the circuit board 120.

[0081] At operation 810, the processor 304 determines the number of cigarette packs 202 actually stored in the rack 100 based on the number of specific packs 202 corresponding to the third sensor 122 disposed between the first sensor 122 and the second sensor 122. As described above, each signal pin 302 may correspond to a pin number. Furthermore, each signal pin 302 is electrically coupled to a single sensor 122 and receives a voltage signal 310 generated by that sensor 122. The pin number of the signal pin 302 may correspond to the location of the sensor 122 electrically coupled to the signal pin 302. For example, signal pin 1 may correspond to sensor S1, signal pin 2 may correspond to sensor S2, and signal pin n may correspond to sensor Sn. Thus, the processor 304 may determine the location of the first sensor 122 and the second sensor 122 on the circuit board 120 by examining the pin numbers of the signal pins 302 that received the respective voltage signals 310 from the first sensor 122 and the second sensor 122. The processor 304 may determine the pin number of the third sensor 122 based on the pin numbers of the first sensor 122 and the second sensor 122. For example, when the pin numbers of the signal pin 302 corresponding to the first sensor 122 and the second sensor 122 are 2 and 4, respectively, the processor 304 may determine the pin number of the signal pin 302 corresponding to the third sensor 122 as 3.

[0082] As described above, each sensor 122 is assigned a specific number of the packs 202 placed in the rack 100 based on the position of the sensor 122 on the circuit board 120, and the specific number (e.g., sensor number 324) corresponding to each sensor 122 is equal to the number of packs stored in the rack 100 when the magnet 126 is above or closest to the sensor 122. Furthermore, each signal pin 302 is assigned the same number as the sensor 122 electrically coupled to the signal pin 302. Thus, based on the pin number of the signal pin 302 of the third sensor 122, the processor 304 determines a specific number corresponding to the third sensor 122. The processor assigns the specific number corresponding to the third sensor 122 as the number of packs 202 actually stored in the rack 100. For example, when the pin number of the third sensor 122 is 3, the processor determines the number of packs 202 actually stored in the rack 100 as 3.

[0083] In one or more embodiments, the processor 304 may be configured to generate an alert message when the number of packs 202 stored in the rack 100 is equal to or less than a preset threshold number of packs 202. For example, the processor 304 may be configured to generate an alert message in response to determining whether the number of packs 202 stored in the rack 100 is equal to or less than a preset threshold number of packs 202 to be maintained in the rack 100. The alert message may include an identifier of the rack and the number of packs 202 actually stored in the rack. The processor may be configured to transmit the alert message to a master controller or a cloud infrastructure using the network interface 308. For example, a stock manager or store clerk may view the alert message and reload the rack 100.

[0084] [Shrinkage reduction in stores] Theft of goods from store shelves is a serious problem that causes substantial losses to stores. Rapid and accurate detection of stolen goods from store shelves would help catch the thief and recover the stolen goods. Cigarette packs are often stolen by store personnel who have access to the cigarette rack 100. Currently, there is no effective technical solution that can quickly and accurately detect theft of cigarette packs from the cigarette rack.

[0085] The embodiments of the present disclosure discuss techniques for intelligently detecting theft of cigarette packs 202 from the rack 100.

[0086] FIG. 9 shows a schematic diagram of a system 900 for detecting theft of cigarette packs, according to certain embodiments of the present disclosure.

[0087] 9, the system 900 includes a rack 100, an interaction device 920, and a master controller 902 communicatively coupled to the rack 100 and the interaction device 920. The master controller 902 includes a memory 908, a network interface 906, and a processor 904 communicatively coupled to the memory 908 and the network interface 906.

[0088] The processor 904 includes one or more processors operatively coupled to the memory 908. The processor 904 is any electronic circuit configuration, including, but not limited to, a state machine, one or more central processing unit (CPU) chips, a logic unit, a core (e.g., a multi-core processor), a field programmable gate array (FPGA), an application specific integrated circuit (ASIC), or a digital signal processor (DSP). The processor 904 may be a programmable logic device, a microcontroller, a microprocessor, or any suitable combination thereof. The processor 904 is communicatively coupled to the memory 908 and is in signal communication with the memory 908. The one or more processors are configured to process data and may be implemented in hardware or software. For example, the processor 904 may be an 8-bit, 16-bit, 32-bit, 64-bit, or any other suitable architecture. The processor 904 may include an arithmetic logic unit (ALU) for performing arithmetic and logical operations, processor registers that supply operands to the ALU and store results of ALU operations, and a control unit that retrieves instructions from memory and executes them by directing the coordinated operation of the ALU, registers, and other components.

[0089] The one or more processors 904 are configured to implement various instructions 910. For example, the one or more processors 904 are configured to execute the instructions 910 to implement the master controller 902. In this manner, the processor 904 may be a special purpose computer designed to implement the functionality disclosed herein. In one or more embodiments, the master controller 902 is implemented using a logic unit, an FPGA, an ASIC, a DSP, or any other suitable hardware. The master controller 902 is configured to operate as described with reference to FIGS. 9-10. For example, the master controller 902 may be configured to execute at least a portion of a method 1000 as described in FIG. 10.

[0090] Memory 908 may include one or more disks, tape drives, or solid state drives, and may be used as overflow data storage to store programs when such programs are selected for execution, and to store instructions 910 and data read during program execution. Memory 908 may be volatile or non-volatile, and may include read only memory (ROM), random access memory (RAM), ternary content addressable memory (TCAM), dynamic random access memory (DRAM), and static random access memory (SRAM).

[0091] The memory 908 is operable to store, among other things, messages 912 including messages 912 received from the rack 100 (e.g., circuit board 120), messages 912 received from the interaction devices 920, and instructions 910 for implementing the functionality of the master controller 902. The instructions 910 stored in the memory 908 may include any suitable set of instructions, logic, rules, or code operable to execute the master controller 902.

[0092] The network interface 906 is configured to enable wired and / or wireless communication. The network interface 906 is configured to communicate data between the master controller 902 and other devices, systems, or domains (e.g., the circuit boards 120 of the rack 100, the interaction devices 920, etc.). For example, the network interface 906 may include a Wi-Fi interface, a LAN interface, a WAN interface, a modem, a switch, or a router. The processor 904 is configured to send and receive data using the network interface 906. The network interface 906 may be configured to use any suitable type of communication protocol, as will be appreciated by those skilled in the art.

[0093] It may be noted that the interaction device 920 may be implemented similarly to the master controller 902 as shown in Figure 9. For example, the interaction device 920 may include a processor and a memory that stores instructions that, when executed by the processor, implement the respective functionality.

[0094] The interaction device 920 may include a point-of-sale (POS) device / terminal. This disclosure may use the terms "interaction device 920" and "POS device / terminal 920" interchangeably. The POS device 920 may be used in numerous business establishments, including, but not limited to, grocery stores, gas stations, home improvement stores, clothing stores, and restaurants, to allow users to make payments using a variety of payment instruments, such as credit cards, debit cards, smart cards, automated teller machine (ATM) cards, and other touchless payment methods. The POS device 920 may include a card reader 922 that captures account information stored on the magnetic stripe on the back of a credit card or ATM / debit card. The POS device 920 additionally includes a keypad 924 having a number of buttons with alphanumeric symbols and several additional buttons such as "ENTER", "CLEAR" and "CANCEL" to allow a user to enter a PIN associated with an ATM / debit or credit card, a zip code associated with a credit card, and / or other information that needs to be entered by the user to complete a payment transaction. The POS device 920 may include a display screen 926 that provides a visual interface for communicating with the user. To perform a payment transaction, a user of the POS device 920 slides a card through the card reader 922. The transaction details are then displayed to the user on the display 926. The user can then enter additional information regarding the transaction, such as a security verification code or a PIN number, via the keypad 924. The information entered by the user is encrypted and transmitted to a bank or other transaction clearinghouse over a secure communication channel. Once the transaction is approved, the user is notified via the display 926. It may be noted that the POS device 920 shown in FIG. 9 is for illustrative purposes only, and one skilled in the art may recognize that any type of POS device / terminal may be used in embodiments of the present disclosure.

[0095] The interaction device 920 is configured to process data interactions involving one or more packs 202 of cigarettes. The data interactions involving the one or more packs 202 of cigarettes may include processing a sale of the one or more packs of cigarettes by the interaction device 920.

[0096] 10 is a flow chart of an exemplary method 1000 for detecting theft of cigarette packs stored in the rack 100, in accordance with certain embodiments of the present disclosure. The method 1000 may be performed by the master controller 902, as shown in FIG. 9 and described above.

[0097] At operation 1002, the master controller 902 receives a first communication signal 930 (see back to FIG. 9 ) from the rack 100. For example, the first communication signal 930 is sent by the processor 304 of the circuit board 120 associated with the rack 100 using the network interface 308 and received by the master controller 902 using the network interface 906. The first communication signal 930 includes a first message indicating that a first number of cigarette packs 202 have been removed from the rack 100, and further includes a Universal Product Code (UPC) associated with the type of cigarette packs 202 stored in the rack 100.

[0098] A UPC or UPC code is a barcode symbol that is widely used around the world to track items in stores. A UPC typically consists of 12 digits that are uniquely assigned to each item. For example, each different type of cigarette pack 202 is associated with a different UPC that is typically printed on the pack 202. Thus, the UPC associated with the pack 202 uniquely identifies the type of pack 202, and all packs 202 of the same type are associated with the same UPC.

[0099] In certain embodiments, when a processor 304 associated with the circuit board 120 of the rack 100 detects that one or more cigarette packs 202 have been removed from the rack 100, the processor 304 generates a first message including at least an indication of the number of packs 202 removed from the rack 100 and a UPC associated with the packs 202 removed from the rack 100. A memory 306 of the circuit board 120 of the rack 100 may store UPCs associated with the packs 202 stored in the rack 100. The processor 304 may retrieve the UPCs associated with the packs 202 from the memory 306 and include the UPCs in the first message. In one or more embodiments, the indication of the number of packs 202 removed from the rack 100 included in the first message includes the number of packs 202 actually stored in the rack 100. For example, the processor 304 is configured to count the number of packs 202 stored in the rack 100, generate a first message including the number of packs 202 counted and the UPC associated with the packs 202, and transmit a first communication signal 930 including the first message to the master controller 902. The processor 304 may be configured to count the number of packs 202 stored in the rack 100 in response to detecting that the magnet 126 has moved along the length of the rack. The processor 304 may detect that the magnet 126 has moved in response to detecting that the voltage value generated by the sensor 122 has changed. The processor 304 may be configured to transmit a first communication signal 930 including the first message to the master controller 902 each time the processor 304 counts the packs 202 stored in the rack 100. Additionally or alternatively, the processor 304 may send a first communication signal 930 to the master controller 902 in response to receiving a command from the master controller 902 periodically, based on a pre-set schedule and / or based on a pre-set trigger (e.g., movement of the shoe 106 / magnet 126). The master controller 902 may be configured to store in a memory 908 a count of the packs 202 received from the rack 100.After receiving the first communication signal 930 from the rack 100, the master controller 902 may be configured to extract the number of packs 202 from the first message and compare the received number of packs 202 with the previous number of packs 202 stored in the memory 908. After determining, based on the comparison, that the number of packs 202 received in the latest first message is less than the previous number of packs 202 stored in the memory, the master controller 902 determines that at least one pack 202 has been removed from the rack 100. Further, based on comparing the latest number of packs with the previous number of packs, the master controller 902 may determine the number of packs that have been removed from the rack 100.

[0100] In additional or alternative embodiments, the indication of the number of packs 202 removed from the rack 100 included in the first message includes the actual number of packs 202 removed from the rack 100. For example, the processor 304 may be configured to store in the memory 306 at least the most recent count of packs 202 stored in the rack 100 from the most recent count of packs 202 stored in the rack 100. Once the processor 304 counts the packs 202 stored in the rack 100, the processor 304 compares the new count of packs to the previous count of packs stored in the memory 306. Upon determining that the new count is less than the previous count, the processor 304 determines that one or more packs have been removed from the rack 100 and further determines the number of packs removed based on the comparison of the new count to the previous count. The processor 304 includes the determined number of packs removed from the rack 100 in the first message to transmit the first communication signal 930 to the master controller 902.

[0101] At operation 1004, the master controller 902 monitors a communication signal 940 (see back to FIG. 9 ) received from the interaction device 920. The master controller 902 may receive the communication signal 940 from the interaction device 920 using the network interface 906. In one embodiment, the master controller 902 may begin monitoring the communication signal 940 received from the interaction device 920 in response to determining that a first number of cigarette packs 202 have been removed from the rack 100 (e.g., based on the first communication signal 930 received from the rack 100). The communication signal 940 received from the interaction device 902 may indicate a data interaction performed at the interaction device 920. For example, when a data interaction related to a product (e.g., related to the sale of a commodity such as one or more cigarette packs 202) is performed at the interaction device 920, the interaction device 920 may be configured to transmit the communication signal 940 to the master controller 902. The communication signal 940 may include a message having information regarding one or more data interactions processed by the interaction device 920. For example, the message may include information regarding a data interaction processed by the interaction device 920 related to one or more cigarette packs 202. This information regarding the data interaction related to one or more cigarette packs 202 may include the number of packs included as part of the data interaction and the UPC associated with each pack 202 included in the data interaction. For example, the data interaction related to one or more packs 202 may correspond to the sale of one or more packs processed by the interaction device 920. As described in more detail below, based on monitoring the communication signal 940 received from the interaction device 920, the master controller 902 may determine whether one or more data interactions related to a pack 202 removed from the rack 100 have been processed by the interaction device 920. In one embodiment, the interaction device 920 may be configured to send the communication signal 940 to the master controller 902 related only to the data interaction related to the cigarette pack 202.

[0102] In an operation 1006, based on the communication signal 940 received from the interaction device 920, the master controller 902 checks whether a data interaction related to the first number of cigarette packs 202 removed from the rack 100 has been processed by the interaction device 920 in a preset time period from when the first number of packs 202 are removed from the rack 100. As mentioned above, the communication signal 940 received from the interaction device 920 may include a message having information regarding the data interaction related to the cigarette packs 202 processed by the interaction device 920. This information may include the number of packs included as part of the data interaction and the UPC associated with each pack 202 included in the data interaction. Based on the information regarding the data interactions processed by the interaction device 920, the master controller 902 may determine whether one or more data interactions related to the packs 202 removed from the rack 100 have been processed by the interaction device 920. For example, the master controller 902 may compare the UPC associated with each pack included in the data interaction to the UPC associated with the first number of packs removed from the rack 100. When the UPC associated with the packs included in the data interaction matches the UPC associated with the first number of packs removed from the rack 100, the master controller 902 determines that the data interaction related to the pack removed from the rack 100 has been completed by the interaction device. When the master controller 902 can verify a UPC match for a first number of packs removed from a rack 100 having the same number of packs included in one or more data interactions with the interaction device 920, the master controller 902 determines that the first number of packs 202 removed from the rack 100 have been processed in a data interaction with the interaction device 920. On the other hand, when a communication signal 940 is not received from the interaction device 920 or when the UPC of a pack included in one or more data interactions processed by the interaction device 920 does not match the UPC associated with a pack removed from the rack 100, the master controller 902 determines that the first number of packs 202 removed from the rack 100 have not been processed in a data interaction with the interaction device 920, which indicates a potential theft of the first number of packs 202.

[0103] The master controller 902 may be configured to determine whether the first number of packs 202 removed from the rack 100 have been processed in a data interaction with the interaction device 920 within a preset time period from when the first number of packs 202 were removed from the rack 100. In one embodiment, the master controller 902 starts a timer in response to determining (based on the first communication signal 930) that the first number of packs 202 have been removed from the rack 100, the timer being set to expire after the preset time period. If the master controller 902 determines that the first number of packs 202 removed from the rack 100 have been processed in a data interaction with the interaction device 920 before the expiration of the timer, the master controller 902 determines that the first number of packs 202 have been processed by the interaction device 920 within the preset time period. In a second embodiment, the first message received as part of the first communication signal 930 from the rack 100 may include a timestamp including the time when the first number of packs 202 were removed from the rack 100. If the master controller 902 determines that the first number of packs 202 removed from the rack 100 were processed in the data interaction with the interaction device 920 within a preset time period from the time stamp, the master controller 902 determines that the first number of packs 202 were processed by the interaction device 920 within a preset time period. In a third embodiment, the master controller 902 may be configured to record the time at which the first communication signal 930 was received from the rack 100. If the master controller 902 determines that the first number of packs 202 removed from the rack 100 were processed in the data interaction with the interaction device 920 within a preset time period from the recorded time, the master controller 902 determines that the first number of packs 202 were processed by the interaction device 920 within a preset time period.

[0104] If the master controller 902 determines (at operation 1006) that the first number of packs 202 removed from the rack 100 have been processed in a data interaction at the interaction device 920 within a preset time period, the method 1000 proceeds to operation 1010, where the master controller 902 records that the first number of packs 202 removed from the rack 100 have been processed in one or more data interactions at the interaction device 920.

[0105] If the master controller determines (e.g., at operation 1006) that the first number of packs 202 removed from the rack 100 have not been processed in data interaction with the interaction device 920 within a pre-set time period, the method 1000 proceeds to operation 1008, where the master controller 902 transmits an alert or warning message (e.g., to a computing device of a store manager or asset protection team). The alert message may include at least one of an indication that the cigarette packs 202 removed from the rack 100 have not been processed by the interaction device 920, the first number of packs 202 removed from the rack 100, a UPC associated with the packs 202, a rack number associated with the rack 100, and a timestamp including the time the packs 202 were removed from the rack 100. In one embodiment, the first message received as part of the first communication signal 930 from the rack 100 includes a rack number associated with the rack. Additionally or alternatively, the alert message may include the identity of the user (e.g., store clerk) operating the interaction device 920 when the first number of packs 202 were removed from the rack 100. Generally, to operate the interaction device 920, the user is required to enter a security credential unique to the user. The security credential is usually associated with the user's identity. The interaction device 920 may transmit the identity of the user currently operating the interaction device 920 as part of the communication signal 940 sent to the master controller 902. Timely detection and warning of potential theft, together with the identity of the user operating the interaction device, helps to identify the party responsible for the theft and recover the stolen product. Furthermore, the system may deter potential thieves from attempting to steal the product, which also aids in shrinkage reduction.

[0106] It may be noted that although the method 1000 is described with respect to the cigarette packs 202 , the method 1000 may be used with respect to any product / item of uniform thickness that can be stored in the rack 100 .

[0107] FIG. 11 illustrates an example network topology 1100 for connecting the multiple racks shown in FIG. 1 in accordance with certain embodiments of the present disclosure.

[0108] A typical store has multiple racks 100 arranged on one or more shelves. Network topology 1100 is an exemplary network configuration of multiple racks 100 in communication with a master controller 902. As shown in FIG. 11, network topology 1100 includes multiple racks 100 (shown as 100a, 100b, 100c...100n) and a master controller 902 connected in a daisy chain. Each rack 100 includes an inbound connector (e.g., one or more input pins on a circuit board 120) and an outbound connector (e.g., one or more output pins on a circuit board 120). The inbound connector may be used to receive data from other devices (e.g., other racks 100 or the master controller 902), and the outbound connector may be used to send data to other devices (e.g., other racks 100 or the master controller 902). Each rack 100 may send and receive data using its respective network interface 308. For example, data received at an inbound connector may be routed to the network interface 308. Additionally, the network interface 308 may transmit the data via an outbound connector.

[0109] As shown in FIG. 11, the master controller 902 is connected to the inbound connector of the first rack 100a. The first rack 100a is then connected through its outbound connector to the inbound connector of the second rack 100b. This connection sequence is repeated until all racks 100a-100n are connected, and the outbound connector of the last rack 100n is connected back to the master controller, forming a ring topology. As shown, data in the daisy chain flows serially from the master controller 902 to the first rack 100a, from one rack to the next, and then from the last rack 100n in the daisy chain back to the master controller 902.

[0110] Each rack 100 stores an address in its respective memory 306. The address of a particular rack 100 is what the master controller 902 uses to issue commands to the particular rack 100 and to interpret and associate data coming from the particular rack 100. The address may be a simple sequence number and is initially undefined. At system startup (e.g., cold start or master controller 902 reset), the master controller 902 passes a "Clear Address" command to the first rack 100a instructing the rack 100a to clear its address. The first rack 100a clears its address and then sends / forwards the same command to the second rack 100b. This continues to the end of the daisy chain until the last rack 100n sends a "Clear Address" command back to the master controller 902, which indicates to the master controller 902 that all the racks have cleared their addresses.

[0111] After clearing all addresses of all racks 100, the master controller 902 starts a sequence that results in the assignment of addresses to all racks 100 in the network. This starts with a "Set Address" command with an address value of 0x0001 (hexadecimal) passed by the master controller 902 to the first rack 100a. After receiving this command, the first rack 100a sets its address to 0x0001, increments the value by one, and passes a "Set Address" command and the new value to the second rack 100b. The second rack 100b sets its own address, increments the value, and passes the command to the third rack 100c. This continues down the chain until the last rack 100n sets its address, increments the value, and returns a "Set Address" command to the master controller. When the master controller 902 sees this command and the address returned to it, it has a count of the number of racks attached there (e.g., the last address value received minus one). In fact, unless a rack 100 is never added, removed, reconfigured, or experiences a failure, the rack 100 will always have the same address, even during resets, power cycles, etc.

[0112] Once all racks 100 have selected addresses, the master controller 902 may command any one rack for a current count of packs 202 stored in the rack. For example, the master controller 902 may send a "Get Current Count" command along with the address of the rack 100. The command is passed down the chain until a target rack with a matching address included in the command receives the command. The target rack sends a "Current Count" response to the next rack in the chain, which includes the most recent count of packs 202 stored in the target rack and the address of the target rack. The response is passed down the chain to the master controller 902, which interprets the response as having been received from the target rack from the address contained in the response. In some embodiments, as described above, a rack 100 in the chain may send an unsolicited "Count Changed" message (e.g., the first message in FIG. 10) to the master controller 902. As described above, the "Count Changed" message may be used to determine whether one or more packs removed from the rack have been processed by the interaction device 920.

[0113] Although several embodiments are provided in this disclosure, it should be understood that the disclosed systems and methods may be embodied in many other specific forms without departing from the spirit or scope of the disclosure. The examples should be considered as illustrative rather than restrictive, and the intention is not to be limited to the details given herein. For example, various elements or components may be combined or integrated into another system, or certain features may be omitted or not implemented.

[0114] Additionally, the techniques, systems, subsystems, and methods described and illustrated in various embodiments as separate or distinct may be combined or integrated with other systems, modules, techniques, or methods without departing from the scope of the present disclosure. Other items illustrated or discussed as coupled or directly coupled or in communication with one another may indirectly be coupled or in communication through some interface, device, or intermediate component, whether electrical, mechanical, or otherwise. Other examples of changes, substitutions, and alterations will be ascertainable by those skilled in the art and may be made without departing from the spirit and scope disclosed herein.

[0115] In order to assist the Patent Office and readers of any patents issued on this application in interpreting the claims appended hereto, Applicants note that they do not intend to invoke 35 U.S.C. §112(f), as it exists as of the filing date of this application, unless the words "means for" or "step for" are expressly used in a particular claim.

Claims

1. 1. A system for counting cigarette packs in a rack, comprising: an elongated rack for storing a plurality of cigarette packs along a length of said rack between a front end and a rear end of said rack; a shoe movably mounted on the rack for movement between the front and rear ends of the rack, the cigarette packs being disposed adjacent the front end of the shoe, the shoe being pushed back toward the rear end of the rack with each cigarette pack loaded into the rack; a magnet coupled to the shoe; an elongated circuit board disposed along the length of the rack; The circuit board comprises: an array of sensors disposed along the length of said circuit board, wherein for any number of cigarette packs stored in said rack, the spacing between each pair of said sensors corresponds to a thickness of the cigarette packs such that the magnet is directly above one of said sensors, each of said sensors producing a maximum voltage value when the magnet is directly above said sensor, and each sensor corresponds to a particular pack number disposed in said rack based on the position of said sensor on said circuit board; a memory for storing a voltage value generated by the sensor; a processor coupled to the sensor and the memory; The processor: monitoring voltage values ​​generated by at least a subset of sensors in the sensor array; Detecting that a particular sensor in the sensor array produced the maximum voltage value; determining the number of cigarette packs actually stored in the rack based on the particular pack number corresponding to the particular sensor detected to produce the maximum voltage value. system.

2. the specific number corresponding to each sensor from the array is equal to the number of pucks stored in the rack when the magnet is over the sensor; determining the number of packs includes assigning the particular number corresponding to the particular sensor as the number of cigarette packs stored in the rack; The system of claim 1 .

3. the circuit board further includes an array of signal pins, each sensor being electrically coupled to one of the signal pins and outputting a voltage signal generated by the sensor to the signal pin; the processor is configured to monitor the voltage values ​​generated by the subset of the sensors by monitoring the voltage signals received at each of the signal pins. The system of claim 2.

4. The circuit board further comprises a communication interface coupled to the processor; The processor further comprises: determining that a number of packs actually stored in the rack is less than or equal to a threshold; generating an alert message including an identifier for the rack and the determined number of packs actually stored in the rack; and transmitting the alert message to a master controller using the communication interface. The system of claim 1 .

5. a mechanism coupled to said shoe for driving said shoe toward said front end of said rack to press a forward-most cigarette pack stored in said rack against a front wall of said rack adjacent said front end; The system of claim 1 further comprising:

6. the mechanism coupled to the shoe includes a coil spring that urges the shoe toward the front end of the rack. The system of claim 5.

7. A plurality of racks including the rack, the plurality of racks being connected in a daisy chain; a master controller connected to a first rack of the daisy chain, and a last rack of the daisy chain is connected to the master controller, forming a ring topology; The processor further comprises: receiving a request from the master controller for the number of packs actually stored in the rack, the request including a network address of the rack; generating a count message including the network address of the rack and the determined number of packs actually stored in the rack; and transmitting the count message to a next rack on the daisy chain. The system of claim 1 .

8. a magnet carrier attached to the shoe and configured to hold the magnet; The system of claim 1 .

9. the magnet is disposed within the magnet carrier such that a longitudinal axis of the magnet is perpendicular to the elongated circuit board; each of the sensors produces the maximum voltage value when the magnet is closest to the sensor; The system of claim 8.

10. The magnet carrier is located at the rear end of the shoe. The system of claim 8.

11. each of the sensors in the sensor array includes a Hall effect sensor; The system of claim 1 .

12. The circuit board for counting the cigarette packs stored in the rack: an array of sensors disposed along the length of said circuit board, said circuit board being disposed along the length of said rack storing a plurality of cigarette packs along the length of said rack between a front end and a rear end of said rack, a magnet moving along the length of said rack between the front end and a rear end of said rack, for any number of cigarette packs stored in said rack, the spacing between each pair of said sensors corresponding to a thickness of the cigarette packs in said rack such that a magnet is directly above one of said sensors, each of said sensors producing a maximum voltage value when the magnet is directly above said sensor, each sensor corresponding to a particular pack number located in said rack based on the position of said sensor on said circuit board; a memory for storing voltage values ​​generated by the sensor; a processor coupled to the sensor and the memory; The processor: monitoring voltage values ​​generated by at least a subset of sensors in the sensor array; Detecting that a particular sensor in the sensor array produced the maximum voltage value; determining the number of cigarette packs actually stored in the rack based on the particular pack number corresponding to the particular sensor detected to produce the maximum voltage value. Circuit board.

13. the specific number corresponding to each sensor from the array is equal to the number of pucks stored in the rack when the magnet is over the sensor; determining the number of packs includes assigning the particular number corresponding to the particular sensor as the number of cigarette packs stored in the rack; The circuit board according to claim 12.

14. the circuit board further includes an array of signal pins, each sensor being electrically coupled to one of the signal pins and outputting a voltage signal generated by the sensor to the signal pin; the processor is configured to monitor the voltage values ​​generated by the subset of the sensors by monitoring the voltage signals received at each of the signal pins. The circuit board according to claim 13.

15. the circuit board further comprises a communications interface coupled to the processor; The processor further comprises: determining that a number of packs actually stored in the rack is less than or equal to a threshold; generating an alert message including an identification of the rack and the determined number of packs actually stored in the rack; and transmitting the alert message to a master controller using the communication interface. The circuit board according to claim 12.

16. each of the sensors in the sensor array includes a Hall effect sensor; The circuit board according to claim 12.

17. 1. A system for counting cigarette packs in a rack, comprising: a longitudinal rack for storing a plurality of cigarette packs along a length of said rack between a front end and a rear end of said rack; a shoe movably mounted on the rack for movement between the front and rear ends of the rack, the cigarette pack being disposed adjacent the front end of the shoe, the shoe being pushed back toward the rear end of the rack by each cigarette pack loaded into the rack; a magnet coupled to the shoe; an elongated circuit board disposed along the length of the rack; The circuit board includes: an array of sensors arranged along the length of said circuit board, where for any number of cigarette packs stored in said rack, the spacing between each pair of said sensors corresponds to a thickness of the cigarette packs such that the magnet is directly above one of the sensors, and when the magnet is above a sensor, each of said sensors produces a zero voltage value or a voltage value close to zero, and adjacent sensors on either side of said sensor produce half a maximum absolute voltage value or approximately half said maximum absolute voltage value, and each sensor corresponds to a particular number of packs located in said rack based on the position of said sensor on said circuit board; a memory for storing voltage values ​​generated by the sensor; a processor coupled to the sensor and the memory; The processor: monitoring voltage values ​​generated by at least a subset of sensors in the sensor array; Detecting that the first sensor produces a first maximum absolute voltage value and that the second sensor produces a second maximum absolute voltage value; the first maximum absolute voltage value and the second maximum absolute voltage value being two maximum voltage values ​​generated by the sensors in the array; responsive to said detecting, determining that a magnet is located above a third sensor disposed between the first sensor and the second sensor; determining the number of cigarette packs actually stored in the rack based on the specific pack number corresponding to the third sensor disposed between the first sensor and the second sensor. system.

18. a magnet carrier attached to the shoe and configured to hold the magnet; 20. The system of claim 17.

19. the magnet is disposed within the magnet carrier such that a longitudinal axis of the magnet is parallel to the elongated circuit board; 20. The system of claim 18.

20. the specific number corresponding to each sensor from the array is equal to the number of pucks stored in the rack when the magnet is over the sensor; determining the number of packs includes assigning the particular number corresponding to the particular sensor as the number of cigarette packs stored in the rack; 20. The system of claim 17.

21. the circuit board further includes an array of signal pins, each sensor being electrically coupled to one of the signal pins and outputting a voltage signal generated by the sensor to the signal pin; the processor is configured to monitor the voltage values ​​generated by the subset of the sensors by monitoring the voltage signals received at each of the signal pins.

21. The system of claim 20.

22. The circuit board further comprises a communication interface coupled to the processor; The processor further comprises: determining that a number of packs actually stored in the rack is less than or equal to a threshold; generating an alert message including an identifier for the rack and the determined number of packs actually stored in the rack; and transmitting the alert message to a master controller using the communication interface.

20. The system of claim 17.