Shared resistive sensor measurement with FPGA based collision avoidance protection
AssigneeHamilton Sundstrand Corporation
InventorsRobert P. Wichowski, Patrick J. Sears, Timothy A. Roberts
Life of this patent
Estimating the term…
Abstract
Providing collision avoidance protection to controllers sharing the same sensor. Each of a pair of asynchronous controllers changes the period of a sync pulse transmitted to the other controller to indicate to the other controller it is synchronized. When one of the controllers begins reading data from the shared sensor, the other controller waits to receive another sync pulse for indicating when the controller is finished reading data from the shared sensor. Thus, the asynchronous controllers avoid accessing the same sensor at the same time.
Claims17
A method for providing collision avoidance protection to controllers sharing the same sensor, the method comprising:
- sending a first sync pulse via a primary controller to a secondary controller;
- sending a second sync pulse via the secondary controller to the primary controller;
- in response to receiving the second sync pulse at the primary controller, the primary controller changing a period of the first sync pulse to the secondary controller to indicate to the secondary controller that the primary controller is synced to the secondary controller;
- in response to receiving the first sync pulse at the secondary controller, the secondary controller changing a period of the second sync pulse to the primary controller to indicate to the primary controller that the secondary controller is synced to the primary controller;
- reading, via the primary controller, data from a shared sensor while the secondary controller waits for another sync pulse from the primary controller, wherein the other sync pulse indicates that the primary controller is no longer reading data from the shared sensor;
- and
- in response to the secondary controller receiving the other sync pulse from the primary controller indicating the primary controller is no longer reading data from the shared sensor, reading, via the secondary controller, data from the shared sensor and the primary controller waiting for another sync pulse from the secondary controller, wherein the other sync pulse from the secondary controller indicates the secondary controller is no longer reading data from the shared sensor;
- wherein each of the primary and secondary controllers defaults to a dedicated sensor when communication between the primary and secondary controllers is lost.
A method for providing collision avoidance protection to controllers sharing the same sensor, the method comprising:
- sending a first sync pulse via a primary controller to a secondary controller;
- sending a second sync pulse via the secondary controller to the primary controller;
- in response to receiving the second sync pulse at the primary controller, the primary controller changing a period of the first sync pulse to the secondary controller to indicate to the secondary controller that the primary controller is synced to the secondary controller;
- in response to receiving the first sync pulse at the secondary controller, the secondary controller changing a period of the second sync pulse to the primary controller to indicate to the primary controller that the secondary controller is synced to the primary controller;
- reading, via the primary controller, data from a shared sensor while the secondary controller waits for another sync pulse from the primary controller, wherein the other sync pulse indicates that the primary controller is no longer reading data from the shared sensor;
- and
- in response to the secondary controller receiving the other sync pulse from the primary controller indicating the primary controller is no longer reading data from the shared sensor, reading, via the secondary controller, data from the shared sensor and the primary controller waiting for another sync pulse from the secondary controller, wherein the other sync pulse from the secondary controller indicates the secondary controller is no longer reading data from the shared sensor;
- wherein the shared sensor is one of a pair of sensors shared between the primary and secondary controllers and one of the sensors of the pair of sensors is dedicated to the primary controller and the other sensor of the pair of sensors is dedicated to the secondary controller;
- wherein either of the primary and secondary controllers defaults to its own dedicated sensor when a status of the other of the primary and secondary controllers is unknown.
A system for providing collision avoidance protection to controllers sharing the same sensor, the system comprising:
- a first field programmable gate array (FPGA) comprising a primary controller;
- a second FPGA comprising a secondary controller, wherein the primary and secondary controllers are asynchronous relative to one another, and wherein the primary and secondary controllers synchronize communications for receiving sensor data;
- and
- a pair of shared sensors, wherein each of the sensors of the pair of sensors is shared between the primary and secondary controllers, one of the sensors of the pair of sensors is dedicated to the primary controller, and the other sensor of the pair of sensors is dedicated to the secondary controller,
- wherein in response to receiving a first sync pulse from the primary controller at the secondary controller, the secondary controller changes a period of a second sync pulse sent to the primary controller to indicate to the primary controller that the secondary controller is synced to the primary controller, and in response to receiving the second sync pulse from the secondary controller at the primary controller, the primary controller changes a period of the first sync pulse to the secondary controller to indicate to the secondary controller that the primary controller is synced to the secondary controller;
- wherein each of the primary and secondary controllers default to reading data from its own dedicated sensor while waiting for the other of the primary and secondary controllers to finish reading data from its own dedicated sensor.
Dependencies are inferred from the claim text.