CN106153036B - Market shopping guides system - Google Patents

Market shopping guides system Download PDF

Info

Publication number
CN106153036B
CN106153036B CN201610448514.2A CN201610448514A CN106153036B CN 106153036 B CN106153036 B CN 106153036B CN 201610448514 A CN201610448514 A CN 201610448514A CN 106153036 B CN106153036 B CN 106153036B
Authority
CN
China
Prior art keywords
cycle
time
signal
voltage
true
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.)
Active
Application number
CN201610448514.2A
Other languages
Chinese (zh)
Other versions
CN106153036A (en
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.)
Xuzhou Bochuang Construction Development Group Co.,Ltd.
Original Assignee
Fuzhou Alignment Mdt Infotech 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 Fuzhou Alignment Mdt Infotech Ltd filed Critical Fuzhou Alignment Mdt Infotech Ltd
Priority to CN201610448514.2A priority Critical patent/CN106153036B/en
Publication of CN106153036A publication Critical patent/CN106153036A/en
Application granted granted Critical
Publication of CN106153036B publication Critical patent/CN106153036B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01CMEASURING DISTANCES, LEVELS OR BEARINGS; SURVEYING; NAVIGATION; GYROSCOPIC INSTRUMENTS; PHOTOGRAMMETRY OR VIDEOGRAMMETRY
    • G01C21/00Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R19/00Arrangements for measuring currents or voltages or for indicating presence or sign thereof
    • G01R19/175Indicating the instants of passage of current or voltage through a given value, e.g. passage through zero
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R31/00Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/12Messaging; Mailboxes; Announcements
    • H04W4/14Short messaging services, e.g. short message services [SMS] or unstructured supplementary service data [USSD]

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Radar, Positioning & Navigation (AREA)
  • Remote Sensing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Automation & Control Theory (AREA)
  • Alarm Systems (AREA)
  • Time Recorders, Dirve Recorders, Access Control (AREA)

Abstract

The present invention relates to market shoppings to guide system, including main controller and be arranged and show the LED arrows that customer numbers in passageway and corner, according to interim number direct customers along the advance of LED arrow directions temporarily.The guide table being made of main controller is placed at mall entrance, by market personnel from guide table keyboard input product specific name and position, customer clicks product classification title, and main controller provides the interim number of the customer.

Description

Market shopping guides system
(1) technical field:
The present invention relates to market shoppings to guide system, including main controller and setting show customer in passageway and corner and face When the LED arrows numbered, according to interim number direct customers along the advance of LED arrow directions.It is placed by main controller at mall entrance The guide table of composition, by market personnel from guide table keyboard input product specific name and position, customer clicks product classification name Claim, main controller provides the interim number of the customer.
(2) background technology:
The control system of power supply is provided by power network, each electronic equipment or intermodule are communicated by special circuit, The timing time of each electronic equipment or electronic module is corrected, reaches synchronous operation purpose.Due to being made using special circuit communication Wiring complicates and increases cost, if timing time is not corrected by line traffic, due to traditional timing error, runs number After hour, accumulation timing error can make system control action inconsistent, may cause system crash, and at some, often change is set Meter, its products application of the big occasion of wiring installation amount are restricted.
(3) invention content:
Market shopping of the present invention guides system.Arcade shop premises is mostly made by other purposes buildings, and article layout is mixed and disorderly, exists More bend, floor and the compartment, the guiding system can help customer to quickly find required product locations.System includes Main controller and setting show the LED arrows of customer numbered temporarily in passageway and corner, according to interim number direct customers edge LED arrow directions are advanced.The guide table being made of main controller is placed at mall entrance, it is defeated from guide table keyboard by market personnel Enter product classification Name & Location, and be shown on the display screen of guide table, customer clicks product classification title, and main controller is given Go out the interim number of the customer.Unique number is arranged in each LED arrows, and each LED arrows are in one section after being individually just switched on Between, sequentially show the number that LED light is lighted, the number that LED light is lighted is corresponding with arrow number, and selection shows different LED When the number that lamp is lighted, shutdown obtains corresponding number and preserves, it is to work as to can't detect grid cyclic wave letter in the number period Number when, microcontroller by its power capacitor energy storage will number data deposit nonvolatile storage in.Customer can also pass through mobile phone Short message operates, and is contacted with main controller by GSM nets, and the guiding for obtaining market and required product locations is numbered temporarily, and mobile phone need not APP only can be completed by sending and receiving the short message of product classification number, and arrival market is sent short messages again starts guiding.Master control It is respectively mounted cycle discriminator circuit in device and each LED arrows, the synchronization time for generation system keeps system to keep strokes, simultaneously One communications electronics switch, switch drive module are respectively installed in its telecommunication circuit.Main controller and each LED arrows are connected to same On electric power cable and master switch is set, an isolating diode is installed after master switch, and in main controller and each LED arrows Telecommunication circuit respectively install communications electronics switch.When communication, communications electronics switch is connected, it is logical that system is in the half-wave through power line Believe half-wave power supply state, communicated by electric power cable, before sign off, turns off all communications electronics switches.
The switch drive module of communications electronics switch is to be used for main controller and each LED arrows after resistance is depressured from electric power cable Head, therebetween communication are controlled by synchronization time to be kept for action long-term consistent, and cycle is further isolated through just connecing diode in it After negative half-wave, it is connected to comparator input terminal, reference voltage is 100Mv to 200Mv, using diode drop through electric resistance partial pressure It obtains, therefore the output end of comparator is square-wave signal, it produces corresponding power network cycle after the rectifier diode just connect The positive square-wave signal of negative half-wave is connected to the I/O mouths of microcontroller, traffic operation is executed when microcontroller scanning is to positive square-wave signal, should Positive square-wave signal is additionally operable to driving communications electronics switch, therefore communications electronics switch is turned off in cycle positive half-wave, cycle negative half It is connected when wave.Communications electronics switch is connected to microcontroller corresponding port according to used communication mode, and carries out signal condition, communication knot When beam under main controller control, make driving circuit shutdown communications electronics switch.
SMS R-T unit is installed in system, using GSM network, is communicated with receiving and dispatching short message mode, at present The SMS messaging service of GSM is still that a kind of highest SMS of short message service GSM of domestic popularity rate itself has data transmission work( Can, the transmission of a message just constitutes primary communication, and the transmission of message is by the SMS service center outside GSM (SMSC) it is relayed, it does not have to dialing and can establish connection by the SMS service SMS of GSM, and user adds the information to be sent out Stay of two nights data are sent to short message service center, and the final stay of two nights is then forwarded to after short message service center completes storage.So When GSM terminals are not switched on, information will not lose.
The present invention utilizes the positive half cycle ascent stage of power network cycle, takes three to screen point and realize and sentences to the identification of cycle signal It is fixed, recycle the cycle time to establish synchronization time, the synchronous operation of main controller and each LED arrows in realization system.
The cycle discriminator circuit structural schematic diagram of main controller and each LED arrows by three using hysteresis as shown in Fig. 2, compared The voltage comparator of device forms, and includes filter circuit in each voltage comparator, the reference voltage of voltage comparator is by steady Volt circuit provides.Clock timer and synchrotimer is arranged in system.If detect two adjacent cycle signals be it is true, The clock timer timing time between two adjacent cycle signal zero passages is then taken out, it is single to be sequentially stored in the storage of cycle time In member, which can store 100 cycle times, and a cycle time is often stored in when being filled with, is first removed The cycle time being stored at first, and calculate the average value Tz of the cycle time of deposit and preserve, differentiated using Tz values and waits knowing Other cycle signal reduces erroneous judgement possibility to reduce the influence of power network frequency fluctuation, while screen point using three.
Three comparators are respectively used to three examination points, that is, screen point 0, screen point 1, screen point 2, as shown in Figure 1.In week At the cycle zero passage of wave positive half cycle ascent stage, that is, 0 setting voltage zero-crossing comparator of point is screened, due to power network cycle negative half period quilt Rectifier diode is isolated, in order to improve accuracy of detection, in the signal input part series diode isolation again of voltage zero-crossing comparator Negative half period, reference voltage is increased to 10mv to 100mv from zero, and depending on the offset voltage of comparator, which can profit It is obtained through electric resistance partial pressure with diode drop.Remaining two comparator is separately positioned on cycle positive half cycle ascent stage, crest voltage 35% to 50% place examination point 1 and 50% to 70% place examination point 2.
Cycle signal determining:For microcontroller after setting time opens interruption, clock timer resets and starts timing, works as cycle When voltage zero-cross, it is arranged in the output voltage overturning for screening the voltage zero-crossing comparator V0 of point 0, in the generation of its voltage failing edge It is disconnected, it records its zero crossing break period Th0 and the Central Shanxi Plain is disconnected;Hereafter, the defeated of electricity pressure comparator ﹙ V1 ﹚ at point 1 is screened in microcontroller scanning Go out voltage, when all wave voltages are reached to the threshold voltage of ﹙ V1 ﹚, output voltage is overturn from high to low, and scanning records its flip-flop transition Th1;Same scanning record screens electricity pressure comparator ﹙ V2 ﹚ output voltages flip-flop transition Th2 at point 2.By Th0 and voltage zero-cross ratio Output voltage flip-flop transition setting value Ts0 compared with device V0 makes comparisons;The output voltage flip-flop transition of Th1 and electricity pressure comparator ﹙ V1 ﹚ Setting value Ts1 and Th2 makes comparisons respectively with the output voltage flip-flop transition setting value Ts2 of electricity pressure comparator ﹙ V2 ﹚, if Within the scope of allowable error, then the discriminator signal detected is true, is otherwise false.When above-mentioned judgement discriminator signal is true, calculate When clock timer timing between cycle signal zero passage when this cycle signal zero passage and an adjacent preceding discriminator signal are true Between Tzu, it is made comparisons with the average value Tz of cycle time, the cycle signal if no more than setting cycle time error Tzv It is true, at this moment preserves Tzu and 20ms is taken to be added with synchrotimer timing time, in the value deposit synchrotimer that will add up.
When clock timer starts timing with cycle voltage zero-cross, then timing to 16ms opens the break period between 18.5ms Open interruption when setting value Tk, clock timer timing to 25ms is disconnected to Central Shanxi Plain when pass break period setting value Tn between 27ms.
After system boot, clock timer starts timing, and when detecting first cycle voltage zero-cross, setting is being screened The output voltage overturning of the voltage zero-crossing comparator V0 of point 0, is interrupted to generate, and time T0 for taking out cycle voltage over zero protects It deposits, clock timer is reset to and started timing, at this moment cycle time voltage crosses zero Th0 is 0, while microcontroller is as stated above It scans and judges discriminator signal.What it is due to detection is first cycle, and clock timer is to start to count in cycle voltage zero-cross When, the value of Th0, Th1 and Th2 must add the difference that cycle time 20ms subtracts out break period setting value Tk, if three A discriminator signal is true, and the time T0 of the cycle voltage over zero of taking-up is stored in as initial time in synchrotimer, next It is secondary that i.e. opening the break period for the first time takes Tk.Otherwise be fictitious time, at this time the clock timer time must add T0, continue to detect.
When detecting first and second adjacent cycle voltage zero-cross, due to not preserving the cycle time of detection, Therefore the clock timer timing time twice between cycle signal zero passage is made comparisons with cycle time 20ms, judges cycle signal Then it is that the difference for taking 20ms to subtract Th0 is added with synchrotimer timing time when being true, i.e., preserves the standard cycle time for the first time 20ms need to deduct its Th0 value, this is because when hereafter detecting that cycle signal is true every time, when opening interruption by clock meter When device reset after restart timing, and be that the standard cycle time is included in synchrotimer when opening interruption, open interruption Afterwards clock timer reset, otherwise judge cycle signal be fictitious time, at this time the clock timer time must add T1=T0+Tk, after It is continuous to detect first cycle again as stated above.After it is very to detect first cycle signal, restore above-described cycle Signal determining.
As shown in Figure 1, if detecting that cycle signal is false, the break period is opened next time and opens the break period at this Afterwards, open interruptions when average value Tz through the cycle time that is delayed, and open interrupt after be delayed Tns when the Central Shanxi Plain it is disconnected, when the setting Central Shanxi Plain is broken Between be when cycle signal screen point 0 when do not generate interruption, at this moment must be in the setting time point more than Ts0 allowable error ranges Start to scan, and when scanning examination point 1 and examination point 2, voltage comparator output voltage does not generate overturning, all breaks in the Central Shanxi Plain The time Tns Central Shanxi Plain is disconnected and stops scanning, and Tns is:
Tns=Tn-Tk;
If detecting that cycle signal is true, next cycle opens break period Tks and is:
Tks=Tk+Th0
I.e. from opening for the first time after the break period takes Tk, clock timer is that timing opens interruption to Tks, and weight after resetting New to start timing, timing is disconnected to Central Shanxi Plain when Tns, to make the synchrotimer time be corrected by cycle time voltage crosses zero.
It repeats the above process.If the upper cycle signal detected is true, when this cycle judges, discriminator signal is Vacation, or the cycle time detected is more than setting cycle time error Tzv or clock meter compared with the average value Tz of cycle time When device timing to close break period setting value Tns when, voltage zero-crossing comparator V0 output voltages are not overturn, do not generate interruption, Then when clock timer timing is to Tns, the Central Shanxi Plain is disconnected, at this moment remembers that not counting cycle N is 1 and stores, and opens the break period next time and is The break period was opened in last time and opens interruption after Tz, and clock timer is reset after opening interruption and timing, timing to Central Shanxi Plain when Tns It is disconnected, the hereafter judgement cycle signal true and false every time, though if false or this detection discriminator signal be false true last time, then take N, will It is restored in memory after N+1.
When it is true to detect cycle signal, then takes out N in memory and preserve, and by N zero setting in memory, and restore to make With setting value Tks, the value of (N+1) × 20ms is at this moment taken to be added in synchrotimer.
The system synchronization time is the time of synchrotimer, along with current just in the time of the clock timer of timing.
When the point signal true and false is screened in judgement, Th0, Th1, Th2 are by being set with voltage comparator output voltage flip-flop transition Definite value Ts0, Ts1, Ts2 make comparisons see it is whether overproof, come judge screen point a signal true and false, can select:Th0, Th1, Th2 are The cycle discriminator signal is true when true or Th0 is true, while when one of Th1, Th2 are true or when Th1, Th2 are true, should Cycle discriminator signal is true, depending on requiring judgement cycle signal true and false difference.
If system fault, when N is more than a setting value between 25 to 70, due to main controller in system and each LED Arrow, the Tz values and N values of detection may be different, and at this moment, power network frequency accumulated error may cause the synchrotimer time It is corrected when can not be by detecting true cycle signal, when it is true to detect cycle signal, at this moment uses clock timing The accumulative clocking value of device is directly added in synchrotimer, and to reduce the asynchronous time of system, it is N × Tz+ to add up clocking value 20ms.N is much smaller than 25 in the case of power network normal operation.
The cycle time error Tzv of permission and the flip-flop transition setting value of voltage comparator output voltage, by test assessment Its average value is taken to obtain.
(4) it illustrates:
Fig. 1 is that cycle screens data relationship schematic diagram;
Fig. 2 is cycle discriminator circuit structural schematic diagram;
Fig. 3 is the circuit structure block diagram of market shopping guiding system.
(5) specific implementation mode:
Fig. 3 is that the circuit structure block diagram of market shopping guiding system includes:10 ﹚ of Zhu Kong Qi ﹙, communications electronics Kai Guan ﹙ 11 ﹚, switch drive 12 ﹚ of dynamic model block ﹙, SMS receives 14 ﹚, LED lamp ﹙ of transmitting apparatus 13 ﹚, SIM card ﹙ of ﹙, 15 ﹚, cycle screens electricity road ﹙ 16 ﹚, 17 ﹚ of LED Jian Tou ﹙.Wherein 11 ﹚ of communications electronics Kai Guan ﹙, 12 ﹚ of switch Qu dynamic model Kuai ﹙, cycle are screened in 16 ﹚ and Fig. 2 of electricity Lu ﹙ Dan Pian Ji ﹙ U0 ﹚ are respectively included in 17 ﹚ of LED Jian Tou ﹙ and 10 ﹚ of Zhu Kong Qi ﹙.Wherein 11 ﹚ of communications electronics Kai Guan ﹙ use two-way It is silicon-controlled to be used as switch.
Fig. 2 is the structural schematic diagram that cycle screens 16 ﹚ of electricity Lu ﹙, by:Shu enters electricity Lu ﹙ S0 ﹚, voltage zero-cross Jian surveys Mo Kuai ﹙ V0 ﹚, electricity pressure comparator ﹙ V1 ﹚ and electricity pressure comparator ﹙ V2 ﹚ are constituted.Dan Pian Ji ﹙ U0 ﹚ refer to 17 ﹚ of LED Jian Tou ﹙ and 10 ﹚ of Zhu Kong Qi ﹙ In microcontroller.Shu enters electricity Lu ﹙ S0 ﹚ for the partial pressure by mains AC voltage by resistance and diode, is converted to voltage The suitably stable input voltage of comparator.Dan Pian Ji ﹙ U0 ﹚ use 89C55WD, voltage zero-cross Jian to survey Mo Kuai ﹙ V0 ﹚, voltage ratio It is the voltage stabilizing using voltage-stabiliser tube to use dedicated voltage comparator LM339, reference voltage compared with device ﹙ V1 ﹚, electricity pressure comparator ﹙ V2 ﹚ Circuit carrys out the threshold voltage of burning voltage comparator.
When mains AC voltage cycle signal zero passage, voltage zero-cross Jian surveys the output voltage saltus step of Mo Kuai ﹙ V0 ﹚, single Pian Ji ﹙ U0 ﹚ generate interruption, record the break period, while Dan Pian Ji ﹙ U0 ﹚ are additionally operable to scanning voltage Bi compare Qi ﹙ V1 ﹚ and voltage ratio The output voltage of compare Qi ﹙ V2 ﹚, records bound-time, for judging power network cycle signal to produce when output voltage saltus step Raw synchronization time.
Single chip computer89C51 realizes serial communication, the microcontroller by I2C buses and main controller in SMS R-T unit 89C51 is also connect with gsm module TC35i by serial line interface integrated circuit MAX232 and carries out data exchange, gsm module chip TC35i is RS232 data ports, supports AT Command Set, wherein contain the control to SMS, single chip computer89C51 is by GSM moulds Block sends a series of AT instructions, completes the initialization to gsm module and receiving short message.The transmitting-receiving of SMS uses TEXT patterns, TEXT patterns are a kind of tactic patterns based on ASCII character.

Claims (2)

1. market shopping guides system, characterized in that system includes to be arranged in passageway and corner, shows the interim volume of customer Number LED arrows, according to customer interim number direct customers along LED arrow directions advance, at mall entrance place by master control The guide table that device processed is constituted, each LED arrows are arranged unique number, a period of time of each LED arrows after individually just booting, Sequentially show the number that LED is lighted, when the number of different LED is lighted in selection, shutdown obtains corresponding number and preserves, and is compiling Number period when can't detect grid cyclic wave signal, microcontroller by its power capacitor energy storage will the deposit of number data it is non-volatile In memory, customer can also be operated by SMS, be contacted with main controller by GSM nets;In main controller and each LED arrows Cycle discriminator circuit is installed, the synchronization time of generation system is used for, while a communications electronics being respectively installed in its telecommunication circuit Switch, switch drive module, main controller and each LED arrows are connected on same electric power cable and master switch are arranged, in master switch One isolating diode is installed later, system is in the half wave communication half-wave power supply state through power line, communications electronics switch Switch drive module is to be used for main controller and each LED arrows after resistance is depressured from electric power cable, further through just connecing diode After the negative half-wave of cycle is isolated, it is connected to comparator input terminal, reference voltage is 100Mv to 200Mv, using diode drop through electricity Resistance partial pressure obtains, and the output end of comparator produces the pros that corresponding power network cycle bears half-wave after the rectifier diode just connect Wave signal is connected to the I/O mouths of microcontroller, executes traffic operation when microcontroller scanning is to positive square-wave signal, the positive square-wave signal is also SMS R-T unit is installed for driving communications electronics to switch, in system, using GSM network, to receive and dispatch short message mode It is communicated;
Cycle discriminator circuit is the positive half cycle ascent stage using power network cycle, takes three to screen knowledge of the point realization to cycle signal Do not judge, recycle the cycle time to establish synchronization time, clock timer and synchrotimer is arranged in system, if detecting phase Two adjacent cycle signals are true, then when taking out the clock timer timing between two adjacent cycle signal zero passages Between, it is sequentially stored in cycle time memory cell, a cycle time is often stored in when being filled with 100 cycle time, is first removed The cycle time being stored at first, and calculate the average value Tz of the cycle time of deposit and preserve, differentiated using Tz values and waits knowing Other cycle signal;
Three comparators are respectively used to three examination points, that is, screen point 0, screen point 1, screen point 2, in the cycle positive half cycle ascent stage Cycle zero passage at, that is, screen point 0 setting a voltage zero-crossing comparator, concatenate two again in the signal input part of voltage zero-crossing comparator Negative half period is isolated in pole pipe, and reference voltage is 10mv to 100mv, and depending on the offset voltage of comparator, which can profit It is obtained through electric resistance partial pressure with diode drop, remaining two comparator is separately positioned on cycle positive half cycle ascent stage, crest voltage 35% to 50% place examination point 1 and 50% to 70% place examination point 2;
Cycle signal determining process:For microcontroller after setting time opens interruption, clock timer resets and starts timing, works as cycle When voltage zero-cross, it is arranged in the output voltage overturning for screening the voltage zero-crossing comparator of point 0, in the generation of its voltage failing edge It is disconnected, it records its zero crossing break period Th0 and the Central Shanxi Plain is disconnected;Hereafter, the defeated of electricity pressure comparator ﹙ V1 ﹚ at point 1 is screened in microcontroller scanning Go out voltage, when all wave voltages reach the threshold voltage of electricity pressure comparator ﹙ V1 ﹚, output voltage is overturn from high to low, scanning record Its flip-flop transition Th1;Same scanning record screens the flip-flop transition Th2 of electricity pressure comparator ﹙ V2 ﹚ output voltages at point 2, if institute Flip-flop transition Th1 and Th2 is stated within the scope of allowable error, then the discriminator signal detected is true, is otherwise false, above-mentioned judgement When discriminator signal is true, calculate between cycle signal zero passage when this cycle signal zero passage and an adjacent preceding discriminator signal are true Clock timer timing time Tzu, it is made comparisons with the average value Tz of cycle time, if no more than setting the cycle time Then cycle signal is true to error Tzv, at this moment preserves Tzu and 20ms is taken to be added with synchrotimer timing time, the value that will add up It is stored in synchrotimer;
When clock timer starts timing with cycle voltage zero-cross, then timing to 16ms opens break period setting between 18.5ms Open interruption when value Tk, clock timer timing to 25ms is disconnected to Central Shanxi Plain when pass break period setting value Tn between 27ms;
When detecting first cycle voltage zero-cross, it is arranged in the output voltage overturning for screening the voltage zero-crossing comparator of point 0, It is interrupted to generate, time T0 for taking out cycle voltage over zero preserves, and clock timer is reset to and started timing, at this moment all Wave voltage zero-crossing timing Th0 is 0, and microcontroller scans and judge that discriminator signal, the value of Th0, Th1 and Th2 must add cycle Time 20ms subtracts out the difference of break period setting value Tk, if three discriminator signals are true, the cycle voltage zero-cross of taking-up For the time T0 of point as in initial time deposit synchrotimer, i.e. opening the break period for the first time takes Tk next time, is otherwise vacation When, at this time the clock timer time must add T0, continue to detect;
Then it is that 20ms is taken to subtract when it is true to detect first and second adjacent cycle voltage zero-cross, judgement cycle signal The difference of Th0 is added with synchrotimer timing time, and clock timer is reset after opening interruption, otherwise judges that cycle signal is false When, the clock timer time must be plus T1=T0+Tk at this time, and continuation detects first cycle again as stated above, works as detection First cycle signal be very after, restore above-described cycle signal determining;
If detecting that cycle signal is false, the break period is opened next time after this opens the break period, when through delay cycle Between average value Tz when open interruption, and open interrupt after be delayed Tns when the Central Shanxi Plain it is disconnected, it is when cycle signal is discriminated that the break period is closed in setting Not Wei fictitious time the break period Tns Central Shanxi Plain is disconnected and stop scanning, and Tns is closing:
Tns=Tn-Tk
If detecting that cycle signal is true, next cycle opens break period Tks and is:
Tks=Tk+Th0
I.e. from opening for the first time after the break period takes Tk, clock timer is that timing opens interruption to Tks, and is opened again after resetting Beginning timing, timing is disconnected to Central Shanxi Plain when Tns, repeats above-mentioned cycle signal determining process, if the upper cycle letter detected Number it is true, when this cycle judges, discriminator signal is false, then when clock timer timing is to Tns, the Central Shanxi Plain is broken, and is at this moment remembered and is not counted week Wave number N is 1 and stores that it is to open the break period in last time to open interruption after Tz to open the break period next time, and clock timer exists Clearing and timing after interrupting are opened, timing is disconnected to Central Shanxi Plain when Tns, hereafter judges the cycle signal true and false every time, and if false or this is examined Though surveying, discriminator signal is true but last time is false, then takes N, will be restored in memory after N+1;
When it is true to detect cycle signal, then takes out N in memory and preserve, and by N zero setting in memory, and restore use and set At this moment definite value Tks takes the value of (N+1) × 20ms to be added in synchrotimer;
The system synchronization time is the time of synchrotimer, along with current just in the time of the clock timer of timing;
When the point signal true and false is screened in judgement, selection:The cycle discriminator signal is true when Th0, Th1, Th2 are true or Th0 is Very, when while one of Th1, Th2 are true or when Th1, Th2 are true, which is true, depending on to judgement cycle letter Depending on number true and false difference requires, if N is more than a setting value between 25 to 70, using the accumulative clocking value of clock timer It is directly added in synchrotimer, it is N × Tz+20ms to add up clocking value.
2. market shopping according to claim 1 guides system, it is characterised in that including:
Main 10 ﹚ of control device ﹙, communications electronics, which are opened, closes 11 ﹚ of ﹙, 12 ﹚ of switch drive dynamic model block ﹙, 13 ﹚, SIM card ﹙ of SMS receipts transmitting apparatus ﹙ 14 ﹚, 15 ﹚ of LED Deng ﹙, cycle screen 16 ﹚ of electricity Lu ﹙, 11 ﹚ of 17 ﹚ of LED Jian Tou ﹙, wherein Dan Pian Ji ﹙ U0 ﹚ and communications electronics Kai Guan ﹙, 12 ﹚ of switch Qu dynamic model Kuai ﹙ and cycle are screened 16 ﹚ of electricity Lu ﹙ and are respectively included in 17 ﹚ of LED Jian Tou ﹙ and 10 ﹚ of Zhu Kong Qi ﹙;
Cycle screens 16 ﹚ of electricity Lu ﹙, by:The roads Shu Ru electricity ﹙ S0 ﹚, voltage Zero-cross comparator device ﹙ V0 ﹚, electricity pressure comparator ﹙ at point 1 is screened V1 ﹚ are constituted with electricity pressure comparator ﹙ V2 ﹚ at point 2 are screened, and the roads Shu Ru electricity ﹙ S0 ﹚ by mains AC voltage for passing through resistance and two The partial pressure of pole pipe is converted to the suitably stable input voltage of voltage comparator;
Single chip computer89C51 realizes serial communication, the microcontroller by I2C buses and master controller in SMS R-T unit 89C51 is also connect with gsm module TC35i by serial port MAX232 and carries out data exchange.
CN201610448514.2A 2016-06-20 2016-06-20 Market shopping guides system Active CN106153036B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610448514.2A CN106153036B (en) 2016-06-20 2016-06-20 Market shopping guides system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610448514.2A CN106153036B (en) 2016-06-20 2016-06-20 Market shopping guides system

Publications (2)

Publication Number Publication Date
CN106153036A CN106153036A (en) 2016-11-23
CN106153036B true CN106153036B (en) 2018-10-12

Family

ID=57353350

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610448514.2A Active CN106153036B (en) 2016-06-20 2016-06-20 Market shopping guides system

Country Status (1)

Country Link
CN (1) CN106153036B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101064030A (en) * 2006-04-24 2007-10-31 孙学群 Market shopping guiding machine and buying and selling method thereby
CN102571150A (en) * 2011-03-22 2012-07-11 张广涵 Time-sharing communication system on basis of power grid
CN203554737U (en) * 2013-09-29 2014-04-16 刘付光 Color-temperature adjustable LED lamp

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5022259B2 (en) * 2008-02-04 2012-09-12 アルパイン株式会社 Car navigation system and parking lot guidance method
JP2012108801A (en) * 2010-11-18 2012-06-07 Toshiba Tec Corp Portable information terminal device and control program

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101064030A (en) * 2006-04-24 2007-10-31 孙学群 Market shopping guiding machine and buying and selling method thereby
CN102571150A (en) * 2011-03-22 2012-07-11 张广涵 Time-sharing communication system on basis of power grid
CN203554737U (en) * 2013-09-29 2014-04-16 刘付光 Color-temperature adjustable LED lamp

Also Published As

Publication number Publication date
CN106153036A (en) 2016-11-23

Similar Documents

Publication Publication Date Title
CN106094620B (en) Remote analog amount acquires alarm system
CN105931414B (en) A kind of Warehouse Fire alarm control system
CN104965147B (en) Low-voltage customer electric energy meter is visited one house after another detecting system and detection method
CN107656234A (en) A kind of phase three-wire three high-voltage electric-energy meter online test method and device
CN205751223U (en) Power information acquisition system failure diagnosis apparatus
CN106153036B (en) Market shopping guides system
CN106941434A (en) The detecting system and method for a kind of communication message
CN106228730B (en) A kind of fire alarm control system
CN105894789B (en) The Automatic meter reading system of tap water supply pipe network
CN106023501B (en) Warehouse environment information gathering warning system
CN106023570B (en) Automatic meter reading system for tap water supply pipe network
CN106054986B (en) Crop greenhouse atmosphere control system
CN106020030B (en) Eating house intelligence control system
CN105867160B (en) A kind of home furnishings intelligent networked control systems
CN112114194B (en) Electric energy meter operation control method
CN106097017A (en) Museum exhibition client guides system
CN106097683B (en) Distribution electric quantity parameter acquisition system
CN104332970B (en) A kind of pilot protection adjustment method using at GPS pairs
CN106123985B (en) A kind of flow signal synchronous
CN105911927B (en) Dormitory intelligent control system
CN106125594B (en) Hotel intelligence control system
CN106054710B (en) eating house intelligent control system
CN105955222B (en) Household remote intelligent control system
CN105869543B (en) The column LED Chinese character placards of both sides of the road
CN106054711B (en) Intelligent control system for restaurant

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20180427

Address after: 350208 Fujian, Fuzhou, Changle District, Changle Shang Shang Town logistics park furniture hardware market, building 4, 906 shops

Applicant after: Fuzhou alignment Mdt InfoTech Ltd

Address before: 350004 No. 180 Riverside Road, Taijiang District, Fuzhou, Fuzhou, Fujian

Applicant before: Fuzhou Taijiang Chaoren Electronic Co., Ltd.

GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20201104

Address after: 221000 No. 88 Liaohe West Road, Pizhou Economic Development Zone, Xuzhou City, Jiangsu Province

Patentee after: SU Normal University Semiconductor Materials and Equipment Research Institute (Pizhou) Co.,Ltd.

Address before: 350208 Shop No. 4, building materials market, building materials market, Fuzhou, Changle District, Changle District, Changle District

Patentee before: FUZHOU ZHUNDIAN INFORMATION TECHNOLOGY Co.,Ltd.

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20211224

Address after: 221300 506, block B, electronic industrial park, Pizhou Economic Development Zone, Xuzhou City, Jiangsu Province

Patentee after: Xuzhou Bochuang Construction Development Group Co.,Ltd.

Address before: 221000 No.88, Liaohe West Road, Pizhou Economic Development Zone, Xuzhou City, Jiangsu Province

Patentee before: SU Normal University Semiconductor Materials and Equipment Research Institute (Pizhou) Co.,Ltd.