CN116620161A - Infrared induction type automobile reading lamp on-off control method - Google Patents

Infrared induction type automobile reading lamp on-off control method Download PDF

Info

Publication number
CN116620161A
CN116620161A CN202310652746.XA CN202310652746A CN116620161A CN 116620161 A CN116620161 A CN 116620161A CN 202310652746 A CN202310652746 A CN 202310652746A CN 116620161 A CN116620161 A CN 116620161A
Authority
CN
China
Prior art keywords
lamp
infrared
signal
circuit
light
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202310652746.XA
Other languages
Chinese (zh)
Inventor
请求不公布姓名
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai Yongya Smart Technology Co ltd
Original Assignee
Shanghai Yongya Smart Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shanghai Yongya Smart Technology Co ltd filed Critical Shanghai Yongya Smart Technology Co ltd
Priority to CN202310652746.XA priority Critical patent/CN116620161A/en
Publication of CN116620161A publication Critical patent/CN116620161A/en
Pending legal-status Critical Current

Links

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60QARRANGEMENT OF SIGNALLING OR LIGHTING DEVICES, THE MOUNTING OR SUPPORTING THEREOF OR CIRCUITS THEREFOR, FOR VEHICLES IN GENERAL
    • B60Q3/00Arrangement of lighting devices for vehicle interiors; Lighting devices specially adapted for vehicle interiors
    • B60Q3/80Circuits; Control arrangements
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60QARRANGEMENT OF SIGNALLING OR LIGHTING DEVICES, THE MOUNTING OR SUPPORTING THEREOF OR CIRCUITS THEREFOR, FOR VEHICLES IN GENERAL
    • B60Q3/00Arrangement of lighting devices for vehicle interiors; Lighting devices specially adapted for vehicle interiors
    • B60Q3/80Circuits; Control arrangements
    • B60Q3/82Switches specially adapted for vehicle interior lighting, e.g. switching by tilting the lens
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60QARRANGEMENT OF SIGNALLING OR LIGHTING DEVICES, THE MOUNTING OR SUPPORTING THEREOF OR CIRCUITS THEREFOR, FOR VEHICLES IN GENERAL
    • B60Q3/00Arrangement of lighting devices for vehicle interiors; Lighting devices specially adapted for vehicle interiors
    • B60Q3/80Circuits; Control arrangements
    • B60Q3/85Circuits; Control arrangements for manual control of the light, e.g. of colour, orientation or intensity
    • HELECTRICITY
    • H05ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
    • H05BELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
    • H05B45/00Circuit arrangements for operating light-emitting diodes [LED]
    • H05B45/10Controlling the intensity of the light
    • HELECTRICITY
    • H05ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
    • H05BELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
    • H05B45/00Circuit arrangements for operating light-emitting diodes [LED]
    • H05B45/30Driver circuits
    • HELECTRICITY
    • H05ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
    • H05BELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
    • H05B45/00Circuit arrangements for operating light-emitting diodes [LED]
    • H05B45/30Driver circuits
    • H05B45/32Pulse-control circuits
    • H05B45/325Pulse-width modulation [PWM]
    • HELECTRICITY
    • H05ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
    • H05BELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
    • H05B45/00Circuit arrangements for operating light-emitting diodes [LED]
    • H05B45/30Driver circuits
    • H05B45/36Circuits for reducing or suppressing harmonics, ripples or electromagnetic interferences [EMI]
    • HELECTRICITY
    • H05ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
    • H05BELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
    • H05B45/00Circuit arrangements for operating light-emitting diodes [LED]
    • H05B45/30Driver circuits
    • H05B45/37Converter circuits
    • HELECTRICITY
    • H05ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
    • H05BELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
    • H05B47/00Circuit arrangements for operating light sources in general, i.e. where the type of light source is not relevant
    • H05B47/10Controlling the light source
    • H05B47/105Controlling the light source in response to determined parameters
    • H05B47/115Controlling the light source in response to determined parameters by determining the presence or movement of objects or living beings
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02BCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO BUILDINGS, e.g. HOUSING, HOUSE APPLIANCES OR RELATED END-USER APPLICATIONS
    • Y02B20/00Energy efficient lighting technologies, e.g. halogen lamps or gas discharge lamps
    • Y02B20/40Control techniques providing energy savings, e.g. smart controller or presence detection

Abstract

The invention relates to an infrared induction type automobile reading lamp on-off control method, which comprises the following steps: step 1, an infrared induction type automobile reading lamp on-off control system is built, infrared light is emitted and collected in a periodic pulse emission mode, and signal pretreatment is carried out; step 2, performing induction distance calibration by using calibration equipment; and 3, performing suspension touch recognition by adopting a state machine algorithm, and controlling the on and off of the automobile reading lamp. Compared with the prior art, the intelligent control method has the advantages of high intelligent degree, high control accuracy and good user experience.

Description

Infrared induction type automobile reading lamp on-off control method
Technical Field
The invention relates to the field of automobile reading lamps, in particular to an infrared induction type automobile reading lamp on-off control method.
Background
The technology of each link of the new energy automobile is gradually mature, and the market demand of digital and intelligent automobile products is further improved. The main stream interior decoration of the existing new energy automobile adopts extremely simple style design, the whole style of the interior decoration is very simple, and the whole interior decoration has almost no physical keys.
At present, most of automobile reading lamps in the market are controlled by physical keys, so that the user has poor sense of embodiment; in addition, the existing automobile reading lamp ignores the influence of the environment, and the light intensity adjustment is not intelligent enough.
Disclosure of Invention
The invention aims to overcome the defects of the prior art and provides an infrared induction type automobile reading lamp on-off control method.
The aim of the invention can be achieved by the following technical scheme:
the invention provides an infrared induction type automobile reading lamp on-off control method, which comprises the following steps:
step 1, an infrared induction type automobile reading lamp on-off control device is built, infrared light is emitted and collected in a periodic pulse emission mode, and signal pretreatment is carried out;
step 2, performing induction distance calibration by using calibration equipment;
and 3, performing suspension touch recognition by adopting a state machine algorithm, and controlling the on and off of the automobile reading lamp.
Preferably, the infrared induction type automobile reading lamp on-off control device in the step 1 comprises a reading lamp body and a control module; the reading lamp body comprises an LED luminescent lamp, an infrared emission lamp and an infrared receiving lamp which are fixed on two sides of the LED luminescent lamp, and the infrared light is emitted and collected in a periodic pulse emission mode;
when a user's finger is operated in front of the automobile reading lamp body, infrared light emitted by the infrared emission lamp is refracted to the infrared receiving lamp through the finger, and the LED luminous lamp is controlled to be on or off after the infrared signal received by the infrared receiving lamp is collected and compared.
Preferably, the control module comprises an EMI filter circuit, a transmitting drive circuit, a receiving amplifying filter circuit, an LED control circuit, an LDO voltage reducing circuit, a main control chip, an ECU communication circuit and an isolating switch value signal output circuit;
the external direct-current power supply inputs direct-current voltage, one path of the direct-current voltage is connected to the emission driving circuit and the LED control circuit after passing through the EMI filter circuit, and the other path of the direct-current voltage is respectively supplied to the main control chip, the ECU communication circuit, the isolating switch value signal output circuit and the receiving amplifying filter circuit after passing through the LDO voltage-reducing circuit;
the main control chip is respectively connected with the emission driving circuit, the LED control circuit, the ECU communication circuit, the isolating switch value signal output circuit and the receiving amplifying filter circuit; the LED control circuit is connected with the emission drive circuit and the LED luminescent lamp respectively.
Preferably, when a user's finger is operated in front of the lamp body of the automobile reading lamp, the emitted infrared light is refracted to the infrared receiving lamp by the finger, a special frequency signal for modulating PWM is obtained through the receiving amplifying and filtering circuit, then the special frequency signal is sent to the main control chip, and after the special frequency signal is decoded and compared with the emitted PWM frequency signal by the main control chip, a corresponding infrared magnitude value is obtained, and an accurate position action signal of the finger is obtained through processing; when the signal is valid, the main control chip is communicated with the ECU through the ECU communication circuit and sends out a valid signal; meanwhile, the isolating switch quantity signal output circuit outputs a switch effective signal.
Preferably, in the step 1, a periodic pulse emission mode is adopted to emit and collect infrared light, and signal preprocessing is performed, which specifically includes:
adopting a periodic pulse transmitting mode, wherein the closing period is T1, and the transmitting period is T2;
in the time of a transmitting period T2, continuously acquiring a direct current signal P1 of an infrared receiving lamp and an alternating current signal P2 amplified and filtered by a receiving amplifying and filtering circuit through an analog-to-digital conversion ADC interface of a microcontroller MCU;
after the infrared emission lamp is turned off, continuously collecting a direct current signal S1 of the infrared receiving lamp and an amplified and filtered alternating current signal S2;
and in the process of collecting signals, respectively obtaining the maximum value, the minimum value and the average value of each signal.
Preferably, the step 2 includes the following substeps:
step 2.1, connecting the control module to the calibration equipment, and after powering up, transmitting a calibration signal to the control module by the calibration equipment to enter a calibration mode;
step 2.2, reading P1, P2, S1 and S2 and storing the read data into a memory;
step 2.3, placing the gray card with the infrared reflectivity of 60% at a set distance above an automobile reading lamp; comparing and analyzing the newly obtained P1, P2, S1 and S2 with P1, P2, S1 and S2 in a storage memory, and judging whether the calibration is successful or not; if the calibration is successful, the lamp is controlled to be lighted, and if the calibration is failed, the lamp is not controlled to act.
Preferably, in the step 3, a state machine algorithm is adopted to perform recognition of the hover touch, and the recognition of the hover touch is performed by performing incremental judgment of S2, specifically:
the state A is: in the calibration process, an expected increment value P is obtained, and when the increment value reaches 20% of P, the state of the state machine is switched from A to B;
the state B is: if the increment value falls, then the increment considered invalid rises and the state of the state machine returns from B to A; if the increment value does not fall but does not reach P within a certain time, then the increment considered invalid rises and the state of the state machine returns from B to A; if the increment value increases and is greater than P for a certain time, the increment which is considered to be effective rises, and the state of the state machine is switched from B to C;
and in the state C: if the increment value falls within a certain period of time, the increment value is considered to be invalid; if the increment value is greater than P and is maintained for a certain time, the state machine is considered to be effective in suspension touch action, and the state machine is switched from C to D;
d state: the increment value drops by more than half and the state machine returns to the initial state a.
Preferably, the method further comprises preventing false touch by strong light mutation, and after light is strengthened, P1, P2, S1 and S2 are synchronously strengthened, if the change amplitude of P1 and S1 is equivalent, the signal change caused by strong light mutation is considered, and the suspension touch is not identified.
Preferably, for touch recognition under strong light, specifically: and carrying out touch recognition under strong light according to the characteristic that the touch infrared receiving signal is firstly reduced and then enlarged under strong light.
Preferably, the method further comprises ambient light detection and light control, in particular:
the lamp light is switched on and off and the brightness is adjusted at night: when the ambient light is lower than a set low value, regulating the lowest brightness L of the lamplight to be in a micro-bright state; when the ambient light is higher than a set high value, regulating the lowest brightness L of the lamplight to be in a closed state;
and (3) light control: when the finger touches the lampshade for a long time, the value of the highest brightness H of the lamplight is adjusted; gradually decreasing the brightness of the lamplight from the highest brightness to the lowest brightness and gradually increasing the brightness; in the brightness change process, if the brightness required by the user is reached, stopping adjusting the brightness after the finger leaves; when the lamp shade is touched by a finger, the lamp is controlled to be switched according to the current state of the lamp: when the lamplight is turned off, the lamplight brightness is gradually changed from L to H; when the lamp light is in an on state, the brightness of the lamp light gradually changes from H to L.
Compared with the prior art, the invention has the following advantages:
1) According to the invention, the infrared induction type automobile reading lamp control device is used for carrying out suspension touch recognition by adopting a state machine algorithm, so that the automobile reading lamp is controlled to be on or off, the requirement of non-contact function operation within 100mm can be met, the control intellectualization of the automobile reading lamp is improved, the anti-interference capability is strong, the service life is long, the reaction is sensitive, and the recognition rate can reach more than 99%;
2) The sensing distance calibration is carried out by adopting the calibration equipment, so that the deviation of the suspension sensing distances corresponding to different devices caused by the deviation of the intensity of an infrared emission LED, the photoelectric amplifying capacity of an infrared receiving LED and the light transmittance of a lampshade in mass production can be effectively overcome, and the sensing sensitivity is improved;
3) Considering that after light is strengthened, P1, P2, S1 and S2 are synchronously strengthened, if the change amplitude of P1 and S1 is equivalent, the signal change caused by strong light mutation is considered, suspension touch identification is not performed on the signal change, and the situation that the suspension touch action is triggered by increment rising error caused by the light is reduced;
4) According to the characteristic that the infrared receiving signal is firstly reduced and then enlarged under strong light, touch identification under strong light can be carried out;
5) The influence of infrared LED light attenuation and ambient light is effectively solved through an automatic calibration algorithm.
Drawings
FIG. 1 is a schematic diagram of an infrared sensing type automobile reading lamp structure of the invention;
FIG. 2 is a schematic diagram of a control module structure;
fig. 3 is a flow chart of the method of the present invention.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are some, but not all embodiments of the invention. All other embodiments, which can be made by those skilled in the art based on the embodiments of the present invention without making any inventive effort, shall fall within the scope of the present invention.
Examples
As shown in fig. 3, the embodiment provides an infrared induction type automobile reading lamp on-off control method, which comprises the following steps:
step 1, an infrared induction type automobile reading lamp on-off control system is built, infrared light is emitted and collected in a periodic pulse emission mode, and signal pretreatment is carried out;
step 2, performing induction distance calibration by using calibration equipment;
and 2, performing suspension touch recognition by adopting a state machine algorithm, and controlling the on and off of the automobile reading lamp.
Next, each step will be described in detail.
The infrared induction type automobile reading lamp on-off control system in the step 1 comprises a reading lamp body and a control module; the reading lamp body comprises an LED luminescent lamp, an infrared emission lamp and an infrared receiving lamp which are fixed on two sides of the LED luminescent lamp, and the infrared light is emitted and collected in a periodic pulse emission mode;
as shown in fig. 1, when a user's finger is operated in front of the lamp body of the automobile reading lamp, infrared light emitted by the infrared emission lamp is refracted onto the infrared receiving lamp by the finger, and the LED lighting lamp is turned on and off after the infrared signal received by the infrared receiving lamp is collected and compared.
As shown in fig. 2, the control module comprises an EMI filter circuit, a transmitting driving circuit, a receiving amplifying filter circuit, an LED control circuit, an LDO voltage reducing circuit, a main control chip, an ECU communication circuit and an isolation switch value signal output circuit;
the external direct-current power supply inputs direct-current voltage, one path of the direct-current voltage is connected to the emission driving circuit and the LED control circuit after passing through the EMI filter circuit, and the other path of the direct-current voltage is respectively supplied to the main control chip, the ECU communication circuit, the isolating switch value signal output circuit and the receiving amplifying filter circuit after passing through the LDO voltage-reducing circuit;
the main control chip is respectively connected with the emission driving circuit, the LED control circuit, the ECU communication circuit, the isolating switch value signal output circuit and the receiving amplifying filter circuit; the emitting driving circuit is connected with the infrared emitting lamp, the infrared receiving lamp is connected with the receiving amplifying filter circuit, and the LED control circuit is respectively connected with the emitting driving circuit and the LED luminous lamp.
The method adopts a periodic pulse emission mode to emit and collect infrared light and carries out signal pretreatment, and specifically comprises the following steps:
when a user's finger operates in front of the lamp body of the automobile reading lamp, the emitted infrared light is refracted to the infrared receiving lamp through the finger, a special PWM frequency signal is obtained through the receiving amplifying and filtering circuit, then the special PWM frequency signal is transmitted to the main control chip, and after the special PWM frequency signal is decoded and compared with the emitted PWM frequency signal through the main control chip, a corresponding infrared magnitude value is obtained, and an accurate position action signal of the finger is obtained through processing; when the signal is valid, the main control chip is communicated with the ECU through the ECU communication circuit and sends out a valid signal; meanwhile, the isolating switch quantity signal output circuit outputs a switch effective signal.
In the step 1, a periodic pulse emission mode is adopted to emit and collect infrared light, and signal preprocessing is carried out, and the method specifically comprises the following steps:
adopting a periodic pulse transmitting mode, wherein the closing period is T1, and the transmitting period is T2;
in the time of a transmitting period T2, continuously acquiring a direct current signal P1 of an infrared receiving lamp and an alternating current signal P2 amplified and filtered by a receiving amplifying and filtering circuit through an analog-to-digital conversion ADC interface of a microcontroller MCU;
after the infrared emission lamp is turned off, continuously collecting a direct current signal S1 of the infrared receiving lamp and an amplified and filtered alternating current signal S2;
and in the process of collecting signals, respectively obtaining the maximum value, the minimum value and the average value of each signal.
Step 2 comprises the following sub-steps:
step 21, connecting the control module to the calibration equipment, and after power-on, transmitting a calibration signal to the control module by the calibration equipment to enter a calibration mode;
step 22, reading P1, P2, S1 and S2 and storing them in a memory;
step 23, placing an ash card with the infrared reflectivity of 60% at a set distance above an automobile reading lamp; comparing and analyzing the newly obtained P1, P2, S1 and S2 with P1, P2, S1 and S2 in a storage memory, and judging whether the calibration is successful or not; if the calibration is successful, the lamp is controlled to be lighted, and if the calibration is failed, the lamp is not controlled to act.
In the step 3, a state machine algorithm is adopted to perform suspended touch recognition, and the suspended touch recognition is judged by performing the increment of the step S2, specifically:
the state A is: in the calibration process, an expected increment value P is obtained, and when the increment value reaches 20% of P, the state of the state machine is switched from A to B;
the state B is: if the increment value falls, then the increment considered invalid rises and the state of the state machine returns from B to A; if the increment value does not fall but does not reach P within a certain time, then the increment considered invalid rises and the state of the state machine returns from B to A; if the increment value increases and is greater than P for a certain time, the increment which is considered to be effective rises, and the state of the state machine is switched from B to C;
and in the state C: if the increment value falls within a certain period of time, the increment value is considered to be invalid; if the increment value is greater than P and is maintained for a certain time, the state machine is considered to be effective in suspension touch action, and the state machine is switched from C to D;
d state: the increment value drops by more than half and the state machine returns to the initial state a.
After the strong light mutation prevents false touch and light becomes strong, P1, P2, S1 and S2 are synchronously strong, if the variation amplitude of P1 and S1 is equivalent, the signal variation caused by the strong light mutation is considered, and the suspension touch is not identified.
For touch recognition under strong light, specifically: and carrying out touch recognition under strong light according to the characteristic that the touch infrared receiving signal is firstly reduced and then enlarged under strong light.
Ambient light detection and light control, specifically:
the lamp light is switched on and off and the brightness is adjusted at night: when the ambient light is lower than a set low value, regulating the lowest brightness L of the lamplight to be in a micro-bright state; when the ambient light is higher than a set high value, regulating the lowest brightness L of the lamplight to be in a closed state;
and (3) light control: when the finger touches the lampshade for a long time, the value of the highest brightness H of the lamplight is adjusted; gradually decreasing the brightness of the lamplight from the highest brightness to the lowest brightness and gradually increasing the brightness; in the brightness change process, if the brightness required by the user is reached, stopping adjusting the brightness after the finger leaves; when the lamp shade is touched by a finger, the lamp is controlled to be switched according to the current state of the lamp: when the lamplight is turned off, the lamplight brightness is gradually changed from L to H; when the lamp light is in an on state, the brightness of the lamp light gradually changes from H to L.
While the invention has been described with reference to certain preferred embodiments, it will be understood by those skilled in the art that various changes and substitutions of equivalents may be made and equivalents will be apparent to those skilled in the art without departing from the scope of the invention. Therefore, the protection scope of the invention is subject to the protection scope of the claims.

Claims (10)

1. An infrared induction type automobile reading lamp on-off control method is characterized by comprising the following steps:
step 1, an infrared induction type automobile reading lamp on-off control device is built, infrared light is emitted and collected in a periodic pulse emission mode, and signal pretreatment is carried out;
step 2, performing induction distance calibration by using calibration equipment;
and 3, performing suspension touch recognition by adopting a state machine algorithm, and controlling the on and off of the automobile reading lamp.
2. The method for controlling the on/off of the infrared induction type automobile reading lamp according to claim 1, wherein the infrared induction type automobile reading lamp on/off control device in the step 1 comprises a reading lamp body and a control module; the reading lamp body comprises an LED luminescent lamp, an infrared emission lamp and an infrared receiving lamp which are fixed on two sides of the LED luminescent lamp, and the infrared light is emitted and collected in a periodic pulse emission mode;
when a user's finger is operated in front of the automobile reading lamp body, infrared light emitted by the infrared emission lamp is refracted to the infrared receiving lamp through the finger, and the LED luminous lamp is controlled to be on or off after the infrared signal received by the infrared receiving lamp is collected and compared.
3. The method for controlling the on-off of the infrared induction type automobile reading lamp according to claim 2, wherein the control module comprises an EMI filter circuit, a transmitting driving circuit, a receiving amplifying filter circuit, an LED control circuit, an LDO voltage reducing circuit, a main control chip, an ECU communication circuit and an isolating switch value signal output circuit;
the external direct-current power supply inputs direct-current voltage, one path of the direct-current voltage is connected to the emission driving circuit and the LED control circuit after passing through the EMI filter circuit, and the other path of the direct-current voltage is respectively supplied to the main control chip, the ECU communication circuit, the isolating switch value signal output circuit and the receiving amplifying filter circuit after passing through the LDO voltage-reducing circuit;
the main control chip is respectively connected with the emission driving circuit, the LED control circuit, the ECU communication circuit, the isolating switch value signal output circuit and the receiving amplifying filter circuit; the LED control circuit is connected with the emission drive circuit and the LED luminescent lamp respectively.
4. The method for controlling the on/off of an infrared induction type automobile reading lamp according to claim 3, wherein when a user's finger is operated in front of the lamp body of the automobile reading lamp, the emitted infrared light is refracted to an infrared receiving lamp through the finger, a special frequency signal for modulating PWM is obtained through a receiving amplifying and filtering circuit, then the special frequency signal is sent to a main control chip, and after decoding and comparison with the frequency signal for emitting the modulation PWM through the main control chip, a corresponding infrared magnitude value is obtained, and an accurate position action signal of the finger is obtained through processing; when the signal is valid, the main control chip is communicated with the ECU through the ECU communication circuit and sends out a valid signal; meanwhile, the isolating switch quantity signal output circuit outputs a switch effective signal.
5. The method for controlling the on/off of an infrared induction type automobile reading lamp according to claim 3, wherein the step 1 adopts a periodic pulse emission mode to emit and collect infrared light and performs signal preprocessing, and the method specifically comprises the following steps:
adopting a periodic pulse transmitting mode, wherein the closing period is T1, and the transmitting period is T2;
in the time of a transmitting period T2, continuously acquiring a direct current signal P1 of an infrared receiving lamp and an alternating current signal P2 amplified and filtered by a receiving amplifying and filtering circuit through an analog-to-digital conversion ADC interface of a microcontroller MCU;
after the infrared emission lamp is turned off, continuously collecting a direct current signal S1 of the infrared receiving lamp and an amplified and filtered alternating current signal S2;
and in the process of collecting signals, respectively obtaining the maximum value, the minimum value and the average value of each signal.
6. The method for controlling the on/off of an infrared sensing type automobile reading lamp according to claim 5, wherein the step 2 comprises the following substeps:
step 2.1, connecting the control module to the calibration equipment, and after powering up, transmitting a calibration signal to the control module by the calibration equipment to enter a calibration mode;
step 2.2, reading P1, P2, S1 and S2 and storing the read data into a memory;
step 2.3, placing the gray card with the infrared reflectivity of 60% at a set distance above an automobile reading lamp; comparing and analyzing the newly obtained P1, P2, S1 and S2 with P1, P2, S1 and S2 in a storage memory, and judging whether the calibration is successful or not; if the calibration is successful, the lamp is controlled to be lighted, and if the calibration is failed, the lamp is not controlled to act.
7. The method for controlling the on/off of the infrared sensing type automobile reading lamp according to claim 5, wherein the step 3 adopts a state machine algorithm to perform the recognition of the floating touch, and the recognition of the floating touch is specifically performed by performing the incremental judgment of S2:
the state A is: in the calibration process, an expected increment value P is obtained, and when the increment value reaches 20% of P, the state of the state machine is switched from A to B;
the state B is: if the increment value falls, then the increment considered invalid rises and the state of the state machine returns from B to A; if the increment value does not fall but does not reach P within a certain time, then the increment considered invalid rises and the state of the state machine returns from B to A; if the increment value increases and is greater than P for a certain time, the increment which is considered to be effective rises, and the state of the state machine is switched from B to C;
and in the state C: if the increment value falls within a certain period of time, the increment value is considered to be invalid; if the increment value is greater than P and is maintained for a certain time, the state machine is considered to be effective in suspension touch action, and the state machine is switched from C to D;
d state: the increment value drops by more than half and the state machine returns to the initial state a.
8. The method for controlling the on/off of an infrared induction type automobile reading lamp according to claim 5, further comprising preventing false touch by strong light mutation, wherein after the light is strengthened, P1, P2, S1 and S2 are synchronously strengthened, if the change amplitude of P1 and S1 is equivalent, the signal change caused by strong light mutation is considered, and the suspension touch is not recognized.
9. The method for controlling the on/off of an infrared induction type automobile reading lamp according to claim 5, wherein for the touch recognition under strong light, specifically: and carrying out touch recognition under strong light according to the characteristic that the touch infrared receiving signal is firstly reduced and then enlarged under strong light.
10. The method for controlling the on/off of an infrared induction type automobile reading lamp according to claim 5, wherein the method further comprises the steps of ambient light detection and light control, specifically:
the lamp light is switched on and off and the brightness is adjusted at night: when the ambient light is lower than a set low value, regulating the lowest brightness L of the lamplight to be in a micro-bright state; when the ambient light is higher than a set high value, regulating the lowest brightness L of the lamplight to be in a closed state;
and (3) light control: when the finger touches the lampshade for a long time, the value of the highest brightness H of the lamplight is adjusted; gradually decreasing the brightness of the lamplight from the highest brightness to the lowest brightness and gradually increasing the brightness; in the brightness change process, if the brightness required by the user is reached, stopping adjusting the brightness after the finger leaves; when the lamp shade is touched by a finger, the lamp is controlled to be switched according to the current state of the lamp: when the lamplight is turned off, the lamplight brightness is gradually changed from L to H; when the lamp light is in an on state, the brightness of the lamp light gradually changes from H to L.
CN202310652746.XA 2023-06-02 2023-06-02 Infrared induction type automobile reading lamp on-off control method Pending CN116620161A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310652746.XA CN116620161A (en) 2023-06-02 2023-06-02 Infrared induction type automobile reading lamp on-off control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310652746.XA CN116620161A (en) 2023-06-02 2023-06-02 Infrared induction type automobile reading lamp on-off control method

Publications (1)

Publication Number Publication Date
CN116620161A true CN116620161A (en) 2023-08-22

Family

ID=87621104

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310652746.XA Pending CN116620161A (en) 2023-06-02 2023-06-02 Infrared induction type automobile reading lamp on-off control method

Country Status (1)

Country Link
CN (1) CN116620161A (en)

Similar Documents

Publication Publication Date Title
CN102461335B (en) The Rouser of optical sensor and method in illuminator
JP6129078B2 (en) Control system
CN201937890U (en) Self-adaptive light emitting diode (LED) illuminator
CN102014560A (en) Adaptive light emitting diode (LED) illumination device and control method thereof
CN203827562U (en) Illumination energy saving controller
CN103596324A (en) Lighting control system
US20080191630A1 (en) Systems and methods for improved illumination electrical switching
CN105792414A (en) Automatic lamplight control method for light-controlled bulb lamp
JP5982528B1 (en) LED drive control system
CN202014402U (en) Light-emitting diode light adjusting device, lamp and light adjusting system
CN201167425Y (en) Human body induction type white light LED intelligent lighting control system
CN116620161A (en) Infrared induction type automobile reading lamp on-off control method
CN212393024U (en) Intelligent lamp
CN101936515A (en) LED lamp capable of being inductively controlled by touching
CN106686845B (en) Microwave induced light adjusting circuit and lamps and lanterns with contingency mode
CN203243573U (en) Intelligence LED corridor lamp drive control module
CN203015202U (en) Energy-saving device for automatically controlling lighting equipment
CN104994650A (en) Light energy-saving controlling apparatus
Wu et al. DALI-2 intelligent lighting control system
CN210328074U (en) Intelligent controller for presence type human body infrared detection
CN209748856U (en) Little night-light of intelligence response
CN203251488U (en) A classroom light intelligent control apparatus
CN204576468U (en) Be applicable to the infrared touch panel circuit of strong surround lighting
CN107911905B (en) Human infrared receiving and processing circuit and processing method thereof
CN114222392B (en) System and method for adaptively adjusting brightness of mining lamp

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination