Reduced overhead on digital signal processing for motor drive applications
10116288 ยท 2018-10-30
Assignee
Inventors
- Sesh Mohan Rao (Bangalore, IN)
- Shobhit Agrawal (Bangalore, IN)
- Priya Kakarla Naga Lakshmi (Bangalore, IN)
Cpc classification
H03M1/124
ELECTRICITY
International classification
G07F7/00
PHYSICS
H03K5/156
ELECTRICITY
Abstract
In accordance with one or more embodiments, a monostable multivibrator that is communicatively coupled to a host device and an external analog-to-digital converter is provided. The monostable multivibrator receives a chip select signal from the host device. The monostable multivibrator also generates, in response to the chip select signal, a conversion start signal to the external analog-to-digital converter.
Claims
1. A monostable multivibrator communicatively coupled to a host device and an external analog-to-digital converter, the monostable multivibrator configured to: receive a chip select signal from the host device, the chip select signal going low to trigger the monostable multivibrator to provide the monostable pulse; and generate, in response to the chip select signal, a conversion start signal to the external analog-to-digital converter, the conversion start signal comprising the monostable pulse provided by the monostable multivibrator to the external analog-to-digital converter; and control a pulse width of the monostable pulse by a resistor-capacitor circuit of the monostable multivibrator.
2. The monostable multivibrator of claim 1, wherein the monostable multivibrator utilizes when the chip select signal goes low as a trigger to generate the conversion start signal.
3. The monostable multivibrator of claim 2, wherein the monostable multivibrator is configured to repeat in each cycle as the chip select signal goes low the conversion start signal.
4. The monostable multivibrator of claim 1, wherein the host device is configured to enable a delay between the chip select signal and an application of a clock to allow a conversion.
5. The monostable multivibrator of claim 1, wherein the host device is configured to utilize a serial peripheral interface enable signal to control an application of a serial clock.
6. The monostable multivibrator of claim 1, wherein a busy signal from the external analog-to-digital converter indicates a completion of a conversion.
7. The monostable multivibrator of claim 1, wherein the host device is a digital signal processor.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
(1) The following descriptions should not be considered limiting in any way. With reference to the accompanying drawings, like elements are numbered alike:
(2)
(3)
(4)
(5)
DETAILED DESCRIPTION
(6) A detailed description of one or more embodiments of the disclosed apparatus and method are presented herein by way of exemplification and not limitation with reference to the Figures.
(7) Embodiments herein relate to operating and controlling high precision external ADCs while reducing/avoiding software overhead during sampling in motor drive applications. Accordingly, an external ADC can be interfaced to a host device (e.g., a microcontroller, DSP, or field-programmable gate array (FPGA)) through serial peripheral interface (SPI) or parallel interface for reading digital data that is further processed by the host device. Further, the simultaneously sampling by the external ADC requires a conversion start signal input from the host device to initiate the conversion (e.g., the sampling). For instance, when the host device is a DSP (or the like), providing a dedicated signal along with the SPI interface to start the conversion results in software overhead for the DSP, as central processing unit (CPU) interventions are necessary for communication with the external ADC (which negatively affects task scheduling in a scheduler of the DSP). To reduce/avoid this software overhead, a monostable multivibrator is inserted between the DSP and the external ADC, so that the conversion start signal can be generated for the external ADC by the monostable multivibrator in hardware.
(8) Turning now to
(9) In non-limiting example operation, the conversion start signal CONVST can be generated for the external ADC 130 by the monostable multivibrator 120 in hardware, without causing any overhead in software. That is, as part of a serial peripheral interface (SPI) or parallel interface, the chip select signal CS (e.g., an active low chip select signal) is generated by the host device 110.
(10) In accordance with one or more embodiments, at the start of the SPI or parallel communication, the chip select signal CS goes low, which is used by the monostable multivibrator 120 as a trigger to provide a monostable pulse (e.g., conversion start signal CONVST), which starts the conversion. Turning now to
(11) The chip select signal CS can be received by the chip 210 on the trigger pin TRIG from the first voltage 205 (e.g., originating from the host device 110). When the chip select signal CS goes low, the chip 210 in turn provides a monostable pulse (e.g., MONO_PULSE) via the output pin OUT, which starts the conversion. Note that the pulse width can be controlled by the resistor-capacitor circuit 250.
(12)
(13)
(14) Either of these mechanisms of
(15) Technical effects and benefits of the system 100 include avoiding providing a separate discrete signal for enabling a start of a conversion by software, as the conversion start signal CONVST is tied with the function of the chip select signal CS (due to the addition of the monostable multivibrator 120) and conversion happens as soon as the chip select signal CS is activated (by the host device 110). Further, since there is no overhead on the software due to CPU intervention, the SPI transactions can be controlled through direct memory access (DMA), which allows a precise external simultaneous sampling ADC (e.g., the external ADC 130) to be interfaced to a DSP (e.g., the host device 110), so that multiple channel sampling can be done simultaneously and accurately.
(16) The term about is intended to include the degree of error associated with measurement of the particular quantity based upon the equipment available at the time of filing the application. For example, about can include a range of 8% or 5%, or 2% of a given value.
(17) The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the present disclosure. As used herein, the singular forms a, an and the are intended to include the plural forms as well, unless the context clearly indicates otherwise. It will be further understood that the terms comprises and/or comprising, when used in this specification, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, element components, and/or groups thereof.
(18) While the present disclosure has been described with reference to an exemplary embodiment or embodiments, it will be understood by those skilled in the art that various changes may be made and equivalents may be substituted for elements thereof without departing from the scope of the present disclosure. In addition, many modifications may be made to adapt a particular situation or material to the teachings of the present disclosure without departing from the essential scope thereof. Therefore, it is intended that the present disclosure not be limited to the particular embodiment disclosed as the best mode contemplated for carrying out this present disclosure, but that the present disclosure will include all embodiments falling within the scope of the claims.