1. An analog input signal processing circuit for inputting to a microprocessor a signal related to a signal voltage of a variable analog signal source:
the analog input signal processing circuit comprising a switched capacitor filter circuit, a gain adjustment circuit, and a data conversion circuit; and in which a non-volatile program memory that cooperates with said microprocessor includes a program acting as a control pulse train generator;
wherein said microprocessor is arranged so as to provide a common control signal pulse train to said switched capacitor filter circuit and gain adjustment circuit with said control pulse train generator;
said switched capacitor filter circuit includes a switching element of which switching is controlled with a control signal pulse train commanded from said microprocessor, and a chargedischarge capacitor; and of which filter characteristics are variably-controlled in response to a pulse frequency of said control signal pulse train;
said gain adjustment circuit, being commanded from said microprocessor, makes the switching control of an amplification factor adjustment switching element of which switching is controlled with said control signal pulse train, and variably controls of an amplification factor with respect to an input signal voltage in response to a pulse duty, defined as an ON time periodperiod or OFF time periodperiod of said control signal pulse train;
said data conversion circuit converts a detection current value responsive to a signal voltage of a variable analog signal source, which is obtained via said switched capacitor filter circuit and gain adjustment circuit, to a digital logic signal to input it to said microprocessor, and writes it in a RAM memory acting as a detection data memory via said microprocessor;
said control pulse train generator is formed of: a first setting means for changing and setting a pulse period; a second setting means for changing and setting a pulse duty; pulse width operation setting means for calculating and setting a product of a pulse period and a pulse duty having been changed and set by said first setting means and second setting means; interrupt counting means for counting the number of times of fixed-time interrupts; a flag output generator in which flag is set when a counter current value of said interrupt counting means has reached a set value calculated by said pulse width operation setting means; and reset means for initializing said counter current value to reset a flag output when a counter current value of said interrupt counting means has reached a pulse period that is variably-set by said first setting means; and
a flag output from said flag output generator is said control signal pulse train.
2. The analog input signal processing circuit according to claim 1, wherein in said control pulse train generator, said first setting means, second setting means, and pulse width operation setting means are processed in the normal control routine acted by no interrupt operation; and said interrupt counting means, flag output generator, and reset means are processed in the fixed-time interrupt control routine.
3. The analog input signal processing circuit according to claim 2, wherein said control pulse train generator further comprises
a pair of operation registers operated so that a set value of a pulse period that is processed by said flag output generator and a set value of a pulse period that is processed by reset means, are the same pulse period.
4. The analog input signal processing circuit according to claim 1, wherein in said control pulse train generator, said first setting means and second setting means are processed in the normal control routine acted by no interrupt operation; and said interrupt counting means, pulse width operation setting means, flag output generator, and reset means are processed in the fixed-time interrupt control routine.
5. The analog input signal processing circuit according to claim 1, wherein said data conversion circuit is an analog comparison circuit, and the program memory that cooperates with said microprocessor includes a program acting as an equivalent change unit of a comparison reference voltage;
said analog comparison circuit compares a detection current value of an analog signal voltage that is obtained via said switched capacitor filter circuit and gain adjustment circuit with a predetermined comparison reference voltage to input said comparison result to said microprocessor as a digital logic signal; and
said equivalent change unit obtains an analog comparison circuit with a comparison reference voltage that is equivalently changed by changing a pulse duty of said control signal pulse train to change an inputoutput ratio of the gain adjustment circuit.
6. The analog input signal processing circuit according to claim 5, wherein said analog comparison circuit comprises at least first and second of plural comparison circuits;
said first comparison circuit compares a detection current value of an analog signal voltage that is obtained via said switched capacitor filter circuit and gain adjustment circuit with a first comparison reference voltage to input said comparison result to said microprocessor as a first comparison result; and
said second comparison circuit compares a detection current value of an analog signal voltage that is obtained via said switched capacitor filter circuit and gain adjustment circuit with a second comparison reference voltage, being a value larger than said first comparison reference voltage to input said comparison result to said microprocessor as a second comparison result.
7. The analog input signal processing circuit according to claim 1, wherein said data conversion circuit is an AD converter, and a program memory that cooperates with said microprocessor includes a program acting as a data processor;
said AD converter converts an analog signal voltage that is obtained via said switched capacitor filter circuit and gain adjustment circuit to plural bits of digital data to input it as a digital logic signal with respect to said microprocessor; and
said data processor transfers and stores a digital output from said AD converter to and in a RAM memory as a detection digital voltage, and equivalently changes a comparison reference digital voltage with respect to said detection digital voltage by changing a pulse duty of said control signal pulse train to change an inputoutput ratio of the gain adjustment circuit.
8. The analog input signal processing circuit according to claim 7, wherein said AD converter is a multi-channel AD converter;
said switched capacitor filter circuit, gain adjustment circuit, and control signal pulse train are provided individually with respect to each of a plurality of variable analog signal sources; and
said AD converter makes the digital conversion in sequence taking a plurality of analog signal voltages as inputs.
9. The analog input signal processing circuit according to claim 1, wherein said switched capacitor filter circuit forms a low-pass filter circuit for interrupting a high-frequency noise signal; and a smoothing filter circuit of a smaller integration time constant than the minimum integration time constant of the switched capacitor filter is provided in an output stage of said gain adjustment circuit.
10. The analog input signal processing circuit according to claim 9, wherein said variable analog signal source includes a plurality of variable analog signal sources to be selected and connected to the foremost stage of said switched capacitor filter circuit and gain adjustment circuit in sequence via a multiplexer;
said program memory that cooperates with said microprocessor includes a program acting as a connection switching signal generator; and
said connection switching signal generator sequentially generates a connection switching signal with respect to said multiplexer, and separates and writes data to be written in a RAM memory via said data conversion circuit and microprocessor with respect to each of a plurality of variable analog signal sources.
11. The analog input signal processing circuit according to claim 1, wherein said variable analog signal source generates a pulsation signal;
said switched capacitor filter circuit forms a band filter circuit in which a center frequency is variably-controlled in response to a pulse frequency of said control signal pulse train;
said analog input signal processing circuit further comprises a peak hold circuit connected between said bandpass filter circuit and data conversion circuit; and a program memory that cooperates with said microprocessor includes a program acting as a data fetch signal generator;
said peak hold circuit is formed of a maximum value storing capacitor to be charged via a reverse-current blocking diode and a discharge switching element to periodically discharge an electric charge having been stored in said capacitor; and
said data fetch signal generator, after a predetermined period has passed from which said discharge switching element is brought in a closed circuit to discharge an electric charge having been said maximum value storing capacitor, and said discharge switching element is brought in an open circuit to charge said maximum value storing capacitor again, periodically generates a fetch timing signal with which a digital logic signal related to said charging voltage is transferred and stored in the RAM memory via said data conversion circuit and microprocessor.
12. The analog input signal processing circuit according to claim 11, wherein said variable analog signal source includes a plurality of variable analog signal sources to be selected and connected with respect to the foremost stage of said switched capacitor filter circuit and gain adjustment circuit in sequence via a multiplexer;
the program memory that cooperates with said microprocessor includes a program acting as a connection switching signal generator; and
said connection switching signal generator sequentially generates a connection switching signal with respect to said multiplexer, and separates and writes data to be written in a RAM memory via said data conversion circuit and microprocessor with respect to each of a plurality of variable analog signal sources.
13. The analog input signal processing circuit according to claim 1, wherein said variable analog signal source is a knock sensor for cylinder vibration detection located at a plurality of cylinders of an internal combustion engine, and said plurality of knock sensors are switched and connected in sequence as inputs to said gain adjustment circuit via a multiplexer;
said switched capacitor filter circuit forms a bandpass filter circuit in which a center frequency is variably-controlled in response to a pulse frequency of said control signal pulse train, and a peak hold circuit connected to the foremost stage of said AD converter acting as a data conversion circuit is provided;
a program memory that cooperates with said microprocessor includes a program acting as data fetch signal generator and connection switching signal generator;
said peak hold circuit is formed of a maximum value storing capacitor to be charged via a reverse-current blocking diode and a discharge switching element to periodically discharge an electric charge having been stored in said capacitor;
said data fetch signal generator, after a predetermined period has passed from which said discharge switching element is brought in a closed circuit to discharge an electric charge having been stored in said maximum value storing capacitor, and said discharge switching element is brought in an open circuit to charge said maximum value storing capacitor again, periodically generates a fetch timing signal with which a digital logic signal related to said charging voltage is transferred and stored in the RAM memory via said AD converter and microprocessor;
said connection switching signal generator provides a connection switching signal to said multiplexer so as to select and connect the knock sensor that is located at a cylinder just before the explosion stroke in response to a detection angle of a crank angle sensor of the internal combustion engine; and
said data fetch signal generator determines a fetch timing of data in response to a detection angle of said crank angle sensor.
The claims below are in addition to those above.
All refrences to claim(s) which appear below refer to the numbering after this setence.
1. An improved LED lighting string designed to improve LED’s flickering problems, comprises an electrical wire and one or more loops of LED lighting strings in parallel circuit integrated with a plug to connect with an AC source, and an end connector used for connecting the other loop of LED lighting string, wherein each loop or multiple loops of LED lighting strings hashave a half-wave rectified and filtered device integrated with a diode D1, a resistor R1 and a capacitor C1 as a low pass filter device and coupled to the plug to rectify the inputted AC source into a DC source.
2. The improved LED lighting string as defined in claim 1, wherein each loop or at least one loop of LED lighting strings further has one or more safe LED bulbs as a current-limiting device.