CN105929748A - Intelligent control system of Chinese medicine decocting pharmacy - Google Patents

Intelligent control system of Chinese medicine decocting pharmacy Download PDF

Info

Publication number
CN105929748A
CN105929748A CN201610447670.7A CN201610447670A CN105929748A CN 105929748 A CN105929748 A CN 105929748A CN 201610447670 A CN201610447670 A CN 201610447670A CN 105929748 A CN105929748 A CN 105929748A
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.)
Granted
Application number
CN201610447670.7A
Other languages
Chinese (zh)
Other versions
CN105929748B (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.)
Jiangsu chuangyoujia New Energy Technology Co.,Ltd.
Original Assignee
Fuzhou City Taijiang Distrcit Superman Electronics 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 Fuzhou City Taijiang Distrcit Superman Electronics Co Ltd filed Critical Fuzhou City Taijiang Distrcit Superman Electronics Co Ltd
Priority to CN201610447670.7A priority Critical patent/CN105929748B/en
Publication of CN105929748A publication Critical patent/CN105929748A/en
Application granted granted Critical
Publication of CN105929748B publication Critical patent/CN105929748B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/04Programme control other than numerical control, i.e. in sequence controllers or logic controllers
    • G05B19/042Programme control other than numerical control, i.e. in sequence controllers or logic controllers using digital processors
    • G05B19/0423Input/output
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/20Pc systems
    • G05B2219/21Pc I-O input output
    • G05B2219/21055Number of halfwaves equals number of I-O, send block of halfwaves, synchro gap

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • External Artificial Organs (AREA)
  • Measurement Of Unknown Time Intervals (AREA)

Abstract

The invention relates to an intelligent control system of a Chinese medicine decocting pharmacy. After Chinese medicine and water are put into each electric medicine decocting pot, the power supply plug can be inserted into a socket controlled by a medicine decocting controller at any time. The system uses half-wave communication and half-wave power supply of a power line. Cycle discrimination circuits are arranged in a master controller and each medicine decocting controller, so as to produce the system synchronization time and keep consistent system actions.

Description

Chinese medicine decocting pharmacy intelligence control system
(1) technical field:
The present invention relates to a kind of Chinese medicine decocting pharmacy intelligence control system, each electricity medicine decocting tank is put into After Chinese medicine and water, its attaching plug may be inserted at any time and selects on the socket that control for decocting medicinal herbs controls The pattern of boiling medicine starts to boil medicine well.System uses half wave communication and half-wave through electric lines of force to power, and It is respectively mounted cycle discriminator circuit, for producing system in main controller and each control for decocting medicinal herbs Keep lock in time system acting consistent.
(2) background technology:
Thered is provided the control system of power supply by power network, its each electronic equipment or intermodule are all by specially With line traffic, correct the timing time of each electronic equipment or electronic module, reach to synchronize fortune Row purpose.Owing to using special circuit communication make wiring complicate and increase cost, if timing Time is not corrected by line traffic, then due to tradition timing error, after running a few hours, its Accumulation timing error can make system control action inconsistent, is likely to result in system crash, at some Often design for change, its products application of occasion that wiring installation amount is big is restricted.
(3) summary of the invention:
The present invention relates to Chinese medicine decocting pharmacy intelligence control system, the desktop in Chinese medicine decocting pharmacy arranges Many control for decocting medicinal herbs, electricity medicine decocting tank puts Chinese medicine and water into, after sticking patient's mark, its power supply Plug may be inserted at any time and chooses the pattern of boiling medicine and start to decoct on the socket that control for decocting medicinal herbs controls Medicine, then inputs patient's identification code at main controller, and main controller passes through RS232 interface and host computer Compunlcation.Typically boil medicine and begin with above warm water soaking phase half an hour, then have very hot oven, The slow fire phases etc., at the end of boiling medicine, host computer computer shows patient's name by LED screen.Electricity is decocted It is online that the power supply of medicinal cupping is individually connected to the outer electric power of system, and by control for decocting medicinal herbs by light electric coupling Control bidirectional triode thyristor after device isolation to make to load energized power and time on its socket by the program of boiling medicine Run.Main controller and each control for decocting medicinal herbs are all connected on same electric power netting twine and arrange main switch, At the commutation diode that is followed by of main switch, system uses half wave communication and half-wave through electric lines of force to supply Electricity, and it is respectively mounted cycle discriminator circuit in main controller and each control for decocting medicinal herbs, it is used for producing Keep the lock in time of system system acting consistent, each installation one in its telecommunication circuit simultaneously Communications electronics switch and switch drive module thereof.During system communication, connect all communications electronics and open Close, communicated by electric power netting twine, before sign off, turn off all communications electronics switch.
Communication is by controlling lock in time to keep main controller and the communication operation of each control for decocting medicinal herbs Consistent over a long time, the switch drive module of main controller and each control for decocting medicinal herbs is through electricity from power network Resistance blood pressure lowering, just connect diode and isolate after cycle bears half-wave further, be connected to comparator input terminal, Its reference voltage is 100Mv to 200Mv, and available diode drop obtains through electric resistance partial pressure, Therefore the outfan of comparator is square-wave signal, and it creates after the diode rectification just connect again Corresponding power network cycle bears the positive square-wave signal of half-wave, is connected to the I/O mouth of single-chip microcomputer, single-chip microcomputer Performing traffic operation when scanning positive square-wave signal, this positive square-wave signal is additionally operable to drive communication electricity Son switch, therefore communications electronics switch turns off when cycle positive half-wave, and cycle is connected when bearing half-wave. Communications electronics switch is connected to single-chip microcomputer corresponding port according to used communication mode, and carries out signal tune Reason.
The present invention utilizes the positive half cycle ascent stage of power network cycle, takes three and screens some realization to cycle The identification decision of signal, recycling the cycle time set up lock in time, it is achieved main controller in system Synchronous operation with each control for decocting medicinal herbs.
The cycle discriminator circuit structural representation of main controller and each control for decocting medicinal herbs as in figure 2 it is shown, It is made up of two voltage comparators using hysteresis loop comparator, each voltage comparator all comprises Filter circuit, the reference voltage of its voltage comparator is provided by mu balanced circuit.System arranges clock Timer and synchrotimer.If be detected that adjacent two cycle signals are very, then take Go out the clock timer timing time between these two adjacent cycle signal zero passages, be sequentially stored in In cycle time memory cell, this cycle time memory cell can deposit 100 cycle times, Often it is stored in a cycle time when being filled with, the most first removes the cycle time being stored at first, and Calculate meansigma methods Tz of the cycle time being stored in and preserve, utilizing Tz value to differentiate cycle to be identified Signal, to reduce the impact of power network frequency fluctuation, uses three to screen point simultaneously and reduces erroneous judgement Probability.
Two comparators are respectively used to screen point 1, screen point 2, as shown in Figure 1.At cycle just At the cycle zero passage of half cycle ascent stage, i.e. screening point 0 and arrange voltage zero-cross detection module, it is adopted Negative half period, signal condition is isolated further through electric resistance partial pressure, diode with cycle positive half-wave signal The clock end CLK of rear feeding d type flip flop, the Q of d type flip flop terminate single-chip microcomputer external interrupt mouth, This external interrupt mouth is arranged to level triggers, the D end ground connection of d type flip flop, and S terminates single-chip microcomputer I / O mouth, this I/O mouth puts 1 at ordinary times.When cycle positive half-wave zero cross signal arrives, immediately its After cycle signal rising edge make d type flip flop Q end be 0, single-chip microcomputer external interrupt mouth low level, Thus produce interruption, interrupt service routine performs instruction: described I/O mouth sets to 0, the Central Shanxi Plain Disconnected, timing, described I/O mouth are put 1, are opened interruption.Remaining two comparator is separately positioned on week The ripple positive half cycle ascent stage, the examination point 1 and 50% to 70% at 35% to 50% place of crest voltage The examination point 2 at place.
Cycle signal determining: single-chip microcomputer is had no progeny in the setting time opens, and clock timer resets and opens Beginning timing, when cycle voltage zero-cross, is arranged on the voltage zero-cross detection module screening point 0 In V0, the output voltage of d type flip flop jumps vanishing, produces and interrupts, records in its zero crossing Break time Th0;Hereafter, the output of voltage comparator V1 at point 1 is screened in single-chip microcomputer scanning Voltage, when week, wave voltage reached the threshold voltage of V1, output voltage saltus step from high to low, Scanning records its bound-time Th1;Voltage comparator V2 at point 2 screened in same scanning record Output voltage bound-time Th2, by the output electricity of Th0 and voltage zero-cross detection module V0 Pressure bound-time setting value Ts0 is made comparisons;The output voltage of Th1 and voltage comparator V1 During the output voltage saltus step of bound-time setting value Ts1 and Th2 and voltage comparator V2 Between setting value Ts2 make comparisons respectively, if in the range of allowable error, then this Zhen detected Level signal is true, is otherwise false.Above-mentioned judge discriminator signal as true time, calculate this cycle letter Clock timer number between zero passage with the cycle signal zero passage that an adjacent front discriminator signal is true time Timing time Tzu, makes comparisons it with meansigma methods Tz of cycle time, if less than setting Cycle time error Tzv then cycle signal is true, at this moment preserves Tzu and takes 20ms with synchronization Timer timing time is added, and the value that will add up is stored in synchrotimer.
When clock timer starts timing with cycle voltage zero-cross, then timing is to 16ms to 18.5ms Between open interruption, clock timer timing to 25ms to 27ms when opening break period setting value Tk Between pass break period setting value Tn time close interrupt.
After system boot, clock timer starts timing, when first all wave voltage mistake being detected When zero, it is arranged on the output voltage saltus step of the voltage zero-cross detection module V0 screening point 0, Thus producing interruption, the time T0 taking out cycle voltage over zero preserves, and clock timer is clear Zero and start timing, at this moment cycle time voltage crosses zero Th0 is 0, and above-mentioned side pressed by single-chip microcomputer simultaneously Method scans and judges discriminator signal.Due to detection is first cycle, clock timer be Starting timing during cycle voltage zero-cross, the value of its Th0, Th1 and Th2 must add the cycle time 20ms deducts out the difference of break period setting value Tk, if three discriminator signals are true, takes The time T0 of the cycle voltage over zero gone out is stored in synchrotimer as initial time, next Secondary i.e. for the first time open the break period and take Tk.Being otherwise fictitious time, now the clock timer time must add Upper T0, continues detection.
When detecting first and during adjacent second cycle voltage zero-cross, owing to not preserving inspection Survey the cycle time, therefore the clock timer timing time between twice cycle signal zero passage be with The cycle time, 20ms made comparisons, it is determined that cycle signal is true time, then be to take 20ms to subtract Th0 Difference be added with synchrotimer timing time, preserve the standard cycle time 20 i.e. for the first time Ms, need to deduct its Th0 value, this is because detect that cycle signal is true time, all the most every time Restart timing after being reset by clock timer when opening interruption, and be will when opening interruption The standard cycle time counts in synchrotimer, and clock timer of having no progeny in opening resets, and otherwise judges Cycle signal is fictitious time, and now the clock timer time must continue by upper plus T1=T0+Tk Method of stating detects first cycle again.After first cycle signal of detection is very, recover with Upper described cycle signal determining.
As it is shown in figure 1, if be detected that cycle signal is false, open the break period all exists next time After this opens the break period, when meansigma methods Tz of time delay cycle time, open interruption, and in opening Have no progeny time delay Tns time close interrupt, arrange pass the break period be when cycle signal screen point 0 time Do not produce interruption, at this moment must start to sweep more than the setting time point of Ts0 allowable error scope Retouch, and when scanning is screened point 1 and screens point 2, voltage comparator output voltage does not produce Saltus step, is all closing the interruption of break period Tns pass and is stopping scanning, and Tns is:
Tns=Tn-Tk
If be detected that cycle signal is true, then next cycle is opened 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 all that timing is opened to Tks Interrupt, and restart timing after clearing, close during timing to Tns and interrupt, so that synchrometer Time the device time corrected by cycle time voltage crosses zero.
Repeat said process.If the upper cycle signal detected described in is true, and this cycle judges Time, discriminator signal is false, or the cycle time detected compares with meansigma methods Tz of cycle time Exceed setting cycle time error Tzv, or clock timer timing is to closing break period setting value During Tns, the voltage zero-cross detection module non-saltus step of V0 output voltage, do not produce interruption, Then close when clock timer timing to Tns and interrupt, at this moment remember that not counting cycle N is 1 and deposits Storage, open the break period is to open the break period in last time to open interruption after Tz, the most next time The secondary judgement cycle signal true and false, though if false or this detection discriminator signal is true last time is false, Then taking N, will restore in memorizer after N+1, clock timer be had no progeny unclear zero continuation in opening Timing, at this moment, next cycle of setting is opened the break period and is temporarily used out the break period instead and set temporarily Definite value Tkz:
Tkz=(N+1) × Tz
Meanwhile, next cycle pass break period temporarily uses instead and closes break period interim setting value Tnz:
Tnz=Tkz+Tns
When clock timer to after Tkz, scanning is screened the time of point and can be obtained by simple computation ?.If at this moment detecting that cycle signal is true, then take out N in memorizer and preserve, and will deposit N zero setting in reservoir, makes the clock timer clocking value Ts be: (Ts-Tkz) → Ts, at this moment takes (N+1) value of × 20ms is added in synchrotimer, and recover use setting value Tks with Tns, recovered clock timer is had no progeny clearing in opening.
The system synchronization time is the time of synchrotimer, adds current just at the clock meter of timing Time device time.
When judging to screen the some signal true and false, Th0, Th1, Th2 are by exporting with voltage comparator Voltage jump time setting value Ts0, Ts1, Ts2 make comparisons and see the most overproof, judge to screen The point signal true and false, can select: Th0, Th1, Th2 are this cycle discriminator signal of true time and are Very, or Th0 is true, and one of Th1, Th2 are true time simultaneously, or Th1, Th2 are true Time, this cycle discriminator signal is true, depending on to judging that cycle signal true and false difference requires.
If system fault, when N is more than a setting value between 25 to 70, owing to being Main controller and each control for decocting medicinal herbs in system, the Tz value of its detection may be different with N value, at this moment, Power network frequency cumulative error, being likely to result in the synchrotimer time cannot be true by detecting Corrected during cycle signal, when detecting that cycle signal is true time, use clock timer to exist Clocking value at Tkz is directly added in synchrotimer, to reduce the asynchronous time of system, and electricity In the case of power net normal operation, N is much smaller than 25.
The cycle time error Tzv allowed and the flip-flop transition of voltage comparator output voltage set Value, is taken its meansigma methods by test assessment and obtains.
(4) accompanying drawing explanation:
Fig. 1 is that cycle screens data relationship schematic diagram;
Fig. 2 is cycle discriminator circuit structural representation;
Fig. 3 is the circuit structure block diagram of Chinese medicine decocting pharmacy intelligence control system.
(5) detailed description of the invention:
Fig. 3 is that Chinese medicine decocting pharmacy intelligent control system circuit block diagram includes: main controller 10, communications electronics switch 11, switch drive module 12, computer 13, Cycle discriminator circuit 14, control for decocting medicinal herbs 15.Wherein communications electronics switch 11, In switch drive module 12, cycle discriminator circuit 14 and Fig. 2, single-chip microcomputer U0 is equal Being separately contained in control for decocting medicinal herbs 15 and main controller 10, communications electronics switchs 11 use bidirectional triode thyristor as switch.
Fig. 2 is the structural representation of cycle discriminator circuit 14, by: input circuit S0, Voltage zero-cross detection module V0, voltage comparator V1 and voltage comparator V2 structure Become.Single-chip microcomputer U0 refers to the single-chip microcomputer in control for decocting medicinal herbs 15 and main controller 10. Input circuit S0, for mains AC voltage is passed through resistance and the dividing potential drop of diode, turns It is changed to the input voltage that voltage comparator is the most stable.Single-chip microcomputer U0 uses 89C55WD, voltage comparator V1, voltage comparator V2 all use special voltage Comparator LM339, its reference voltage is to use the mu balanced circuit of stabilivolt to carry out burning voltage to compare The threshold voltage of device.
When mains AC voltage cycle signal zero passage, voltage zero-cross detection module V0's is defeated Going out voltage jump, single-chip microcomputer U0 produces interruption, records break period, simultaneously single-chip microcomputer U0 is additionally operable to the output electricity of scanning voltage comparator V1 and voltage comparator V2 Pressure, when output voltage saltus step record bound-time, be used for judging power network cycle signal thus Produce lock in time.
Main controller 10 is communicated with host computer computer 13 by RS232 interface.

Claims (2)

1. the present invention relates to Chinese medicine decocting pharmacy intelligence control system, it is characterized in that, the electricity of electricity medicine decocting tank Source is individually connected on power network by bidirectional triode thyristor, and by control for decocting medicinal herbs by light electric coupling Control bidirectional triode thyristor after device isolation to make to load energized power and time on its socket by the program of boiling medicine Running, at the end of boiling medicine, host computer computer shows patient's name by LED screen;In main switch Be followed by commutation diode, system uses half wave communication and half-wave through electric lines of force to power, and is leading Control device and each control for decocting medicinal herbs are respectively mounted cycle discriminator circuit, for producing the synchronization of system Time, simultaneously one communications electronics switch of each installation and switch drive mould thereof in its telecommunication circuit Block;
The switch drive module of main controller and each control for decocting medicinal herbs be from power network through resistance blood pressure lowering, Just connect diode and isolating after cycle bears half-wave further, be connected to comparator input terminal, its benchmark electricity Pressure for 100Mv to 200Mv, utilizes diode drop to obtain through electric resistance partial pressure, comparator defeated Going out end is square-wave signal, and it creates corresponding power network cycle again after the diode rectification just connect The positive square-wave signal of negative half-wave, is connected to the I/O mouth of single-chip microcomputer, and single-chip microcomputer scans positive square wave letter Number time perform traffic operation, this positive square-wave signal be additionally operable to drive communications electronics switch;
Cycle discriminator circuit is the positive half cycle ascent stage utilizing power network cycle, takes three and screens point Realizing the identification decision to cycle signal, the recycling cycle time sets up lock in time, and system sets Put clock timer and synchrotimer, if be detected that adjacent two cycle signals are very, Then take out the clock timer timing time between these two adjacent cycle signal zero passages, sequentially It is stored in cycle time memory cell, when being often stored in a cycle when being filled with 100 cycle time Between, the most first remove the cycle time being stored at first, and calculate the flat of cycle time of being stored in Average Tz, utilizes Tz value to differentiate cycle signal to be identified;
Two comparators are respectively used to screen point 1, screen point 2, in the cycle positive half cycle ascent stage At cycle zero passage, i.e. screening point 0 and arrange voltage zero-cross detection module, it uses cycle positive half-wave Signal is sent into D after electric resistance partial pressure, diode isolate negative half period, signal condition further and is triggered The clock end CLK of device, when cycle positive half-wave zero cross signal arrives, cycle letter immediately after Number rising edge makes d type flip flop Q end be 0, single-chip microcomputer external interrupt mouth low level, thus produces Interrupting, remaining two comparator is separately positioned on cycle positive half cycle ascent stage, the 35% of crest voltage Examination point 1 at 50% and the examination point 2 at 50% to 70% place;
Cycle signal determining: single-chip microcomputer is had no progeny in the setting time opens, clock timer resets also Start timing, when cycle voltage zero-cross, be arranged on the voltage zero-cross detection module screening point 0 The output voltage of middle d type flip flop jumps vanishing, produces and interrupts, records its zero crossing break period Th0;Hereafter, the output voltage of voltage comparator V1 at point 1 is screened in single-chip microcomputer scanning, when When all wave voltages reach the threshold voltage of voltage comparator V1, output voltage is jumped from high to low Becoming, scanning records its bound-time Th1;Voltage comparator at point 2 screened in same scanning record V2 output voltage bound-time Th2, if described bound-time is in the range of allowable error, This discriminator signal then detected is true, is otherwise false, above-mentioned judge discriminator signal as true time, Calculate this cycle signal zero passage and the cycle signal zero passage that an adjacent front discriminator signal is true time Between clock timer timing time Tzu, it is made comparisons with meansigma methods Tz of cycle time, If less than setting cycle time error Tzv, cycle signal is true, at this moment preserves Tzu also Taking 20ms to be added with synchrotimer timing time, the value that will add up is stored in synchrotimer;
When clock timer starts timing with cycle voltage zero-cross, then timing is to 16ms to 18.5 Opening interruption when opening break period setting value Tk between ms, clock timer timing is to 25ms extremely Close during pass break period setting value Tn between 27ms and interrupt;
When first cycle voltage zero-cross being detected, it is arranged on the voltage zero-cross inspection screening point 0 Survey the output voltage saltus step of module, thus produce interruption, take out the time of cycle voltage over zero T0 preserves, and is reset by clock timer and starts timing, at this moment cycle time voltage crosses zero Th0 Being 0, single-chip microcomputer scans as stated above and judges discriminator signal, its Th0, Th1 and Th2's Value must deduct open the difference of break period setting value Tk plus cycle time 20ms, if three Individual 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, i.e. for the first time open the break period takes Tk next time, is otherwise fictitious time, now The clock timer time must continue detection plus T0;
When first and adjacent second cycle voltage zero-cross being detected, it is determined that cycle signal is True time, then be to take 20ms to subtract the difference of Th0 and be added with synchrotimer timing time, in opening Clock timer of having no progeny reset, otherwise judge cycle signal as fictitious time, now during clock timer Between must continue first cycle of detection the most again, work as detection plus T1=T0+Tk First cycle signal be very after, recover above-described cycle signal determining;
If be detected that cycle signal is false, open the break period all when this opens interruption next time After between, when meansigma methods Tz of time delay cycle time, open interruption, and the time delay Tns that has no progeny in opening Time close interrupt, arrange pass the break period be when cycle signal screening is fictitious time, close the break period Tns closes and interrupts and stop scanning, and Tns is:
Tns=Tn-Tk
If be detected that cycle signal is true, then next cycle is opened 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 all that timing is opened to Tks Interrupt, and restart timing after clearing, close during timing to Tns and interrupt;
Repeat said process, if described in the upper cycle signal that detects be true, this cycle judges Time, discriminator signal is false, then close when clock timer timing to Tns and interrupt, at this moment remember not Meter cycle N be 1 and store, open next time the break period be last time opened the break period pass through Open interruption after Tz, judge the cycle signal true and false the most every time, if false or letter is screened in this detection Though number being true but last time is false, then take N, will restore after N+1 in memorizer, clock timer Have no progeny in opening unclear zero continue timing, at this moment, it is temporary transient that next cycle of setting opens the break period Use out break period interim setting value Tkz instead:
Tkz=(N+1) × Tz
Meanwhile, next cycle pass break period temporarily uses instead and closes break period interim setting value Tnz:
Tnz=Tkz+Tns
When clock timer to after Tkz, if at this moment detecting that cycle signal is true, then take Go out N in memorizer to preserve, and by N zero setting in memorizer, make clock timer clocking value Ts For: (Ts-Tkz) → Ts, the value at this moment taking (N+1) × 20ms is added in synchrotimer, And recover to use setting value Tks and Tns, recovered clock timer is had no progeny clearing in opening;
The system synchronization time is the time of synchrotimer, adds current just at the clock of timing The time of timer;
When judging to screen the some signal true and false, select: Th0, Th1, Th2 are this cycle of true time Discriminator signal is true, or Th0 is true, and one of Th1, Th2 are true time simultaneously, or Th1, Th2 is true time, and this cycle discriminator signal is true, depending on to judgement cycle signal true and false difference requirement Fixed, if N is more than a setting value between 25 to 70, use clock timer at Tkz The clocking value at place is directly added in synchrotimer.
Chinese medicine decocting pharmacy the most according to claim 1 intelligence control system, it is characterised in that Including:
Main controller 10, communications electronics switch 11, switch drive module 12, electricity Brain 13, cycle discriminator circuit 14, control for decocting medicinal herbs 15, wherein single-chip microcomputer U0 and communications electronics switch 11, switch drive module 12 and cycle discriminator circuit 14 are included in control for decocting medicinal herbs 15 and main controller 10 respectively;
Cycle discriminator circuit 14 is by input circuit S0, voltage zero-cross detection module V0, voltage comparator V1 and voltage comparator V2 are constituted, input circuit S0, for mains AC voltage is passed through resistance and the dividing potential drop of diode, is converted to voltage The input voltage that comparator is the most stable.
CN201610447670.7A 2016-06-20 2016-06-20 Traditional Chinese medicine decocting room intelligence control system Active CN105929748B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610447670.7A CN105929748B (en) 2016-06-20 2016-06-20 Traditional Chinese medicine decocting room intelligence control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610447670.7A CN105929748B (en) 2016-06-20 2016-06-20 Traditional Chinese medicine decocting room intelligence control system

Publications (2)

Publication Number Publication Date
CN105929748A true CN105929748A (en) 2016-09-07
CN105929748B CN105929748B (en) 2018-05-22

Family

ID=56831391

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610447670.7A Active CN105929748B (en) 2016-06-20 2016-06-20 Traditional Chinese medicine decocting room intelligence control system

Country Status (1)

Country Link
CN (1) CN105929748B (en)

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4361273A (en) * 1981-02-25 1982-11-30 Levine Michael R Electronic humidity control
CN101447847B (en) * 2008-06-19 2011-06-15 张广涵 Method for time base determination of simple and convenient multi-node synchrosystem and system thereof
CN102571150B (en) * 2011-03-22 2014-06-25 张广涵 Time-sharing communication system on basis of power grid
CN102929316B (en) * 2012-11-12 2014-10-08 张金木 Measurement and control system for temperature, humidity and illuminance
CN203722894U (en) * 2014-03-10 2014-07-16 成都芯源系统有限公司 Driving circuit for lighting system and timing circuit thereof
CN104360144B (en) * 2014-12-08 2017-12-22 广东美的环境电器制造有限公司 Determine the method and system of AC signal zero crossing point

Also Published As

Publication number Publication date
CN105929748B (en) 2018-05-22

Similar Documents

Publication Publication Date Title
CN106094620A (en) Remote analog amount gathers warning system
CN105894789A (en) Automatic meter reading system for running water supply pipe network
CN105929748A (en) Intelligent control system of Chinese medicine decocting pharmacy
CN105872112A (en) Remote communication control system for traditional Chinese medicine decoction room
CN106100782B (en) A kind of signal synchronous collection system
CN106092152B (en) A kind of warehouse humiture information acquisition system
CN106054635B (en) Electrical device intelligent control system in cell home services
CN106123985A (en) A kind of flow signal synchronous
CN105955052A (en) Household electric appliance remote control system
CN105869538B (en) Road roadside LED Chinese character advertisement placards
CN105869543B (en) The column LED Chinese character placards of both sides of the road
CN106102227A (en) Building roof control system of lamp decoration
CN105955050A (en) Household intelligent control system
CN106028524A (en) Indoor wiring-free LED decorative lighting control system
CN105960060B (en) Park L ED landscape lamp post control system
CN106020030A (en) Intelligent control system for catering shop
CN105867160A (en) Intelligent control system for home furnishing
CN105955369A (en) Agricultural greenhouse climate control system
CN106023570A (en) Automatic meter reading system for tap water supply pipe network
CN106102225B (en) Bridge guardrail pipe control system of lamp decoration
CN105848371A (en) Household wiring-free LED decorative lighting controller
CN106054712B (en) Electrical device intelligent control system in community service
CN106102226B (en) Restaurant LED point light source control system of lamp decoration
CN105955370A (en) Grain warehouse humiture control system
CN106125594A (en) Hotel intelligence control system

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

Effective date of registration: 20180411

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

Applicant after: Fuzhou alignment Mdt InfoTech Ltd

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

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

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

Effective date of registration: 20201124

Address after: 221000 No.6 Xingye Road, Ningjiang Industrial Park, Suining County, Xuzhou City, Jiangsu Province

Patentee after: Jiangsu chuangyoujia New Energy Technology Co.,Ltd.

Address before: Shop 906, building 4, hardware, furniture and building materials market, Heshang Town, Changle District, Fuzhou City

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

TR01 Transfer of patent right