CN210986518U - One-wire three-colour lamp - Google Patents

One-wire three-colour lamp Download PDF

Info

Publication number
CN210986518U
CN210986518U CN201922301085.8U CN201922301085U CN210986518U CN 210986518 U CN210986518 U CN 210986518U CN 201922301085 U CN201922301085 U CN 201922301085U CN 210986518 U CN210986518 U CN 210986518U
Authority
CN
China
Prior art keywords
lamp
color
equal
voltage
processor
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.)
Expired - Fee Related
Application number
CN201922301085.8U
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.)
Suzhou Puwang Intelligent Industry Software Co ltd
Original Assignee
Suzhou Puwang Intelligent Industry Software 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 Suzhou Puwang Intelligent Industry Software Co ltd filed Critical Suzhou Puwang Intelligent Industry Software Co ltd
Priority to CN201922301085.8U priority Critical patent/CN210986518U/en
Application granted granted Critical
Publication of CN210986518U publication Critical patent/CN210986518U/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Circuit Arrangement For Electric Light Sources In General (AREA)

Abstract

The utility model discloses a one-line three-color lamp, which comprises a power supply; an input module for inputting an external signal; the input end of the processor is connected with the output end of the input module; the three-color lamp comprises three indicator lamps with different colors, and each indicator lamp is provided with two input ends which are respectively connected with the power supply and the output end of the processor. The one-wire three-color lamp can control the on and off of any combination of the three-color lamps by using one control signal, so that the demand of an output port of a controller in industrial product design is reduced, the cost of a control signal wire is reduced, and the reliability of a system is improved.

Description

One-wire three-colour lamp
Technical Field
The utility model relates to a three-color lamp of a ray system.
Background
The three-color indicator lamps for indicating the working state on the industrial equipment mostly use multi-layer three-color lamps, each lamp uses a control signal to control the on and off of the three-color lamp, and the used control ports are more, so the existing three-color indicator lamps are not suitable for the situation that the output ports of P L C are not too many.
Disclosure of Invention
The utility model aims at providing a three-color lamp of a ray system suitable for P L C that the output port is not many.
In order to achieve the above purpose, the utility model adopts the technical scheme that: a three-color lamp comprises
A power source;
an input module for inputting an external signal;
the input end of the processor is connected with the output end of the input module;
the three-color lamp comprises three indicator lamps with different colors, and each indicator lamp is provided with two input ends which are respectively connected with the power supply and the output end of the processor.
In another preferred mode, the power supply includes a voltage source and a voltage-reducing circuit for reducing the voltage of the voltage source to a low voltage suitable for the three-color lamp, an input end of the voltage-reducing circuit is connected to an output end of the voltage source, and output ends of the voltage-reducing circuit are respectively connected to each of the indicator lamps and the processor.
In another preferred mode, the voltage source is a 7-36V voltage source, and the voltage output by the voltage reduction circuit is 5V.
In another preferred form, the processor is an STM8S003F3P6 processor.
In another preferred mode, the three-color lamp is an L ED three-color indicator lamp.
Because of the application of the technical scheme, compared with the prior art, the utility model has the following advantages: the one-wire three-color lamp can control the on and off of any combination of the three-color lamps by using one control signal, so that the demand of an output port of a controller in industrial product design is reduced, the cost of a control signal wire is reduced, and the reliability of a system is improved.
Drawings
FIG. 1 is a timing diagram of the present invention;
FIG. 2 is a schematic block diagram of the present invention;
fig. 3 is a circuit diagram of the present invention.
Detailed Description
The invention will be further described with reference to examples of embodiments shown in the drawings.
As shown in fig. 2-3, a one-line three-color lamp includes a power supply, an input module for inputting an external signal, a processor having an input terminal connected to an output terminal of the input module, and three-color lamps including three indicator lamps of different colors, each of the indicator lamps having two input terminals respectively connected to the power supply and an output terminal of the processor, the power supply includes a voltage source and a voltage-reducing circuit for reducing a voltage of the voltage source to a low voltage suitable for the three-color lamp, the input terminal of the voltage-reducing circuit is connected to an output terminal of the voltage source, and the output terminals thereof are respectively connected to the indicator lamps and the processor, the voltage source is a 7-36V voltage source, the voltage output by the voltage-reducing circuit is 5V, the processor is an STM8S003F3P6 processor, and the three-color lamp is a L ED three-color indicator lamp.
The control method of the one-wire three-color lamp comprises the following steps: the input module uses a pull-up resistor of the processor and is U when no input is available0V level, external control signal use collector open drain mode control, idle time control signal switches on, and then the input of a ray of control tricolor lamp is 0 level, and the tricolor lamp is first look lamp, second look lamp and third look lamp respectively, U0The V level corresponds to a digital 1, 0V level meter digital 0, the control time sequence of one cycle is divided into T0/start time, red time, yellow time, green time and end time, wherein the start time and the end time respectively comprise T1, T2, T3 and T4, the red time, the yellow time and the green time respectively comprise ti and tj time, and the time length T is equal to1-T3Millisecond, T0 is greater than or equal to T2Millisecond, T4 is greater than or equal to T2Millisecond, T0+ T4 ≧ 2T2Millisecond idle control state, ti + tj equal to 2T1-2T3Milliseconds; t is1=30,T2=50,T3The control method comprises the following steps of =40, t1= t2= t3, the time length is 30-40 milliseconds, t0 is greater than or equal to 50 milliseconds, t4 is greater than or equal to 50 milliseconds, t0+ t4 is equal to or greater than 100 milliseconds and is in an idle control state, and ti + tj is equal to 60-80 milliseconds;
when the input end of the processor is in an idle state, the input end of the processor is at 0 level, digital 0 and more than 100 milliseconds, and when the idle state detects that the high level of the start control signal is more than or equal to t1 and less than or equal to 40 milliseconds and the low level is more than or equal to t2 and less than or equal to 40 milliseconds, the on and off states of each lamp in the three-color lamp are as follows:
and (4) red light: if the high level is more than or equal to 30 milliseconds and less than or equal to ti and less than or equal to 40 milliseconds and the low level is more than or equal to 30 milliseconds and less than or equal to tj and less than or equal to 40 milliseconds in the time sequence red time period, preparing to control the red light to be on; if the high level ti =0 ms and the low level tj is more than or equal to 60 ms and less than or equal to 80 ms, the red light is ready to be controlled to be turned off, only the control identifier of the red light is stored at the moment, and the on or off of the corresponding light is not really controlled;
yellow light: if the high level is more than or equal to 30 milliseconds and less than or equal to ti and less than or equal to 40 milliseconds and the low level is more than or equal to 30 milliseconds and less than or equal to tj and less than or equal to 40 milliseconds in the time sequence yellow time period, controlling to prepare a yellow lamp to be turned on; if the high level ti =0 ms and the low level tj is more than or equal to 60 ms and less than or equal to 80 ms, controlling to prepare for turning off the yellow lamp, only storing the control identifier of the yellow lamp at the moment, and not really controlling the on or off of the corresponding lamp;
green light: if the high level is more than or equal to 30 milliseconds and less than or equal to ti and less than or equal to 40 milliseconds and the low level is more than or equal to 30 milliseconds and less than or equal to tj and less than or equal to 40 milliseconds in the time sequence green time period, controlling to prepare for the green light to be turned on; if the high level ti =0 ms and the low level tj is more than or equal to 60 ms and less than or equal to 80 ms, controlling to prepare for turning off the green light, only storing the control identification of the green light at the moment, and not really controlling the on or off of the corresponding light;
when the control signals of the three lamps are ended, the control signals of the ending time interval are detected, the states of the three lamps are really controlled only when the high level is more than or equal to t3 and less than or equal to 40 milliseconds and the low level is more than or equal to t4 and less than or equal to 40 milliseconds, otherwise, the control sequence is abandoned (as shown in figure 1).
The above embodiments are only for illustrating the technical concept and features of the present invention, and the purpose of the embodiments is to enable people skilled in the art to understand the contents of the present invention and to implement the present invention, which cannot limit the protection scope of the present invention. All equivalent changes and modifications made according to the spirit of the present invention should be covered by the protection scope of the present invention.

Claims (5)

1. A three-color lamp made of one line is characterized in that it comprises
A power source;
an input module for inputting an external signal;
the input end of the processor is connected with the output end of the input module;
the three-color lamp comprises three indicator lamps with different colors, and each indicator lamp is provided with two input ends which are respectively connected with the power supply and the output end of the processor.
2. A three-color in-line lamp as set forth in claim 1, wherein: the power supply comprises a voltage source and a voltage reduction circuit for reducing the voltage of the voltage source to a low voltage suitable for the three-color lamp, the input end of the voltage reduction circuit is connected with the output end of the voltage source, and the output end of the voltage reduction circuit is respectively connected with each indicator lamp and the processor.
3. A three-color in-line lamp as set forth in claim 2, wherein: the voltage source is a 7-36V voltage source, and the voltage output by the voltage reduction circuit is 5V.
4. A three-color in-line lamp as set forth in claim 1, wherein: the processor is an STM8S003F3P6 processor.
5. The in-line three-color lamp of claim 1, wherein the three-color lamp is an L ED three-color indicator light.
CN201922301085.8U 2019-12-20 2019-12-20 One-wire three-colour lamp Expired - Fee Related CN210986518U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201922301085.8U CN210986518U (en) 2019-12-20 2019-12-20 One-wire three-colour lamp

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201922301085.8U CN210986518U (en) 2019-12-20 2019-12-20 One-wire three-colour lamp

Publications (1)

Publication Number Publication Date
CN210986518U true CN210986518U (en) 2020-07-10

Family

ID=71420514

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201922301085.8U Expired - Fee Related CN210986518U (en) 2019-12-20 2019-12-20 One-wire three-colour lamp

Country Status (1)

Country Link
CN (1) CN210986518U (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114167770A (en) * 2021-11-23 2022-03-11 山东浪潮工业互联网产业股份有限公司 Realize three-color lamp system of chargeable formula intelligence of numerical control networking

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114167770A (en) * 2021-11-23 2022-03-11 山东浪潮工业互联网产业股份有限公司 Realize three-color lamp system of chargeable formula intelligence of numerical control networking

Similar Documents

Publication Publication Date Title
CN204308952U (en) The control device of a kind of robot digital rudder controller
CN106208369B (en) A kind of on-line monitoring device of intelligent type low-voltage circuit breaker
CN204929366U (en) DALI interface circuit
CN210986518U (en) One-wire three-colour lamp
CN106649177A (en) Device for automatic identification and switching of port of universal serial interface and working method thereof
CN108964718A (en) Bidirectional signal transmission system and its device management method
CN110176945A (en) A kind of novel single-wire communication system mode
CN110933806A (en) One-wire three-color lamp and control method
CN102063916B (en) Singlechip timing switch-on and switch-off and remote controller switch-on and switch-off control circuit
CN210431973U (en) Two-line coding control synchronous LED lamp strip
CN214204980U (en) Communication activation circuit
KR101650838B1 (en) A electronic unit of vehicle connected to can bus and method for waking-up the electronic unit of vehicle
CN111586934B (en) Infrared integrated circuit for adjusting light state and implementation method thereof
CN211606864U (en) LED matrix circuit for displaying different states
CN210442672U (en) Intelligent power supply switch
CN209488551U (en) A kind of signal input circuit of NPN signal and PNP signal compatibility
CN209267538U (en) A kind of filter of the integrated comparator with reset function
CN207852067U (en) A kind of remote alarm system
CN202888790U (en) Resettable over/under-voltage protector based on one-chip microcomputer
CN206479976U (en) A kind of port automatic identification switching device of universal serial port
CN218512635U (en) TOF ranging sensor
CN104934759B (en) A kind of intelligent modules insert row controllable based on the time and its control method
CN204808190U (en) Link termination
CN210609818U (en) Two-line carrier horse race lamp
CN212905326U (en) Excavator storage battery monitoring device and excavator

Legal Events

Date Code Title Description
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20200710